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. |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
06-02-2008, 02:22 PM
|
#1
|
|
LQ Newbie
Registered: Feb 2008
Posts: 9
Rep:
|
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.
Regards,
Daniel Albuschat
|
|
|
|
06-02-2008, 04:06 PM
|
#2
|
|
LQ Addict
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian Squeeze
Posts: 5,570
|
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.
|
|
|
|
06-02-2008, 04:26 PM
|
#3
|
|
LQ Newbie
Registered: Feb 2008
Posts: 9
Original Poster
Rep:
|
Hello,
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.
Regards,
Daniel Albuschat
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 03:30 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|