SOLVED! get Print Screen button working

Questions about applications and software
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
ccc

SOLVED! get Print Screen button working

Post by ccc »

hi

Howto activate "Print Screen" button in LXDE?

I've tried this:

http://wiki.lxde.org/en/How_to_make_screenshots

but it doesn't work.
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 3 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
seppalta

Re: Print Screen button doesn't work

Post by seppalta »

You probably do not have the software installed. In my opinion a screenshot that does not take subregion shots is garbage. Last time I installed it, xfce4-screenie took subregions, and Faststone Image Viewer (via Wine) does. Gnome-screenshot does not.
ccc

Re: Print Screen button doesn't work

Post by ccc »

seppalta wrote:You probably do not have the software installed. In my opinion a screenshot that does not take subregion shots is garbage. Last time I installed it, xfce4-screenie took subregions, and Faststone Image Viewer (via Wine) does. Gnome-screenshot does not.
Thx, but the scrot is already installed and it doesn't work.
ccc

Re: Print Screen button doesn't work

Post by ccc »

This problem is solved!
Using this script for scrot /usr/bin/screenshot.sh:

Code: Select all

#!/bin/bash
scrot '%Y-%m-%d--%s_$wx$h_scrot.png' -e 'mv $f ~/Desktop'
and add these lines in ~/.config/openbox/lxde-rc.xml:

Code: Select all

<keybind key="Print">
<action name="Execute">
<command>/usr/bin/screenshot.sh</command>
</action>
</keybind>
seems to work well now.
Locked

Return to “Software & Applications”