Skip to content

Daemon needs to be restarted after logging in when autosetting xrandr props #335

@Vandino86

Description

@Vandino86

UPDATE: The keyboard shortcuts error I originally mentioned here is titled "lxqt-panel" and says "Volume Control: The following shortcuts can not be registered: 'XF86AudioRaiseVolume'". I also get these for other shortcuts. I'm not 100% sure if this is an lxqt-panel error instead, however.

Image

I'm using a 2560x1440 monitor that has an xrandr property called scaling mode that is set to None by default. However, I want it permanently set to Full aspect, so I tried putting the command xrandr --output DP-1 --set "scaling mode" "Full aspect" in the file /etc/X11/Xsession.d/45custom_xrandr-settings. While this successfully set scaling mode to Full aspect after rebooting and logging back in, I noticed that when logging back in, an error regarding keyboard shortcuts would appear in my notifications (bottom right of the screen) and my keyboard shortcuts (volume up + down, Alt+F1 to open/close main menu, etc.) wouldn't work. Sometimes, the panel will be frozen for 20 seconds after logging in and only afterwards will I get the shortcuts error. Going to Session Settings > Basic Settings and stopping and then restarting Global Keyboard Shortcuts in the LXQt Modules section makes the shortcuts work again. I've also tried using using an autostart entry with "Start only in X11" enabled to set scaling mode instead, but I get the exact same results, even with "Wait for system tray" enabled.

Is this an issue on LXQt's end, or am I not persistently setting xrandr props the right way?

Void Linux x86_64 glibc
Linux 6.12.58_1 x86_64
LXQt 2.3.0
Qt 6.10.0
lxqt-globalkeys 2.3.0_1
xorg-server 21.1.20_1
libX11 1.8.12_2
xrandr 1.5.3_1
libXrandr 1.5.4_1
mesa 25.1.9_1
sddm 0.21.0_1
openbox 3.6.1_5
XFX AMD Radeon RX 570 4 GB

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions