-
Multiple Screens
I'm running KDE on RH9 with a 2.6.4 kernel and NVIDIA's latest graphics drivers. I currently have XFree86 configured to use the TVOut on my card as a seperate X screen than my main monitor. What I'm trying to figure out is, how can I make linux start a program on bootup that is displayed on my secondary screen (the TV)? Is there a way I can assign my TV to log in as a seperate user?
I'm using LIRC to control the mouse on the seperate screen so multiple inputs shouldnt be a problem.
p.s. - sorry if this post makes no sense... i'm exhausted from configuring all day
-
What command are you using to start a separate X session on the TV?
-
I don't think VT supports multiple screens at all. Of course, I might as well be wrong here, since I too have tried to figure out how to put my second display to use in the console
-
I modified my XF86Config file to have two seperate "Screen" sections, and in serverlayout I specified "Screen1" rightof "Screen2". (as instructed in NVIDIA's readme file for their drivers)
It works fine, I can move the mouse from screen to screen and each has an independant taskbar/desktop - I just need to know what parameter specifies which monitor a program is loaded onto.
How do I specify which screen a program is loaded onto? Is there a way to move a window to a certain screen after it is run?
-
could you please post your entire xf86conf file here
im sure im not the only one when i say we all would like
to know how you did it, ive been trying for a year now to
that exact thing
-
I'm not quite sure what you are asking, but I think you want to know how to put your program window of whatever onto whichever screen you want. One way would be to start XFree86 manually and specify either screen 0:0 or 0:1. Then, open your WM seperately in each screen. I can do this using blackbox, fluxbox, and KDE (as long as the other WM is not KDE). Then, when you run a program from your WM, it will open in the appropriate screen.
Here's an example script to open KDE in screen 0:0 and Fluxbox in screen 0:1 :
#!/bin/bash
XFree86 -depth 24 :0 &
export DISPLAY="0:0"
startkde &
XFree86 -depth 24 :1 &
fluxbox -display 0:1 &
Works for me, but then again many things don't, so your mileage may vary.
Registered Linux User #328016
I cna ytpe 300 wrods pre mniute
Slackware 10.0
Shuttle AN35N nForce2 mobo
AMD Athlon XP 2600
512 MB DDR RAM
XFX GeForce FX 5200 256 MB
40 GB Western Digital HDD
-
Last edited by legacy; 04-07-2004 at 10:18 PM.
-
hey thanks ill try that out tonight
-
Originally posted by legacy
Big thanks goes to you for pointing out the "-display" tag, it answered my question
The X manpage (man X) actually mentions the '-display' option with examples.
Finally, most X programs accept a command line option of -display displayname to temporarily override the
contents of DISPLAY. This is most commonly used to pop windows on another person's screen or as part of
a "remote shell" command to start an xterm pointing back to your display. For example,
% xeyes -display joesws:0 -geometry 1000x1000+0+0
% rsh big xterm -display myws:0 -ls </dev/null &
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
|