Bug#488974: patch for gnome-terminal.wrapper command execution

Eric Cooper ecc at cmu.edu
Mon Jul 14 15:21:42 UTC 2008


Package: gnome-terminal
Version: 2.22.3-1
Followup-For: Bug #488974

The attached patch fixes the problem for me
(I have lots of scripts / launchers that call
    x-terminal-emulator -e cmd args ...
so this was a show stopper.)

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'stable'), (400, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.24-1-686 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages gnome-terminal depends on:
ii  gnome-terminal-data        2.22.3-1      Data files for the GNOME terminal 
ii  libatk1.0-0                1.22.0-1      The ATK accessibility toolkit
ii  libbonobo2-0               2.22.0-1      Bonobo CORBA interfaces library
ii  libc6                      2.7-10        GNU C Library: Shared libraries
ii  libgconf2-4                2.22.0-1      GNOME configuration database syste
ii  libglade2-0                1:2.6.2-1     library to load .glade files at ru
ii  libglib2.0-0               2.16.3-2      The GLib library of C routines
ii  libgnome2-0                2.20.1.1-1    The GNOME 2 library - runtime file
ii  libgnomeui-0               2.20.1.1-1    The GNOME 2 libraries (User Interf
ii  libgtk2.0-0                2.12.10-2     The GTK+ graphical user interface 
ii  liborbit2                  1:2.14.13-0.1 libraries for ORBit2 - a CORBA ORB
ii  libpango1.0-0              1.20.3-2      Layout and rendering of internatio
ii  libstartup-notification0   0.9-1         library for program launch feedbac
ii  libvte9                    1:0.16.14-1   Terminal emulator widget for GTK+ 
ii  libx11-6                   2:1.1.4-2     X11 client-side library
ii  libxrender1                1:0.9.4-2     X Rendering Extension client libra
ii  scrollkeeper               0.3.14-16     A free electronic cataloging syste

Versions of packages gnome-terminal recommends:
ii  yelp                          2.22.1-3   Help browser for GNOME 2

-- no debconf information
-------------- next part --------------
--- /usr/bin/gnome-terminal.wrapper~	2008-06-30 04:47:40.000000000 -0400
+++ /usr/bin/gnome-terminal.wrapper	2008-07-14 11:17:02.000000000 -0400
@@ -57,7 +57,7 @@
     }
     elsif ($opt eq '-e')
     {
-	push(@args, '-e', @ARGV);
+	push(@args, '-x', @ARGV);
 	last;
     }
     elsif ($opt eq '-h' || $opt eq '--help')


More information about the pkg-gnome-maintainers mailing list