Tiny Core Linux
Tiny Core Base => TCB Q&A Forum => Topic started by: baz on December 31, 2009, 03:31:43 PM
-
How do you take a screen-shot / print-screen / screen-capture in TC?
-
It is on the main system (right click) menu, Screenshot
-
Easy enough, thank you!
-
....maybe better to hotkey it, so you don't have the menu in the screenshot.
#!/bin/sh
sleep 1 && imlib2_grab screenshot_`date "+%m.%d_%H:%M:%S"`.png
-
jpeters, the menu doesn't actually appear in the screenshot - they are smart developers! But I still would like to map the hotkey to 'printscrn', where do I put that command and does it map to printscrn?
Cheers,
Baz
-
jpeters uses jwm. There is a config file for hotkeys when using jwm.
-
baz: there may be a way to do that via a utility like xmodmap
-
Online it says to use the xev command to find out the keycode for print screen to xmodmap it, however I don't think we have xev in TC? Any idea how to go about getting the keycode - and is this the best way to map my fn+PrtSc key on my EEE in LXDE?
Thanks.
-
xev is part of Xorg. You can temporarily mount it to use xev, not even necessary to restart X.
-
xmodmap can't have actions bound to keys; you need a hotkey daemon for that. Actkbd is a standalone one, some window managers have their own (jwm, fluxbox, xfce for example).
-
LXDE? How do I get at it.
-
LXDE uses openbox, so either the obconf app or:
http://openbox.org/wiki/Help:Bindings
-
You're the best, thank you!