Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Fri 19 Oct 2018, 17:55
All times are UTC - 4
 Forum index » House Training » Users ( For the regulars )
Screeny stopped working. What happened?
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [6 Posts]  
Author Message
april

Joined: 14 Sep 2013
Posts: 1241
Location: Green Island baby!

PostPosted: Tue 10 Jul 2018, 19:23    Post subject:  Screeny stopped working. What happened?  

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?
Back to top
View user's profile Send private message Yahoo Messenger 
perdido


Joined: 09 Dec 2013
Posts: 987
Location: ¿Altair IV , Just north of Eeyore Junction.?

PostPosted: Tue 10 Jul 2018, 20:20    Post subject: Re: Need help on Screeny  

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?

.

_________________
Giving with an expectation for return brings misery.
Back to top
View user's profile Send private message 
Sailor Enceladus

Joined: 22 Feb 2016
Posts: 1546

PostPosted: Wed 11 Jul 2018, 00:40    Post subject: Re: Screeny stopped working. What happened?  

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.php?p=943791#943791
Back to top
View user's profile Send private message 
april

Joined: 14 Sep 2013
Posts: 1241
Location: Green Island baby!

PostPosted: Wed 11 Jul 2018, 03:07    Post subject: Re: Need help on Screeny  

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:
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:
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
Back to top
View user's profile Send private message Yahoo Messenger 
april

Joined: 14 Sep 2013
Posts: 1241
Location: Green Island baby!

PostPosted: Wed 11 Jul 2018, 03:31    Post subject:  

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:
# 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
Back to top
View user's profile Send private message Yahoo Messenger 
april

Joined: 14 Sep 2013
Posts: 1241
Location: Green Island baby!

PostPosted: Tue 17 Jul 2018, 05:53    Post subject:  

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:

/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:

/usr/sbin/screeny:  /mnt/home/TempSave/Screenshots/capture16808.png

Code:

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.
Back to top
View user's profile Send private message Yahoo Messenger 
Display posts from previous:   Sort by:   
Page 1 of 1 [6 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » Users ( For the regulars )
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0439s ][ Queries: 11 (0.0093s) ][ GZIP on ]