Did you know LQ has a Linux Hardware Compatibility List?
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 06-02-2008, 03:22 PM   #1
LQ Newbie
Registered: Feb 2008
Posts: 9

Rep: Reputation: 0
Shortcut-application wanted

Hi there,

I just switched back to Linux after using Windows for like two years. I used a program that I wrote myself on Windows that gave me the following feature: I can assign a shortcut-key (like Ctrl+Alt+F) that would launch a specific application. So far that's pretty normal. But what makes that program special is that a second press of Ctrl+Alt+F will bring the previously started instance of the program to the foreground instead of starting a new instance.

Is there something like that for Linux/X? It really is the base of all my workflow when working on my computer now, so I will badly miss it if there is none.


Daniel Albuschat
Old 06-02-2008, 05:06 PM   #2
LQ Addict
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian Squeeze
Posts: 5,845

Rep: Reputation: 342Reputation: 342Reputation: 342Reputation: 342
That depends on the desktop environment you use.

In Kde, go to the Control Center - Regional and Accessibility - Keyboard shortcuts. Click on the Shortcut Schemes tab, then click on the Application Shortcuts tab.

Read the shortcuts already assigned. If ctrl+alt+F is already assigned, change the assignment to another key so that you can use ctrl+alt+F to start the application you want it for.

The app starts in forground. If you minimize it and want to bring it back to foreground, use alt+tab. Alt+tab will produce a popup list of open apps. If you hold the alt key down, successives keypresses of the tab key will cycle through the list of open apps. Whichever one you highlight will be brought to foreground with you releas the alt key.

I don't know what other desktop environments provide to do the same.
Old 06-02-2008, 05:26 PM   #3
LQ Newbie
Registered: Feb 2008
Posts: 9

Original Poster
Rep: Reputation: 0

first, thanks for your answer and effort.
Well don't get me wrong, but it's not like I'm a beginner with either computers or Linux. :-)
The fancy thing about the shortcut-handling I've written for Windows is that to, for example, activate Firefox, I just have to press Ctrl+Alt+F and it will use an already open window if there is one. Same goes for all other shortcuts I've defined. Cycling through Alt+Tab is a major pain and not nearly as effective as just pressing the shortcut of the application I want to jump to.
I've just been told about the program wmctrl which I can use to accomplish this. I'll post a new message when I've finished a solution for this.

Daniel Albuschat


desktop, hotkey, shortcuts

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
set a Global shortcut for my Application? mtux Programming 2 08-23-2007 03:47 PM
how can i create a keyboard shortcut for a certain application i want? kublador Linux - Newbie 4 04-05-2007 09:04 AM
installed application in linux ! no shortcut?? cyberiapost Linux - Newbie 3 12-03-2006 07:16 AM
application shortcut trumpetdork Linux - Software 5 04-19-2005 06:58 PM
make a shortcut to a perl application with perameters? ShawnD Linux - General 5 09-19-2002 09:28 AM

All times are GMT -5. The time now is 02:06 AM.

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