nishio-dens's diary

Railsとかプログラミング関連の備忘録

Ubuntu9.10 キーバインド

CTRL + ALT + Vキーを押したら特定のスクリプトを走らせたいことがある.
そういった場合は,gconf-editorでキーバインディングをいじればよい.

gconf-editor起動.

$gconf-editor

その後,

/apps/metacity/keybinding_commands/command_1

に割り当てたいスクリプトのパスを設定.次に

/apps/metacity/global_keybindings/run_command_1

に割り当てたいショートカットキーを設定.例えばv等.
これで,特定のキーをおすとスクリプトが実行される.