Bug#329292: vim-full: Kde "open with" menu entry broken
Paul Brook
paul at nowt.org
Tue Sep 20 23:07:37 UTC 2005
Package: vim-full
Version: 1:6.3-086+1
Severity: normal
Tags: patch
The file /usr/share/applications/gvim.desktop launches gvim without -f.
This breaks using gvim as the default text editor, or via "open with"
from other kde applications. Typically these will write to a temporary
file, spawn gvim, then delete the temporary file when gvim "exits".
When launched without -f gvim detaches immediately, so the controlling
process deletes the temporary file before gvim gets chance to read it.
The fix is to add -f to the gvim commandline. Attached patch does this.
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.13.2-w64
Locale: LANG=en_GB, LC_CTYPE=en_GB (charmap=ISO-8859-1)
Versions of packages vim-full depends on:
ii libart-2.0-2 2.3.17-1 Library of functions for 2D graphi
ii libatk1.0-0 1.10.3-1 The ATK accessibility toolkit
ii libbonobo2-0 2.10.1-1 Bonobo CORBA interfaces library
ii libbonoboui2-0 2.10.1-1 The Bonobo UI library
ii libc6 2.3.5-6 GNU C Library: Shared libraries an
ii libgconf2-4 2.10.1-2 GNOME configuration database syste
ii libglib2.0-0 2.8.0-1 The GLib library of C routines
ii libgnome2-0 2.10.1-1 The GNOME 2 library - runtime file
ii libgnomecanvas2-0 2.10.2-2 A powerful object-oriented display
ii libgnomeui-0 2.10.1-1 The GNOME 2 libraries (User Interf
ii libgnomevfs2-0 2.10.1-5 The GNOME virtual file-system libr
ii libgpmg1 1.19.6-21 General Purpose Mouse - shared lib
ii libgtk2.0-0 2.6.10-1 The GTK+ graphical user interface
ii libice6 6.8.2.dfsg.1-7 Inter-Client Exchange library
ii libncurses5 5.4-9 Shared libraries for terminal hand
ii liborbit2 1:2.12.2-3 libraries for ORBit2 - a CORBA ORB
ii libpango1.0-0 1.8.2-2 Layout and rendering of internatio
ii libperl5.8 5.8.7-5 Shared Perl library
ii libpopt0 1.7-5 lib for parsing cmdline parameters
ii libruby1.8 1.8.2-9 Libraries necessary to run Ruby 1.
ii libsm6 6.8.2.dfsg.1-7 X Window System Session Management
ii libx11-6 6.8.2.dfsg.1-7 X Window System protocol client li
ii libxml2 2.6.22-1 GNOME XML library
ii libxt6 6.8.2.dfsg.1-7 X Toolkit Intrinsics
ii python2.3 2.3.5-8 An interactive high-level object-o
ii tcl8.4 8.4.11-1 Tcl (the Tool Command Language) v8
ii vim 1:6.3-086+1 Vi IMproved - enhanced vi editor
ii xlibs 6.8.2.dfsg.1-7 X Window System client libraries m
ii zlib1g 1:1.2.3-4 compression library - runtime
vim-full recommends no packages.
-- no debconf information
-------------- next part --------------
--- gvim.desktop.old 2005-09-20 23:55:04.000000000 +0100
+++ gvim.desktop 2005-09-20 23:55:15.000000000 +0100
@@ -69,7 +69,7 @@
Comment[wa]=Asspougn? des fitch?s tecses
Comment[zh_CN]=??????
Comment[zh_TW]=?????
-Exec=gvim %U
+Exec=gvim -f %U
Terminal=false
Type=Application
Icon=/usr/share/pixmaps/vim.svg
More information about the pkg-vim-maintainers
mailing list