You are viewing an old revision of this page.
Binding arbitary commands to keyboard shortcuts
Metacity does actually support binding arbitary commands to shortcuts, however there is no clean way of doing it.
WARNING This method involves using gconf-editor. Changing the wrong thing here might break something. Etc.
- Open up gconf-editor
- Under the 'apps' tree, locate metacity
- In the 'global_keybindings' branch, find the 'run_command_1' key
- Click in the 'value' column in the appropriate row, and enter the key you'd like to bind a command to. Eg, F12.
- In the 'keybindings_command' branch, find the 'command_1' key
- Click in the 'value' column in the appropriate row, and enter the command you'd like to run, eg 'xterm'