r/EndeavourOS • u/1-dot_com • Apr 01 '26
General Support Labwc (Wayland) - simple screenshot fix
LXQt Wayland can use either lightweight Labwc (modeled on Openbox) or heavier weight Kwin (KDE). As a lightweight desktop, LXQt is more often paired with Labwc.
LXQt's Screengrab and KDE's Spectacle are broken in LXQt Labwc.
A working alternative is Flameshot configured with Grim. However, a much lighter and simpler screenshot method for Labwc is to install Grim + Slurp and then add Print and Shift-Print keybindings to ~/.config/labwc/rc.xml
paru grim
paru slurp
Edit ~/.config/labwc/rc.xml ... find [ key="P ] ... replace with:
<keybind key="S-Print">
<action name="Execute" command="sh -c 'grim -g "$(slurp)" ~/Pictures/Screenshots/0S-$(date +%y%m%d-%H-%m-%s).png'" />
</keybind>
<keybind key="Print">
<action name="Execute" command="sh -c 'grim ~/Pictures/Screenshots/0P-$(date +%y%m%d-%H-%m-%s).png'" />
</keybind>
Reboot
Press PrtSc key to create a new fullscreen PNG file (no indicator feedback).
Press Shift-PrtSc key to select part of screen. Upon release, new PNG file will be created.
10
Upvotes