LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
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.

Notices

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

Rep: Reputation: 32
Shell Script Question.


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

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

Thanks.

Vijay
 
Old 07-14-2005, 06:51 PM   #2
trickykid
Guru
 
Registered: Jan 2001
Posts: 24,133

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

Rep: Reputation: 56
Quote:
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.
 
  


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 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


All times are GMT -5. The time now is 12:58 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration