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 Sun 23 Nov 2014, 15:09
All times are UTC - 4
 Forum index » House Training » Beginners Help ( Start Here)
How to get Viewnior to show .png files? (solved)
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [8 Posts]  
Author Message
nooby

Joined: 29 Jun 2008
Posts: 10557
Location: SwedenEurope

PostPosted: Thu 25 Mar 2010, 17:47    Post subject:  How to get Viewnior to show .png files? (solved)  

look here

http://www.murga-linux.com/puppy/viewtopic.php?p=404682#404682

I try to describe how I finally solved it. Took me four month from Dec 2009 to April 2010 to learn it. I did struggle with it 2008 and 2007 too but then forgot how to do it.

I admire all the newbies that manage to do these things on their own. Kudos to them.

original text follows. ->

I Need help to get gview going for .png files because I fail to get Viewnior to show the .png files that mtPaint has captured from screenshot.

Viewnior fails! it says there are no files to show.

People have told me numerous times that I should "drop" a program in the "run" so it knows that that program should be used.

I ahve tried and tried now for four month and have no clue on how does one do it? I admire all the beginners that manage to do it. I am not that intelligent obviously. Very embarrassing to admit but I really do my best here.

Could some kind individual do a step by step going through how to get gview bonded or what the word is to the run action of png files?

I fail to see the gview program in my puppy431std was that one dropped from what to include and viewnior maybe put instead.

I guess I can do PPM to get it but then we have the problem of making it know that it should be used with png files.

could someone help please.

_________________
I use Google Search on Puppy Forum
not an ideal solution though

Last edited by nooby on Fri 26 Mar 2010, 06:19; edited 1 time in total
Back to top
View user's profile Send private message 
Flash
Official Dog Handler


Joined: 04 May 2005
Posts: 11157
Location: Arizona USA

PostPosted: Thu 25 Mar 2010, 23:49    Post subject:  

Viewnior opens the png files in /root/puppy-reference/midi-icons when I click on them.

I assume you're telling mtPaint to save the screenshot as a png file somewhere like /tmp, then clicking on the file to open it.

_________________
Puppy Help 101 - an interactive tutorial for Lupu 5.25
Back to top
View user's profile Send private message 
nooby

Joined: 29 Jun 2008
Posts: 10557
Location: SwedenEurope

PostPosted: Fri 26 Mar 2010, 04:14    Post subject:  

When I do as you do then it says,.

Quote:
The given locations contains no images.

I went to what you described there and it fail to show those png pictures too. Same with the ones that mtPaint screenshot produces.

Could my version of puppy431std have some glitch crept in then?

Or have you repaired a bug and then forgotten you reparied it. some pet that Barry made and then forgot to include in the official iso?

if it is possible to repair it that would be cool.

Maybe you use another puppy than me?


How do I get a viewnior that works with png without having to do a full reinstall of puppy431std?

Can I extract a working version out of the iso or do a install on an usb and then move the functional one from that one and replace the faulty one on my set up?

_________________
I use Google Search on Puppy Forum
not an ideal solution though
Back to top
View user's profile Send private message 
tubby

Joined: 24 Jan 2009
Posts: 317

PostPosted: Fri 26 Mar 2010, 05:34    Post subject:  

Hi Nooby i have tried to open .png files from viewnior and to my surprise it did not work from the pull down menu on the desktop, all .png files grayed out.
How ever it did work from a Rox window, this is probably a bug with viewnior and maybe should be reported. I am using Quirky 010 at the moment.
If you have not already done so enable thumbs in RoxFiler and then viewnior opens the .png when you click on them if it is still your default viewer..
Back to top
View user's profile Send private message 
nooby

Joined: 29 Jun 2008
Posts: 10557
Location: SwedenEurope

PostPosted: Fri 26 Mar 2010, 06:05    Post subject:  

When I look in Set run action it says:

defaultimageviewer "$gview"

Despite this it doesn't show. But if I right click on .png pic and choose open with gview then it shows it.

Above in set run action they suggest one drag and drop an application. But to be able to do that one first need to find the application. They don't tell where to find it and which of the many versions to use.

Edit:

Aah by pure accident I managed to find out how to make a proper Set run action drop of application.

I had first used pmount to actuvate the hdd partition whicg have the png files I want to look at.

Then I did a right click on one such file and go to Set run action to the right in the two pop up things.

while that stay in place I go to Menu in lowest left corner and click on Menu -> Filesystems -> pfind and wrote viewnior and found very many answers and chosed one of them that looked like an icon that indicate it is supposed to be dropped Smile and dropped it into the Set run and it worked. now it does show all png as easy as jpg or gif.

How a complete newbie is supposed to be able to do this I ahve no clue.

So I solved it but not sure how to tell somebody else how to do it reliably.

wow took me four month to learn this easy thing. I am not bright am I. Smile

_________________
I use Google Search on Puppy Forum
not an ideal solution though
Back to top
View user's profile Send private message 
Flash
Official Dog Handler


Joined: 04 May 2005
Posts: 11157
Location: Arizona USA

PostPosted: Fri 26 Mar 2010, 09:04    Post subject:  

nooby wrote:
...How a complete newbie is supposed to be able to do this I ahve no clue.

So I solved it but not sure how to tell somebody else how to do it reliably....
Seems to me you just did it. Thanks! Smile
Back to top
View user's profile Send private message 
nooby

Joined: 29 Jun 2008
Posts: 10557
Location: SwedenEurope

PostPosted: Fri 26 Mar 2010, 15:59    Post subject:  

Flash! You must be a patient man. To me four month is an eternity.

My aim is to be complete independent of M$ windows.

Linux almost have let me but what I still fail to do is to use one linux and install another linux OS on an usb.

Windows has some 5 different such programs. I have found none in linux that does it. Unless one need to know their names to be able to find them.

Or linux people use the CLI/Terminal/Konsole to do it and thus never use any name for such a program.

do you know what is the proper search name for such prog? If one don't "burn" and iso to an USB, what is it that one does? install? But usually that is done by that OS itself and not by another OS.

One use Puppy do to a puppy install on an usb but can puppy install another linux on that usb? Windows can.

What am I supposed to use for search terms. I tried it for four months now and not find a solution. AFAIK now that is the only thing that is available in windows to me but not in linux?

_________________
I use Google Search on Puppy Forum
not an ideal solution though
Back to top
View user's profile Send private message 
miriam


Joined: 06 Dec 2006
Posts: 281
Location: Queensland, Australia

PostPosted: Sun 05 Jan 2014, 12:04    Post subject: used to work, but no longer does
Subject description: Viewnior has stopped working
 

I am not sure what I recently installed that stopped Viewnior working. It used to work nicely, and for a long time has been my preferred way of viewing gif and png files, but it recently started displaying the message "the given locations contain no images".

I tried compiling it again, thinking this might fix it, but (after a time-wasting diversion having to fetch a new version of cairo and compile it) I found it still doesn't work.

I'm using Puppy Lucid 5.2.8 though I'm considering moving up to a more recent Puppy. The only thing holding me back is the enormous amount of software I've installed or compiled and installed. A few more library stuff-ups like this and I may finally decide to move on.

Does anybody have any idea what could be the problem? I've tried loading images via commandline, via Viewnior's own file selector, by dropping on the executable, but none work. All of those used to work before.
Code:
ldd `which viewnior`
   linux-gate.so.1 =>  (0xffffe000)
   libgtk-x11-2.0.so.0 => /usr/lib/libgtk-x11-2.0.so.0 (0xb73a7000)
   libgdk-x11-2.0.so.0 => /usr/lib/libgdk-x11-2.0.so.0 (0xb7311000)
   libatk-1.0.so.0 => /usr/lib/libatk-1.0.so.0 (0xb72f5000)
   libpangocairo-1.0.so.0 => /usr/lib/libpangocairo-1.0.so.0 (0xb72e9000)
   libpangoft2-1.0.so.0 => /usr/lib/libpangoft2-1.0.so.0 (0xb72c2000)
   libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb71cb000)
   libcairo.so.2 => /usr/lib/libcairo.so.2 (0xb712a000)
   libpixman-1.so.0 => /usr/lib/libpixman-1.so.0 (0xb70a2000)
   libpng12.so.0 => /lib/libpng12.so.0 (0xb707d000)
   libXrender.so.1 => /usr/lib/libXrender.so.1 (0xb7073000)
   libX11.so.6 => /usr/lib/libX11.so.6 (0xb6f56000)
   libxcb-xlib.so.0 => /usr/lib/libxcb-xlib.so.0 (0xb6f53000)
   libxcb.so.1 => /usr/lib/libxcb.so.1 (0xb6f39000)
   libXau.so.6 => /usr/lib/libXau.so.6 (0xb6f35000)
   libpango-1.0.so.0 => /usr/lib/libpango-1.0.so.0 (0xb6ef2000)
   libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0xb6ec2000)
   libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0xb6e4b000)
   libexpat.so.1 => /lib/libexpat.so.1 (0xb6e24000)
   libgdk_pixbuf-2.0.so.0 => /usr/lib/libgdk_pixbuf-2.0.so.0 (0xb6e0a000)
   libgio-2.0.so.0 => /usr/lib/libgio-2.0.so.0 (0xb6d6c000)
   libresolv.so.2 => /lib/libresolv.so.2 (0xb6d58000)
   libz.so.1 => /lib/libz.so.1 (0xb6d43000)
   libm.so.6 => /lib/libm.so.6 (0xb6d1c000)
   libgobject-2.0.so.0 => /usr/lib/libgobject-2.0.so.0 (0xb6cdd000)
   libgmodule-2.0.so.0 => /usr/lib/libgmodule-2.0.so.0 (0xb6cd8000)
   libdl.so.2 => /lib/libdl.so.2 (0xb6cd4000)
   libgthread-2.0.so.0 => /usr/lib/libgthread-2.0.so.0 (0xb6cce000)
   libpthread.so.0 => /lib/libpthread.so.0 (0xb6cb4000)
   librt.so.1 => /lib/librt.so.1 (0xb6cab000)
   libglib-2.0.so.0 => /lib/libglib-2.0.so.0 (0xb6be1000)
   libpcre.so.0 => /lib/libpcre.so.0 (0xb6bb0000)
   libc.so.6 => /lib/libc.so.6 (0xb6a56000)
   libXcomposite.so.1 => /usr/lib/libXcomposite.so.1 (0xb6a52000)
   libXdamage.so.1 => /usr/lib/libXdamage.so.1 (0xb6a4d000)
   libXfixes.so.3 => /usr/lib/libXfixes.so.3 (0xb6a47000)
   libXext.so.6 => /usr/lib/libXext.so.6 (0xb6a37000)
   libXinerama.so.1 => /usr/lib/libXinerama.so.1 (0xb6a33000)
   libXi.so.6 => /usr/lib/libXi.so.6 (0xb6a25000)
   libXrandr.so.2 => /usr/lib/libXrandr.so.2 (0xb6a1c000)
   libXcursor.so.1 => /usr/lib/libXcursor.so.1 (0xb6a12000)
   /lib/ld-linux.so.2 (0xb777f000)
   libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xb69f3000)
   libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0xb69ed000)
   libselinux.so.1 => /lib/libselinux.so.1 (0xb69d1000)

Which is weird, in order to compile Viewnior I had to compile a new version of cairo which installed itself in /usr/local/lib not in /usr/lib

I've run into problems a number of times before when there is a mismatch between where libs get put and where programs expect them. You'd think the LD_LIBRARY_PATH would eliminate this problem, and I'm sure it solves most problems of libs in odd places, but becomes annoying when for instance if I install a pet or a deb that puts another version of a library elsewhere. I spent ages driving myself nuts with, I think it was ImageMagick, when I finally realised something else had installed an old version of a library in the library path and the program was choking on it. I can't remember how I worked that out. When I simply deleted the superfluous libs it all worked fine.

_________________
A life! Cool! Where can I download one of those from?
Back to top
View user's profile Send private message Visit poster's website 
Display posts from previous:   Sort by:   
Page 1 of 1 [8 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » Beginners Help ( Start Here)
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.0873s ][ Queries: 12 (0.0104s) ][ GZIP on ]