LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   shortcuts to run commands/programs (https://www.linuxquestions.org/questions/linux-general-1/shortcuts-to-run-commands-programs-127735/)

nexx_au 12-21-2003 01:58 AM

keyboard shortcuts to run commands/programs
 
I'm always opening a number of programs and was wondering how i could set these to keyboard shortcuts.

eg: in gnome, ctrl+alt+t or something would open a terminal window or the system monitor.

any help appreciated.

Technoslave 12-21-2003 02:00 AM

Well...I know it's gnome, and I'm not going to log out of my session just to check...but in KDE, if you right click on your menu icon, and go to Menu Editor, then click on the application, there is a section that says "Current shortcut key:" and you'd assign it there.

Might be there is something similar in gnome?

antik 12-21-2003 04:02 AM

A lot of the Blackbox-based WMs support this. I use fluxbox and the support is built right in! :D

nexx_au 12-21-2003 04:10 AM

hehe ok i figured it out after a bit of googling, ill post instructions here for the good of man kind:

> run 'gconf-editor` from a prompt.
>
> a. In the GUI, I navigated to /apps/metacity/keybinding_commands[6],
> under which are a number of keys labeled command_N. I edited some of
> these key values to run the scripts i created in step 2, simply by
> setting the value for (say) command_1 to (say)
> "/usr/local/bin/xmms-playpause".
>
> b. Under /apps/metacity/global_keybindings[6] there are a number of
> keys called "run_command_N". As you might imagine, these run the
> command_N key values from /apps/metacity/keybinding_commands (that I
> modified in 3a). I set the shortcuts I wanted by setting the value for
> (say) run_command_1 to (say) "<mod4>Space"[7], which binds it to Win+Space.

from here: http://www.linuxsa.org.au/mailing-list/2003-11/144.html


All times are GMT -5. The time now is 11:15 AM.