0

Recently made the switch from windows 10 to linux mint(cinnamon) and was looking to change the display scaling for a 13in monitor. Found out that fractional scaling isn't an option, but found an answer that provided another solution - use commands in terminal to set custom resolution so x2 scaling isn't huge. Worked perfectly. The commands were

sudo xrandr --newmode "3200x1800_60.00" 492.00 3200 3456 3800 4400 1800 1803 1808 1865 -hsync +vsync

sudo xrandr --addmode eDP-1 "3200x1800_60.00"

The answer ends with "If you want this change to be preserved on reboot you need to run the last two commands (--newmode and --addmode) when you login by adding them to your user profile: $ sudo nano ~./profile"

This is where I'm screwing up. I added the commands to .profile, and on the next startup I get a popup that says

Error found when loading /home/user/.profile
sudo: no tty present and no askpass program specified
sudo: no tty present and no askpass program specified
As a result the session will not be configured correctly. You should fix the problem as soon as feasible.

and the display has reverted back to native resolution. So I've removed the lines, and don't know what to do. Can someone correct me?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.