Bug 1763775

Summary: terminator: custom command not work
Product: [Fedora] Fedora Reporter: Radek Valasek <reddy>
Component: terminatorAssignee: Dominic Hopf <dmaphy>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: unspecified    
Version: 30CC: dmaphy, mattrose
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-12-20 20:18:49 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Radek Valasek 2019-10-21 15:04:07 UTC
Description of problem:


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Radek Valasek 2019-10-21 15:18:03 UTC
Description of problem:
When you define custom command in terminator by using menu, then it is not executed (not appeared in command line).

Version-Release number of selected component (if applicable):


How reproducible:
After fresh installation of system and install application terminator.

Steps to Reproduce:
Command is not executed, is not appeared in command line. 

Actual results:
Command is not executed, is not appeared in command line. 

Expected results:
Executing custom command in command line.

Additional info:
Current bug has been resolved by workaround:
https://bugs.launchpad.net/terminator/+bug/1781706

In case of Fedora plugin is located:
/usr/lib/python2.7/site-packages/terminatorlib/plugins/custom_commands.py

when you update the line 130 from:

terminal.vte.feed_child(command, len(command))

to

terminal.vte.feed_child(command)

and recompile module by command:
pytohn -m complileall /usr/lib/python2.7/site-packages/terminatorlib/plugins/

and restart application terminator, then issue disappeared and custom command is executed then.

Can you please add current solution as patch.
Thank you.

Comment 2 Matt Rose 2019-12-20 20:18:49 UTC

*** This bug has been marked as a duplicate of bug 1573927 ***