LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 01-25-2007, 11:46 AM   #1
supersubu123
LQ Newbie
 
Registered: Jan 2007
Distribution: Suse 10.2
Posts: 18

Rep: Reputation: 0
Lightbulb how to create global shortcut keys


hi all

i want to associate some control shortcut key like
ctrl+alt+pgdown -------> to the command xmms -f

how to do this?????

i found a related one but it's only for single keys not like
for ctrl+alt+x

http://susewiki.org/index.php?title=Multimedia_Keys
 
Old 01-26-2007, 04:34 AM   #2
avallach
Member
 
Registered: Sep 2006
Location: Silesia
Distribution: Debian GNU/Linux 4.0, ArchLinux, OpenBSD
Posts: 190
Blog Entries: 2

Rep: Reputation: 31
Read about an application called xbindkeys... It's quite good for that
AFAIK there was even a graphical config you could install and use...
//---
It is called xbindkeys-config on my Debian

Last edited by avallach; 01-26-2007 at 04:38 AM.
 
Old 01-26-2007, 04:57 AM   #3
matthewg42
Senior Member
 
Registered: Oct 2003
Location: UK
Distribution: Kubuntu 12.10 (using awesome wm though)
Posts: 3,530

Rep: Reputation: 65
supersubu123, what desktop environment are you using, and what distro? KDE has a natty build-in global key bindings tool, which is accessible from the control center.
 
Old 01-26-2007, 05:45 AM   #4
supersubu123
LQ Newbie
 
Registered: Jan 2007
Distribution: Suse 10.2
Posts: 18

Original Poster
Rep: Reputation: 0
rh9(gnome+kde) and suse 10.1(gnome)

Quote:
Originally Posted by matthewg42
supersubu123, what desktop environment are you using, and what distro? KDE has a natty build-in global key bindings tool, which is accessible from the control center.
i'm using two flavours of linux
redhat 9 &
suse 10.1
i prefer gnome so it would be nice if i get a solution for both kde as well as gnome.
also i think in rh9 kde 3.1-10 there is no way to associate a shortcut key to a specific command(from kde control centre---> key board shortcuts)
please clarify
 
Old 01-26-2007, 06:41 AM   #5
matthewg42
Senior Member
 
Registered: Oct 2003
Location: UK
Distribution: Kubuntu 12.10 (using awesome wm though)
Posts: 3,530

Rep: Reputation: 65
Quote:
Originally Posted by supersubu123
i'm using two flavours of linux
redhat 9 &
suse 10.1
i prefer gnome so it would be nice if i get a solution for both kde as well as gnome.
Gnome has a shortcut system, but by default you can only associate keys with a pre-defined list of commands, as defined in the preferences -> keyboard shortcuts dialog. I seem to recall one the of the Linux podcasts talking about how to customise this, but I don't recall which one or how (I'm not paying so much attention to gnome).
Quote:
also i think in rh9 kde 3.1-10 there is no way to associate a shortcut key to a specific command(from kde control centre---> key board shortcuts)
please clarify
To launch a specific command, all you need to do is right click on the K menu item and select edit, and assign a keyboard shortcut there. If there's not a command to launch the program you want to launch, just add one. This comes from my KDE 3.5 installation. I don't recall so far back as 3.1. Get with the 21st century already

Maybe you're not interested in launching program - what exactly do you want to do?

As for a general solution, I'm not sure. Perhaps some separate tool which is isn't part of one of the Desktop environments, like xbindkeys which avallach suggested. I've not tried it myself though, so I don't know what it can and can't do.
 
Old 01-26-2007, 06:45 AM   #6
supersubu123
LQ Newbie
 
Registered: Jan 2007
Distribution: Suse 10.2
Posts: 18

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by matthewg42
Gnome has a shortcut system, but by default you can only associate keys with a pre-defined list of commands, as defined in the preferences -> keyboard shortcuts dialog. I seem to recall one the of the Linux podcasts talking about how to customise this, but I don't recall which one or how (I'm not paying so much attention to gnome).

To launch a specific command, all you need to do is right click on the K menu item and select edit, and assign a keyboard shortcut there. If there's not a command to launch the program you want to launch, just add one. This comes from my KDE 3.5 installation. I don't recall so far back as 3.1. Get with the 21st century already

Maybe you're not interested in launching program - what exactly do you want to do?

As for a general solution, I'm not sure. Perhaps some separate tool which is isn't part of one of the Desktop environments, like xbindkeys which avallach suggested. I've not tried it myself though, so I don't know what it can and can't do.
ok i'll switch to suse 10.1 kde
 
Old 01-26-2007, 06:50 AM   #7
supersubu123
LQ Newbie
 
Registered: Jan 2007
Distribution: Suse 10.2
Posts: 18

Original Poster
Rep: Reputation: 0
solved

Quote:
Originally Posted by avallach
Read about an application called xbindkeys... It's quite good for that
AFAIK there was even a graphical config you could install and use...
//---
It is called xbindkeys-config on my Debian
hey thanks
installed xbindkeys
it's a nice package my problem solved..
 
  


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
Shortcut keys in Gnome doralsoral Linux - Software 1 06-01-2005 09:31 PM
Global shortcut keys daemon bratch Linux - Software 2 04-08-2005 04:26 AM
How do I disable Shift-F10 global keyboard shortcut? Tomy Debian 7 07-29-2004 09:09 PM
Global shortcut keys Haiyadragon Mandriva 0 07-01-2004 09:05 AM
Keyboard Shortcut Keys Odd_Bloke Linux - Newbie 2 08-26-2003 09:44 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 10:15 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration