![]() ![]() Run the script by the command: python3 /path/to/set_resolution.py One application or script per line, looking like: gedit 640x480 In this textfile, set the desired application or process, followed by a space, followed by the desired resolution. In the very same directory (folder), create a textfile, exactly named: procsdata.txt. In the head of the script, set your default resolution, in the line: #- set the default resolution below Copy the script below into an empty file, save it as set_resolution.py. ![]() When the application is closed, the resolution is automatically set back to 1680x1050 How to use Running gnome-terminal, automatically changing to 1280x1024: Running gedit, automatically changing to 640x480: That is exactly what the script below does.Īn example of a default resolution of 1680x1050: A major convenience upgrade would be to use a background script, automatically setting the resolution per application, while you can set different resolutions for different (multiple) applications at once.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |