LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 12-21-2003, 01:58 AM   #1
nexx_au
Member
 
Registered: Dec 2003
Distribution: Fedora Core 1
Posts: 69

Rep: Reputation: 15
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.

Last edited by nexx_au; 12-21-2003 at 02:07 AM.
 
Old 12-21-2003, 02:00 AM   #2
Technoslave
Member
 
Registered: Dec 2003
Location: Northern VA
Posts: 493

Rep: Reputation: 30
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?
 
Old 12-21-2003, 04:02 AM   #3
antik
LQ Newbie
 
Registered: Aug 2003
Location: Springfield, VA or Blacksburg, VA (depending on time of year)
Distribution: Gentoo Stage 1
Posts: 11

Rep: Reputation: 0
A lot of the Blackbox-based WMs support this. I use fluxbox and the support is built right in!
 
Old 12-21-2003, 04:10 AM   #4
nexx_au
Member
 
Registered: Dec 2003
Distribution: Fedora Core 1
Posts: 69

Original Poster
Rep: Reputation: 15
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Kde 3.3 won't run keyb shortcuts? bruno buys Linux - Software 0 02-11-2005 07:01 AM
Adding programs shortcuts to gnome/kde shimsha Linux - Software 0 11-09-2004 04:16 PM
Creating shortcuts to programs piggysmile Linux - Software 3 05-27-2004 08:43 AM
Binding Programs with keyboard shortcuts in GNOME (fedora) pymehta Linux - Newbie 1 01-24-2004 01:17 PM
Creating shortcuts for new programs chingasman Linux - General 4 03-04-2003 04:16 AM


All times are GMT -5. The time now is 11:57 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration