[2/4] tools: enable .lnk thumbnailing in Gnome
Nicholas van Oudtshoorn
vanoudt at gmail.com
Fri Jul 30 00:11:27 CDT 2010
On 07/28/2010 08:54 AM, Scott Ritchie wrote:
> On 07/26/2010 03:57 AM, Alexandre Julliard wrote:
>> Damjan Jovanovic<damjan.jov at gmail.com> writes:
>>> diff --git a/tools/Makefile.in b/tools/Makefile.in
>>> index a9ec324..a0c9c99 100644
>>> --- a/tools/Makefile.in
>>> +++ b/tools/Makefile.in
>>> @@ -75,6 +75,8 @@ install install-lib:: wine.inf $(INSTALLDIRS)
>>> $(INSTALL_DATA) $(SRCDIR)/l_intl.nls $(DESTDIR)$(datadir)/wine/l_intl.nls
>>> $(INSTALL_DATA) $(SRCDIR)/wine.desktop $(DESTDIR)$(datadir)/applications/wine.desktop
>>> + gconftool --set -t string /desktop/gnome/thumbnailers/application at x-ms-shortcut/command "wine winemenubuilder -t %i %o" || true
>>> + gconftool --set -t bool /desktop/gnome/thumbnailers/application at x-ms-shortcut/enable "true" || true
>> There needs to be a better way of doing this. Probably filing a bug with
>> freedesktop.org is in order.
> For sure. Thumbnailers are just shell scripts, but there is currently
> no cross distro way to enable them.
> My current "solution" is to just do this at the packaging layer and
> ignore KDE entirely until someone tells me the equivalent of installing
> gconf schemas, but this is obviously not good.
> Scott Ritchie
Inspired by reading this in the newsgroup, I've thrown together a KDE
plugin to do .lnk thumbnailing.
I don't suppose the code belongs in the wine project (for a number of
reasons, not least of which it's C++). If anyone's interested, though,
it's available at
It'd be great if there was a cross-desktop way to do all of this...
- Nicholas van Oudtshoorn
(It's been a while since I've done any coding work, so it's probably not
the most beautiful code! But it works!)
More information about the wine-devel