I'm struggling to make the cursor in bash stop blinking. Also, the cursor in Iceweasel has started blinking again, but, for some reason, a lot slower than in bash :) I got those problems since I upgraded to sid, so probably some configuration files were overwritten.
I tried everything in How to stop cursor from blinking - nothing worked, probably because that was about tty, not bash.
This did not work (that is, setting the flags worked, just didn't do anything to the cursors):
gconftool --search-key cursor_blink
/desktop/gnome/interface/cursor_blink = false
/schemas/desktop/gnome/interface/cursor_blink = false
This did work, but only to make the cursor visible and invisible, it didn't stop the blink:
tput cvvis
This did not work:
echo -n -e '\e[?17;14;224c'
printf '\033[?12l'
My PS1 looks like this (added \033[?17;0;127c
):
PS1="\033[?17;0;127c\\[$(tput setaf 3)\\]\u \\[$(tput setaf 4)\\]\w: \\[$(tput sgr0)\\]"
This is already set to zero:
/sys/class/graphics/fbcon/cursor_blink
Any more ideas?
bash
has no say over cursor blink; it's up to the terminal emulator you're using. If sid is running GNOME 3 like wheezy is, the configuration is indconf
instead ofgconf
; I don't know what the new settings would be off the top of my head, though. – geekosaur Apr 22 '12 at 10:49ps -fu$USER | grep gnome-shell
. Although that's imperfect as you could be in fallback mode, and as far as I've been able to determine GNOME ignores all its settings in that case. – geekosaur Apr 22 '12 at 11:05gnome-shell
is the fancy new GNOME 3 UI manager, replacinggnome-panel
and a number of other independent programs used by GNOME 2. I don't know how to detect fallback mode, though — it looks like GNOME 2 except it seems to ignore settings. – geekosaur Apr 22 '12 at 11:21gnome-shell
was not running then you did not want or needdconf
. – geekosaur Apr 22 '12 at 12:14