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
This is not working for me as line 9 in krandrstartup is wrong:
$ cat test display_ startupcommands ="xrandr --output "VGA1" --pos 0x0 --mode 1680x1050 --refresh 59.9543\nxrandr --noprimary" display_ startupcommands " | \
#!/bin/sh
krandrrc_
echo -e "$krandrrc_
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