SliTaz SliTaz Forum

You are not logged in.

#1 2013-12-25 07:57:45

yves04
Member
Registered: 2012-09-23
Posts: 135

Problem with texdoc

**********************************

*Hello. Happy Christmas for all !*

**********************************

I'v just a little problem : when I type, for instance,

$texdoc url

I receive some errors :

xprop : command not found

.....

xdg-open : no method available for /usr/local/texlive..../url.pdf

So I've installed xorg-xprop and the first error has disappeared. For the second, in the file

/usr/bin/xdg-open I've replaced (in the line 411) BROWSER=firefox:....with

BROWSER=tazweb:seamonkey (my only browsers)  and after that I've made seamonkey able to open pdf file with evince.

So far so good, but now when I type

texdoc url

seamonkey starts and evince after that.

Obviously I'd rather evince starts right now without seamonkey. How fix this problem.

Thanks a lot. Have a nice day.

Offline

#2 2013-12-25 08:17:51

lexeii
Administrator
Registered: 2012-03-21
Posts: 1,853

Re: Problem with texdoc

Yves04,

Happy Holidays for You!

Really,  I dislike the behavior of silly xdg-open! It is very unwise to open ALL the file types in the web browser. Nowadays, web browser is a weight, slow started software...

Can you try the next trick (and confirm or reject it):

Use your file manager instead of web browser!

I know, PCManFM can open files in preferred applications, and just hope about SpaceFM.

Rewrite your configuration above :

[c]BROWSER=pcmanfm[/c]

Have a nice day!

Offline

#3 2013-12-25 10:34:10

yves04
Member
Registered: 2012-09-23
Posts: 135

Re: Problem with texdoc

Thanks you Aleksej for your very fast (as Slitaz) answer.

It works perfectly with BROWSER=pcmanfm : convenient, faster and with less memory.

Have a very nice day.

Offline

#4 2013-12-25 11:46:15

lexeii
Administrator
Registered: 2012-03-21
Posts: 1,853

Re: Problem with texdoc

More,  I think, xdg-open should be rewritten and simplified to just open all the files in the file manager.

This xdg-open with its hundreds of lines absolutely have no sense.

I'm always happy to help in questions I experienced. Ask more wink

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.018 seconds, 7 queries executed - Memory usage: 1.53 MiB (Peak: 1.77 MiB) ]