How can I change the transparency of the Terminal windows in Ubuntu with a command?
I already know about the profile method but want a command so that I can quickly swap between transparent and opaque.
My terminal is GNOME Terminal 2.30.2
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. It only takes a minute to sign up.Sign up to join this community
You can use gconftool with the key /apps/gnome-terminal/profiles/Default/background_type (you might have to use a different profile name than "Default"):
gconftool -s -t string /apps/gnome-terminal/profiles/Default/background_type solid gconftool -s -t string /apps/gnome-terminal/profiles/Default/background_type transparent
This was tested in version 3.0.1, but the command should be the same.