<SOLVED> Linux Mint 19 Xfce saving screen resolution

Questions about hardware,drivers and peripherals
Forum rules
Before you post please read how to get help
Post Reply
MtnMan75
Level 1
Level 1
Posts: 20
Joined: Thu Aug 23, 2018 11:40 pm

<SOLVED> Linux Mint 19 Xfce saving screen resolution

Post by MtnMan75 » Sun Sep 16, 2018 10:41 pm

I have set up an older computer with 19 Xfce and am using it with a Sharp TV I have that accepts a VGA input and my video card has dual DVI outputs I have to use an adapter with to go to the VGA. I have figured out the following lines in terminal will get me to the maximum resolution for this setup (1360x768) and everything works great until I restart it. I was hoping someone could help me with making this permanent so I don't have to type this in each time.

the lines are:
xrandr --newmode "1360x768 60.00" 84.57 1360 1432 1568 1776 768 771 781 798 -hsync +vsync
xrandr --addmode DVI-1 1360x768_60.00
xrandr -s 4

and my screen is awesome... until I restart. hehe.
Thanks in advance for any help...
Last edited by MtnMan75 on Tue Sep 25, 2018 11:32 pm, edited 1 time in total.

MtnMan75
Level 1
Level 1
Posts: 20
Joined: Thu Aug 23, 2018 11:40 pm

Re: Linux Mint 19 Xfce saving screen resolution

Post by MtnMan75 » Tue Sep 25, 2018 11:31 pm

Ok... I figured this out. I created the bash file with the commands listed before, and made the file executable. Then under Session and Startup ->Application Autostart I pointed to the hidden folder I created and stored this script in. If this helps anyone else - I named the file sharptv.sh and saved it under home in a folder called .sharptv. From the Application Autostart menu I clicked Add and then created a name for this 'application', and just called it Resolution Fix under description. For the command line I wrote the following: bash .sharptv/sharptv.sh and it executes this file from the hidden folder and my screen resolution is now 1360x768 upon startup. The login screen is a bit off, but I could care less about that.

Post Reply

Return to “Hardware Support”