LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices



Reply
 
Search this Thread
Old 10-19-2006, 07:07 PM   #1
silex_88
Member
 
Registered: May 2005
Posts: 49

Rep: Reputation: 15
fullscreen application and dual-screen: selecting which which screen to use


Hello,

I have a laptop connected to a TV via S-VIDEO. I'd like to start mythtv fullscreen when I log on with a certain user. By default, mythtv starts on the laptop monitor; I'd like to tell it to use the TV. How can I do this?

Cheers!
 
Old 10-19-2006, 07:40 PM   #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: 328Reputation: 328Reputation: 328Reputation: 328
If an application directly supports a display option, you can specify the display to use. For example:

somecommand -display:0.1

Otherwise, you can prefix the command with the display you want it to appear on:

DISPLAY=:0.1 somecommand
 
Old 10-19-2006, 08:25 PM   #3
jschiwal
Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 655Reputation: 655Reputation: 655Reputation: 655Reputation: 655Reputation: 655
You might try adding a server layout section and a screen layout section to the xorg.conf file by the same name as that user. The X server can be started with a -server or -layout option. I'm not certain on the best script or config file to edit, and sometimes it depends on the distro and whether you use a login manager or start with the "startx" command.

You might look at the /etc/X11/xinit/xserverrc or $HOME/.xserverrc file. On mine, I think I would test for $USER=username and add "-layout username" to the $args variable. Then when one of the lines:
Quote:
exec X $dspnum -auth $auth $args
else
exec X $dspnum $args
fi
runs , the xserver will use the layout argument.

Another possibility is to use SCPM so that a different profile is used for that user, and configure it so that a different X configuration is used such as a special /etc/X11/xorg.conf.username.

On some laptops, you may need to select the S-VIDEO output using a special function key that cycles through the video outputs. Also, on some video devices, you need to powercycle the laptop before a newly connected S-VIDEO output will get a signal.

Last edited by jschiwal; 10-19-2006 at 09:04 PM.
 
Old 10-19-2006, 08:51 PM   #4
txtedmacs
LQ Newbie
 
Registered: Aug 2005
Location: N.E. U.S.A.
Distribution: Ubuntu 05.10, 6.06 also have used: FC 3, 4 & 5
Posts: 15

Rep: Reputation: 0
I am beginning with the assumption that you have connected both screens using /etc/X11/xorg.conf, if not - just stop reading. However, I would carefully consider the consequences if your configurations were corrupted. You might no easy access to resolve the issues. It may be wiser keeping the current setup, despite your finding it less than ideal.

My setup differs, in that I have two monitors attached to a dual head video card. The ports on the video card characterized separately and then followed by the sections for each monitor. I have a screen section that begins this way:

...
Section "Screen"
       Identifier "Default Screen"
       Device "[Your Video Card, followed by its port number]0"
       Monitor "[Your Monitor Identity]"
       DefaultDepth 24

[followed by SubSection "Display" that runs though the depth and modes settings. If you have an lcd monitor as I the mode or resolution is fixed. Here is what it looks like:]

       SubSection "Display"
             Depth 1
             Modes "1600x1200"
       EndSubSection
       SubSection "Display"
             Depth 4
             Modes "1600x1200"
       EndSubSection
...
Section "Screen"

This is then followed by your non-default screen section. My configuration nearly comes to an end in the ServerLayout section where the screens are again attached to their respective ports and identified. This probably would not be needed for your setup, however, my setup displays one very large screen the geometry of the screen placement needs to be defined.

Again I would advise caution, particularly if your laptop is a work machine. Given the limited disc capacities in most laptops you might be in a hurry to see and delete you collected content. However, you could be exposing yourself to unnecessary grief should you suddenly lose the use of your laptop display.

Good luck.
 
  


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
MPlayer: Black Screen in Fullscreen Mode/Real Playback Error Geoffrey_Firmin Linux - Software 1 08-12-2006 03:23 PM
Fullscreen console apps in GNU Screen in an X term (of some sort) problems. bugmenot60 Linux - Software 6 07-21-2006 05:48 AM
Dualhead wants fullscreen on one screen firedance Linux - General 7 12-06-2005 09:41 AM
Blank screen after selecting boot option in Gentoo (Just installed) BuckRogers01 Linux - Distributions 2 08-30-2005 02:25 PM
print-screen application puishor Linux - Software 3 08-17-2005 08:37 AM


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