3
您好
我需要設置一個熱鍵在Ubuntu 12.10中,我使用Gsettigs和dconf設置熱鍵
gsettings(dconf)
~$ gsettings set org.gnome.settings-daemon.plugins.media-keys.custom-keybinding:/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom2/ binding '<Primary><Alt>s'
~$ gsettings set org.gnome.settings-daemon.plugins.media-keys.custom-keybinding:/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom2/ binding '<Primary><Alt>s'
~$ gsettings set org.gnome.settings-daemon.plugins.media-keys.custom-keybinding:/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom2/ command 'gnome-terminal'
但是當我看這個模式我剛纔看到
~$ gsettings get org.gnome.settings-daemon.plugins.media-keys custom-keybindings
~$ @as []
但是當我使用dconf看到這個模式
~$ dconf list /org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom2/
binding
command
我做錯了什麼? 謝謝。