Package: wine
Version: 0.9.20-1
Severity: important
Tags: patch
While installing Firefox for windows (using wine), I discovered that
wine did not create a desktop icon on my gnome desktop. I looked at the
tools/wineshelllink file (in the wine source directory) and found that
the reason for this is that instead of using $HOME/Desktop as the
directory in which to place the icons it uses $HOME/.gnome-desktop (the
directory in which gnome -- not gnome2 -- used to install desktop
icons).
Once I fixed this (on my system), the icons are generated just fine.
All I did was replace "$HOME/.gnome-desktop" by "$HOME/Desktop" in the
script.
BTW, I've included a patch that does just that for your convenience so
you can get this bug fixed easily and quickly. :-)
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-1-686
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Versions of packages wine depends on:
ii debconf [debconf-2.0] 1.5.6 Debian configuration management sy
ii libwine 0.9.20-1 Windows API Implementation (Librar
ii xbase-clients 1:7.1.ds-3 miscellaneous X clients
Versions of packages wine recommends:
ii msttcorefonts 1.3 Installer for Microsoft TrueType c
ii wine-utils 0.9.20-1 Windows API Implementation (Utilit
-- debconf information:
wine/del_wine_conf: true
wine/install_type: Autodetect
*** wineshelllink 2006-10-19 18:29:16.000000000 -0400
--- /usr/bin/wineshelllink 2006-10-19 18:30:49.000000000 -0400
*************** then
*** 248,256 ****
if [ $mode = "menu" ]
then
gnome_entry > "$HOME/.gnome/apps/Wine/$link.desktop"
! elif [ -d "$HOME/.gnome-desktop" ]
then
! gnome_entry > "$HOME/.gnome-desktop/$link.desktop"
fi
fi
--- 248,256 ----
if [ $mode = "menu" ]
then
gnome_entry > "$HOME/.gnome/apps/Wine/$link.desktop"
! elif [ -d "$HOME/Desktop" ]
then
! gnome_entry > "$HOME/Desktop/$link.desktop"
fi
fi