There are many similar-sounding questions, so let me emphasize: I only want to change the color of my cursor; I do not want to change the color of my text. If it helps, however, my normal text color is white.

I realize xterm allows this, but I prefer to stick with gnome-terminal. There does not seem to be a preference in the menus.

System particulars: Ubuntu 12.04 alpha 2, Gnome Terminal 3.2.1, XFCE desktop

  • I just switched to XFCE Terminal instead, which allows this and seems to be a superior terminal in any case. – Chan-Ho Suh Mar 9 '12 at 4:25

Unfortunately no.

Manual exist though. http://manpages.ubuntu.com/manpages/gutsy/man1/setterm.1.html

gconf-editor /apps/gnome-terminal/profiles/default_settings may have to set a new key as a string and color configuration.


There's an escape sequence for that:

echo -ne '\e]12;#ffcc00\a'

or you can also use symbolic color names:

echo -ne '\e]12;pink\a'
  • "pink" doesn't work for me (gnome-terminal with TERM=xterm-256color) but the "#ffcc00" version does. – Jonathan Hartley Jan 22 '16 at 20:29

Unfortunately to the best of my knowledge there is not an option as of yet to do this.

  • 3
    Looks like an answer to me... The answer is "no". – mgalgs Jul 17 '14 at 0:22

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.