Python Forum
Help with autostart - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Python Coding (https://python-forum.io/forum-7.html)
+--- Forum: General Coding Help (https://python-forum.io/forum-8.html)
+--- Thread: Help with autostart (/thread-33737.html)



Help with autostart - homac - May-22-2021

Have a question about autostarting a screen change. The command below works perfectly...

xrandr --output HDMI-1 --scale-from 1600x960 --display :0

I have been told to put the xrandr command in the file ~/.xsessionrc, then combine that with autostart. Being a total novice, how would I program that?

Thank-you...


RE: Help with autostart - Gribouillis - May-22-2021

The question seems unrelated to Python. We are a Python forum. It is a Linux desktop question. What exactly is your OS and desktop environment?