Comment 3 for bug 2058634

Revision history for this message
Ian Bruntlett (ian-bruntlett) wrote : Re: [Bug 2058634] Re: scribus-doc puts docs in wrong place

Hi Mattia,

On Sat, 23 Mar 2024 at 20:30, Mattia Rizzolo <email address hidden>
wrote:

> You are right that scribus needs them in what is the "wrong" location
> for the Debian policy, but I remember doing things so that it would work
> for both.
>
> The package ships everything in /usr/share/scribus/doc and then sets up
> symlinks from e.g. /usr/share/doc/scribus/de to ../../scribus/doc/de
> (i.e. /usr/share/scribus/doc/de).
>
> What is not working for you?
>

Well, Firefox (as a snap), for some reason or another, can't access the
files.

/usr/share/doc/scribus/en$ xdg-open index.html
Yields this error page in Firefox:

*File not foundFirefox can’t find the file at
/usr/share/doc/scribus/en/index.html. Check the file name for
capitalisation or other typing errors. Check to see if the file was
moved, renamed or deleted.*

/usr/share/scribus/doc/en$ xdg-open index.html
Yields this error page in Firefox:

*File not foundFirefox can’t find the file at
/usr/share/scribus/doc/en/index.html. Check the file name for
capitalisation or other typing errors. Check to see if the file was
moved, renamed or deleted.*
Is it possible that the snap system does not like the symlink approach?

Do you have Firefox installed as a snap? Do you have scribus-doc installed?
That way, you should be able to experience this problem, too.

BW,

Ian

--
-- ACCU - Professionalism in programming - http://www.accu.org
-- My writing - https://sites.google.com/site/ianbruntlett/
-- Free Software page -
https://github.com/ian-bruntlett/TECH-Manuals/blob/main/tm-free-software.md