Can't set default resolution

Please post suggestions for improvement of Cinnamon on:
https://github.com/linuxmint/Cinnamon
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
sinderel
Level 2
Level 2
Posts: 50
Joined: Fri Oct 20, 2017 5:50 am

Can't set default resolution

Post by sinderel »

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.
michael louwe

Re: Can't set default resolution

Post by michael louwe »

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.
kukamuumuka

Re: Can't set default resolution

Post by kukamuumuka »

Make a script and add that script to the Startup Applications. Command 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
When making the script, make it executable also.

Code: Select all

chmod +x resolution.sh
User avatar
trytip
Level 14
Level 14
Posts: 5367
Joined: Tue Jul 05, 2016 1:20 pm

Re: Can't set default resolution

Post by trytip »

there is a file .config/monitors.xml if you have one rename it to monitorsOLD and logoff maybe that will hold your resolution
Image
User avatar
Spearmint2
Level 16
Level 16
Posts: 6900
Joined: Sat May 04, 2013 1:41 pm
Location: Maryland, USA

Re: Can't set default resolution

Post by Spearmint2 »

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?
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.

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
so, run this and post results.

Code: Select all

xrandr
All things go better with Mint. Mint julep, mint jelly, mint gum, candy mints, pillow mints, peppermint, chocolate mints, spearmint,....
Locked

Return to “Cinnamon”