| Next: redirectin input for passwd? |
| Author |
Message |
NUPUL External

Since: Mar 03, 2006 Posts: 32
|
Posted: Thu May 04, 2006 3:40 am Post subject: starting an application....on another desktop! Archived from groups: comp>os>linux>misc (more info?) |
|
|
I have 4 Desktops on my SuSE 10 KDE 3.4. Is there a way/command that
can launch an application, from the command line onto the desktop of my
choice?
eg: say I wish to launch konqueror and rather than being launched in
the current desktop it should be launche on desktop 3.
$> konqueror <.....what else do i need to give?.....>
Thanks
Nupul |
|
| Back to top |
|
 |
NUPUL External

Since: Mar 03, 2006 Posts: 32
|
Posted: Thu May 04, 2006 5:34 am Post subject: Re: starting an application....on another desktop! [Login to view extended thread Info.] Archived from groups: per prev. post (more info?) |
|
|
THANKS!!!
any way to achieve this in non-KDE systems? Is the command dependent on
the underlying Window manager? Say I wish to achieve the same using
window maker or kwin etc....isn't there some 'generic' command?
Thanks
Nupul |
|
| Back to top |
|
 |
Michael Heiming External

Since: Apr 04, 2004 Posts: 3526
|
Posted: Thu May 04, 2006 1:03 pm Post subject: Re: starting an application....on another desktop! [Login to view extended thread Info.] Archived from groups: per prev. post (more info?) |
|
|
In comp.os.linux.misc NUPUL :
> I have 4 Desktops on my SuSE 10 KDE 3.4. Is there a way/command that
> can launch an application, from the command line onto the desktop of my
> choice?
> eg: say I wish to launch konqueror and rather than being launched in
> the current desktop it should be launche on desktop 3.
kstart --desktop 3 konqueror
More options:
kstart --help
--
Michael Heiming (X-PGP-Sig > GPG-Key ID: EDD27B94)
mail: echo zvpunry.RemoveThis@urvzvat.qr | perl -pe 'y/a-z/n-za-m/'
#bofh excuse 268: Neutrino overload on the nameserver |
|
| Back to top |
|
 |
NUPUL External

Since: Mar 03, 2006 Posts: 32
|
Posted: Fri May 05, 2006 12:51 am Post subject: Re: starting an application....on another desktop! [Login to view extended thread Info.] Archived from groups: per prev. post (more info?) |
|
|
Thanks a lot for your replies. Well I already had wmctrl, but the
problem is that it move existing windows to another desktop and NOT
start a new application on the other desktop.
Only kstart (as mentioned earlier) has an option for this. Any other
such tools?
Thanks
Nupul |
|
| Back to top |
|
 |
NUPUL External

Since: Mar 03, 2006 Posts: 32
|
Posted: Fri May 05, 2006 2:23 am Post subject: Re: starting an application....on another desktop! [Login to view extended thread Info.] Archived from groups: per prev. post (more info?) |
|
|
> > Only kstart (as mentioned earlier) has an option for this. Any other
> > such tools?
>
> You asked for "starting an application....on another desktop!"
> and run KDE, so *kstart* should be fine, what other tool would
> you need?
Yes I agree, but the KDE doesn't exist on the system on which i intend
to achieve this behaviour. |
|
| Back to top |
|
 |
NUPUL External

Since: Mar 03, 2006 Posts: 32
|
Posted: Fri May 05, 2006 4:06 am Post subject: Re: starting an application....on another desktop! [Login to view extended thread Info.] Archived from groups: per prev. post (more info?) |
|
|
my apologies Michael, will state the problem more clearly next time.
Well actually i was just writing a program and was curious to know if I
could launch a program, without switching to the other desktop...i.e.
directly launch the program from the console onto a different desktop
so that my work on the current desktop need not be interrupted. It
could be argued that I should start the job in the background, but It's
a gui app that is to be launched and i didn't want the user's workflow
to be disturbed.
the sequence of switch to desktop, start app, switch to prev desktop
again, is something I wanted to avoid....so far kstart has proven to be
perfect, but i was just more curious on the non dependability on KDE.
Thanks
Nupul |
|
| Back to top |
|
 |
NUPUL External

Since: Mar 03, 2006 Posts: 32
|
Posted: Fri May 05, 2006 11:34 am Post subject: Re: starting an application....on another desktop! [Login to view extended thread Info.] Archived from groups: per prev. post (more info?) |
|
|
Stephen Chadfield wrote:
> In your first message in this thread you stated:
>
> "I have 4 Desktops on my SuSE 10 KDE 3.4. Is there a way/command that
> can launch an application, from the command line onto the desktop of my
> choice?"
>
> Hmm, doesn't this imply that you *do* in fact have KDE on your system?
yes it does....but the prog which i am writing need not be implemented
on a KDE base system. My apologies...I should have made the problem
general to "multiple desktops" and not put it forth w.r.t KDE in the
first place (maybe I did so without realising that it may be generally
thought of...my mistake, will take care of it next time )
Thanks
Nupul |
|
| Back to top |
|
 |
Michael Heiming External

Since: Apr 04, 2004 Posts: 3526
|
Posted: Fri May 05, 2006 12:50 pm Post subject: Re: starting an application....on another desktop! [Login to view extended thread Info.] Archived from groups: per prev. post (more info?) |
|
|
In comp.os.linux.misc NUPUL :
>> > Only kstart (as mentioned earlier) has an option for this. Any other
>> > such tools?
>>
>> You asked for "starting an application....on another desktop!"
>> and run KDE, so *kstart* should be fine, what other tool would
>> you need?
> Yes I agree, but the KDE doesn't exist on the system on which i intend
> to achieve this behaviour.
Mh, you'd certainly ease up things for people trying to help you,
if you specify your problem more clearly. Then wmctrl as others
already pointed out should be what you want. Should be a single
line. Switch to desktop, start app and switch back to where you
came from. The trick would be finding the current desktop first,
to be able to switch back to where you came from. OK, 2-3 lines
should do the trick.
--
Michael Heiming (X-PGP-Sig > GPG-Key ID: EDD27B94)
mail: echo zvpunry.RemoveThis@urvzvat.qr | perl -pe 'y/a-z/n-za-m/'
#bofh excuse 14: sounds like a Windows problem, try calling
Microsoft support |
|
| Back to top |
|
 |
|