Tiny Core Linux

Tiny Core Base => TCB Q&A Forum => Topic started by: baz on December 31, 2009, 03:31:43 PM

Title: How do you take a screen-shot / print-screen / screen-capture in TC?
Post by: baz on December 31, 2009, 03:31:43 PM
How do you take a screen-shot / print-screen / screen-capture in TC?
Title: Re: How do you take a screen-shot / print-screen / screen-capture in TC?
Post by: roberts on December 31, 2009, 03:34:37 PM
It is on the main system (right click) menu, Screenshot
Title: Re: How do you take a screen-shot / print-screen / screen-capture in TC?
Post by: baz on December 31, 2009, 07:07:08 PM
Easy enough, thank you!
Title: Re: How do you take a screen-shot / print-screen / screen-capture in TC?
Post by: jpeters on December 31, 2009, 09:05:28 PM
....maybe better to hotkey it, so you don't have the menu in the screenshot.

Code: [Select]
#!/bin/sh
sleep 1 && imlib2_grab screenshot_`date "+%m.%d_%H:%M:%S"`.png
Title: Re: How do you take a screen-shot / print-screen / screen-capture in TC?
Post by: baz on January 01, 2010, 06:02:14 PM
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
Title: Re: How do you take a screen-shot / print-screen / screen-capture in TC?
Post by: roberts on January 01, 2010, 07:12:16 PM
jpeters uses jwm. There is a config file for hotkeys when using jwm.
Title: Re: How do you take a screen-shot / print-screen / screen-capture in TC?
Post by: ^thehatsrule^ on January 02, 2010, 05:00:41 PM
baz: there may be a way to do that via a utility like xmodmap
Title: Re: How do you take a screen-shot / print-screen / screen-capture in TC?
Post by: baz on January 12, 2010, 03:52:29 AM
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.
Title: Re: How do you take a screen-shot / print-screen / screen-capture in TC?
Post by: jur on January 12, 2010, 04:00:23 AM
xev is part of Xorg. You can temporarily mount it to use xev, not even necessary to restart X.
Title: Re: How do you take a screen-shot / print-screen / screen-capture in TC?
Post by: curaga on January 13, 2010, 01:32:43 PM
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).
Title: Re: How do you take a screen-shot / print-screen / screen-capture in TC?
Post by: baz on January 13, 2010, 01:47:16 PM
LXDE? How do I get at it.
Title: Re: How do you take a screen-shot / print-screen / screen-capture in TC?
Post by: curaga on January 13, 2010, 02:02:47 PM
LXDE uses openbox, so either the obconf app or:
http://openbox.org/wiki/Help:Bindings
Title: Re: How do you take a screen-shot / print-screen / screen-capture in TC?
Post by: baz on January 13, 2010, 02:25:17 PM
You're the best, thank you!