If anybody is missing the ability to screenshot an area of the screen instead of the whole thing, I found a way to fix it in Trixie based on previous posts for bookworm that didn't seem to be viable any longer. I swear, the Pi engineers have fun hiding the screenshot configuration between every new release
First create a script to do the screenshot. This step should not be necessary, but putting the command directly into the labwc config did not work for me. Probably some syntax that need escaping that someone here can help with. I did a /home/myuser/screenshot.sh with the following:
Make it executable with
Try it out running it by hand just to make sure it works. It should allow you to mark an area with the mouse and then create a screenshot of that area in your Pictures folder.
Then, edit /etc/xdg/labwc/rc.xml (finding that file was some challenge) to have it call the script when you press the PrtScn key. Change the following section:
You need to do something clever to activate it. I just rebooted.
First create a script to do the screenshot. This step should not be necessary, but putting the command directly into the labwc config did not work for me. Probably some syntax that need escaping that someone here can help with. I did a /home/myuser/screenshot.sh with the following:
Code:
#!/bin/shslurp | grim -g -Code:
chmod +x /home/myuser/screenshot.shThen, edit /etc/xdg/labwc/rc.xml (finding that file was some challenge) to have it call the script when you press the PrtScn key. Change the following section:
Code:
<keybind key="Print"> <action name="Execute"> <command>/home/myuser/screenshot.sh</command> </action>Statistics: Posted by ljorg — Thu Jan 01, 2026 11:15 am