Fedora Linux Support Community & Resources Center
  #1  
Old 16th July 2011, 10:18 AM
gavinjb Offline
Registered User
 
Join Date: Sep 2005
Location: Reading, Berkshire, UK
Age: 39
Posts: 33
windows_7firefox
Switching Between Laptop and Monitor Displays

Hi,

I am trying to setup Fedora to replicate my Windows Setup, but cant seem to work it out.

In windows I have it configured so that if I have an external Monitor connected that my Laptop screen is diabled and the External is at highest Res, but as soon as I disconnect my Monitor it enables the internal Monitor, can anyone tell me how I can do this with Fedora.

I think I need to use xrandr but could do with some pointers on how to write the script, my ideas are as follows

A continuously running script that has variable that holds if external monitor is connected, that checks every few seconds to see if monitor is disconencted (not sure how to do this) and if it is chnage the value of the variable and then run the relavant xrandr command.

Can anyone help,


Thanks,




Gavin,
Reply With Quote
  #2  
Old 16th July 2011, 07:08 PM
David Batson Offline
Registered User
 
Join Date: Jul 2009
Posts: 1,234
linuxopera
Re: Switching Between Laptop and Monitor Displays

This is how I did it using a hotkey sequence to run a script to toggle displays.

http://forums.fedoraforum.org/showpo...81&postcount=4
__________________
Fedora 19 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
  #3  
Old 17th July 2011, 04:50 PM
gavinjb Offline
Registered User
 
Join Date: Sep 2005
Location: Reading, Berkshire, UK
Age: 39
Posts: 33
linuxfirefox
Re: Switching Between Laptop and Monitor Displays

Thanks, the script looks like it will do what I need, but I take it there is no way of automating the process?
Reply With Quote
  #4  
Old 17th July 2011, 06:10 PM
David Batson Offline
Registered User
 
Join Date: Jul 2009
Posts: 1,234
linuxopera
Re: Switching Between Laptop and Monitor Displays

Could be, but that is beyond my ken.
__________________
Fedora 19 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
Reply

Tags
displays, laptop, monitor, switching

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
xorg.conf for (only) hd-ready tv and switching displays tanwald Hardware & Laptops 2 28th August 2010 10:32 AM
laptop battery always displays 100% even when discharging UK2 Installation, Upgrades and Live Media 0 31st July 2010 12:33 PM
Switching between nvidia and nv drivers on different displays silfreed Using Fedora 0 11th December 2008 04:24 PM
need to switch displays in dual monitor settting ardanhawk Hardware & Laptops 0 9th October 2005 06:58 AM
hotkey laptop external monitor switching nbecker Hardware & Laptops 3 10th February 2005 08:03 PM


Current GMT-time: 06:34 (Saturday, 02-08-2014)

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