Wine and menu integration

David Saez Padros david at ols.es
Thu Feb 15 11:37:52 CST 2007


Hi !!

I saw a post at http://wiki.winehq.org/GnomeMenusIntegration
and i made some freedesktop compliant files which:

  - add a global Wine menu item in the Aplications menu (seen
    by all users when non empty). wine.menu should be installed
    on /etc/xdg/menus/applications-merged (directory should be
    created if non-existant) and file Wine.directory should be
    installed on /usr/share/desktop-directories. This avoids the
    need of creating wine-wine.directory file on each user's
    ~/.local/share/desktop-directories

  - add a global menu item for winecfg in System -> Preferences
    (seen by all users). winecfg.desktop should be installed
    on /usr/share/applications

  - add double-click action for executing .exe files in gnome:
    this line:

    application/x-ms-dos-executable=wine.desktop

    should be added to:

    /usr/share/applications/default.list
    /usr/share/applications/mimeinfo.cache

I also tough on adding global menu items for winefile and
winemine but, well, most desktops have better alternatives
for both of them and one ugly thing about Wine that makes it
difficult is that it creates the menu structure using the
localized menu name for the <name> tag, it will be better
that at least the 'Programs' item have a standard non-localized
name.

Finally, which is the best way to contribute to desktop
integration (mailing list, submission to wine-patches at winehq.org,
...) ?

-- 
Best regards ...

----------------------------------------------------------------
    David Saez Padros                http://www.ols.es
    On-Line Services 2000 S.L.       e-mail  david at ols.es
    Pintor Vayreda 1                 telf    +34 902 50 29 75
    08184 Palau-Solita i Plegamans   movil   +34 670 35 27 53
----------------------------------------------------------------


-------------- next part --------------
[Desktop Entry]
Type=Application
Encoding=UTF-8
Icon=wine
Name=Wine Configuration
Name[en]=Wine Configuration
Name[es]=Configuración Wine
NAme[ca]=Configuració Wine
Exec=winecfg
Categories=Application;Settings;DesktopSettings;
-------------- next part --------------
[Desktop Entry]
Name=Wine Windows
Icon=wine
Type=Directory
Encoding=UTF-8
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.winehq.org/pipermail/wine-patches/attachments/20070215/f3467005/wine.htm


More information about the wine-patches mailing list