root# screeny
EXIT="Exit on timeout"
/usr/sbin/screeny: line 24: $/mnt/home/Tempsave/Screenshots/capture15295.png: No such file or directory
xwdtopnm: writing PPM file
EXIT="Exit on timeout"
root#
Not getting screenshots "xwdtopwm" seems not to be working now . Used to
Any ideas?
Screeny stopped working. What happened?
- perdido
- Posts: 1528
- Joined: Mon 09 Dec 2013, 16:29
- Location: ¿Altair IV , Just north of Eeyore Junction.?
Re: Need help on Screeny
Does directory /mnt/home/Tempsave/Screenshots/ exist?april wrote: /usr/sbin/screeny: line 24: $/mnt/home/Tempsave/Screenshots/capture15295.png: No such file or directory
.
-
- Posts: 1543
- Joined: Mon 22 Feb 2016, 19:43
Re: Screeny stopped working. What happened?
If it's the same problem as this I had to compile the newest netpbm to fix it:april wrote:Not getting screenshots "xwdtopwm" seems not to be working now . Used to
http://murga-linux.com/puppy/viewtopic. ... 791#943791
Re: Need help on Screeny
Yes--lots of saves in it and was working up to a few weeks agoperdido wrote: Does directory /mnt/home/Tempsave/Screenshots/ exist?
.
WHOOPS ! Spelling wrong in the screeny script better fix first
just my typo
still not working
Code: Select all
root# screeny
EXIT="Exit on timeout"
/usr/sbin/screeny: line 24: $/mnt/home/TempSave/Screenshots/capture16808.png: No such file or directory
xwdtopnm: writing PPM file
EXIT="Exit on timeout"
root#
Code: Select all
root# cd /mnt/home/TempSave/Screenshots/
root# ls
1f3.jpg Ivan Batalov-Pitsburg.png
26742-.jpg KdenliveScreencapture30138.png
33mail2.png KennyRoad2017.png
33mail.png Kenny Road Area.jpg
35.JPG Keyloggerscreenshot.png
Screeny uses xwdtopnm as below which I guess converts the "$CAPTURE" to ".pnm" and pipes it to pnmtopng so it then saves the result as a "png" file .
xwd in a console on my machine does some weird things so I'm guessing xwd is corrupt
Code: Select all
# functions
snap_func1()
{
WINDOWID="$(xwininfo -frame|grep "Window id"|tr ' ' '\n'|grep "[0-7a-f][0-7a-f]")"
xwd -id "$WINDOWID" | xwdtopnm | pnmtopng > "$CAPTURE"
}
Fixed it by using PPM and installing screeny again
Actually I changed the address to send the screenshot to and experimented with it once I had done the above reinstall
Playing I found
was wrong and in fact removing the variable symbol $ fixed it and sent it where I wanted it .
Like so
Find the configure file /HOME/. screenyrc and changing the falses to trues makes it send ,jpg's and opens it in your chosen default application immediately.
Actually I changed the address to send the screenshot to and experimented with it once I had done the above reinstall
Playing I found
Code: Select all
/usr/sbin/screeny: $/mnt/home/TempSave/Screenshots/capture16808.png
Like so
Code: Select all
/usr/sbin/screeny: /mnt/home/TempSave/Screenshots/capture16808.png
Code: Select all
Line 183....
eval $(gtkdialog -p SCREENY -c)
[ "$FC" = "false" ] && export CAPTURE="/mnt/home/TempSave/Screenshots/${NAME}.png" || \
export CAPTURE="/mnt/home/TempSave/Screenshots/${NAME}.jpg"
Find the configure file /HOME/. screenyrc and changing the falses to trues makes it send ,jpg's and opens it in your chosen default application immediately.