SOLVED! get Print Screen button working

Forum rules
Before you post please read how to get help
ccc
Level 3
Level 3
Posts: 100
Joined: Sat Jul 23, 2011 7:40 pm

SOLVED! get Print Screen button working

Postby ccc » Sun Mar 04, 2012 8:46 pm

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 ccc on Mon Mar 05, 2012 8:16 pm, edited 2 times in total.

seppalta
Level 4
Level 4
Posts: 388
Joined: Wed Jun 08, 2011 12:08 pm

Re: Print Screen button doesn't work

Postby seppalta » Mon Mar 05, 2012 3:07 pm

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
Level 3
Level 3
Posts: 100
Joined: Sat Jul 23, 2011 7:40 pm

Re: Print Screen button doesn't work

Postby ccc » Mon Mar 05, 2012 4:39 pm

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
Level 3
Level 3
Posts: 100
Joined: Sat Jul 23, 2011 7:40 pm

Re: Print Screen button doesn't work

Postby ccc » Mon Mar 05, 2012 4:46 pm

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.


Return to “Others”

Who is online

Users browsing this forum: No registered users and 1 guest