On 1/2/15 3:44 PM, CS DBA wrote:
Hi all;
I want to run an xrandr command at startup.
I Tried these solutions with no luck:
1) added command it to /etc/rc.d/rc.local (as a script with
#!/bin/bash as the first line)
created a soft link from /etc/rc.d/rc.local to /etc/rc.local
systemctl start rc-local.service
2) added command to /etc/kde/kdm/Xsetup
chmod a+x /etc/kde/kdm/Xsetup
Neither of the above solutions work
I'm running Fedora 21, KDE spin (64bit)
Thanks in advance for any help...
Update:
I've tweaked my /etc/kde/kdm/Xsetup file to look like this:
/
//#!/bin/sh//
//
///bin/xrandr --newmode "1280x800_60.00" 83.50 1280 1352 1480 1680
800 803 809 831 -hsync +vsync//
//
///bin/xrandr --addmode eDP1 "1280x800_60.00"//
//
///bin/xrandr -s 1280x800//
//
///bin/xrandr --output eDP1 --panning 1280x800 --scale 0.633x0.633/
If I login with this the screen is not right, cut off at the sides. If I
then login and run the /etc/kde/kdm/Xsetup file as a script then the
screen gets set correctly
Thoughts?
Thanks again in advance
--
users mailing list
[email protected]
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org