[SOLVED] Scrot (print screen)

Post here if you are a new Porteus member and you're looking for some help.
Jack
Contributor
Contributor
Posts: 1857
Joined: 09 Aug 2013, 14:25
Distribution: Porteus and Nemesis
Location: USA

[SOLVED] Scrot (print screen)

Post#1 by Jack » 31 Dec 2017, 19:17

I want to use scrot in Lxde but I want to use Print Screen key on my laptop to use it. Can that be use that way, if so how?
Last edited by Jack on 31 Dec 2017, 20:37, edited 1 time in total.
I just like Slackware because I think it teach you about Linux to build packages where Ubuntu is like Windows you just install programs you want.

User avatar
ncmprhnsbl
DEV Team
DEV Team
Posts: 3924
Joined: 20 Mar 2012, 03:42
Distribution: v5.0-64bit
Location: australia
Contact:

Scrot (print screen)

Post#2 by ncmprhnsbl » 31 Dec 2017, 20:20

have a look at /home/guest/openbox/lxde-rc.xml
at line 330:

Code: Select all

  <!-- Launch gnome-screenshot when PrintScreen is pressed -->
  <keybind key="Print">
      <action name="Execute"><command>gnome-screenshot -i</command></action>
  </keybind>
change "gnome-screenshot -i" to "scrot"
this will place the resulting screenshot in /home/guest as a .png
Forum Rules : https://forum.porteus.org/viewtopic.php?f=35&t=44

Jack
Contributor
Contributor
Posts: 1857
Joined: 09 Aug 2013, 14:25
Distribution: Porteus and Nemesis
Location: USA

Scrot (print screen)

Post#3 by Jack » 31 Dec 2017, 20:37

Thanks ncmprhnsbl, It works great and now I can take screenshot.
I just like Slackware because I think it teach you about Linux to build packages where Ubuntu is like Windows you just install programs you want.

Post Reply