Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Terminator Toggle Opacity Keyboard Shortcut

Do you know any keyboard shortcut to adjust or toggle the terminal's opacity without right clicking and going into preferences? That would be so sweet if that is possible.

like image 951
Anthony Vipond Avatar asked Feb 18 '14 17:02

Anthony Vipond


People also ask

What is the keyboard shortcut for opacity?

Opacity Shortcuts To quickly change the opacity of that layer, press any number on your keyboard. For example: Press 5 to get 50% opacity. Press 2 to get 20% opacity.

What is the keyboard shortcut for changing a layer's opacity while selected?

With a non-painting tool selected, press a number key to change the opacity of a layer ( 1 for 10%, 2 for 20%, etc.). Hold the Shift key and press any of the number keys to change the Fill.

How do I change the shortcuts on a Terminator?

Terminator Keyboard ShortcutsMove to the Below Terminal – Alt+Down_Arrow_Key. Move to the Left Terminal – Alt+Left_Arrow_Key. Move to the Right Terminal – Alt+Right_Arrow_Key.

How do you open the shortcuts in Terminator?

The following keybindings can be used to control Terminator: Ctrl+Shift+O. Split terminals Horizontally. Ctrl+Shift+E.


2 Answers

Terminator does not support hotkeys to change background opacity or color:

To my mind, rewriting the config file on the fly is the wrong way to achieve the things you want. A much better way would be the dbus server that we've started to introduce. It is designed to allow things running inside a terminal to communicate with Terminator and send commands that will affect the terminal. For now it only exposes commands for splitting, but over time I hope we will be able to extend this to include things like colours and transparencies, etc.

https://answers.launchpad.net/terminator/+question/173257


CompizConfig allows you to change any window's opacity with a keyboard shortcut. The effect is different than Terminator background opacity, but it's good enough for me -- I want to glimpse the web page behind my terminal.

sudo apt-get install compizconfig-settings-manager

CompizConfig Settings Manager > Opacity, Brightness and Saturation


Related:

  • How do I change the transparency level of gnome-terminal?

  • Terminator does support other hotkeys and a configuration file:

    • http://manpages.ubuntu.com/manpages/intrepid/man5/terminator_config.5.html
like image 130
Kamil Slowikowski Avatar answered Sep 27 '22 19:09

Kamil Slowikowski


One workaround is to create multiple profiles according to the transparency levels and then switch to the required profile using the keybindings in terminator.

For example, I need to toggle transparency in terminator. So I have 2 profiles.

  • default --> opaque
  • transparent --> with transparency set to 0.80 (all the other settings are the same)

And I have mapped the following in terminator keybindings:

  • next profile --> ctrl+0
  • previous profile --> ctrl+9

This allows me to toggle opacity in terminator.

like image 37
norbitwise Avatar answered Sep 27 '22 17:09

norbitwise