You are not logged in.
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
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
Doesn't update-desktop-database simply just update /usr/share/applications/mimeinfo.cache?
Offline
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
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
The command is part of desktop-file-utils, FYI
Offline
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
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
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