Why does pressing "Print" do nothing in Lubuntu 13.10 for some users?
If pressing the "Print" or "Prnt Scrn" key does nothing, please read on.
"Scrot" is the default screen capture utility in Lubuntu and `man scrot` has this:
However, for some users of Lubuntu 13.10, no file is created anywhere in /home or its subfolders.scrot is a screen capture utility using the imlib2 library to aquire
and save images. scrot has a few options, detailed below. Specify
[file] as the filename to save the screenshot to. If [file] is not
specified, a date-stamped file will be dropped in the current direc‐
One way to fix this is to edit ~/.config/openbox/lubuntu-rc.xml (after making a backup for safety).
Open lubuntu-rc.xml with a text editor of your choice. Leafpad will do. Search for print or Print. You should get exactly four hits in an unmodified lubuntu-rc.xml:
andCode:<!-- Take a screenshot of the current window with scrot when Alt+Print are pressed --> <keybind key="A-Print"> <action name="Execute"> <command>lxsession-default screenshot window</command> </action> </keybind>
Notice the contents between <command> and </command>.Code:<!-- Launch scrot when Print is pressed --> <keybind key="Print"> <action name="Execute"> <command>lxsession-default screenshot</command> </action> </keybind>
In the first case, change `lxsession-default screenshot window` to `scrot -u -b`.
In the second case, change `lxsession-default screenshot` to `scrot`.
Save the file (as a plain text file) and exit the text editor.
Open a terminal, run `openbox --reconfigure`. You shouldn't get a pop-up informing you of errors. The prompt should return. That's all. If you do get errors, it means there's something wrong with lubuntu-rc.xml but that's not relevant here.
From now on, both Print Screen to print the whole screen and Alt + Print Screen to print just the active window should work as described in man scrot.
Check out man scrot and also http://askubuntu.com/q/252281/25656.