Can't set default resolution
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Can't set default resolution
I have an HP-Envy 13-ad133nd, with Linux Mint 18.2 Sonya and Cinnamon. This laptop can take resolution 3840x2160, but it is unreadable, and therefore I set it lower. The problem is that everytime I reboot the system, it takes again the 3840x2160 resolution, and thus I need to set it everytime I login. How can I set a different default resolution?
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Re: Can't set default resolution
.sinderel wrote:I have an HP-Envy 13-ad133nd, with Linux Mint 18.2 Sonya and Cinnamon. This laptop can take resolution 3840x2160, but it is unreadable, and therefore I set it lower. The problem is that everytime I reboot the system, it takes again the 3840x2160 resolution, and thus I need to set it everytime I login. How can I set a different default resolution?
AFAIK, you need to use the Terminal command
xrandr
to display the available screen resolutions/data and then you need to manually install and edit the etc/xconfig file to make your selected screen resolution persist through reboots. Please do a Google Search for the relevant steps which look quite complicated. Hopefully, someone experienced will come along to guide you.According to this link, http://www.omgubuntu.co.uk/2017/04/linu ... ck-greeter , LM 18.2 is using lightdm as its Display Manager while LM 18.1 or earlier is using mdm. If so, the Terminal commands to do the above are likely different.
Re: Can't set default resolution
Make a script and add that script to the Startup Applications. Command
When making the script, make it executable also.
xrandr
tells your connectors and devices. For example I have the next script when using desktops like IceWM.
Code: Select all
#! /bin/bash
xrandr --output VGA1 --mode 1600x900
Code: Select all
chmod +x resolution.sh
Re: Can't set default resolution
there is a file
.config/monitors.xml
if you have one rename it to monitorsOLD and logoff maybe that will hold your resolution- Spearmint2
- Level 16
- Posts: 6900
- Joined: Sat May 04, 2013 1:41 pm
- Location: Maryland, USA
Re: Can't set default resolution
what resolution do you want? It can be done for your user profile using the hidden .xprofile you create. For instance, if you wanted 1600x900 at 60 Hz refresh.sinderel wrote:I have an HP-Envy 13-ad133nd, with Linux Mint 18.2 Sonya and Cinnamon. This laptop can take resolution 3840x2160, but it is unreadable, and therefore I set it lower. The problem is that everytime I reboot the system, it takes again the 3840x2160 resolution, and thus I need to set it everytime I login. How can I set a different default resolution?
Code: Select all
xrandr --newmode "1600x900_60.00" 118.25 1600 1696 1856 2112 900 903 908 934 -hsync +vsync
xrandr --addmode VGA-0 1600x900_60.00
xrandr --addmode DVI-0 1600x900_60.00
Code: Select all
xrandr
All things go better with Mint. Mint julep, mint jelly, mint gum, candy mints, pillow mints, peppermint, chocolate mints, spearmint,....