Tiny Core Linux
Tiny Core Base => TCB Q&A Forum => Topic started by: nickispeaki on April 15, 2009, 07:58:35 PM
-
and where is it?
-
On the menu, Tools -> Screenshot.
-
i know it! But where are my screenshot pics? ???
-
nickispeaki: I wondered the same thing. I could not find where Menu | Tools | Screenshot dumps data (if anyplace). :-\ Maybe someone can enlighten us.
However, I've found I can open a terminal and enter:
imlib2_grab {myfilename.jpg}
Also, .png works. That's how I made the screen grabs of my picture viewer app in action in another thread.
-
the menu command is "sleep 1 && imlib2_grab screenshot_`date "+%m.%d_%H:%M:%S"`.png", so it should be in your home directory and look something like this: screenshot_04.15_23:30:39.png
-
the menu command is "sleep 1 && imlib2_grab screenshot_`date "+%m.%d_%H:%M:%S"`.png", so it should be in your home directory and look something like this: screenshot_04.15_23:30:39.png
it does not work for me but this it does:
exec /bin/sh -c "sleep 1 && /usr/bin/imlib2_grab screenshot_`date "+%Y%m%d%H%M%S"`.png"
-
Isn't 'usr/bin' in PATH?
-
Isn't 'usr/bin' in PATH?
Yes, it is. Aterm says:
tc@box:~$ echo $PATH
/usr/local/bin:/usr/local/sbin:/usr/sbin:/usr/bin:/sbin:/bin
-
`sleep 1 && imlib2_grab screenshot_`date "+%m.%d_%H:%M:%S"`.png should work. (you just included the path....shouldn't be necessary.
-
`sleep 1 && imlib2_grab screenshot_`date "+%m.%d_%H:%M:%S"`.png should work.
I does not work with out the path! >:(
-
`sleep 1 && imlib2_grab screenshot_`date "+%m.%d_%H:%M:%S"`.png should work.
I does not work with out the path! >:(
What if you type "whoami" ?
note: if you get anything profound, you may need an exorcism
-
`sleep 1 && imlib2_grab screenshot_`date "+%m.%d_%H:%M:%S"`.png should work.
I does not work with out the path! >:(
What if you type "whoami" ?
I am using Tinycore 1.2, here you are:
tc@box:~$ whoami
tc
tc@box:~$ echo $PATH
/usr/local/bin:/usr/local/sbin:/usr/sbin:/usr/bin:/sbin:/bin
note: if you get anything profound, you may need an exorcism
;D
-
OK, then "imlib2_grab" should also be working.
Note: Do you copy/paste examples, or type them in yourself?
-
nickispeaki: I wondered the same thing. I could not find where Menu | Tools | Screenshot dumps data (if anyplace). :-\ Maybe someone can enlighten us.
However, I've found I can open a terminal and enter:
imlib2_grab {myfilename.jpg}
Also, .png works. That's how I made the screen grabs of my picture viewer app in action in another thread.
i installed imlib2.tce and:
>imlib2_grab d.jpg (4974)
>imlib2_grab d.jpg (4974) returned '0'
>gview "d.jpg"
Failed to execute child process "gview" (No such file or directory).
now i must to install some grapical viewer.... like gview.
I installed feh. Then I'm viewing a picture from emelFM2. Right button - Open with... - feh
-
i installed imlib2.tce and:
>imlib2_grab d.jpg (4974)
>imlib2_grab d.jpg (4974) returned '0'
>gview "d.jpg"
Failed to execute child process "gview" (No such file or directory).
now i must to install some grapical viewer.... like gview.
I installed feh. Then I'm viewing a picture from emelFM2. Right button - Open with... - feh
try 'imlib2_view d.jpg'
-
OK, then "imlib2_grab" should also be working.
Note: Do you copy/paste examples, or type them in yourself?
It works from console (aterm) but it does not from the menu (if called without the full pathname)
-
the menu command is "sleep 1 && imlib2_grab screenshot_`date "+%m.%d_%H:%M:%S"`.png", so it should be in your home directory and look something like this: screenshot_04.15_23:30:39.png
it does not work for me but this it does:
exec /bin/sh -c "sleep 1 && /usr/bin/imlib2_grab screenshot_`date "+%Y%m%d%H%M%S"`.png"
adding this mod to the next cut. Thanks for the report.
-
OK, then "imlib2_grab" should also be working.
Note: Do you copy/paste examples, or type them in yourself?
It works from console (aterm) but it does not from the menu (if called without the full pathname)
It seems to work fine with no imlib extensions (thus no menu). I hotkey the script to "CA-s"
#!/bin/ash
sleep 1 && imlib2_grab screenshot_`date "+%m.%d_%H:%M:%S"`.png
-
OK, then "imlib2_grab" should also be working.
Note: Do you copy/paste examples, or type them in yourself?
It works from aterm but it does not from desktop-menu (without path).