[desktop-discuss] Acroread 7 Integration into the desktop for all users
Ghee.Teo at Sun.COM
Ghee.Teo at Sun.COM
Wed Jun 21 02:33:43 PDT 2006
Brian Bills wrote:
>I'm integrating /usr/dist/exe/acroread7 into gnome 2.6 and I already changed /usr/share/applications/Acroread.desktop to say Exec=acroread7, but when I went to launcher>applications>graphics>pdf document viewer, it still launched version 5 from /usr/sfw/bin/acroread. Then when I changed /usr/share/applications-registry/gnome-vfs.applications, /usr/share/mime-info/gnome-vfs.keys, and /usr/share/mime-info/gnome-vfs.mime the default for pdf files in nautilus became acroread7, but the pdf viewer in the launcher menu became gnome pdf viewer and it hangs. In your work on nevada did you guys create the correct files to get acroread7 to be the default the way you did for realplayer 10?
>
>
No sure about how realplayer10 is being done. But I believe realplay is
in /usr/bin.
When desktop file Exec is being invoked, it search through that binary
in the users's PATH.
If /usr/sfw/bin comes before /usr/dist/exe in your PATH, then that is
the copy will be launched.
I believe this is what you experienced. To make sure that you uses the
version in /usr/dist,
you have to say:
Exec=/usr/dist/exe/acroread7
or put /usr/dist/exe before /usr/sfw/bin in PATH. Though I think this is
a bad idea as you don;t know what
other version of exe you are picking up.
-Ghee
>
>
>This message posted from opensolaris.org
>_______________________________________________
>desktop-discuss mailing list
>desktop-discuss at opensolaris.org
>
>
More information about the desktop-discuss
mailing list