LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-17-2003, 03:24 AM   #1
kublador
Member
 
Registered: Aug 2002
Location: Philippines
Distribution: Slackware, CentOS, Ubuntu
Posts: 325

Rep: Reputation: 30
how can i create a keyboard shortcut for a certain application i want?


how can i create a keyboard shortcut for a certain application i want?
for example.. xchat can be executed by typing xchat in the terminal..
is there a way to execute xchat by just pressing .. CTRL + X ? how?
im using redhat8
thanks!
 
Old 10-17-2003, 04:23 AM   #2
megaspaz
Senior Member
 
Registered: Nov 2002
Location: Silly Con Valley
Distribution: Red Hat 7.3, Red Hat 9.0
Posts: 2,054

Rep: Reputation: 46
in kde, open up your menu editor and find the program you want to assign a hot key combo to. there's going to be a little button on the right that says current keyboard shortcut. click that button and then type in your key combo. to get to the menu editor in kde, right click the kstart button and choose menu editor from the context menu. i'd advise using ctrl+x (or any other ctrl+"alpha_key") as those are pretty much used for some things already - ctrl+x is cut selection to clipboard (kinda like ctrl+c is copy selection to clipboard, ctrl+v is paste from clipboard, etc...) although you can change this in the kde control center under accessibility. i guess maybe you should have control center open while doing this so you can see which shortcut keys are already taken and decide if you want to make wholesale changes.

if you're using gnome, i'm not going to be able to help you there as i very, very, very rarely ever use gnome.
 
Old 10-17-2003, 03:29 PM   #3
froZenX
Member
 
Registered: Sep 2003
Distribution: Fedora, Mandrake 9.2, dare I say a little of M$ Longhorn? Ha.
Posts: 52

Rep: Reputation: 15
id say do CTRL SHIFT X would be better if u can do that.

better than pasting when u accdently push x, lol.
 
Old 10-17-2003, 09:51 PM   #4
kublador
Member
 
Registered: Aug 2002
Location: Philippines
Distribution: Slackware, CentOS, Ubuntu
Posts: 325

Original Poster
Rep: Reputation: 30
im using gnome ;(
is there a way?
 
Old 04-05-2007, 08:04 AM   #5
buenobs
LQ Newbie
 
Registered: Apr 2007
Posts: 1

Rep: Reputation: 0
Smile In Gnome

Quote:
Originally Posted by kublador
im using gnome ;(
is there a way?
run
$ gconf-editor

go to apps >> metacity >> glogal_keybindings

associate the sequence of keyboard you want!

right click, Edit Key or, if you want, New Key
in Value field type the sequence.
for example: <Alt>F8 or <Control><Alt>F8

select now keybinding_commands
in the command you edited right click and type the command in value field!

That's all!

Enjoy!
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
command to create shortcut for an application in the start menu for linux neerajchaudhari Linux - Software 1 08-29-2005 03:11 AM
application shortcut trumpetdork Linux - Software 5 04-19-2005 05:58 PM
x server kill application keyboard shortcut/hotkey hypermegachi Linux - Newbie 2 07-25-2004 02:37 PM
How to create a shortcut? gmoney Linux - Software 3 10-08-2003 07:51 PM
make a shortcut to a perl application with perameters? ShawnD Linux - General 5 09-19-2002 08:28 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:35 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