Page 1 of 1

Creating an executable file (Resolved)

Posted: Sun Jun 09, 2019 7:31 pm
by GELvdH
I am trying to create an executable file like a Windows batch file to be able to call it from a software startup file which I create to change my video resolution.

Re: Creating an executable file

Posted: Mon Jun 10, 2019 2:08 am
by jimallyn
You probably want to write a BASH script Free downloadable manual here:

http://www.linuxcommand.org/tlcl.php/

Re: Creating an executable file

Posted: Mon Jun 10, 2019 2:37 am
by ricardogroetaers
If I understand you correctly, you can do this by "Session and startup" -> "automatic application startup".
Click the "+ Add" button. The rest is intuitive.
Image

Re: Creating an executable file

Posted: Mon Jun 10, 2019 10:59 am
by Flemur
GELvdH wrote:
Sun Jun 09, 2019 7:31 pm
I am trying to create an executable file like a Windows batch file to be able to call it from a software startup file which I create to change my video resolution.
Did you have a question?

Re: Creating an executable file

Posted: Mon Jun 10, 2019 12:32 pm
by GELvdH
Sorry, the rest of my question got lost in the ether
Yes I have created a file in RESO with the following command to change my video resolution and saved it to the default location for RESO,
#! /bin/sh
xrandr --newmode "1368x768_60.00" 85.25 1368 1440 1576 1784 768 771 781 798 -hsync +vsync
xrandr --addmode your_output_here 1368x768_60.00
xrandr -s 1368x768
the issue is that when I go to 'Startup Applications' and enter RESO in the name and RESO in the command location save it and reboot, nothing changes. Apparently I have to create an executable file to call it from 'Startup Applications'. Question is How Do I Do That in linux.