You are not logged in.

#1 2021-04-07 00:40

FlexQ4
Member
Registered: 2017-02-19
Posts: 170

Changing to an (interpolated) screen resolution works...

well, at least for one session.
i found a solution for the problem that i wrote about once here (Pt. 4 in https://www.q4os.org/forum/viewtopic.php?id=2999)

I want(ed) to run a 1680x1050 Monitor in 1440x900 resolution (for much better visual ergonomics)
The solution now was derived from here: https://askubuntu.com/questions/377937/ … resolution.
and is achieved by the commands cvt and xrandr  - in my particular case:

cvt 1440 900 60
first retrieves a Modeline:

# 1440x900 59.89 Hz (CVT 1.30MA) hsync: 55.93 kHz; pclk: 106.50 MHz
Modeline "1440x900_60.00"  106.50  1440 1528 1672 1904  900 903 909 934 -hsync +vsync

which is to be feeded to xrandr:
xrandr --newmode "1440x900_60.00"  106.50  1440 1528 1672 1904  900 903 909 934 -hsync +vsync
and
xrandr --addmode HDMI-1 1440x900_60.00

xrandr -s 1440x900 then finally does the job.

Unfortunately KDesktop doesn't remember this screen setting/resolution, so i have to do this (with a script) each time i start Q4OS
(the solution with a ~/.xprofile described in the askubuntu link above does not work here).

Offline

#2 2021-04-07 06:23

bin
Member
From: U.K.
Registered: 2016-01-28
Posts: 1,335

Re: Changing to an (interpolated) screen resolution works...

You should be able to do this the old fashioned way.

Create a file called 20-monitor.conf

Section "Monitor"
# 1440x900 59.89 Hz (CVT 1.30MA) hsync: 55.93 kHz; pclk: 106.50 MHz
Modeline "1440x900_60.00"  106.50  1440 1528 1672 1904  900 903 909 934 -hsync +vsync
EndSection

Section "Screen"
 Subsection "Display"
        Depth 24
        Modes "1440x900"
    EndSubsection
EndSection

This file should go in /etc/X11/xorg.conf.d

After restart you should then be able to pick that resolution from the setting in KDE.

Now, it is just possible that X will throw an error when you start up, so you will then need to log in on the command prompt, navigate to that location and delete the file as sudo.

If you're not comfy with that then another option would be to drop your script into the relevant Autostart location

Offline

Board footer

Powered by FluxBB