LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 04-17-2008, 10:28 AM   #1
DGMavn
LQ Newbie
 
Registered: Apr 2008
Posts: 1

Rep: Reputation: 0
How to write invisible GUI program in Linux with hotkeys to come to foreground?


I apologize for the awkwardly worded subject line.

There exists a application for WinXP called "Launchy" that allows the user to input the name of a program or document or any other filetype specified by the user and then launch the program or open the document etc. It has an autocomplete feature and is pretty handy.

Launchy runs invisibly until the user presses alt-space, at which point the window pops up, and remains until the user hits enter, at which point the command is executed and Launchy disappears again.

Now I'm running Ubuntu on my desktop and Launchy is the only functionality of XP I miss. However, there is no Linux distro of Launchy since it depends pretty heavily on the Win32 API.

What I want to know is: how would I go about writing a program whose GUI would appear on the press of a hotkey and not appear in the taskbar? I'm using GNOME if it makes a difference.

This is the first large-ish software project I've attempted using a GUI, so any suggestions as to which language to use and which functions specifically in any toolkits will allow me to run a GUI-based program with the above requirements would be very helpful. Thanks!

-DGMavn
 
Old 04-17-2008, 10:48 AM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,520

Rep: Reputation: 7944Reputation: 7944Reputation: 7944Reputation: 7944Reputation: 7944Reputation: 7944Reputation: 7944Reputation: 7944Reputation: 7944Reputation: 7944Reputation: 7944
You may want to poke around a bit. There are several hotkey-type programs out there that may do what you're looking for.

Try this:

http://linux.softpedia.com/get/Deskt...er-32488.shtml

I don't use it, but a friend of mine does, and likes it. Your mileage may vary.
 
Old 04-17-2008, 01:23 PM   #3
tiocsti
LQ Newbie
 
Registered: Apr 2008
Location: Atlanta, GA
Distribution: [linux] Ubuntu, [bsd] FreeBSD, NetBSD
Posts: 21

Rep: Reputation: 15
Quote:
Originally Posted by DGMavn View Post
I apologize for the awkwardly worded subject line.

There exists a application for WinXP called "Launchy" that allows the user to input the name of a program or document or any other filetype specified by the user and then launch the program or open the document etc. It has an autocomplete feature and is pretty handy.

Launchy runs invisibly until the user presses alt-space, at which point the window pops up, and remains until the user hits enter, at which point the command is executed and Launchy disappears again.
I would recommend you look into gnomedo https://wiki.ubuntu.com/GnomeDo

It's modeled after quicksilver on the mac, and makes for a very nice program launcher.
 
Old 04-18-2008, 12:15 PM   #4
theNbomr
LQ 5k Club
 
Registered: Aug 2005
Distribution: OpenSuse, Fedora, Redhat, Debian
Posts: 5,399
Blog Entries: 2

Rep: Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908
In KDE, Alt-F2 pops-up the "Run Command" dialog. It retains a history record that is selectable from a spinbox.
--- rod.
 
Old 04-19-2008, 07:34 AM   #5
bigearsbilly
Senior Member
 
Registered: Mar 2004
Location: england
Distribution: Mint, Armbian, NetBSD, Puppy, Raspbian
Posts: 3,515

Rep: Reputation: 239Reputation: 239Reputation: 239
Quote:
There exists a application for WinXP called "Launchy" that allows the user to input the name of a program or document or any other filetype specified by the user and then launch the program or open the document etc. It has an autocomplete feature and is pretty handy.
there's a prog called tilda that pops up with F10 (on my box)
this runs a bash shell, which has autocomplete.
 
Old 04-19-2008, 08:09 AM   #6
mechdave
Member
 
Registered: Apr 2007
Location: Adelaide, Australia
Distribution: Ubuntu 8.10 and 7.10 server
Posts: 95

Rep: Reputation: 15
In Gnome if you press alt+f2 you will get a run dialog box
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Foreground and Background program switching isolvesystems Linux - Newbie 2 10-03-2007 09:30 AM
How to write Invisible Command rktech83 Linux - General 1 03-09-2006 02:03 AM
Mplayer GUI invisible tadziu23 Linux - Software 7 02-22-2006 02:51 AM
Program hotkeys in KDE alyks SUSE / openSUSE 3 10-21-2004 12:21 AM
How to write a Vietnamese keyboard program for Linux Namhh Linux - Software 2 10-15-2003 08:31 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

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

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