Page 1 of 1

SOLVED! get Print Screen button working

Posted: Sun Mar 04, 2012 8:46 pm
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.

Re: Print Screen button doesn't work

Posted: Mon Mar 05, 2012 3:07 pm
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.

Re: Print Screen button doesn't work

Posted: Mon Mar 05, 2012 4:39 pm
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.

Re: Print Screen button doesn't work

Posted: Mon Mar 05, 2012 4:46 pm
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.