Hi all.
I am wanting to have a "xrandr" script run at startup, so that the desired effect takes place - every time, every boot.
The script runs fine, when I run it from the Terminal; however, I have failed to automate it at startup.
I tried the following ::
a)
Created file "~/.xession". The contents are as follows ::
Code:
!#/bin/sh
xrandr --output LVDS1 --mode 640x480 --panning 1366x768
The command did not seem to run on reboot.
b)
Created a soft link, to the above file, as follows ::
Code:
[ajay@localhost ~]$ ln -s ~/.xsession ~/.xinitrc
The command did not seem to run on reboot.
c)
Created the "Xsettings.d/" script file, as follows ::
Code:
[ajay@localhost ~]$ sudo mkdir /etc/X11/Xsession.d
[ajay@localhost ~]$ vim /etc/X11/Xsession.d/45custom_xrandr-settings
The contents are as follows ::
Code:
xrandr --output LVDS1 --mode 640x480 --panning 1366x768
Again, the command did not seem to run on reboot.
What else could I try to automate the script? (I repeat, that running the "
xrandr --output LVDS1 --mode 640x480 --panning 1366x768" command works fine, when ran from the terminal).
Looking forward to a reply.
Thanks and Regards,
Ajay