Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 02-10-2005, 11:07 PM   #1
Registered: Aug 2003
Location: Quebec, Canada
Distribution: Debian HD install of Knoppix 5.0.1
Posts: 921
Blog Entries: 15

Rep: Reputation: 64
Shell Script Question.

If I have a shell script to open a program, for eg.,
Shell Script:
Command: sudo mozilla

Can I set it so that mozilla opens in desptop number 4 ? If yes, how can I do that ?


Old 07-14-2005, 06:51 PM   #2
LQ Guru
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 235Reputation: 235Reputation: 235
Shouldn't be any problems with that, depending on your desktop manager, etc.
Old 07-14-2005, 07:41 PM   #3
Senior Member
Registered: May 2004
Location: Australia
Distribution: Gentoo
Posts: 3,544
Blog Entries: 4

Rep: Reputation: 57
Command: sudo mozilla
Why are you running it as root? That's not very smart...

What WM are you using? That'll tell you how to do it, just check their site for docs or an FAQ, should have the info you need.


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Shell Script Question abdul_zu Programming 7 10-06-2005 04:33 AM
shell script Question Whiteghost Programming 4 09-25-2005 11:05 PM
Shell script question... defa0009 Linux - General 7 04-26-2005 09:16 PM
shell script question rrwhite Linux - General 3 09-15-2004 02:01 AM
shell script question Axion Programming 4 07-29-2004 10:51 PM > Forums > Linux Forums > Linux - General

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