diff options
author | Andreas Loibl <andreas@andreas-loibl.de> | 2013-08-28 23:10:19 +0200 |
---|---|---|
committer | Andreas Loibl <andreas@andreas-loibl.de> | 2013-08-28 23:10:19 +0200 |
commit | 387a2ccf8fe700c7a53827622e65ffcf39bde518 (patch) | |
tree | f2c4d26d78e0df032145a964431b41017234ef19 | |
parent | 968c50082deb6d8363bd3c0b3de214603ac1f4ba (diff) | |
download | kanotix-387a2ccf8fe700c7a53827622e65ffcf39bde518.zip kanotix-387a2ccf8fe700c7a53827622e65ffcf39bde518.tar.gz |
gfxdetect lightdm hack: force dpi
-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 |