Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 12-16-2008, 02:27 PM   #1
LQ Newbie
Registered: Dec 2008
Posts: 6

Rep: Reputation: 0
Command to run program on a specific display?

I'm looking for a command that does this basically: cmd display


export DISPLAY=$2
(eval $1)&
Yes, I realize I just wrote myself a shell script that does what I'm asking for, but this seems so basic there must be a default command for it.
Old 12-16-2008, 02:55 PM   #2
Registered: Feb 2006
Distribution: CRUX 2.4
Posts: 96

Rep: Reputation: 18
DISPLAY="host:0.0" firefox # or whatever you want to run


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
Kill specific Wine program from Command Line Brian114 Linux - Software 4 06-07-2011 04:02 AM
A Command to display a specific line?? pheardotcom Linux - Newbie 7 11-02-2009 11:15 PM
Can i run command with specific TTY. 786 Linux - General 1 07-21-2008 02:05 PM
run program automatically at specific time simon_qwl Programming 2 03-20-2005 10:58 AM
dual monitor, launch program specific display enzo250gto Linux - Software 2 01-27-2005 02:30 PM > Forums > Linux Forums > Linux - Newbie

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