Simon Perreault wrote:
On January 8, 2004 13:50, Tomer Okavi wrote:as far as i can tell all of the *.desktop files are in /usr/share/applications,
Its system-wide, is there any way to restore the menus to default?
This is very strange; I had expected otherwise. There should be a directory /usr/share/applications full of .desktop files. That's where KDE looks for its menu. Ther is also /usr/share/applnk-redhat, but I don't really know how Red Hat patched kdelibs for it to support it.
so problem is /usr/share/applnk-redhat not pointing to the right one's
here's a dir listing of the directories involved:
root@bandit /usr/share#ls -al applnk-redhat/
total 72
drwxr-xr-x 18 desktop desktop 4096 Jan 8 20:32 .
drwxr-xr-x 3 desktop desktop 4096 Jan 1 19:50 ..
drwxr-xr-x 3 desktop desktop 4096 Jan 8 20:32 Accessories
drwxr-xr-x 2 root root 4096 Jan 3 00:06 CrossOver
lrwxrwxrwx 1 desktop desktop 52 Jan 8 20:32 .directory -> /usr/share/desktop-menu-files/Applications.directory
drwxr-xr-x 3 desktop desktop 4096 Jan 8 20:32 Documentation
drwxr-xr-x 3 desktop desktop 4096 Jan 8 20:32 Games
drwxr-xr-x 3 desktop desktop 4096 Jan 8 20:32 Graphics
drwxr-xr-x 2 desktop desktop 4096 Jan 8 20:32 .hidden
drwxr-xr-x 3 desktop desktop 4096 Jan 8 21:12 Internet
drwxr-xr-x 3 desktop desktop 4096 Jan 8 20:32 Multimedia
drwxr-xr-x 3 desktop desktop 4096 Jan 8 20:32 Office
drwxr-xr-x 2 desktop desktop 4096 Jan 8 20:32 Other
drwxr-xr-x 3 desktop desktop 4096 Jan 8 20:32 Preferences
drwxr-xr-x 3 desktop desktop 4096 Jan 8 20:32 Programming
drwxr-xr-x 18 desktop desktop 4096 Jan 8 20:32 Settings
drwxr-xr-x 3 desktop desktop 4096 Jan 8 20:32 System
drwxr-xr-x 4 desktop desktop 4096 Jan 8 20:32 System Settings
drwxr-xr-x 2 root root 4096 Jan 1 20:23 Windows Applications
root@bandit /usr/share#ls -al applnk-redhat/Internet/
total 12
drwxr-xr-x 3 desktop desktop 4096 Jan 8 21:12 .
drwxr-xr-x 18 desktop desktop 4096 Jan 8 20:32 ..
lrwxrwxrwx 1 desktop desktop 48 Jan 8 20:32 .directory -> /usr/share/desktop-menu-files/Internet.directory
lrwxrwxrwx 1 desktop desktop 36 Jan 8 20:32 gaim.desktop -> /usr/share/applications/gaim.desktop
drwxr-xr-x 2 desktop desktop 4096 Jan 8 20:32 More Internet
lrwxrwxrwx 1 desktop desktop 42 Jan 8 20:32 redhat-web.desktop -> /usr/share/applications/redhat-web.desktop
root@bandit /usr/share#ls -al applnk-redhat/Internet/More\ Internet/
total 8
drwxr-xr-x 2 desktop desktop 4096 Jan 8 20:32 .
drwxr-xr-x 3 desktop desktop 4096 Jan 8 21:12 ..
lrwxrwxrwx 1 desktop desktop 53 Jan 8 20:32 .directory -> /usr/share/desktop-menu-files/Internet-More.directory
lrwxrwxrwx 1 desktop desktop 47 Jan 8 20:32 mozilla-compose.desktop -> /usr/share/applications/mozilla-compose.desktop
lrwxrwxrwx 1 desktop desktop 44 Jan 8 20:32 mozilla-mail.desktop -> /usr/share/applications/mozilla-mail.desktop
Thanks
Tomer