天天看点

centos添加快捷键

首先在/apps/metacity/keybinding_commands下查找键值为空的command:

gconftool-2 -R /apps/metacity/keybinding_commands

以下以command_1为例,设置运行的程序:

gconftool-2 -t string -s /apps/metacity/keybinding_commands/command_1 gnome-system-monitor

再到/apps/metacity/global_keybindings下设置对应的快捷键:

gconftool-2 -t string -s /apps/metacity/global_keybindings/run_command_1 "<Control><Alt>Delete"

为运行终端添加快捷键:

gconftool-2 -t string -s /apps/metacity/global_keybindings/run_command_terminal "<Alt>F3"

为浏览器设置快捷键:

gconftool-2 -t string -s /apps/gnome_settings_daemon/keybindings/www "<Alt>F11"

继续阅读