Page 1 of 1

[SOLVED] Scrot (print screen)

Posted: 31 Dec 2017, 19:17
by Jack
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?

Scrot (print screen)

Posted: 31 Dec 2017, 20:20
by ncmprhnsbl
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

Scrot (print screen)

Posted: 31 Dec 2017, 20:37
by Jack
Thanks ncmprhnsbl, It works great and now I can take screenshot.