Where do I add the xrandr command to run it always after boot/startup automatically?
- I’ve tried a file in /etc/X11/xim.d/45custom_xrandr-settings, it will simply not executed*]I’ve tried adding the command in the ~/.profile it will be executed, but reset to a wrong mode just afterwards.
Thanks a lot
Achim
egkokn4v wrote:
> Where do I add the xrandr command to run it always after boot/startup
> automatically?
>
> - I’ve tried a file in /etc/X11/xim.d/45custom_xrandr-settings, it
> will simply not executed
> - I’ve tried adding the command in the ~/.profile it will be
> executed, but reset to a wrong mode just afterwards.
Add the execute command to /etc/init.d/boot.local. Do not assume that
any path variables are set, i.e. use the full path for any commands.