Comment 68 for bug 268434

Revision history for this message
In , Stephan (stephanolbrich) wrote :

This is not working for me as line 9 in krandrstartup is wrong:

$ cat test
#!/bin/sh
krandrrc_display_startupcommands="xrandr --output "VGA1" --pos 0x0 --mode 1680x1050 --refresh 59.9543\nxrandr --noprimary"
echo -e "$krandrrc_display_startupcommands" | \
while read command; do
   echo "$command"
done

$ ./test
-e xrandr --output VGA1 --pos 0x0 --mode 1680x1050 --refresh 59.9543
xrandr --noprimary

As you can see, the "-e" is included in $command which then obviously fails.
If I remove the "-e" it sort of works, but I still have the wrong resolution in kdm