Bug#813627: mate-terminal.wrapper doesn't run commands with parameters with -e opti, on

Stefano Salvi stefano at salvi.mn.it
Wed Feb 3 19:59:09 UTC 2016

Package: mate-terminal
Version: 1.8.1+dfsg1-4
Severity: normal
Tags: patch

Dear Maintainer,

I tred to execute the result of a compilation within Geany (a GTK simpe
The terminal opens but it contains the following message:

  Errore nel creare il processo figlio per questo terminale

Esecuzione del processo figlio "/bin/sh ./geany_run_script.sh" non riuscita
(File o directory non esistente)

that translates to:

Error in creating child process
Execution of child process "/bin/sh ./geany_run_script.sh" failed (file or
directory missing)

The correct result would be the execution of the compiled program, it's 

In the system only Mate dektop is installed.
Geany invokes x-terminal-emulator -e "/bin/sh ./geany_run_script.sh"
x-terminal-emulator is linked to mate-terminal.wrapper
Mate-terminal.wrapper translates "-e" parameter in the unknown parameter 

I preapred a patch to solve the proble. Double check it as it modifies the
wrapper in /usr/bin and I'm not shure I prepared it correctly

-- System Information:
Debian Release: 8.3
   APT prefers stable-updates
   APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.16.0-4-amd64 (SMP w/1 CPU core)
Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages mate-terminal depends on:
ii  libatk1.0-0           2.14.0-1
ii  libc6                 2.19-18+deb8u2
ii  libcairo2             1.14.0-2.1
ii  libdconf1             0.22.0-1
ii  libfontconfig1        2.11.0-6.3
ii  libfreetype6          2.5.2-3+deb8u1
ii  libgdk-pixbuf2.0-0    2.31.1-2+deb8u4
ii  libglib2.0-0          2.42.1-1
ii  libgtk2.0-0           2.24.25-3
ii  libice6               2:1.0.9-1+b1
ii  libpango-1.0-0        1.36.8-3
ii  libpangocairo-1.0-0   1.36.8-3
ii  libpangoft2-1.0-0     1.36.8-3
ii  libsm6                2:1.2.2-1+b1
ii  libvte9               1:0.28.2-5
ii  libx11-6              2:1.6.2-3
ii  libxext6              2:1.3.3-1
ii  mate-desktop-common   1.8.1+dfsg1-3+deb8u1
ii  mate-terminal-common  1.8.1+dfsg1-4
pn  python:any            <none>

mate-terminal recommends no packages.

mate-terminal suggests no packages.

-- no debconf information

-------------- next part --------------
A non-text attachment was scrubbed...
Name: mate-terminal.wrapper.patch
Type: text/x-patch
Size: 644 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-mate-team/attachments/20160203/78b1c590/attachment.bin>

More information about the pkg-mate-team mailing list