Screeny stopped working. What happened?

Using applications, configuring, problems
Post Reply
Message
Author
april

Screeny stopped working. What happened?

#1 Post by april »

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?

User avatar
perdido
Posts: 1528
Joined: Mon 09 Dec 2013, 16:29
Location: ¿Altair IV , Just north of Eeyore Junction.?

Re: Need help on Screeny

#2 Post by perdido »

april wrote: /usr/sbin/screeny: line 24: $/mnt/home/Tempsave/Screenshots/capture15295.png: No such file or directory
Does directory /mnt/home/Tempsave/Screenshots/ exist?

.

Sailor Enceladus
Posts: 1543
Joined: Mon 22 Feb 2016, 19:43

Re: Screeny stopped working. What happened?

#3 Post by Sailor Enceladus »

april wrote:Not getting screenshots "xwdtopwm" seems not to be working now . Used to
If it's the same problem as this I had to compile the newest netpbm to fix it:
http://murga-linux.com/puppy/viewtopic. ... 791#943791

april

Re: Need help on Screeny

#4 Post by april »

perdido wrote: Does directory /mnt/home/Tempsave/Screenshots/ exist?
.
Yes--lots of saves in it and was working up to a few weeks ago

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

april

#5 Post by april »

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 .

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"
}
xwd in a console on my machine does some weird things so I'm guessing xwd is corrupt

april

#6 Post by april »

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

Code: Select all

/usr/sbin/screeny: $/mnt/home/TempSave/Screenshots/capture16808.png
was wrong and in fact removing the variable symbol $ fixed it and sent it where I wanted it .
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.

Post Reply