[Python-apps-team] Bug#953153: terminator: Custom command plugin don't work
Dtux
raspi_pub at gmx.com
Thu Mar 5 10:23:41 GMT 2020
Package: terminator
Version: 1.91-4
Severity: normal
Tags: patch
Dear Maintainer,
In Terminator, the custom plugin not working. It's possible to add new command
but its use has no effect.
I patch it with this:
$ cd /usr/share/terminator/terminatorlib/plugins/
$ nano custom_commands.py
change line 132:
terminal.vte.feed_child(command, len(command)
to
terminal.vte.feed_child(command.encode("utf-8"))
$ sudo py3clean .
$ sudo python -m compileall .
restart terminator, and it work fine.
-- System Information:
Debian Release: 10.3
APT prefers stable
APT policy: (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.19.0-8-amd64 (SMP w/4 CPU cores)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages terminator depends on:
ii dbus-x11 1.12.16-1
ii gir1.2-glib-2.0 1.58.3-2
ii gir1.2-gtk-3.0 3.24.5-1
ii gir1.2-pango-1.0 1.42.4-7~deb10u1
ii gir1.2-vte-2.91 0.54.2-2
ii python3 3.7.3-1
ii python3-cairo 1.16.2-1+b1
ii python3-configobj 5.0.6-3
ii python3-dbus 1.2.8-3
ii python3-gi 3.30.4-1
ii python3-gi-cairo 3.30.4-1
ii python3-psutil 5.5.1-1
Versions of packages terminator recommends:
ii gir1.2-keybinder-3.0 0.3.2-1
ii gir1.2-notify-0.7 0.7.7-4
ii xdg-utils 1.1.3-1
terminator suggests no packages.
-- no debconf information
More information about the Python-apps-team
mailing list