diff options
Diffstat (limited to 'config')
-rwxr-xr-x | config/chroot_local-hooks/gfxdetect | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/config/chroot_local-hooks/gfxdetect b/config/chroot_local-hooks/gfxdetect index 03ece1c..d782203 100755 --- a/config/chroot_local-hooks/gfxdetect +++ b/config/chroot_local-hooks/gfxdetect @@ -8,6 +8,10 @@ if [ -f /etc/kde4/kdm/kdmrc ]; then sed -i 's/.*\(TerminateServer=\).*/\1true/' /etc/kde4/kdm/kdmrc fi +if [ -f /etc/lightdm/lightdm.conf ]; then + sed -i 's|^#*\(xserver-command=X\).*|\1 -dpi 96|' /etc/lightdm/lightdm.conf +fi + if [ -f /usr/share/initramfs-tools/scripts/init-bottom/01gfxdetect ]; then if [ -f /etc/alternatives/glx--fglrx-blacklists-radeon.conf ]; then sed -i 's/.*\(blacklist\)/#\1/' /etc/alternatives/glx--fglrx-blacklists-radeon.conf |