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 18 Apr 2014, 17:32
All times are UTC - 4
 Forum index » Advanced Topics » Puppy Projects
Lucid Puppy 5.2.8 - Updated ISO Version 005 - APR 05 2012
Moderators: Flash, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 79 of 188 [2820 Posts]   Goto page: Previous 1, 2, 3, ..., 77, 78, 79, 80, 81, ..., 186, 187, 188 Next
Author Message
otropogo


Joined: 24 Oct 2009
Posts: 699
Location: Southern Rocky Mt. Trench

PostPosted: Mon 13 Feb 2012, 17:39    Post subject:  

kevin bowers wrote:
otropogo wrote:

Now to find the procedure for making foxit the default pdf reader...


Open /usr/local/bin/defaulthandler as text; change "epdfview" to "foxit" or, I have had better luck with using the full path, usually /usr/bin/foxit or /usr/local/bin/foxit, wherever foxit installs to. Usually works, good luck!

ps. This is Linux--don't forget to save! Also, don't forget to boogie, but that's different.


Thanks for the suggestions, but no cigar...

I renamed defaulthander to .bak, then changed epdfview to foxit and saved as defaulthandler. Tried opening a pdf file, still using pdfview 0.1.7

Tried restarting X, same result.

Searched for foxit with pfind, and found three entries, /usr/bin/FoxitReader; /usr/lib/Foxit;/usr/lib/Foxit/FoxitReader

Edited defaulthandler replacing foxit with /usr/bin/FoxitReader, and saved.

Reopened pdf file, still using ePDFview. Rebooted system, checked text of defaulthandler, reopened pdf file - still us9ing ePDFview.

I noticed that pfind gives the path for ../bin/FoxitReader as /usr/bin/,

whereas it's actually /.usr/bin/, Have tried that also, and still no change.


I've looked for a separate default file for PDF viewers in the /usr/local/bin directory (as exist for other categories, like browser), but can't see any.

So now I'm puzzled. How is lupu getting its direction to open PDF files with ePDFview, given that the defaulthandler file doesn't contain any reference to it? And if it gets it's direction from elsewhere, what purpose does the defaulthandler file serve?

_________________
otropogo@gmail.com facebook.com/otropogo
Back to top
View user's profile Send private message Visit poster's website 
sheldonisaac

Joined: 21 Jun 2009
Posts: 384
Location: Philadelphia, PA

PostPosted: Mon 13 Feb 2012, 21:02    Post subject:  

otropogo wrote:

So now I'm puzzled. How is lupu getting its direction to open PDF files with ePDFview, given that the defaulthandler file doesn't contain any reference to it? And if it gets it's direction from elsewhere, what purpose does the defaulthandler file serve?


Apparently none?

See file://localhost/usr/local/apps/ROX-Filer/Help/Manual.html

Is there a tutorial that would have saved us this searching?
Back to top
View user's profile Send private message 
otropogo


Joined: 24 Oct 2009
Posts: 699
Location: Southern Rocky Mt. Trench

PostPosted: Tue 14 Feb 2012, 01:44    Post subject:  

sheldonisaac wrote:
otropogo wrote:

So now I'm puzzled. How is lupu getting its direction to open PDF files with ePDFview, given that the defaulthandler file doesn't contain any reference to it? And if it gets it's direction from elsewhere, what purpose does the defaulthandler file serve?


Apparently none?

See file://localhost/usr/local/apps/ROX-Filer/Help/Manual.html

Is there a tutorial that would have saved us this searching?


I went, I saw, but I couldn't find "defaulthandler".

Meanwhile, I've found another promising method of getting nowhere. It's called "PuppApps" and sits in the Menu/utilities section. When you open it, it seems to show you the default app for a number of app categories, including one for /document/PDF Reader.

You're also able to change this setting, and I used the procedure to replace ePDFview with Foxit. I know it worked, because now, when I put the cursor on the pdf viewer icon in PuppApps, a popup displays "FoxitReader". There is further proof in that clicking on the icon opens a Foxit window. Very nice, and almost as easy as opening Foxit from the menu/documents/list, in fact a mere 100% more clicks (4 instead of 2), and a bit more searching through the longer list.

But is Foxit now the default pdf viewer? Noooooo!

So what is the purpose of the PuppApps module? Apparently, to provide a slower, more complicated way of opening an app than that provided by the main program menu.

_________________
otropogo@gmail.com facebook.com/otropogo
Back to top
View user's profile Send private message Visit poster's website 
drblock2

Joined: 19 Jan 2009
Posts: 133

PostPosted: Tue 14 Feb 2012, 06:48    Post subject:
Subject description: Changing PDF viewer in ROX
 

Try changing this file, replacing epdfview with FoxitReader:

Code:
/root/.config/rox.sourceforge.net/OpenWith/.application_pdf/Open with PDF viewer


This should do it. You have to right click on the pdf icon in ROX and select "Open with PDF viewer" from the menu. Simply left-clicking on the icon (as you would for a jpg-file) does not seem to work anymore.
Back to top
View user's profile Send private message 
sheldonisaac

Joined: 21 Jun 2009
Posts: 384
Location: Philadelphia, PA

PostPosted: Tue 14 Feb 2012, 09:26    Post subject:
Subject description: file associations
 

some snipping
otropogo wrote:

How is lupu getting its direction to open PDF files with ePDFview, given that the defaulthandler file doesn't contain any reference to it? And if it gets it's direction from elsewhere, what purpose does the defaulthandler file serve?

See file://localhost/usr/local/apps/ROX-Filer/Help/Manual.html
Quote:
I went, I saw, but I couldn't find "defaulthandler".

It seems that in Lucid 5.2.8, the defaulthandler file does _NOT_ control file associations.

Rather, the process would be as below; I'll do it now:
In rox, right-click on
/mnt/sdb6/jbl/User_Manual.pdf
Follow File 'User_Manual.pdf' to Set Run Action
In the space under Enter a shell command , replace existing command
with /usr/bin/nicoedit "$1"

Now left click opens pdf files with nicoedit.
(This was just a test. I'll now replace it with the actual pdf viewing software.)
Back to top
View user's profile Send private message 
ICPUG

Joined: 24 Jul 2005
Posts: 1288
Location: UK

PostPosted: Tue 14 Feb 2012, 09:34    Post subject:  

Otropogo,

When you have a problem you sometimes get very snappy in your responses.

PupApps is an alternative Launcher. See here:

http://www.murga-linux.com/puppy/viewtopic.php?t=61962

You may not like it but some people might because it is a way of grouping apps and customising your launcher menu/tabs

It is not for setting file associations.

scottman has written a defaults chooser pet. Unfortunately chosing a default for pdf is not one of its options. Perhaps a kind word to scottman may help to add this category or elucidate what you have to do for yourself.
Back to top
View user's profile Send private message 
666philb


Joined: 07 Feb 2010
Posts: 1493
Location: wales

PostPosted: Tue 14 Feb 2012, 10:07    Post subject:  

right click on the pdf and choose 'set run action'

then drag and drop /usr/lib/Foxit/FoxitReader onto the 'drop a suitable application here' window

this changes the default in /root/.config/rox-sourceforge.net/MIME-types

_________________
Quickpet_Precise, install popular apps quickly http://www.murga-linux.com/puppy/viewtopic.php?t=83642
LÖVE2d, a collection of 27 lua gameshttp://www.murga-linux.com/puppy/viewtopic.php?t=76739
Back to top
View user's profile Send private message 
otropogo


Joined: 24 Oct 2009
Posts: 699
Location: Southern Rocky Mt. Trench

PostPosted: Tue 14 Feb 2012, 21:09    Post subject:  

Thanks to all for your comments, especially 666philb, whose suggestion I opted to try first (and with success!)

666philb wrote:
right click on the pdf and choose 'set run action'

then drag and drop /usr/lib/Foxit/FoxitReader onto the 'drop a suitable application here' window

this changes the default in /root/.config/rox-sourceforge.net/MIME-types

_________________
otropogo@gmail.com facebook.com/otropogo
Back to top
View user's profile Send private message Visit poster's website 
otropogo


Joined: 24 Oct 2009
Posts: 699
Location: Southern Rocky Mt. Trench

PostPosted: Thu 16 Feb 2012, 01:22    Post subject:  

Aitch wrote:
mounting read only is usually a sign of ntfs errors

http://puppylinux.org/wikka/ntfs3g

However, I seem to recall there was an updated bugfix version of ntfs, so check which version you have

Code:
ntfs-3g --version


mine shows as ntfs-3g 2011.1.15 integrated FUSE 27, and hasn't given any noticeable problems using my external 320gb and 1Tb drives, nor my flashdrives [though these are fat32]

tempestuous comments here, where you posted, also

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

ICPUG refers to the updated ntfs-3g here

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

Aitch Smile


Have finally located your reference source for the ntfs-3g 2011.1.15 driver, but haven't been able to find any installation package for it.

I did find reference and source code for a more recent stable version:

ntfs-3g + ntfsprogs 2012.1.15

at tuxera.com.

But I couldn't find any deb packages for that either. In fact, the only deb ntfs-3g package I was able to find is the one already installed in lupu 528 (which doesn't work properly on my system)...

Update: on searching further, I did find some ntfs-3g deb packages. Unfortunately, they did not include the one that works for Aitch, cited above. Nor did they include the latest stable one from tuxera.com.

the're at:

http://pkgs.org/download/ntfs-3g

I took a chance and installed the one below

ntfs-3g_2011.4.12AR.4-2ubuntu3_i386.deb

but subsequently found I could no longer copy certain files (jpegs, for instance) form other partitions to my internal ntfs partion in lupu 5.28.

And other copies gave a a failure message, although the file was apparently copied.

I then uninstalled the new ntfs-3g driver, but since then cannot open the ntfs partition and my home partition simultaneously on the desktop....

a wonderful mess!

If someone could point me to a deb package that will actually work with luypu 528, would appreciate it.

_________________
otropogo@gmail.com facebook.com/otropogo
Back to top
View user's profile Send private message Visit poster's website 
Sylvander

Joined: 15 Dec 2008
Posts: 3251
Location: West Lothian, Scotland, UK

PostPosted: Thu 16 Feb 2012, 04:38    Post subject:  

Here in lupu-528.004...
00.jpg
 Description   
 Filesize   6.13 KB
 Viewed   881 Time(s)

00.jpg

Back to top
View user's profile Send private message 
Aitch


Joined: 04 Apr 2007
Posts: 6825
Location: Chatham, Kent, UK

PostPosted: Thu 16 Feb 2012, 07:55    Post subject:  

otropogo

maybe from your link, try

ntfs-3g_2011.4.12AR.4-2ubuntu3_i386.deb - read/write NTFS driver for FUSE [unless you have AMD64 processor, then choose the one above]

listed under ubuntu11.10, as that seems closest to lucid...?

and maybe also run

Code:
chkdsk volume:/f
or

Code:
chkdsk volume:/r


in windoze

As per Sylvander's suggestion, using PPM, try updating repos first to see if a later version is available

Aitch Smile
Back to top
View user's profile Send private message 
otropogo


Joined: 24 Oct 2009
Posts: 699
Location: Southern Rocky Mt. Trench

PostPosted: Thu 16 Feb 2012, 11:51    Post subject:  

Aitch wrote:
otropogo

maybe from your link, try

ntfs-3g_2011.4.12AR.4-2ubuntu3_i386.deb - read/write NTFS driver for FUSE [unless you have AMD64 processor, then choose the one above]

listed under ubuntu11.10, as that seems closest to lucid...?

and maybe also run

Code:
chkdsk volume:/f
or

Code:
chkdsk volume:/r


in windoze

As per Sylvander's suggestion, using PPM, try updating repos first to see if a later version is available

Aitch Smile


That's the one I tried. I subsequently tried the earlier one 10.8.8, but still have error messages and issues copying (though not deleting, apparently).

When I try to see the version currently installed, I get this response:

Quote:
sh-4.1# ntfs-3g --version
ntfs-3g: error while loading shared libraries: libntfs-3g.so.79: cannot open shared object file: No such file or directory


Can't run Windows on my linux system as no W version is installed. Will experiment further later, hopefully I won't dig myself an even deeper hole...

Update: after installing ntfs-3G_2010.8.8, my internal ntfs partition gave the same error message ( read only mounting) I'd been getting on the external ntfs drives. I uninstalled it, and then was unable to access the partition at all, and after each attempt, had to restart X to access the other partitions.

I finally reinstalled the original ntfs-3G_2010.3.6 and was able to write to the ntfs internal partition again.

_________________
otropogo@gmail.com facebook.com/otropogo
Back to top
View user's profile Send private message Visit poster's website 
Sylvander

Joined: 15 Dec 2008
Posts: 3251
Location: West Lothian, Scotland, UK

PostPosted: Thu 16 Feb 2012, 12:10    Post subject:  

1. Here's what I get:
Code:
sh-4.1# ntfs-3g --version
ntfs-3g 2010.3.6 external FUSE 28
sh-4.1#


2. And searching for ntfs-3g...
00.jpg
 Description   
 Filesize   10.85 KB
 Viewed   787 Time(s)

00.jpg

Back to top
View user's profile Send private message 
Aitch


Joined: 04 Apr 2007
Posts: 6825
Location: Chatham, Kent, UK

PostPosted: Thu 16 Feb 2012, 16:43    Post subject:  

Quote:
When I try to see the version currently installed, I get this response:

Quote:
sh-4.1# ntfs-3g --version
ntfs-3g: error while loading shared libraries: libntfs-3g.so.79: cannot open shared object file: No such file or directory


That does look as though your file system is broken, so maybe re-install/update ntfs-3g from the updated ppm list?

I can't help but feel that it's giving symptoms of fat table damage, as I've had drives behave like that, too, which just seemed plain weird at times....
With no win to run chkdsk, maybe copy your files elsewhere, then reformat the drive with gparted, to ensure the fat table/partition has no errors underlying puppy?
Have you checked the partition with gparted, [partition/check tabs] to see if it shows damage, or can be repaired that way?

When I run pfind ntfs-3g I get this, attached, which also gives locations[path]/permissions, in slacko 530

Aitch Smile
screenie-ntfs-3g.png
Description 
png

 Download 
Filename  screenie-ntfs-3g.png 
Filesize  68.34 KB 
Downloaded  120 Time(s) 

Last edited by Aitch on Thu 16 Feb 2012, 17:19; edited 1 time in total
Back to top
View user's profile Send private message 
bigpup


Joined: 11 Oct 2009
Posts: 4615
Location: Charleston S.C. USA

PostPosted: Thu 16 Feb 2012, 17:16    Post subject:  

Program update:

Right click options 5.6
http://www.murga-linux.com/puppy/viewtopic.php?t=67013

_________________
I have found, in trying to help people, that the things they do not tell you, are usually the clue to solving the problem.
When I was a kid I wanted to be older.... This is not what I expected Shocked
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 79 of 188 [2820 Posts]   Goto page: Previous 1, 2, 3, ..., 77, 78, 79, 80, 81, ..., 186, 187, 188 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Puppy Projects
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.1414s ][ Queries: 13 (0.0401s) ][ GZIP on ]