LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 03-04-2009, 04:35 PM   #1
don_wombat_73
Member
 
Registered: Sep 2005
Posts: 58

Rep: Reputation: 15
Disable laptop monitor while in docking station


I have gotten my xorg.conf file tweaked enough so that I can see my external docking station monitor from my Dell M6400 laptop while running Kubuntu 8.10 i386. I was wondering if it's possible so that when the laptop is in the docking station, it disables the laptop monitor and uses the external monitor as the primary. And when it's outside of the docking station, it disables the internal monitor and using the laptop's monitor as the primary.

Here is my current Xorg.conf file:

Code:
# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings:  version 1.0  (buildmeister@builder63)  Thu Feb  5 00:19:09 PST 2009                                                                         

# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 1.0  (buildmeister@builder63)  Thu Feb  5 00:18:17 PST 2009                                                                         

Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0" 0 0
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"   
EndSection                                   

Section "Files"
EndSection     

Section "Module"
    Load           "dbe"
    Load           "extmod"
    Load           "type1"
    Load           "freetype"
    Load           "glx"     
EndSection                   

Section "ServerFlags"
    Option         "Xinerama" "0"
EndSection                       

Section "InputDevice"

    # generated from default
    Identifier     "Mouse0"
    Driver         "mouse" 
    Option         "Protocol" "auto"
    Option         "Device" "/dev/psaux"
    Option         "Emulate3Buttons" "no"
    Option         "ZAxisMapping" "4 5" 
EndSection                               

Section "InputDevice"

    # generated from default
    Identifier     "Keyboard0"
    Driver         "kbd"     
EndSection                   

Section "Monitor"
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "LGD"     
    HorizSync       30.0 - 75.0
    VertRefresh     60.0       
    Option         "DPMS"     
EndSection                     

Section "Monitor"
    Identifier     "Monitor1"
    VendorName     "Unknown"
    ModelName      "DELL 2408WFP"
    HorizSync       30.0 - 83.0 
    VertRefresh     56.0 - 76.0 
EndSection                       

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "Quadro FX 3700M"   
EndSection                             

Section "Device"
    Identifier     "Device1"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "Quadro FX 3700M"
    BusID          "PCI:1:0:0"
    Screen          1
EndSection

Section "Screen"

# Removed Option "TwinView" "0"
# Removed Option "metamodes" "DFP-0: nvidia-auto-select +0+0"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "TwinView" "1"
    Option         "metamodes" "DFP-0: nvidia-auto-select +0+0, DFP-1: nvidia-auto-select +1920+0"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

Section "Screen"
    Identifier     "Screen1"
    Device         "Device1"
    Monitor        "Monitor1"
    DefaultDepth    24
    Option         "TwinView" "0"
    Option         "metamodes" "DFP-1: nvidia-auto-select +0+0"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection


Any help is appreciated.
 
  


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
Docking Station + External Monitor with Laptop Lid Closed 0ddba11 Linux - Hardware 6 05-26-2010 05:56 PM
Docking Station for Linux laptop preeth26 Linux - Hardware 4 06-24-2007 12:28 PM
Dual monitor with Dell D820 and docking station? Stratocaster72 Linux - Laptop and Netbook 5 06-07-2007 04:10 PM
unable to use my laptop in a docking station and an external monitor nappy Linux - Hardware 1 04-02-2007 11:48 PM
Laptop and Docking Station or External Monitor lewt Fedora 0 11-13-2003 10:03 PM


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