Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm trying to get a nonblinking cursor in gnome-terminal.

In gnome I used gconftool-2 -s /apps/gnome-terminal/profiles/Default/cursor_blink_mode -t string off do accomplish this. How can i stop the cursor from blinking in xmonad?

share|improve this question
Right-click and preferences? Xmonad doesn't control how your cursor blinks. – user13742 Jun 10 '12 at 20:21

Installing the gconf2 package and using the same command you suggested worked for me. I'm running XMonad on Ubuntu 11.10.

share|improve this answer

Try this:

echo 0 > /sys/class/graphics/fbcon/cursor_blink

Set it to default by invoking it in a script that is run with superuser privileges every time you boot your computer (that is, if you'd like to try it in a VT first, use su -c and then quote the command).

I have mine in /etc/rc.local - it works, although I suspect that file had another purpose originally.

If you use bash, you could do something like this (in .bashrc):

PS1="\[$BLUEBOXNOBLINK\] ...    # set it as a prefix
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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