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 - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 06-20-2007, 06:36 AM   #1
thangam
LQ Newbie
 
Registered: Dec 2006
Posts: 8

Rep: Reputation: 0
Thumbs up desktop short cut key


Hi All,

I would like to enable a event in any desktop(KDE & GNOME) by fressing short-cut-key ex.(ALT+CTL+C).

Please help me to do this.How can i approch to eanble a even by my own short cut key.


Thankx
Arun
 
Old 06-20-2007, 07:33 AM   #2
jimmy512
Member
 
Registered: Oct 2006
Location: London
Distribution: Arch
Posts: 183

Rep: Reputation: 31
There is a quick guide to explain ow to do this with metacity on the 3ddesktop page.

Quote:
9. How do I make a keybinding to 3ddesktop in GNOME with Metacity?

Run "gconf-editor". Drill down to apps --> metacity --> global_keybindings. Find "run_command_1" and change it to your key such as "F12" or "<Control><Alt>S". Then in apps --> metacity --> keybinding_commands find "command_1" and set it to "/usr/bin/3ddesk".
The whole page can be found here.

Just change <Control><Alt>S to <ALT><Control>C and /usr/bin/3ddesk to the command you want to run. This should work for gnome.
 
Old 06-20-2007, 07:54 AM   #3
Gethyn
Member
 
Registered: Aug 2003
Location: UK
Distribution: (X)Ubuntu 10.04/10.10, Debian 5, CentOS 5
Posts: 900

Rep: Reputation: 32
What do you mean by an "event"? If you want to launch a program, in KDE you can do it by going to the program menu (the big K usually at the bottom left of the screen), finding the program you want to set up a shortcut for, and right-clicking and selecting "Edit item". In the dialogue that comes up there's a section called "Current Shortcut key" that allows you to choose a shortcut.
 
Old 06-21-2007, 07:24 AM   #4
thangam
LQ Newbie
 
Registered: Dec 2006
Posts: 8

Original Poster
Rep: Reputation: 0
No, What i am asking is that i want to call "shutdown windowt window" in KDE desktop by fressing the short cut key "ALT+F4" at any moment.Can you please sugest where i have to do this in KDE.I would like to add one more keyboard sequence in KDE as well as in GNOME desktop.

Thankx
Arun
 
Old 06-21-2007, 07:30 AM   #5
thangam
LQ Newbie
 
Registered: Dec 2006
Posts: 8

Original Poster
Rep: Reputation: 0
[QUOTE=thangam]No, What i am asking is that i want to call "shutdown windowt window" in KDE desktop by fressing the short cut key "ALT+F4" at any moment.Can you please sugest where i have to do this in KDE.I would like to add one more keyboard sequence in KDE as well as in GNOME desktop.

Thankx
Arun
[!!! Everything you want is out there waiting for you to ask. Everything you want also wants you. But you have to take action to get it......!!!!]
 
Old 06-21-2007, 08:01 AM   #6
Gethyn
Member
 
Registered: Aug 2003
Location: UK
Distribution: (X)Ubuntu 10.04/10.10, Debian 5, CentOS 5
Posts: 900

Rep: Reputation: 32
By default, KDE will close the current window when you press Alt-F4. To get the shutdown dialogue, you can use Ctrl-Alt-Del. It's probably possible to change these settings, but I've never tried doing it, so I can't help you there.
 
  


Reply

Tags
get



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
Short Cut Keys sukhen Linux - Software 3 02-17-2006 12:26 PM
short cut to a file in the path balloon Linux - Software 1 11-15-2004 01:35 PM
short(er) cut to using swaret. xushi Slackware 5 05-03-2004 06:50 PM
Short-Cut Keys sathiskanna LinuxQuestions.org Member Success Stories 1 09-08-2003 11:06 PM
Short-cut keys SnowSurfAir Linux - Hardware 4 04-04-2003 09:29 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

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