just how do I protect against Xorg utilizing my Linux laptop computer is display screen panel?
I have a laptop computer (~ 5 years of age HP compaq nc6400 running Fedora Linux) that I make use of a lot of the moment as a desktop computer equipment. It is linked into a docking terminal with its cover shut and also attached via that by DVI wire to a huge exterior LCD present.
For numerous factors (login greeter shows up on shut display screen, minimal graphics card can refrain 3D to both display screens simultaneously) I would love to protect against the laptop computer is incorporated display screen panel being made use of by X in all. While anchored and also on my workdesk (which is just how I utilize it concerning 97% of the moment) I would certainly like it to merely not make use of the incorporated laptop computer panel. Starting is not a certain trouble, as by default every little thing is mirrored in between both display screens. Additionally, I do not mind a 'guidebook' remedy, such that I need to undo setups on those uncommon celebrations when I am making use of the laptop computer far from my workdesk.
As soon as visited I can set up Gnome to make sure that it just makes use of the exterior monitor and also the laptop computer panel is significant "off", nonetheless this has no result on the first vehicle - set up state of X and also the pre - login greeter display screen. Remarkably the laptop computer does not show up to have a cover sensing unit, so opening up or shutting the cover does not show up to cause any kind of occasions. I can make use of
xrandr -display :0 --output LVDS1 --off --output DVI1 --auto on a different VC prior to login, yet this is still after the reality of X having actually begun and also uncovered and also determining to make use of both display screens.
I attempted setting up Xorg by developing a documents
/etc/X11/xorg.conf.d/01-turn-off-laptop-display.conf which has :
Section "Monitor" Identifier "laptop panel" Option "Monitor-LVDS1" "laptop panel" Option "Enable" "no" EndSection Section "Monitor" Identifier "big display" Option "Monitor-DVI1" "big display" EndSection Section "Screen" Identifier "main" Device "Default" Monitor "big display" EndSection
However that did not have a valuable result. The video clip card is Intel 945GM :
[[email protected] ~]$ sudo lspci -v -s 0:2 00:02.0 VGA compatible controller: Intel Corporation Mobile 945GM/GMS, 943/940GML Express Integrated Graphics Controller (rev 03) (prog-if 00 [VGA controller]) Subsystem: Hewlett-Packard Company Device 30ad Flags: bus master, fast devsel, latency 0, IRQ 16 Memory at f4600000 (32-bit, non-prefetchable) [size=512K] I/O ports at 4000 [size=8] Memory at e0000000 (32-bit, prefetchable) [size=256M] Memory at f4680000 (32-bit, non-prefetchable) [size=256K] Expansion ROM at <unassigned> [disabled] Capabilities:  MSI: Enable- Count=1/1 Maskable- 64bit- Capabilities: [d0] Power Management version 2 Kernel driver in use: i915 Kernel modules: i915 00:02.1 Display controller: Intel Corporation Mobile 945GM/GMS/GME, 943/940GML Express Integrated Graphics Controller (rev 03) Subsystem: Hewlett-Packard Company Device 30ad Flags: bus master, fast devsel, latency 0 Memory at f4700000 (32-bit, non-prefetchable) [size=512K] Capabilities: [d0] Power Management version 2
The equipment has actually been running numerous variations of Fedora Linux (x86_64) given that around variation 10/ 11). I'm presently attempting Fedora 15 beta (that includes Gnome 3), yet the trouble has actually existed in previous OS launches.
I had the ability to attain the wanted purpose with the adhering to xorg.conf :
Section "Monitor" Identifier "laptop panel" Option "ignore" "true" EndSection Section "Monitor" Identifier "big display" EndSection Section "Device" Identifier "onboard" Option "Monitor-LVDS1" "laptop panel" Option "Monitor-DVI1" "big display" EndSection
the essential component being
Option "Ignore" "true". I could be able to streamline this better, yet it functions. I do not yet recognize what will certainly take place when/if I make use of the laptop computer far from the exterior display screen, perhaps X will certainly exit with a mistake - not an excellent remedy yet I can relocate the arrangement off the beaten track in that occasion.