LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 10-01-2005, 10:19 AM   #1
Furlinastis
Member
 
Registered: Dec 2004
Location: Ball of Confusion
Distribution: Slackware,Bluewhite64
Posts: 252

Rep: Reputation: 30
open app in different desktop display


Just a quick question, how would I open an app in a different desktop display with the terminal?

like:

firefox @ desktop 4
 
Old 10-01-2005, 10:51 AM   #2
macemoneta
Senior Member
 
Registered: Jan 2005
Location: Manalapan, NJ
Distribution: Fedora x86 and x86_64, Debian PPC and ARM, Android
Posts: 4,593
Blog Entries: 2

Rep: Reputation: 327Reputation: 327Reputation: 327Reputation: 327
Usually, this is done with a "-display" option. For example:

xterm -display host:ctlr.head

Where:

host is the IP address or DNS name of the system (blank for the local host),
ctrl is the card on the system (counting from 0),
head is which screen on that card (counting from 0, can be omitted).

Some examples:

:0 - Open on the primary display on the local host
:0.1 - Open on the second head on the local host
morpheus:0.0 - Open on the primary display on system 'morpheus'.
 
Old 10-01-2005, 11:00 AM   #3
Furlinastis
Member
 
Registered: Dec 2004
Location: Ball of Confusion
Distribution: Slackware,Bluewhite64
Posts: 252

Original Poster
Rep: Reputation: 30
oh, I'm sorry, I don't think I was specific enough. I have only one monitor, it sounds like you're referring to a dual monitor setup. (or are you?) I have four 'virtual' desktops(not exactly sure what to call them.) I use one for my terminals and the rest for other things, but I open everything via the terminal.
 
Old 10-01-2005, 11:14 AM   #4
PTrenholme
Senior Member
 
Registered: Dec 2004
Location: Olympia, WA, USA
Distribution: Fedora, (K)Ubuntu
Posts: 4,151

Rep: Reputation: 331Reputation: 331Reputation: 331Reputation: 331
So, you do you want to start you app in a different workspace? The only way I've found is to have the app running during log out, with "save session" turned on, and that the app will "automatically" start when you resume the session.

I've never looked at the "save session" file to see how it's done, but it seems possible.
 
Old 10-01-2005, 11:16 AM   #5
macemoneta
Senior Member
 
Registered: Jan 2005
Location: Manalapan, NJ
Distribution: Fedora x86 and x86_64, Debian PPC and ARM, Android
Posts: 4,593
Blog Entries: 2

Rep: Reputation: 327Reputation: 327Reputation: 327Reputation: 327
The options for display work whether you have one monitor or many. However, your question applies to virtual desktops (workspaces). There are several ways of accomplishing this, depending on the window manager that you are using. For example, with the Metacity window manager on Fedora Core 3, I use Devils Pie to control the position of application windows, as well as the virtual desktop: http://www.burtonini.com/blog/computers/devilspie
 
Old 10-01-2005, 03:50 PM   #6
PTrenholme
Senior Member
 
Registered: Dec 2004
Location: Olympia, WA, USA
Distribution: Fedora, (K)Ubuntu
Posts: 4,151

Rep: Reputation: 331Reputation: 331Reputation: 331Reputation: 331
You got me curious, so I looked into ~/.kde, but I couldn't find anything obvious. So I "googled" a bit, and found this
Quote:
Andreas Pakulat <ap125@informatik.uni-rostock.de> writes:
>
> Is there a possibility to let applications start on a different
> workspace that that I currently look at? I'm used to this from
> windowmaker where I could explicitly set the workspace an application is
> started on. Is this possible in kde too?

Try for example:
kstart --desktop 1 kwrite

Regards,
Gaute Hvoslef Kvalnes
Now, I haven't tried it, but you might want to. Let us know if it works.
 
Old 10-01-2005, 10:03 PM   #7
Furlinastis
Member
 
Registered: Dec 2004
Location: Ball of Confusion
Distribution: Slackware,Bluewhite64
Posts: 252

Original Poster
Rep: Reputation: 30
yea, kstart works great. thanks

Last edited by Furlinastis; 10-01-2005 at 10:05 PM.
 
  


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Run app on a particular virtual desktop 3saul Linux - Software 2 11-22-2005 12:56 AM
Any way to redirect DISPLAY inside Java app? paulsm4 Programming 0 03-23-2005 07:35 PM
How to display how much memory resources consumes an app guarriman Linux - Newbie 1 12-17-2004 04:52 AM
Open an app in the same virtual desktop always Celettu Linux - Newbie 4 08-24-2004 01:58 PM
How to stop a app trying to display LOT of text from looking all grey.. dmx9595 Linux - General 7 06-05-2004 06:19 PM


All times are GMT -5. The time now is 08:29 AM.

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