I want to add shortcut and press backspace
button to return to the previous folder whilst browsing the Home folder.
I use Gnome 40.1 - Fedora 34. Some can help me ?
I want to add shortcut and press backspace
button to return to the previous folder whilst browsing the Home folder.
I use Gnome 40.1 - Fedora 34. Some can help me ?
You can navigate with alt + left arrow
or alt + right arrow
and I think this is system-wide (works in Firefox as well) but I don’t know how to change this. Just checked Setting → Keyboard → Customize Shortcuts but couldn’t find anything unfortunately.
You can do this:
sudo dnf install nautilus-python python3-gobject gtk3 python3 python2 gobject-introspection-devel pkg-config python3-devel
mkdir -p ~/.local/share/nautilus-python/extensions
gnome-text-editor ~/.local/share/nautilus-python/extensions/BackspaceBack.py
copy and paste this code content text file
#!/usr/bin/env python
import os, gi
gi.require_version('Nautilus', '3.0')
from gi.repository import GObject, Nautilus, Gtk, Gio, GLib
def ok():
app = Gtk.Application.get_default()
app.set_accels_for_action( "win.up", ["BackSpace"] )
class BackspaceBack(GObject.GObject, Nautilus.LocationWidgetProvider):
def __init__(self):
pass
def get_widget(self, uri, window):
ok()
return None
close nautilus with
nautilus -q
This work fedora 27-36, i test it in fedora 37 beta, but not working now
There have been many changes over the past year, including 2 fedora release versions and 2 major release versions of gnome.
Please open your own thread since this problem is certainly different than anything seen a year ago.
Additionally, if you have been reading here, there are some issues with nautilus on F37 so this should be addressed to the F37 development team and not here.