[Python-apps-team] Bug#953153: terminator: Custom command plugin don't work

Markus Frosch lazyfrosch at debian.org
Sun Apr 5 14:20:40 BST 2020


forwarded -1 https://github.com/gnome-terminator/terminator/issues/2
owner -1 !
tags -1 + upstream
thanks

Am Donnerstag, den 05.03.2020, 11:23 +0100 schrieb Dtux:
> 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.

Hey Dtux,
thank you for your patch.

I'm currently in the process of adopting the upstream, see the following issue if you are interested:

Because of compatibility I would prefer the patch added in Fedora:
https://src.fedoraproject.org/rpms/terminator/blob/master/f/bz-1573927.patch

It should avoid a hard dependency on utf8 as current encoding.

See the following links with the work to fix this:
* https://github.com/gnome-terminator/terminator/issues/2
* https://github.com/gnome-terminator/terminator/pull/6

Regards
Markus

-- 
lazyfrosch at debian.org
https://lazyfrosch.de



More information about the Python-apps-team mailing list