The Desktop Entry files Thunar-bulk-rename, Thunar and Thunar-folder-handler contain a modeline intended to be used by vim # vi:set encoding=UTF-8: Setting the endocing option by modelines was disallowed some time ago, though [1]. Thus vim refuses to open these files if its option modeline is set which is afaik default on all distributions. For background information about vim disallowing the encoding option, see e. g. Red Hat bug report 691958 [2] which discusses the very same problem for ldapvi. The Problem can be stopped by using fileencoding instead of encoding. Of course, it can also be stopped by omitting the modeline as a whole, but I'm not sure whether this would make sense. It also affects the Volume Manager's thunar-volman-settings file, but I thought it wouldn't make sense to open another bug report just for this single file. Steps to reproduce - Make sure the availabe vim version has option modeline enabled. This can be checked by running 'set modeline?' in command mode and set by a line 'set modeline' in ~/.vimrc. - Open one of the said files. vim will throw an error message and query whether the file should really be opened. - Change the modeline as stated above or completely remove it. - Reopen the modified files with vim. The error message will have gone. [1] code.google.com/p/vim/source/detail?r=2b2cd34569eb97cbdb5f6500436923d19fdf8fbd [2] bugzilla.redhat.com/show_bug.cgi?id=691958
*** This bug has been marked as a duplicate of bug 15466 ***