rotate X screen before kdm starts
January 15, 2012 Leave a comment
i will paste just to be sure to not lose thsi information
- Locate the Xsetup file. It may vary depending on your distribution. In Kubuntu, it is located at: /etc/kde4/kdm/Xsetup
- Edit the file as root.
example: Press Alt+F2 and type “kdesudo kate /etc/kde4/kdm/Xsetup“
- Enter the commands you want to execute (note: They will be run as root before the login dialog appears)
example: xrandr –auto –output VGA1 –mode 1440×900 –right-of LVDS1 –refresh 60.1
- Click “Save” and close your text editor.
In most cases, it is a good idea to place your command string before this line:
/sbin/initctl -q emit login-session-start DISPLAY_MANAGER=kdm
That will execute your script before KDM starts.
if you try to rotate the display output you could test investigate here running this on kernel boot… i will not explain because this is stuff for good users .. and not noobs don’t do this