Fedora Linux Support Community & Resources Center
  #1  
Old 8th November 2010, 04:03 PM
unicron Offline
Registered User
 
Join Date: Nov 2010
Posts: 7
linuxfedorafirefox
set primary monitor for F13/F14

I installed F13 on my Thinkpad T410, and just upgraded to F14.
My desktop is KDE and I login from kdm.
I attach my TV via an HDMI cable (virtually a DP to HDMI cable).
In F13, kdm displays on internal monitor, and KDE desktop on TV after login.
In F14, both kdm and desktop display on TV.
I need the internal monitor to be the primary one, that is both kdm and desktop
display on the internal monitor. I have to run xrandr each time I login:
Code:
xrandr --output LVDS1 --primary
I add the following file to /etc/X11/xorg.conf.d
Code:
Section "Monitor"
    Identifier "Laptop LVDS Internal Display"
    Option "Position"  "0 0"
    Option "Primary" "on"
EndSection

Section "Monitor"
    Identifier "Toshiba TV"
    Option "RightOf" "Laptop LVDS Internal Display"
    Option "Primary" "off"
EndSection

Section "Device"
    Identifier "Intel Arrandale"
    Driver "intel"
    Option "monitor-LVDS1" "Laptop LVDS Internal Display"
    Option "monitor-HDMI1" "Toshiba TV"
EndSection

Section "Screen"
    Identifier    "Default Screen"
    Device        "Intel Arrandale"
    Monitor       "Laptop LVDS Internal Display"
    DefaultDepth  24
    SubSection "Display"
        Depth     24
        Modes     "1440x900" "1024x768" "800x600" "640x480"
    EndSubSection
EndSection
but it has no effect, Xorg.0.log says
Code:
(WW) intel(0): Option "Primary" is not used
Reply With Quote
  #2  
Old 22nd December 2010, 01:40 PM
docbill Offline
Registered User
 
Join Date: Jun 2007
Posts: 3
linuxfedorafirefox
Re: set primary monitor for F13/F14

Try updating your startup. If you only want to effect your login, you can add the command to .xprofile. If you want it to effect all profiles you can modify your desktop manager's startup files. For example, I have a dual monitor setup with my laptop docking station. xrandr does not detect the modes for the monitor connected via a VGA cable, but always selects that monitor as primary. So I have the following two lines in my /etc/gdm/Init/Default file:

xrandr --newmode "1280x1024_75.00" 138.75 1280 1368 1504 1728 1024 1027 1034 1072 -hsync +vsync
xrandr --addmode VGA1 "1280x1024_75.0"
xrandr --output HDMI3 --primary

I think this solution is better than using an X11 configuration file, as my display will correctly change back to my laptop display when I unplug from the docking station. I'm not sure if it would do that if I had configured these settings inside an X11 configuration file.

If you are using kde, the file to update is: /etc/kde4/kdm/Xsetup


Bill

Last edited by docbill; 22nd December 2010 at 02:05 PM.
Reply With Quote
  #3  
Old 23rd December 2010, 04:04 AM
David Batson Offline
Registered User
 
Join Date: Jul 2009
Posts: 1,158
windows_7opera
Re: set primary monitor for F13/F14

https://bugs.kde.org/show_bug.cgi?id=180437
__________________
Fedora 18 Gnome on a ThinkPad X220, i5-2540M CPU, Intel HD Graphics 3000, Intel N 6205 wireless, and Sierra Wireless 754S Mobile Hotspot (AT&T)
Reply With Quote
  #4  
Old 16th June 2011, 09:36 AM
COKEDUDE Offline
Registered User
 
Join Date: Jan 2011
Posts: 275
linuxfirefox
Re: set primary monitor for F13/F14

Have you tried a .xprofile?
Reply With Quote
Reply

Tags
f13 or f14, monitor, primary, set

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Change primary monitor in dual screen mrbrown79 Using Fedora 2 14th September 2010 01:46 PM
Set primary monitor for a dual monitor setup? blah569 Using Fedora 0 15th July 2009 04:49 PM
Dual Head Primary Monitor PoorLeno Using Fedora 2 8th August 2007 01:18 AM
primary monitor swapped dhufstader Using Fedora 1 17th December 2005 03:39 PM
Nvidia + Twinview; Howto switch primary monitor? tashpool Using Fedora 4 5th June 2005 01:58 PM


Current GMT-time: 17:52 (Saturday, 25-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat