Tiny Core Linux

Tiny Core Base => TCB Q&A Forum => Topic started by: ejames82 on August 20, 2010, 10:06:10 AM

Title: tinycore screenshot
Post by: ejames82 on August 20, 2010, 10:06:10 AM
what is the best way to provide a screenshot with tinycore (here at this forum, mostly)?

i notice when clicking "Additional Options" below (great feature), that an attachment can be included (i'm hoping this can be a screenshot). 

1. how is the screenshot captured?
 a. is there a special program/app required?
 b. is there a special procedure?

2. once the screenshot is obtained, is there any other "prepping" that needs to be done to it?

thanks, as always.
Title: Re: tinycore screenshot
Post by: tinypoodle on August 20, 2010, 10:33:14 AM
Code: [Select]
screenshot.sh
should be in menu under "Tools"... (unless there was any change about since 2.10)
Title: Re: tinycore screenshot
Post by: ejames82 on August 20, 2010, 11:12:21 AM
tinypoodle,

you mean right-click the desktop>system tools>screenshot.  the tool automatically takes the screenshot when "screenshot" is clicked.  i noticed that i, indeed, have a screenshot saved in my home folder.

1. are there any other screen capture utilities?
2. are there any tools to view the screenshot with?

thanks for the reply.
Title: Re: tinycore screenshot
Post by: tinypoodle on August 20, 2010, 11:38:14 AM
1. e.g. xvidcap can do stills and videos
2. any pic viewer should do, e.g. flpicsee. Hint: most every graphical browsers can render .png as well, e.g. on console i would often just use links
Title: Re: tinycore screenshot
Post by: ejames82 on August 20, 2010, 11:49:57 AM
tinypoodle,

i used gimp1 to open the screenshot.  gimp>file>open>select screenshot>ok.
gimp1 is in the appbrowser.

i'll be checking out your programs. 
doing it right now.  thanks.
Title: Re: tinycore screenshot
Post by: beerstein on August 21, 2010, 05:23:40 AM
Hi: I think in TC 3.0 there is a built in screen shot application under the
utilities bar. After clicking this the image is in th /home somwhere as a .png
I still have to find a good and compact viewer for these images.

tuxpaint may work, I also saw the names: xvidcap and fkpicsee here in this post

are there others?
Title: Re: tinycore screenshot
Post by: aus9 on August 21, 2010, 09:03:26 PM
hi

the "best" is a relative answer ....for me....its the app called mtpaint.....as It takes a full screenshot and can be editted to select an area and save in different image formats.

b) You can also click on File -> Actions .....and take a time based screenshot

mtpaint is smaller than Gimp

It may not be better than gimp because I do not know if you prefer command mode...or graphical.....and if graphical....if you have need to download smaller or larger with more features

good luck
Title: Re: tinycore screenshot
Post by: tinypoodle on August 22, 2010, 01:46:58 AM
or something like
Code: [Select]
sleep 5 && mtpaint -s & exit
might work too  :)
(no mtpaint here atm to test myself...)
value of secs to sleep in order to delay screenshot can be chosen as desired to adjust windows etc.
Title: Re: tinycore screenshot
Post by: curaga on August 22, 2010, 03:24:51 AM
Well, since this is turning to a hints'n'tips thread...

When I want to take a shot of a specific window, I'm way too lazy to crop it myself. I have Xorg, netpbm installed, so I just do

xwd | xwdtopnm | pnmtopng > pic

and click on the window I want in the pic. Nothing else, no cropping necessary. No window borders either unless an option is given to xwd.
Title: Re: tinycore screenshot
Post by: tinypoodle on August 22, 2010, 05:41:37 AM
Ok, as i have Xorg installed at the moment (but running Xvesa anyway) that inspired me to try similar with nconvert which is shipped with xnview (unfortunately not free software  :-\)
Code: [Select]
xwd > pic.xwd && nconvert -o pic.png -out png pic.xwd && rm -f pic.xwd
Result is a pic of the window clicked on with window borders - I wonder why  ???
Title: Re: tinycore screenshot
Post by: curaga on August 22, 2010, 05:56:08 AM
Must be my wm, now that I checked man xwd it's the other way around, borders on by default and an option to disable.
Title: Re: tinycore screenshot
Post by: tinypoodle on August 22, 2010, 06:10:09 AM
Ooops, silly me...  ::)

curaga, your initial post was absolutely correct, apologies.

Thing is that flpicsee which I used to view the result is so minimal it consists only of wm title and borders, and i mistook latter as belonging to the pic - when they do belong to the viewer  :P
(e.g. a snapshot of a rox-filer window would look exactly as a rox-filer window per se when viewed in flpicsee)
Title: Re: tinycore screenshot
Post by: aus9 on August 22, 2010, 06:29:36 AM
tinypoodle

I do not want to boost your ego but (heh heh)

your "sleep" command works in case you need confirmation

( I had to degrade my snapshot to fit the forum limit of 192 kilobytes) not your faullt

love it

Title: Re: tinycore screenshot
Post by: tinypoodle on August 22, 2010, 06:46:54 AM
Or perhaps change to a less complex background before making screenshot?
Attached screenshot (made with TC base screenshot.sh) is less than 49KB, though resolution is only 1024x600 which is also a factor for size.

[attachment deleted by admin]
Title: Re: tinycore screenshot
Post by: ejames82 on August 22, 2010, 04:23:11 PM
the stuff you guys are doing is WAY over my head.

a little bit of "click here, then click here" would be great, because i think it would take me a month to figure out how to do what you guys are doing.

Title: Re: tinycore screenshot
Post by: aus9 on August 22, 2010, 06:39:55 PM
ejames82

If interested, feel free to try gimp

well I am a graphical guy so click on the cogs and search term mtpaint

click on install....it may install dependencies

If right handed, rh click empty desktop and look for applications and click on mtpaint OR
hold down control key and press F2 key....type mtpaint and press enter OR
if you have a window manager you may have a desktop icon OR
it may appear in wbar.....but I have no wbar as I have it turned off as I am using LXDE. OR
click on the left hand bottom icon....and look for the app under graphics if that sub-menu exists YMMV


Once open click on File.....click on New.....click radio button ....grab snapshot
......there is a pause and then screenshot appears

If you want to save it.....I click on File ....choose file save as....look at bottom of screen and choose your graphic format like png etc.

If you don't want a full screenshot ....use your mouse to make a box....= a selected area.....and press the delete key
then click on save as

( I click on save as.....so I can give it a more descriptive name....YMMV)

2) I have removed my earlier attachment as it was too big.

regards
Title: Re: tinycore screenshot
Post by: tinypoodle on August 22, 2010, 07:11:34 PM
I scripted this for myself, so now I can click it in rox-filer:  ;)
Code: [Select]
#!/bin/sh
#ss_xwd_ncv.sh creates a snapshot of selected window (or whole screen by selecting background) using xwd & nconvert
sleep 5 && xwd > pic.xwd && nconvert -o ss_xwd_`date "+%H%M%S_%-e%b%y"`.png -out png pic.xwd && rm -f pic.xwd
Requires xwd from Xorg and nconvert (in path) from xnview which is available on the net as binary (not free software, unfortunately).
Creates a snapshot of the content of a single window without borders, with a grace time of 5 secs to bring window to foreground or to arrange other windows overlapping it. Works also with wbar and jwm tray.
If clicking on a free part of background, a screenshot of whole screen will be created.
Creates a unique filename based on time to prevent accidental overwriting of preexisting snapshot, similar to screenshot.sh in TC base.

I guess similar could be adapted to curaga's suggestion of using xwd and netpbm which inspired me to fiddle with this in the first place.

Title: Re: tinycore screenshot
Post by: bmarkus on August 23, 2010, 12:15:26 AM
In LXDE there is a screen capture button on the bottom task bar, just click with the mouse.

in Xfce4 you can install a screen capture plugin which is shown on the taskbar. It can be also configured; you can set up delay, to show or hide cursor, etc.
Title: Re: tinycore screenshot
Post by: ejames82 on September 17, 2010, 11:57:30 PM
i know it's an old thread, forgive me.

is there a keyboard shortcut for taking a screenshot with the default screenshot tool?
i've tried alt+print screen
crtl+f2
no go with either :-\

what is the default screenshot tool's name?
is  there a screenshot tool available with a keyboard shortcut provided?

the reason for this question is, i was unable to get to the desktop to take the screenshot of the desired object.  a keyboard shortcut would be just the ticket.

thanks.
Title: Re: tinycore screenshot
Post by: tinypoodle on September 18, 2010, 12:41:03 AM
Code: [Select]
screenshot.sh
Title: Re: tinycore screenshot
Post by: curaga on September 18, 2010, 05:08:06 AM
No default key binding for screenshot, but you can set up your own if you want.