SOLVED! get Print Screen button working

Forum rules
Before you post please read this

SOLVED! get Print Screen button working

Postby ccc on 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.
ccc
Level 2
Level 2
 
Posts: 98
Joined: Sat Jul 23, 2011 7:40 pm

Linux Mint is funded by ads and donations.
 

Re: Print Screen button doesn't work

Postby seppalta on 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.
seppalta
Level 4
Level 4
 
Posts: 390
Joined: Wed Jun 08, 2011 12:08 pm

Re: Print Screen button doesn't work

Postby ccc on 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 2
Level 2
 
Posts: 98
Joined: Sat Jul 23, 2011 7:40 pm

Re: Print Screen button doesn't work

Postby ccc on 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.
ccc
Level 2
Level 2
 
Posts: 98
Joined: Sat Jul 23, 2011 7:40 pm


Return to Others

Who is online

Users browsing this forum: No registered users and 1 guest