Evince not shown in menu after install

You have a problem with Salix? Post here and we'll do what we can to help.
User avatar
gapan
Salix Wizard
Posts: 6241
Joined: 6. Jun 2009, 17:40

Re: Evince not shown in menu after install

Post by gapan »

fredg wrote:What about adding an update-desktop-database in the doinst.sh ?
I don't think that is working anyway, because you need to update the database as your user and the doinst.sh does it for the root user. In any case I think it is a problem (bug?) with xfce and it should be treated as such. There is no problem with gnome or kde and even not in lxde I think.
Image
Image
User avatar
fredg
Posts: 232
Joined: 3. Oct 2009, 16:50
Location: Lyon, France
Contact:

Re: Evince not shown in menu after install

Post by fredg »

Yes, I think that you are right.

++
User avatar
thenktor
Salix Wizard
Posts: 2426
Joined: 6. Jun 2009, 14:47
Location: Franconia
Contact:

Re: Evince not shown in menu after install

Post by thenktor »

What about:

Code: Select all

usr/bin/gtk-update-icon-cache -f -t usr/share/icons/hicolor
I have it in some of my buildscripts as doinst.sh.
Image
burnCDDA (burns audio CDs)
geBIERt (German beer blog)
User avatar
fredg
Posts: 232
Joined: 3. Oct 2009, 16:50
Location: Lyon, France
Contact:

Re: Evince not shown in menu after install

Post by fredg »

Code: Select all

usr/bin/gtk-update-icon-cache -f -t usr/share/icons/hicolor
Yes, tested here, that one did it. You found it thenktor.

Thanks.

++
User avatar
jpg153
Donor
Posts: 449
Joined: 23. Oct 2009, 15:43
Location: Krefeld/NRW/BRD/EU

Re: Evince not shown in menu after install

Post by jpg153 »

Well,

after upgrading and restarting XFCE, it seemed ok.
I added the thumbnailer file as described in the zenwalk wiki, and after another XFCE restart the thumbnails were built.
But, in the context menue of a PDF file (right click), there is a generic folder icon shown for the 'document viewer' instead of a miniaturised evince icon. :?
How does come and where to fix?
Regards Gruß
jpg
User avatar
gapan
Salix Wizard
Posts: 6241
Joined: 6. Jun 2009, 17:40

Re: Evince not shown in menu after install

Post by gapan »

That's because that's the assigned icon for pdf files. Look in my other post here to find how to fix it: http://www.salixos.org/forum/viewtopic.php?p=1401#p1401
Image
Image
Post Reply