How do I disable the blinking cursor in gnome-terminal?
I could have sworn that there was once a setting for this in the gnome-terminal "Profile".
And then in some version of Ubuntu, that setting disappeared, and I had to use System ➜ Preferences ➜ Keyboard to uncheck "Cursor blinks in text fields".
Well, neither of those seems to be working now. So how do I make the cursor stop blinking?
Solution 1:
You can disable the blinking also from the command line (gconf-editor is not installed by default):
gconftool-2 --set /apps/gnome-terminal/profiles/Default/cursor_blink_mode --type string off
For newer versions of gnome-terminal, the command has changed:
gsettings set org.gnome.Terminal.Legacy.Profile:/org/gnome/terminal/legacy/profiles:/:$(gsettings get org.gnome.Terminal.ProfilesList default|tr -d \')/ cursor-blink-mode off
Solution 2:
On Ubuntu Mate 20.04, the setting is at org.mate.interface cursor-blink
. You can use dconf-editor to navigate there and set it to false
, or
gsettings set org.mate.interface cursor-blink false
Solution 3:
I review this post on almost every single Gnome install. Seems that the actual variable name changes every so often.
My solution: gsettings list-recursively | grep blink
Then I set the link value from True to False. As of now, it is org.gnome.desktop.interface cursor-blink, so:
gsettings set org.gnome.desktop.interface cursor-blink false
Hope this helps someone else in the future!