Monday, January 14, 2013

How to take screenshot on LXDE desktop on Archlinux

By default LXDE doesn't have ability to take screenshot using printscreen. You need another application to capture the screen. I usually using scrot and gnome-screenshot.


Scrot is screencapture program that run from terminal/ command line.
gnome-screenshot is GUI screencapture software.

But i prefer gnome-screenshot for easy solution.

OK, install the apps.

Scrot

#pacman -S scrot

Manual of scrot:

The results is png, place at home user.

Gnome-Screenshot

#pacman -S gnome-screenshot

This apps will be installed and available on accessories menu, here's the main GUI:



To make gnome screenshot available when press Printscreen, you can edit .config/openbox/lxde-rc.xml

openterminal then

$nano ~/.config/openbox/lxde-rc.xml
add this

<keybind key="Print">
<action name="Execute">
<command>gnome-screenshot -i</command>
</action>
</keybind>

before </keyboard>

Looks like this picture:


Done, logout & login, then try press screenshot. You will see take-screenshot option.

Enjoy
Share on Facebook
Share on Twitter
Share on Google+