Я хочу обмениваться своими кнопками CapsLK и Ctrl. Таким образом, я настраиваю его в инструменте тонкой настройки гнома путем выбора Swap Ctrl and Caps Lock
в Typing
. Но это не работает. Когда я открываю его от терминала, я замечаю следующее исключение:
user1@myhost:~$ gnome-tweak-tool
WARNING : Shell not installed or running
INFO : GSettings missing key org.gnome.nautilus.desktop (key computer-icon-visible)
(gnome-tweak-tool:21100): Gtk-WARNING **: Attempting to read the recently used resources file at '/home/user1/.local/share/recently-used.xbel', but the parser failed: Failed to open file '/home/user/.local/share/recently-used.xbel': Permission denied.
WARNING : Shell not running
None
WARNING : Error detecting shell
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/gtweak/tweaks/tweak_group_shell_extensions.py", line 275, in __init__
raise Exception("Shell not running or DBus service not available")
Exception: Shell not running or DBus service not available
и с sudo
это - то же:
user1@myhost:~$ sudo gnome-tweak-tool
WARNING : Shell not installed or running
INFO : GSettings missing key org.gnome.nautilus.desktop (key computer-icon-visible)
WARNING : Shell not running
None
WARNING : Error detecting shell
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/gtweak/tweaks/tweak_group_shell_extensions.py", line 275, in __init__
raise Exception("Shell not running or DBus service not available")
Exception: Shell not running or DBus service not available