terminator-themes
terminator-themes copied to clipboard
Can't find the plugin in the preferences > Plugins.
Hi. I can't seem to find TerminatorThemes options under Plugins
. I am running arch linux. I first installed sudo pacman -S python2-requests
. My terminator version is 1.91. So, I used this command wget https://git.io/v5Zww -O $HOME"/.config/terminator/plugins/terminator-themes.py"
. But I can't seem to find terminator-themes under preferences > plugins.
This is config file.
enabled_plugins = CustomCommandsMenu, APTURLHandler, LaunchpadCodeURLHandler, LaunchpadBugURLHandler
title_inactive_bg_color = "#75715e"
title_inactive_fg_color = "#f8f8f2"
title_transmit_bg_color = "#272822"
title_transmit_fg_color = "#f8f8f2"
[keybindings]
help = F12
[layouts]
[[default]]
[[[child1]]]
parent = window0
profile = default
type = Terminal
[[[window0]]]
parent = ""
type = Window
[plugins]
[profiles]
[[default]]
background_color = "#272822"
cursor_color = "#f57900"
cursor_color_fg = False
font = Hack Bold 16
foreground_color = "#f8f8f2"
palette = "#272822:#f92672:#a6e22e:#f4bf75:#66d9ef:#ae81ff:#a1efe4:#f8f8f2:#75715e:#f92672:#a6e22e:#f4bf75:#66d9ef:#ae81ff:#a1efe4:#f9f8f5"
use_system_font = False
[[New Profile]]
cursor_color = "#aaaaaa"
font = Monospace Bold 16
use_system_font = False
Hi, what's your version of python?
It's 3.6.5
Could you check if the file terminator-themes.py
exists under $HOME/.config/terminator/plugins
?, if so, could you run terminator from the CLI and paste the output here? Please.
@EliverLara I have the same Issue. When starting via CLI i get:
/usr/share/terminator/terminatorlib/window.py:61: GtkWarning: Unable to locate theme engine in module_path: "adwaita",
gtk.Window.__init__(self)
PluginRegistry::load_plugins: Importing plugin __init__.py failed: 'module' object has no attribute 'AVAILABLE'
PluginRegistry::load_plugins: Importing plugin terminator-themes.py failed: When using gi.repository you must not import static modules like "gobject". Please change all occurrences of "import gobject" to "from gi.repository import GObject". See: https://bugzilla.gnome.org/show_bug.cgi?id=709183
Python 2.7.12
terminator-themes.py
exists in $HOME/.config/terminator/plugins/
.
Also, here's the output when I ran terminator -d
through CLI
See output
noclass::get_config_dir: Found config dir: /home/i_love_ayrawhsia_nodnat/.config
ConfigBase::load: looking for config file: /home/i_love_ayrawhsia_nodnat/.config/terminator/config
ConfigBase::load: config validated successfully
ConfigBase::load: ConfigBase::load: Processing section: global_config
ConfigBase::load: ConfigBase::load: Processing section: keybindings
ConfigBase::load: ConfigBase::load: Processing keybindings: group_all_toggle
ConfigBase::load: ConfigBase::load: Processing keybindings: help
ConfigBase::load: ConfigBase::load: Processing keybindings: cycle_prev
ConfigBase::load: ConfigBase::load: Processing keybindings: close_window
ConfigBase::load: ConfigBase::load: Processing keybindings: group_tab
ConfigBase::load: ConfigBase::load: Processing keybindings: resize_left
ConfigBase::load: ConfigBase::load: Processing keybindings: broadcast_all
ConfigBase::load: ConfigBase::load: Processing keybindings: rotate_ccw
ConfigBase::load: ConfigBase::load: Processing keybindings: move_tab_left
ConfigBase::load: ConfigBase::load: Processing keybindings: go_right
ConfigBase::load: ConfigBase::load: Processing keybindings: new_tab
ConfigBase::load: ConfigBase::load: Processing keybindings: resize_right
ConfigBase::load: ConfigBase::load: Processing keybindings: resize_down
ConfigBase::load: ConfigBase::load: Processing keybindings: toggle_zoom
ConfigBase::load: ConfigBase::load: Processing keybindings: scaled_zoom
ConfigBase::load: ConfigBase::load: Processing keybindings: zoom_in
ConfigBase::load: ConfigBase::load: Processing keybindings: paste
ConfigBase::load: ConfigBase::load: Processing keybindings: full_screen
ConfigBase::load: ConfigBase::load: Processing keybindings: prev_tab
ConfigBase::load: ConfigBase::load: Processing keybindings: split_vert
ConfigBase::load: ConfigBase::load: Processing keybindings: ungroup_all
ConfigBase::load: ConfigBase::load: Processing keybindings: broadcast_off
ConfigBase::load: ConfigBase::load: Processing keybindings: cycle_next
ConfigBase::load: ConfigBase::load: Processing keybindings: rotate_cw
ConfigBase::load: ConfigBase::load: Processing keybindings: insert_number
ConfigBase::load: ConfigBase::load: Processing keybindings: insert_padded
ConfigBase::load: ConfigBase::load: Processing keybindings: zoom_out
ConfigBase::load: ConfigBase::load: Processing keybindings: broadcast_group
ConfigBase::load: ConfigBase::load: Processing keybindings: go_prev
ConfigBase::load: ConfigBase::load: Processing keybindings: layout_launcher
ConfigBase::load: ConfigBase::load: Processing keybindings: close_term
ConfigBase::load: ConfigBase::load: Processing keybindings: new_terminator
ConfigBase::load: ConfigBase::load: Processing keybindings: ungroup_tab
ConfigBase::load: ConfigBase::load: Processing keybindings: go_left
ConfigBase::load: ConfigBase::load: Processing keybindings: copy
ConfigBase::load: ConfigBase::load: Processing keybindings: hide_window
ConfigBase::load: ConfigBase::load: Processing keybindings: edit_tab_title
ConfigBase::load: ConfigBase::load: Processing keybindings: go_down
ConfigBase::load: ConfigBase::load: Processing keybindings: reset
ConfigBase::load: ConfigBase::load: Processing keybindings: search
ConfigBase::load: ConfigBase::load: Processing keybindings: go_up
ConfigBase::load: ConfigBase::load: Processing keybindings: resize_up
ConfigBase::load: ConfigBase::load: Processing keybindings: next_tab
ConfigBase::load: ConfigBase::load: Processing keybindings: split_horiz
ConfigBase::load: ConfigBase::load: Processing keybindings: zoom_normal
ConfigBase::load: ConfigBase::load: Processing keybindings: move_tab_right
ConfigBase::load: ConfigBase::load: Processing keybindings: new_window
ConfigBase::load: ConfigBase::load: Processing keybindings: edit_window_title
ConfigBase::load: ConfigBase::load: Processing keybindings: group_all
ConfigBase::load: ConfigBase::load: Processing keybindings: go_next
ConfigBase::load: ConfigBase::load: Processing keybindings: edit_terminal_title
ConfigBase::load: ConfigBase::load: Processing keybindings: reset_clear
ConfigBase::load: ConfigBase::load: Processing keybindings: toggle_scrollbar
ConfigBase::load: ConfigBase::load: Processing section: profiles
ConfigBase::load: ConfigBase::load: Processing profile: default
ConfigBase::load: ConfigBase::load: Processing profile: New Profile
ConfigBase::load: ConfigBase::load: Processing section: layouts
ConfigBase::load: ConfigBase::load: Processing layouts: default
ConfigBase::load: ConfigBase::load: Processing section: plugins
Config::set_profile: Config::set_profile: Changing profile to default
Config::connect_gsetting_callbacks: GSetting connects for system changes
noclass::parse_options: OptionParse::parse_options: command line options: {'nodbus': None, 'classname': None, 'working_directory': None, 'select': None, 'fullscreen': None, 'layout': 'default', 'debug_classes': None, 'version': None, 'role': None, 'forcedicon': None, 'config': '/home/i_love_ayrawhsia_nodnat/.config/terminator/config', 'profile': None, 'debug_methods': None, 'maximise': None, 'debug': 1, 'borderless': None, 'new_tab': None, 'hidden': None, 'dummy': None, 'execute': None, 'geometry': None, 'command': None, 'forcedtitle': None}
ConfigBase::load: ConfigBase::load: config already loaded
Config::set_profile: Config::set_profile: Changing profile to default
Config::connect_gsetting_callbacks: GSetting connects for system changes
ConfigBase::get_item: ConfigBase::get_item: dbus found in globals: True
function::with_proxy: dbus client call: new_window_cmdline
function::with_proxy: dbus client call: new_tab_cmdline
function::with_proxy: dbus client call: new_window
function::with_proxy: dbus client call: new_tab
function::with_proxy: dbus client call: hsplit
function::with_proxy: dbus client call: vsplit
function::with_proxy: dbus client call: get_terminals
function::with_proxy: dbus client call: get_window
function::with_proxy: dbus client call: get_window_title
function::with_proxy: dbus client call: get_tab
function::with_proxy: dbus client call: get_tab_title
DBusService::__init__: Borg::__init__: Preparing borg state for DBusService
DBusService::prepare_attributes: Checking for bus name availability: net.tenshu.Terminator20x1a6021154d881c
DBusService::prepare_attributes: bus name unavailable: net.tenshu.Terminator20x1a6021154d881c
noclass::<module>: Unable to become master process, operating via DBus
noclass::<module>: Requesting a new window
@FloHeinle please, check if you have downloaded the correct version of the plugin for your terminator version, @ILoveAyrawhsiaNodnat please run terminator without the -d flag just as @FloHeinle has done in order to see what's the issue.
@EliverLara I had the wrong version. Sry for that. With the correct version I can see TerminatorThemes in the Plugins menu. I also activated it but there is no 'Themes' entry in the context menu.
When starting terminator I get:
/usr/share/terminator/terminatorlib/window.py:61: GtkWarning: Unable to locate theme engine in module_path: "adwaita",
gtk.Window.__init__(self)
PluginRegistry::load_plugins: Importing plugin __init__.py failed: 'module' object has no attribute 'AVAILABLE'
Exception occurred adding plugin URL match: argument of type 'NoneType' is not iterable
TerminalPopupMenu::show: argument of type 'NoneType' is not iterable
I ran terminator
through CLI and I don't get any console output.
Had the same problem, make sure to close any open instance of terminator b4 trying, solved it for me
Installing requests in python 2 worked for me. I was also having troubles like this, everything worked correctly but I couldn't see the problem until I installed requests. Try to install with:
$ sudo apt install python-requests
That should install python requests for python 2.
I tried @franccesco 's solution and it worked for me as well.
It's required to install within the terminal under generic OS. This's solve my problem.
Had the same issue. The problem was the pip (I thought i was calling pip2.7 by running just "pip", but it was pip3). So I solved by run:
$ wget https://bootstrap.pypa.io/get-pip.py
$ sudo python2.7 get-pip.py
$ sudo pip2.7 install requests
Just run yay -S extra/python2-pip
in Manjaro Linux
I tried @franccesco 's solution and it worked for me as well in ubuntu16.04LTS, and python 2.7
if you follow the readme file and install the right plugin, it will show up in preferences after restarting the terminator, I sloved it by doing that.
Plugin showed after install certifi package, I'm using Debian 9 and python 2.7 as default:
pip install certifi
For me it works after copying the terminator-themes.py and terminator-themes.pyc from $HOME/.config/terminator/plugins to /usr/share/terminator/terminatorlib/plugins
I am also having problems with plugin not showing up.
I have installed requests.
m@turing:~/.config/terminator/plugins$ python terminator-themes.py
Traceback (most recent call last):
File "terminator-themes.py", line 2, in <module>
import terminatorlib.plugin as plugin
ModuleNotFoundError: No module named 'terminatorlib'
I tried with on Ubuntu (19.04):
- Python 2.7.16
- Python 3.7.3
@mitjafelicijan Why are you calling the plugin directly though? It should be under the directory $HOME"/.config/terminator/plugins/
It worked when I copied the directory /usr/share/terminator/terminatorlib/ plugins here. Thanks @Dady9
It worked when I copied the directory /usr/share/terminator/terminatorlib/ plugins here. Thanks @Dady9
In my case it did not work, someone help me, I already tried everything.
It worked when I copied the directory /usr/share/terminator/terminatorlib/ plugins here. Thanks @Dady9
In my case it did not work, someone help me, I already tried everything.
You must create plugins folder in /usr/share/terminator/terminatorlib/ directory. Then paste terminator-themes.py into the directory /usr/share/terminator/terminatorlib/plugins. Check the TerminatorThemes option under terminator > preferences > plugins.
In my case, the most proper solution seemed to install requests using pip2 install --user requests
, as all the other workarounds here failed; this installs the package locally as it should be since the plugin is also in the user's home directory. Using apt-get
didn't work either, it was giving me other weird dependencies errors such as no module named ordered-dict
. I got it working now with the above.
I ran
terminator
through CLI and I don't get any console output.
This worked beautifully for me, thank you sir!
Had the same problem, make sure to close any open instance of terminator b4 trying, solved it for me
@dmagen12 thanks, that was my issue.
I had to make the python file executable: chmod +x ~/.config/terminator/plugins/terminator-themes.py