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?

5 Answers 5


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
  • 5
    In Ubuntu 16.04 the gsettings set ... didn't worked for me. I solved it with gsettings set org.gnome.desktop.interface cursor-blink false.
    – mmoya
    Commented Sep 1, 2016 at 10:11
  • @mmoya: Hmm, it worked for me. Did you maybe rename your terminal profile from the default name (called "default")? The disadvantage of your solution is that it disables blinking for all applications, not just gnome-terminal.
    – mdd
    Commented Sep 1, 2016 at 14:20
  • I actually named it as Default, when I opened the profile settings in the UI, it had no name. Anyway it shouldn't matter as the profile uuid is get from the gsettings get ... command, should it?
    – mmoya
    Commented Sep 2, 2016 at 15:08
  • the gsettings get command gets the uuid of a profile named default (which is the default name), does it work if you change the command to Default?
    – mdd
    Commented Sep 5, 2016 at 13:12
  • I think I used default as name because the gsettings get ... works. It'd be nice to add a note to the answer saying that the command assumes the profile is called default.
    – mmoya
    Commented Sep 5, 2016 at 15:54

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
  • Thanks; that did it. Although one of the valid settings (the default, actually) is supposed to be "system". Is that just broken?
    – Nemo
    Commented Jun 20, 2011 at 1:55
  • I don't think it's broken, as the cursor is supposed to blink by default, or rather by design, and not only in Terminal. There is a system wide setting for that in the Keyboard control window. Not sure if you can turn it off from there though. Commented Jun 20, 2011 at 2:26
  • 1
    As I mentioned in my question, I thought I disabled it globally under the Keyboard settings... But it did not have any effect on gnome-terminal. Which makes me wonder what "system" setting cursor_blink_mode is referring to. Anyway, my problem is fixed. Thanks again.
    – Nemo
    Commented Jun 20, 2011 at 2:30
  • 1
    @Nemo "system" probably refers to the value of the cursor-blink "gsetting", which you can query like so: gsettings get org.gnome.desktop.interface cursor-blink. There are other cursor-related gsettings that you could tweak as well, like cursor-blink-timeout, cursor-size, etc.
    – Maxy-B
    Commented Jan 5, 2014 at 18:20
  • I am trying to find the possible alternatives to "off" and "system". I still want a blinking cursor in the active terminal, only not in all the other ones.
    – Gauthier
    Commented Oct 29, 2014 at 9:07

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!

  • 3
    Thanks for providing a means of finding it rather than just the solution!
    – Luc
    Commented Sep 1, 2017 at 14:00
  • This solution worked for me in ubuntu 17.10
    – xaxxon
    Commented Oct 31, 2017 at 0:51

You can send an escape sequence to the terminal (any POSIX compatible, I think) setting the current cursor character using tput:

tput civis    # invisible
tput cnorm    # normal       (usually an underscore)
tput cvvis    # very visible (usually a rectangle)

Just put whatever you prefer in your local runcom script: ~/.zshrc, ~/.bashrc - whatever's your poison - or in the global one in /etc if you wish for it to run for all users.


With python3

os.popen('tput civis').read()

I've discovered that the text printed is \x1b[?25l (with the l of light).
You can try :

$ printf '\x1b[?25l'

so you can with try the others commands if you want the string format (I work with python, I don't know how this is called else).
The aventage with '\x1b' or '\33' is that we can use it with another device (per example a micropython) to regular the terminal with the STDOUT.

  • l of light is here just to differentiate beetween 1 (one) and l (L).
    – Kaki In
    Commented Aug 29, 2020 at 17:57
  • You can see the others advantages about \33 (escape) character on en.wikipedia.org/wiki/ANSI_escape_code
    – Kaki In
    Commented Jan 6, 2021 at 19:32

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .