gnome-tweak-tool CapsLK 和 Ctrl 按钮交换不起作用

gnome-tweak-tool CapsLK 和 Ctrl 按钮交换不起作用

我想交换我的CapsLKCtrl按钮。因此我在 gnome-tweak-tool 中选择 来配置它Swap Ctrl and Caps LockTyping但是它不起作用。当我从终端打开它时,我注意到以下异常:

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

相关内容