LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 03-26-2008, 01:30 AM   #1
concoran
Member
 
Registered: Jun 2001
Location: 28N,82W
Distribution: XP,Ubuntu 9
Posts: 473

Rep: Reputation: 30
Start->Run command in GNOME?


If I am not wrong, there used to be a menu option under GNOME (it still is in KDE), where, just like in Windows, you could click on a menu item and be able to type a command; no need to open a console. But I can't find it anymore (been outside of linux for a long time). Is there a way I can get it back (in menu)?

If not, I want to do a 'rdesktop mycomp', and be able to close the console after rdp kicks in. I know there used to be, or still is an '&' that I need to attach at end in console so that it closes after rdp opens. I tried 'rdesktop& mycomp' and 'rdesktop mycomp&'. But that & doesn't seem to have any effect. .
 
Old 03-26-2008, 07:34 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Try "exec application theaddress &". Anything with "run" in it should do: krun, grun, tkrun, or bind a script like this to the run command:
Code:
#!/bin/sh
cmd=$(zenity --title="Run" --entry --text "Enter Command:")
exec "${cmd}"
exit 0
 
Old 03-26-2008, 08:02 AM   #3
Jayla
Member
 
Registered: Nov 2005
Location: Suffolk, UK
Distribution: kubuntu 9.04
Posts: 188

Rep: Reputation: 30
if you just want to run one command like that, will "alt+f2" do the trick?

Regards
 
Old 03-26-2008, 08:09 AM   #4
colucix
LQ Guru
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983
And if you want to have it at hand, right click on the panel, select "Add to panel" and choose "Run Application": it will add a launcher for the "Run Application" dialog.
 
  


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
run command in new gnome-terminal checkchan Linux - General 10 08-29-2012 03:55 AM
start xterm and run command? P-P Linux - Software 3 01-19-2007 06:35 PM
Run Shell COmmand on start-up evilmonkey Linux - Software 3 05-21-2006 05:24 PM
How to run a command automatically on start up TKD SUSE / openSUSE 6 11-03-2005 04:41 AM
New to XFCE4 how do I run a command at its start. Royle Debian 1 02-19-2005 12:11 PM

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

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