* Get rid of some unnecessary xorg.conf statements.
svn path=/nixos/trunk/; revision=10096
This commit is contained in:
parent
c71e8dc314
commit
a2c1282ebc
@ -14,11 +14,7 @@ EndSection
|
|||||||
|
|
||||||
Section "Module"
|
Section "Module"
|
||||||
Load "bitmap"
|
Load "bitmap"
|
||||||
Load "dbe"
|
|
||||||
Load "extmod"
|
|
||||||
Load "freetype"
|
|
||||||
Load "int10"
|
Load "int10"
|
||||||
Load "type1"
|
|
||||||
Load "vbe"
|
Load "vbe"
|
||||||
@moduleSection@
|
@moduleSection@
|
||||||
@extraModules@
|
@extraModules@
|
||||||
|
@ -130,18 +130,18 @@ let
|
|||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
|
export moduleSection=""
|
||||||
|
export screen=""
|
||||||
|
export device=""
|
||||||
|
export extensions=""
|
||||||
|
|
||||||
|
|
||||||
#if only my gf were this dirty
|
#if only my gf were this dirty
|
||||||
if test "${toString videoDriver}" == "nvidia"; then
|
if test "${toString videoDriver}" == "nvidia"; then
|
||||||
export moduleSection='
|
|
||||||
Load "glx"
|
|
||||||
SubSection "extmod"
|
|
||||||
Option "omit xfree86-dga"
|
|
||||||
EndSubSection
|
|
||||||
'
|
|
||||||
|
|
||||||
export screen='
|
export screen='
|
||||||
Option "AddARGBGLXVisuals" "true"
|
Option "AddARGBGLXVisuals" "true"
|
||||||
Option "DisableGLXRootClipping" "true"
|
Option "DisableGLXRootClipping" "true"
|
||||||
|
Option "RandRRotation" "on"
|
||||||
'
|
'
|
||||||
|
|
||||||
export device='
|
export device='
|
||||||
@ -153,15 +153,6 @@ let
|
|||||||
export extensions='
|
export extensions='
|
||||||
Option "Composite" "Enable"
|
Option "Composite" "Enable"
|
||||||
'
|
'
|
||||||
|
|
||||||
else
|
|
||||||
export moduleSection='
|
|
||||||
Load "glx"
|
|
||||||
Load "dri"
|
|
||||||
'
|
|
||||||
export screen=
|
|
||||||
export device=
|
|
||||||
export extensions=
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "${toString videoDriver}" = i810 ]; then
|
if [ "${toString videoDriver}" = i810 ]; then
|
||||||
@ -230,7 +221,7 @@ let
|
|||||||
|
|
||||||
# Start Compiz and the GTK-style window decorator.
|
# Start Compiz and the GTK-style window decorator.
|
||||||
env LD_LIBRARY_PATH=${xorg.libX11}/lib:${xorg.libXext}/lib:/usr/lib/
|
env LD_LIBRARY_PATH=${xorg.libX11}/lib:${xorg.libXext}/lib:/usr/lib/
|
||||||
${pkgs.compiz}/bin/compiz gconf ${renderingFlag}&
|
${pkgs.compiz}/bin/compiz gconf ${renderingFlag} &
|
||||||
${pkgs.compiz}/bin/gtk-window-decorator --sync &
|
${pkgs.compiz}/bin/gtk-window-decorator --sync &
|
||||||
''
|
''
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user