Making Tweak display resolution permanent  [Solved]

Help for Current Versions of MX
When asking for help, use Quick System Info from MX Tools. It will be properly formatted using the following steps.
1. Click on Quick System Info in MX Tools
2. Right click in your post and paste.
Message
Author
M270
Posts: 11
Joined: Fri Sep 15, 2023 10:54 am

Making Tweak display resolution permanent

#1 Post by M270 »

MX-23.5 64bit, Xfce
My laptops native screen resolution is 1920x1200, which makes difficult to use, especially with some of my legacy programs. I reset the display with MX Tweak to 1280x800 which works well, but even after saving the selection, on reboot it reverts to the higher resolution. I have reviewed and tried the solutions on related posts, but nothing seems to work.
Thanks for the help.

System info

Code: Select all

Snapshot created on: 20231115_1256
System:
  Kernel: 6.1.0-30-amd64 [6.1.124-1] arch: x86_64 bits: 64 compiler: gcc v: 12.2.0
    parameters: BOOT_IMAGE=/boot/vmlinuz-6.1.0-30-amd64 root=UUID=<filter> ro quiet
  Desktop: Xfce v: 4.20.0 tk: Gtk v: 3.24.38 info: xfce4-panel wm: xfwm v: 4.20.0 vt: 7
    dm: LightDM v: 1.32.0 Distro: MX-23.5_x64 Libretto November 15  2023 base: Debian GNU/Linux 12
    (bookworm)
Machine:
  Type: Detachable System: Panasonic product: CF-20-2 v: 002 serial: <superuser required> Chassis:
    type: 32 v: 001 serial: <superuser required>
  Mobo: Panasonic model: CF20-2 v: 1 serial: <superuser required> UEFI: American Megatrends
    v: 2.00L20 date: 07/15/2021
Battery:
  ID-1: BAT1 charge: 29.6 Wh (100.0%) condition: 29.6/29.6 Wh (100.0%) volts: 12.3 min: 11.4
    model: Panasonic CF-VZSU0Q type: Li-ion serial: <filter> status: full
  ID-2: BAT2 charge: 16.2 Wh (80.2%) condition: 20.2/29.6 Wh (68.3%) volts: 12.4 min: 11.4
    model: Panasonic CF-VZSU0Q type: Li-ion serial: <filter> status: charging
CPU:
  Info: model: Intel Core i5-7Y57 bits: 64 type: MT MCP arch: Amber/Kaby Lake note: check level: v3
    note: check built: 2017 process: Intel 14nm family: 6 model-id: 0x8E (142) stepping: 9
    microcode: 0xF6
  Topology: cpus: 1x cores: 2 tpc: 2 threads: 4 smt: enabled cache: L1: 128 KiB
    desc: d-2x32 KiB; i-2x32 KiB L2: 512 KiB desc: 2x256 KiB L3: 4 MiB desc: 1x4 MiB
  Speed (MHz): avg: 586 high: 791 min/max: 400/3300 scaling: driver: intel_pstate
    governor: powersave cores: 1: 791 2: 400 3: 400 4: 756 bogomips: 12799
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
  Vulnerabilities:
  Type: gather_data_sampling mitigation: Microcode
  Type: itlb_multihit status: KVM: VMX disabled
  Type: l1tf mitigation: PTE Inversion; VMX: conditional cache flushes, SMT vulnerable
  Type: mds mitigation: Clear CPU buffers; SMT vulnerable
  Type: meltdown mitigation: PTI
  Type: mmio_stale_data mitigation: Clear CPU buffers; SMT vulnerable
  Type: reg_file_data_sampling status: Not affected
  Type: retbleed mitigation: IBRS
  Type: spec_rstack_overflow status: Not affected
  Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via prctl
  Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer sanitization
  Type: spectre_v2 mitigation: IBRS; IBPB: conditional; STIBP: conditional; RSB filling;
    PBRSB-eIBRS: Not affected; BHI: Not affected
  Type: srbds mitigation: Microcode
  Type: tsx_async_abort mitigation: TSX disabled
Graphics:
  Device-1: Intel HD Graphics 615 vendor: Matsushita driver: i915 v: kernel arch: Gen-9.5
    process: Intel 14nm built: 2016-20 ports: active: eDP-1 empty: DP-1,HDMI-A-1 bus-ID: 00:02.0
    chip-ID: 8086:591e class-ID: 0300
  Device-2: Bison USB HD Webcam type: USB driver: uvcvideo bus-ID: 1-9.3:12 chip-ID: 5986:113f
    class-ID: 0e02 serial: <filter>
  Display: x11 server: X.Org v: 1.21.1.7 compositor: xfwm v: 4.20.0 driver: X:
    loaded: modesetting unloaded: fbdev,vesa dri: iris gpu: i915 display-ID: :0.0 screens: 1
  Screen-1: 0 s-res: 1920x1200 s-dpi: 96 s-size: 509x318mm (20.04x12.52") s-diag: 600mm (23.63")
  Monitor-1: eDP-1 model-id: YLT 0x4100 built: 2014 res: 1920x1200 hz: 60 dpi: 226 gamma: 1.2
    size: 216x135mm (8.5x5.31") diag: 247mm (9.7") ratio: 16:10 modes: 1920x1200
  API: OpenGL v: 4.6 Mesa 22.3.6 renderer: Mesa Intel HD Graphics 615 (KBL GT2)
    direct-render: Yes
Audio:
  Device-1: Intel Sunrise Point-LP HD Audio vendor: Matsushita driver: snd_hda_intel v: kernel
    alternate: snd_soc_skl,snd_sof_pci_intel_skl bus-ID: 00:1f.3 chip-ID: 8086:9d71 class-ID: 0403
  API: ALSA v: k6.1.0-30-amd64 status: kernel-api tools: alsamixer,amixer
  Server-1: PipeWire v: 1.0.0 status: active with: 1: pipewire-pulse status: active
    2: wireplumber status: active 3: pipewire-alsa type: plugin 4: pw-jack type: plugin
    tools: pactl,pw-cat,pw-cli,wpctl
Network:
  Device-1: Intel Ethernet I219-LM vendor: Matsushita driver: e1000e v: kernel port: N/A
    bus-ID: 00:1f.6 chip-ID: 8086:15d7 class-ID: 0200
  IF: eth0 state: down mac: <filter>
  Device-2: Intel Wireless 8265 / 8275 driver: iwlwifi v: kernel modules: wl pcie: gen: 1
    speed: 2.5 GT/s lanes: 1 bus-ID: 02:00.0 chip-ID: 8086:24fd class-ID: 0280
  IF: wlan0 state: up mac: <filter>
  Device-3: Realtek RTL8153 Gigabit Ethernet Adapter type: USB driver: r8152 bus-ID: 2-3.1.1:4
    chip-ID: 0bda:8153 class-ID: 0000 serial: <filter>
  IF: eth1 state: down mac: <filter>
  IF-ID-1: wwan0 state: down mac: <filter>
Bluetooth:
  Device-1: Intel Bluetooth wireless interface type: USB driver: btusb v: 0.8 bus-ID: 1-7:4
    chip-ID: 8087:0a2b class-ID: e001
  Report: hciconfig ID: hci0 rfk-id: 1 state: up address: <filter> bt-v: 2.1 lmp-v: 4.2
    sub-v: 100 hci-v: 4.2 rev: 100
  Info: acl-mtu: 1021:4 sco-mtu: 96:6 link-policy: rswitch hold sniff
    link-mode: peripheral accept service-classes: rendering, capturing, object transfer, audio,
    telephony
Drives:
  Local Storage: total: 238.47 GiB used: 36.93 GiB (15.5%)
  SMART Message: Unable to run smartctl. Root privileges required.
  ID-1: /dev/sda maj-min: 8:0 vendor: SK Hynix model: SC401 SATA 256GB size: 238.47 GiB
    block-size: physical: 4096 B logical: 512 B speed: 6.0 Gb/s type: SSD serial: <filter> rev: 0121
    scheme: GPT
Partition:
  ID-1: / raw-size: 238.22 GiB size: 233.43 GiB (97.99%) used: 36.93 GiB (15.8%) fs: ext4
    dev: /dev/sda2 maj-min: 8:2
  ID-2: /boot/efi raw-size: 256 MiB size: 252 MiB (98.46%) used: 274 KiB (0.1%) fs: vfat
    dev: /dev/sda1 maj-min: 8:1
Swap:
  Kernel: swappiness: 15 (default 60) cache-pressure: 100 (default)
  ID-1: swap-1 type: file size: 4 GiB used: 0 KiB (0.0%) priority: -2 file: /swap/swap
Sensors:
  System Temperatures: cpu: 44.0 C pch: 39.0 C mobo: N/A
  Fan Speeds (RPM): N/A
Repos:
  Packages: pm: dpkg pkgs: 2480 libs: 1291 tools: apt,apt-get,aptitude,nala,synaptic pm: rpm
    pkgs: 0 pm: flatpak pkgs: 0
  No active apt repos in: /etc/apt/sources.list
  Active apt repos in: /etc/apt/sources.list.d/debian-stable-updates.list
    1: deb http://deb.debian.org/debian bookworm-updates main contrib non-free non-free-firmware
  Active apt repos in: /etc/apt/sources.list.d/debian.list
    1: deb http://deb.debian.org/debian bookworm main contrib non-free non-free-firmware
    2: deb http://security.debian.org/debian-security bookworm-security main contrib non-free non-free-firmware
  Active apt repos in: /etc/apt/sources.list.d/google-chrome.list
    1: deb [arch=amd64] https://dl.google.com/linux/chrome/deb/ stable main
  Active apt repos in: /etc/apt/sources.list.d/mx.list
    1: deb http://mirror.accum.se/mirror/mxlinux.org/packages/mx/repo/ bookworm main non-free
Info:
  Processes: 225 Uptime: 2m wakeups: 2 Memory: 15.51 GiB used: 1.32 GiB (8.5%) Init: SysVinit
  v: 3.06 runlevel: 5 default: graphical tool: systemctl Compilers: gcc: 12.2.0 alt: 12
  Client: shell wrapper v: 5.2.15-release inxi: 3.3.26
Boot Mode: UEFI

User avatar
CharlesV
Global Moderator
Posts: 7104
Joined: Sun Jul 07, 2019 5:11 pm

Re: Making Tweak display resolution permanent

#2 Post by CharlesV »

If using Display doesnt resolve it, then as workaround until a true fix is found... you could try to create a script to set the resolution using xrandr at logon.

Code: Select all

xrandr -s 1280x800

*QSI = Quick System Info from menu (Copy for Forum)
*MXPI = MX Package Installer
*Please check the solved checkbox on the post that solved it.
*Linux -This is the way!

User avatar
dolphin_oracle
Developer
Posts: 22069
Joined: Sun Dec 16, 2007 12:17 pm

Re: Making Tweak display resolution permanent  [Solved]

#3 Post by dolphin_oracle »

its possible mx-tweak's resolution setting doesn't work with Xfce's latest 4.20. I will investigate that. Please use the Xfce's Display utility directly.

With the changes to Xfce's dislay utility, I'm thinking the MX-Tweak display tab is mostly moot at this point.
http://www.youtube.com/runwiththedolphin
lenovo ThinkPad X1 Extreme Gen 4 - MX-23
FYI: mx "test" repo is not the same thing as debian testing repo.

User avatar
Jerry3904
Administrator
Posts: 23082
Joined: Wed Jul 19, 2006 6:13 am

Re: Making Tweak display resolution permanent

#4 Post by Jerry3904 »

Seems like it.
Production: 5.10, MX-23 Xfce, AMD FX-4130 Quad-Core, GeForce GT 630/PCIe/SSE2, 16 GB, SSD 120 GB, Data 1TB
Personal: Lenovo X1 Carbon with MX-23 Fluxbox
Other: Raspberry Pi 5 with MX-23 Xfce Raspberry Pi Respin

M270
Posts: 11
Joined: Fri Sep 15, 2023 10:54 am

Re: Making Tweak display resolution permanent

#5 Post by M270 »

Using the Xfce display manager and scaling the native 1920x1200 by 1.5 gave 1280x800. The change persisted on reboot so I am a happy camper.
Cheers

User avatar
dolphin_oracle
Developer
Posts: 22069
Joined: Sun Dec 16, 2007 12:17 pm

Re: Making Tweak display resolution permanent

#6 Post by dolphin_oracle »

the funny thing is tweak uses xfce's xfconf values to store the information. maybe a setting item has changed
http://www.youtube.com/runwiththedolphin
lenovo ThinkPad X1 Extreme Gen 4 - MX-23
FYI: mx "test" repo is not the same thing as debian testing repo.

User avatar
dolphin_oracle
Developer
Posts: 22069
Joined: Sun Dec 16, 2007 12:17 pm

Re: Making Tweak display resolution permanent

#7 Post by dolphin_oracle »

hmmm

as long as your display designation doens't change (IE, the system dedects a new display), mine is holding ok. the resolution and scale settings appear to be the same.

but there are certainly plenty of oddities in xfce/xfconf at the moment.
http://www.youtube.com/runwiththedolphin
lenovo ThinkPad X1 Extreme Gen 4 - MX-23
FYI: mx "test" repo is not the same thing as debian testing repo.

User avatar
Fritx
Posts: 60
Joined: Thu Aug 22, 2019 11:11 am

Re: Making Tweak display resolution permanent

#8 Post by Fritx »

I'm having the same problem with a TP x390. The Xfce display manager doesn't work at all. At some point, the value was permanently adopted via MX Tweak. Something isn't working properly.

User avatar
dolphin_oracle
Developer
Posts: 22069
Joined: Sun Dec 16, 2007 12:17 pm

Re: Making Tweak display resolution permanent

#9 Post by dolphin_oracle »

mx-tweak and the Xfce Display utility use the exact same settings.
http://www.youtube.com/runwiththedolphin
lenovo ThinkPad X1 Extreme Gen 4 - MX-23
FYI: mx "test" repo is not the same thing as debian testing repo.

Post Reply

Return to “MX Help”