[2/4] tools: enable .lnk thumbnailing in Gnome

Scott Ritchie scott at open-vote.org
Tue Jul 27 19:54:34 CDT 2010

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

More information about the wine-devel mailing list