[Thunar-dev] Thunar fails to launch Gvim for gzipped files properly

Benedikt Meurer benedikt.meurer at unix-ag.uni-siegen.de
Mon Apr 2 15:00:39 CEST 2007


Mathias Brodala wrote:
> Hello everyone.
> 
> Since (G)vim is able to directly view the content of gzipped files I really
> often use that feature. However, Thunar does not seem to properly launch Gvim. I
> only get the following errors:
> 
>> <oc/qt3-qtconfig/changelog.Debian.gz" [noeol][konvertiert] 107L, 34513C
>> Fehler beim Ausführen von "function gzip#read":
>> Zeile   31:
>> Error: Could not read uncompressed file
>> Betätigen Sie die EINGABETASTE oder geben Sie einen Befehl ein
> (Sorry, no way to set locale C here, but you should get the idea.)
> 
> But launching Gvim with the filename as argument via command line works just
> fine. According to my ~/.local/share/applications/gvim.desktop file the program
> is launched via "gvim -pf %U". Something wrong about the "%U"?

Try with %F instead, maybe gvim cannot handle file:-URIs for automatic
decompression.

> Regards, Mathias

Benedikt



More information about the Thunar-dev mailing list