Gnome Terminal Preferences
Publish date: Jun 20, 2019
Edit terminal preferences from command line
While using Emacs in a terminal I want to differ the cursor type when a given minor mode is active. As the setting in a terminal setting and not an Emacs one, I needed to find a program capable of change the cursor type in my terminal (gnome-terminal). The program is dconf and the command is the following:
dconf write /org/gnome/terminal/legacy/profiles:/:<my-profile-hash>/cursor-shape "'ibeam'"
How I got the profile hash:
dconf list /org/gnome/terminal/legacy/profiles:/
:b1dcc9dd-5262-4d8d-a863-c897e6d979b9/