GNOME Bugzilla – Bug 349097
Scriptable Context Menu
Last modified: 2021-06-10 16:42:38 UTC
Inspired by Nautilus context menus: When presenting the right-click context menu, if directory ~/.gnome2/gnome-terminal-scripts exists, then: present each file in that directory as a menu choice under a "Scripts" section. If a script is chosen, it should be run with the current terminal selection (if small enough) as an argument. If there is no selection, the script is run with no arguments. The output of the script is pasted into the terminal. Examples: #!/bin/sh # script to insert some text into terminal cat ~/.signature #!/bin/sh # script to do some math on selected region and insert result echo $(($1))
Oh yea, I'm working on a patch to terminal-screen.c to do this.
*** Bug 492515 has been marked as a duplicate of this bug. ***
-- GitLab Migration Automatic Message -- This bug has been migrated to GNOME's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/gnome-terminal/-/issues/3548.