View previous topic :: View next topic |
Author |
Message |
tweak13 n00b
Joined: 07 Jun 2005 Posts: 4
|
Posted: Wed Jun 08, 2005 6:00 am Post subject: [Solved] Missing XMMS icon |
|
|
After upgrading gnome to 2.10 I no longer have an icon for XMMS in my applications menu. After looking through the .desktop .menu and .directory files nothing seems incorrect. I've run update-desktop-database with no effect. Remerging xmms had no effect. Is anyone else having this problem?
Here's the xmms.desktop file (minus comments for other languages)
Code: | [Desktop Entry]
Name=XMMS
Comment=X Multimedia System
<snip>
Encoding=Legacy-Mixed
Exec=/usr/bin/xmms
Icon=mini/xmms_mini.xpm
MimeType=audio/x-scpls;audio/x-mpegurl;audio/mpegurl;audio/mp3;audio/x-mp3;audi\o/mpeg;audio/x-mpeg;audio/x-wav;application/x-ogg
Terminal=0
Type=Application
Categories=Application;AudioVideo;
|
and multimedia.directory
Code: |
[Desktop Entry]
Name=Sound & Video
<snip>
Icon=gnome-multimedia
Type=Directory
Encoding=UTF-8
|
and applications.menu
Code: | <!DOCTYPE Menu PUBLIC "-//freedesktop//DTD Menu 1.0//EN"
"http://www.freedesktop.org/standards/menu-spec/1.0/menu.dtd">
<Menu>
<Name>Applications</Name>
<Directory>Applications.directory</Directory>
<!-- Scan legacy dirs first, as later items take priority -->
<KDELegacyDirs/>
<LegacyDir>/etc/X11/applnk</LegacyDir>
<LegacyDir>/usr/share/gnome/apps</LegacyDir>
<!-- Read standard .directory and .desktop file locations -->
<DefaultAppDirs/>
<DefaultDirectoryDirs/>
<!-- Read in overrides and child menus from applications-merged/ -->
<DefaultMergeDirs/>
<!-- Accessories submenu -->
<Menu>
<Name>Accessories</Name>
<Directory>Accessories.directory</Directory>
<Include>
<And>
<Category>Utility</Category>
<Not>
<Category>System</Category>
</Not>
</And>
</Include>
</Menu> <!-- End Accessories -->
<!-- Accessibility submenu -->
<Menu>
<Name>Accessibility</Name>
<Directory>Accessibility.directory</Directory>
<Include>
<And>
<Category>Accessibility</Category>
<Not>
<Category>Settings</Category>
</Not>
</And>
</Include>
</Menu> <!-- End Accessibility -->
<!-- Development Tools -->
<Menu>
<Name>Development</Name>
<Directory>Development.directory</Directory>
<Include>
<And>
<Category>Development</Category>
</And>
<Filename>emacs.desktop</Filename>
</Include>
</Menu> <!-- End Development Tools -->
<!-- Edutainment -->
<Menu>
<Name>Edutainment</Name>
<Directory>Edutainment.directory</Directory>
<Include>
<And>
<Category>Education</Category>
</And>
</Include>
</Menu> <!-- End Edutainment -->
<!-- Games -->
<Menu>
<Name>Games</Name>
<Directory>Games.directory</Directory>
<Include>
<And>
<Category>Game</Category>
</And>
</Include>
</Menu> <!-- End Games -->
<!-- Graphics -->
<Menu>
<Name>Graphics</Name>
<Directory>Graphics.directory</Directory>
<Include>
<And>
<Category>Graphics</Category>
</And>
</Include>
</Menu> <!-- End Graphics -->
<!-- Internet -->
<Menu>
<Name>Internet</Name>
<Directory>Internet.directory</Directory>
<Include>
<And>
<Category>Network</Category>
</And>
</Include>
</Menu> <!-- End Internet -->
<!-- Multimedia -->
<Menu>
<Name>Multimedia</Name>
<Directory>Multimedia.directory</Directory>
<Include>
<And>
<Category>AudioVideo</Category>
</And>
</Include>
</Menu> <!-- End Multimedia -->
<!-- Office -->
<Menu>
<Name>Office</Name>
<Directory>Office.directory</Directory>
<Include>
<And>
<Category>Office</Category>
</And>
</Include>
</Menu> <!-- End Office -->
<!-- System Tools-->
<Menu>
<Name>System</Name>
<Directory>System-Tools.directory</Directory>
<Include>
<And>
<Category>System</Category>
<Not><Category>Settings</Category></Not>
</And>
</Include>
</Menu> <!-- End System Tools -->
<!-- Other -->
<Menu>
<Name>Other</Name>
<Directory>Other.directory</Directory>
<OnlyUnallocated/>
<Include>
<And>
<Category>Application</Category>
<Not><Category>Core</Category></Not>
<Not><Category>Settings</Category></Not>
</And>
</Include>
</Menu> <!-- End Other -->
</Menu> <!-- End Applications --> |
Last edited by tweak13 on Wed Jun 08, 2005 9:24 pm; edited 1 time in total |
|
Back to top |
|
|
Viza n00b
Joined: 14 Oct 2003 Posts: 18
|
Posted: Wed Jun 08, 2005 7:58 am Post subject: |
|
|
I am having this same problem. Gnome says the icon doesn't exist even though I can verify through the terminal that it is definitely there.
EDIT: I found /usr/share/pixmaps/gxmms_mini.png works as a perfect replacement.
EDIT2: Btw, I later realized this extra icon came from gxmms applet for the gnome panel that I installed earlier.
Last edited by Viza on Wed Jun 15, 2005 12:25 am; edited 1 time in total |
|
Back to top |
|
|
downey Tux's lil' helper
Joined: 17 Nov 2004 Posts: 107 Location: Calgary, Canada
|
Posted: Wed Jun 08, 2005 8:50 pm Post subject: |
|
|
Go to /usr/share/applications.
Edit the xmms.desktop file.
Change the Encoding field to UTF-8. That should do it. To test run: gnome-menus-spec-test. That will list what gnome sees as valid menu items.
If you want the icon to show up you'll have to change the Icon field to /usr/share/pixmaps/mini/xmms_mini.xpm. It doesn't look like relative paths are working in the desktop files.
Log out and log back in.
Hope that helps. |
|
Back to top |
|
|
tweak13 n00b
Joined: 07 Jun 2005 Posts: 4
|
Posted: Wed Jun 08, 2005 9:24 pm Post subject: |
|
|
That got it working, thanks.
Just running update-desktop-database after you edit the file will get it in the menu, saves you the time of logging out and back in. |
|
Back to top |
|
|
downey Tux's lil' helper
Joined: 17 Nov 2004 Posts: 107 Location: Calgary, Canada
|
Posted: Wed Jun 08, 2005 9:34 pm Post subject: |
|
|
Glad it worked. Good to know about the update-desktop-database command. I thought there should of been something like it but thought it would of started with gnome-. |
|
Back to top |
|
|
|