Score:1

How to get Enno Gröper selectyall-Terminator-Plugin working (Ubuntu)?

in flag

I am working on Ubuntu running inside a VM made from Virtualbox on Windows 10.

By looking for a way to select all the text in a Terminator terminal, I get to following this AU thread , indicating how to install Thierry Ds copyall-Terminator-Plugin.

The copyall.py plugin was modified and transformed by Enno Gröper into a selectall.py plugin, available here on Github.

I tried to redo the steps mentioned in the AU thread, but I can't get my plugin working:

From my terminator:

cd /usr/share/terminator/terminatorlib/

sudo mkdir plugins

cd plugins

sudo vim selectall.py

I paste in there the code from https://github.com/egroeper/terminator-plugins/blob/master/selectall.py

Exit and save and check that the text is effectively saved in there

Restart Terminator

Right click on Terminator > preferences > plugin

But the new plugin is not there.

How can I get it appear and work?

--- UPDATE ---

To give you some more context, I am pasting here:

  1. the output of ls -al /usr/share/terminator/terminatorlib/plugins/

enter image description here

  1. a screen capture of Right click on Terminator -> Preferences -> Plugins

enter image description here

  1. a screen capture of what I see (in particular, the context menu) with Right click on Terminator

enter image description here

Score:1

It looks like your plugins folder is somewhere else. Please post the output of (copy-paste as text, not screen capture):

$ locate /maven.py
$ locate /custom_commands.py
$ locate /url_handlers.py

and if it is something different, try adding selectall.py in that directory.

Tms91 avatar
in flag
sorry, I misreported my folder path: it's `.../plugins/` and not `.../plugins/plugins`. I updated the question.
sancho.s ReinstateMonicaCellio avatar
@Tms91 - So please post in the OP: 1) the output of `ls -al /usr/share/terminator/terminatorlib/plugins/`, 2) a screen capture of *Right click on Terminator* -> *Preferences* -> *Plugins*, 3) a screen capture of what you see (in particular, the context menu) with *Right click on Terminator*; if you cannot screen-capture, use your phone to take a picture.
Tms91 avatar
in flag
Done, question updated. Thanks for your answer
Tms91 avatar
in flag
solved, i m writing the answer to close the OP. thaks 4 your time
sancho.s ReinstateMonicaCellio avatar
pl flag
@Tms91 - See EDITed answer.
Score:0
in flag

SOLVED

I made the plugin work by pasting the selectall.py file into this path:

/home/<my_user_name>/.config/terminator/plugins

Note: I had to create the last folder of the path, plugins.

However, the plugin looks quite useless because it copies only the text shown in the "current screen" of Terminator, and not the entire text that you can see by scrolling the Terminator window.

I'm disappointed.

sancho.s ReinstateMonicaCellio avatar
pl flag
This works only for your user. It may be good enough for your uses. You may try my solution in less than 2 minutes, to check if that works globally.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.