Bug 190289 - app-editors/gvim desktop exec entry misses file
|
Bug#:
190289
|
Product: Gentoo Linux
|
Version: unspecified
|
Platform: All
|
|
OS/Version: Linux
|
Status: RESOLVED
|
Severity: minor
|
Priority: P2
|
|
Resolution: FIXED
|
Assigned To: vim@gentoo.org
|
Reported By: illogict@online.fr
|
|
Component: Applications
|
|
|
URL:
|
|
Summary: app-editors/gvim desktop exec entry misses file
|
|
Keywords:
|
|
Status Whiteboard:
|
|
Opened: 2007-08-26 11:03 0000
|
Currently, gVim desktop file (/usr/share/applications/gvim.desktop) Exec entry
reads:
Exec=gvim -f
When using a file manager on which we assigned gvim to open a file, the file
manager will not pass the selected file's location.
gvim accepts URIs, so using %U is expected.
Reproducible: Always
Steps to Reproduce:
1. Assign a file type to gvim.
2. Open a file.
Actual Results:
gvim opens with no file.
Expected Results:
gvim should open the selected file.
$ desktop-file-validate gvim.desktop
gvim.desktop: warning: key "Encoding" in group "Desktop Entry" is deprecated
gvim.desktop: error: value
"text/css;text/html;text/htmlh;text/plain;text/rss;text/sgml;text/x-adasrc;text/x-authors;text/x-c++hdr;text/x-c++src;text/x-copying;text/x-credits;text/x-csharp;text/x-csrc;text/x-dtd;text/x-fortran;text/x-gettext-translation-template;text/x-gettext-translation;text/x-gtkrc;text/x-haskell;text/x-idl;text/x-install;text/x-java;text/x-js;text/x-ksh;text/x-ksysv-log;text/x-literate-haskell;text/x-log;text/x-makefile;text/x-moc;text/x-msil;text/x-nemerle;text/x-objcsrc;text/x-pascal;text/x-patch;text/x-readme;text/x-scheme;text/x-setext;text/x-sql;text/x-tcl;text/x-tex;text/x-texinfo;text/x-troff-me;text/x-troff-mm;text/x-troff-ms;text/x-uil;text/x-vb;text/xml"
for string list key "MimeType" in group "Desktop Entry" does not have a
semicolon (';') as trailing character
gvim.desktop: warning: value "Application;Development;" for key "Categories" in
group "Desktop Entry" contains a deprecated value "Application"
$
Well, I originately only added %U, but here is modified version which should
address warnings and errors.
Strange, it works for me whatever strange Unicode characters I use (UTF-8
locale) and Enlightenment's integrated file manager. Anyway, it should not be a
problem :)