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
jpg153
Donor
Posts: 473
Joined: 23. Oct 2009, 15:43
Location: Krefeld/NRW/BRD/EU

Evince not shown in menu after install

Post by jpg153 »

Hi,

me again :roll:

I installed evince from the salix repo. All ran fine, but after finishing I cannot find evince in the menus... :?:

Something missing or broken...how to fix?
Regards Gruß
jpg
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 »

Probably it is fixed after a XFCE restart. Otherwise it's a package fault.
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 »

It's a bug package, Evince's icons are in the wrong dir :

Code: Select all

/usr/share/evince/icons/hicolor
/usr/share/evince/icons/hicolor/16x16
/usr/share/evince/icons/hicolor/16x16/actions
/usr/share/evince/icons/hicolor/16x16/actions/zoom-fit-page.png
/usr/share/evince/icons/hicolor/16x16/actions/view-page-continuous.png
/usr/share/evince/icons/hicolor/16x16/actions/zoom-fit-width.png
/usr/share/evince/icons/hicolor/16x16/actions/view-page-facing.png
/usr/share/evince/icons/hicolor/16x16/actions/zoom.png
/usr/share/evince/icons/hicolor/32x32
/usr/share/evince/icons/hicolor/32x32/actions
/usr/share/evince/icons/hicolor/32x32/actions/view-page-continuous.png
/usr/share/evince/icons/hicolor/32x32/actions/view-page-facing.png
/usr/share/evince/icons/hicolor/22x22
/usr/share/evince/icons/hicolor/22x22/actions
...
instead of /usr/share/icons/hicolor/....

++
User avatar
gapan
Salix Wizard
Posts: 6361
Joined: 6. Jun 2009, 17:40

Re: Evince not shown in menu after install

Post by gapan »

Actually it's a problem with

Code: Select all

NoDisplay=true
in the evince.desktop file. Makes no sense that the evince developers put it there. New package arriving in the repos shortly.
Image
Image
User avatar
jpg153
Donor
Posts: 473
Joined: 23. Oct 2009, 15:43
Location: Krefeld/NRW/BRD/EU

Re: Evince not shown in menu after install

Post by jpg153 »

Ok,

so I first need to uninstall before I can apply the new package, right?
Regards Gruß
jpg
User avatar
gapan
Salix Wizard
Posts: 6361
Joined: 6. Jun 2009, 17:40

Re: Evince not shown in menu after install

Post by gapan »

Just

Code: Select all

slapt-get -u
slapt-get --upgrade
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 »

Now Evince is in the Xfce menu, but without icon ;)
Don't you think that it is related too to the Icons location ?

++
User avatar
gapan
Salix Wizard
Posts: 6361
Joined: 6. Jun 2009, 17:40

Re: Evince not shown in menu after install

Post by gapan »

No. The icons are there allright (and I do get them):

Code: Select all

$ find /usr/share/icons |grep evince
/usr/share/icons/hicolor/16x16/apps/evince.png
/usr/share/icons/hicolor/24x24/apps/evince.png
/usr/share/icons/hicolor/22x22/apps/evince.png
/usr/share/icons/hicolor/48x48/apps/evince.png
/usr/share/icons/hicolor/scalable/apps/evince.svg
but it's sort of a bug with xfce, because it doesn't instantly find new icons. A logout/login always fixes it.
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 »

Oh yes, you're right.
**fredg will put his glued eyes under the water ...
but it's sort of a bug with xfce, because it doesn't instantly find new icons. A logout/login always fixes it.
What about adding an update-desktop-database in the doinst.sh ?

++
User avatar
JRD
Salix Warrior
Posts: 950
Joined: 7. Jun 2009, 22:52
Location: Lyon, France

Re: Evince not shown in menu after install

Post by JRD »

I would prefer to find if there are some icons in a package and doing a update-desktop-database only if it's the case.
Image
Post Reply