You are not logged in.

#1 2007-10-02 20:14:03

miggols99
Member
Registered: 2007-06-10
Posts: 424

Apps not showing up in menus

Programs that I install such as VirtualBox are not showing up in the menus. I'm using KDEmod. I think the desktop files that are not working are in /usr/share/applications. Please help me!

Offline

#2 2007-10-02 20:16:07

Cerebral
Forum Fellow
From: Waterloo, ON, CA
Registered: 2005-04-08
Posts: 3,108
Website

Re: Apps not showing up in menus

Try running

sudo update-desktop-database

from the commandline.  Packages containing .desktop files really should have this in their .install files, but many are missing it (many of mine included - I just learned this little nugget of info recently.)

Offline

#3 2007-10-02 21:00:59

hussam
Member
Registered: 2006-03-26
Posts: 572
Website

Re: Apps not showing up in menus

Doesn't  update-desktop-database simply just update /usr/share/applications/mimeinfo.cache?

Offline

#4 2007-10-03 01:44:08

QuimaxW
Member
From: Papua New Guinea
Registered: 2006-12-03
Posts: 228
Website

Re: Apps not showing up in menus

I'm also experiencing this. I noticed this afternoon that after doing an update (a lot of things updated), all of the GTK apps are missing. ALL icons for Firefox (including the one non in KMenu) and openoffice are all gone from the menu. I tried the update-desktop-database to no avail.


"He is no fool who gives what he cannot keep to gain that which he cannot lose." -Jim Elliot

Offline

#5 2007-10-03 15:47:11

miggols99
Member
Registered: 2007-06-10
Posts: 424

Re: Apps not showing up in menus

I don't seem to have that command...also for some reason I cannot run VirtualBox from the terminal either. But I can run other apps which are in there.

Offline

#6 2007-10-03 16:01:49

Cerebral
Forum Fellow
From: Waterloo, ON, CA
Registered: 2005-04-08
Posts: 3,108
Website

Re: Apps not showing up in menus

The command is part of desktop-file-utils, FYI

Offline

#7 2007-10-04 15:29:40

miggols99
Member
Registered: 2007-06-10
Posts: 424

Re: Apps not showing up in menus

I tried running that, and with root and verbose, I got:

File '/usr/local/share/applications/kcmgtk.desktop' lacks MimeType key
File '/usr/share/applications/VirtualBox.desktop' lacks MimeType key
File '/usr/share/applications/bvnc.desktop' lacks MimeType key
File '/usr/share/applications/Arch-Documentation.desktop' lacks MimeType key
File '/usr/share/applications/Arch-Homepage.desktop' lacks MimeType key
File '/usr/share/applications/supertux.desktop' lacks MimeType key
File '/usr/share/applications/Extreme-Tux- Racer.desktop' lacks MimeType key
File '/usr/share/applications/frozen-bubble.desktop' lacks MimeType key
File '/usr/share/applications/avahi-discover.desktop' lacks MimeType key
File '/usr/share/applications/Arch-Donate.desktop' lacks MimeType key
File '/usr/share/applications/Arch-Developers.desktop' lacks MimeType key
File '/usr/share/applications/Arch-Forum.desktop' lacks MimeType key
File '/usr/share/applications/KDEmod-Website.desktop' lacks MimeType key
File '/usr/share/applications/KDEmod-Forums.desktop' lacks MimeType key
File '/usr/share/applications/Arch-AUR.desktop' lacks MimeType key
File '/usr/share/applications/Arch-Schwag.desktop' lacks MimeType key
File '/usr/share/applications/Arch-Bugs.desktop' lacks MimeType key
File '/usr/share/applications/KDEmod-Bugs.desktop' lacks MimeType key
File '/usr/share/applications/Arch-CVS.desktop' lacks MimeType key
File '/usr/share/applications/bssh.desktop' lacks MimeType key
File '/usr/share/applications/Arch-Wiki.desktop' lacks MimeType key

Maybe that is related?

Offline

#8 2007-10-16 16:13:18

Maki
Member
From: Skopje, Macedonia
Registered: 2007-10-16
Posts: 353
Website

Re: Apps not showing up in menus

i have the same problem and i solved it with runing

update-mime-database /usr/share/mime

as root and then running

update-desktop-database

, maybe

update-mime-database /usr/share/mime

will give you something like this http://paste.lisp.org/display/49222then you should edit /etc/profile.d/kde.sh as root and add

/usr/share

to

export XDG_DATA_DIRS=$XDG_DATA_DIRS:$KDEDIR/share

and it should look like this

export XDG_DATA_DIRS=$XDG_DATA_DIRS:$KDEDIR/share:/usr/share

. then logout, log in again, see if

echo $XDG_DATA_DIRS

shows

/opt/kde/share:/usr/share

then run

update-desktop-database

.


If it ain't broke, broke it then fix it.

Offline

#9 2007-10-16 17:29:49

kishd
Member
Registered: 2006-06-14
Posts: 401

Re: Apps not showing up in menus

Re/install libx11 it contains a file xorg.sh that sets the XDG data dirs. Logout and login again. It should solve the problem.


---for there is nothing either good or bad, but only thinking makes it so....
Hamlet, W Shakespeare

Offline

Board footer

Powered by FluxBB