Wednesday, September 14, 2011

Turning off the blinking cursor in gnome-terminal

It shouldn't be this difficult, but one has to run 'gconf-editor', search to '/apps/gnome-terminal', and double click on cursor-blink-mode, and change the value to 'off':
Or, even easier: from the terminal do gconftool-2 --type string --set /apps/gnome-terminal/profiles/Default/cursor_blink_mode off.

Update
# Older way:
gconftool-2 --type string --set \
 /apps/gnome-terminal/profiles/Default/cursor_blink_mode off
gconftool-2 --type bool --set /apps/metacity/general/auto_raise true
gconftool-2 --type int --set /apps/metacity/general/auto_raise_delay 500
gconftool-2 --type string --set /apps/metacity/general/focus_mode mouse

# Newer way:
gsettings set org.gnome.desktop.interface cursor-blink false
dconf write /org/gnome/desktop/wm/preferences/focus-mode mouse
dconf write /org/gnome/desktop/wm/preferences/auto-raise true
dconf write /org/gnome/desktop/wm/preferences/auto-raise-delay 500

# GTK3 way:
gsettings set org.gnome.desktop.interface cursor-blink false
dconf write /org/gnome/desktop/input-sources/xkb-options "['ctrl:nocaps']"
dconf write /org/gnome/desktop/wm/preferences/focus-mode "'mouse'"
dconf write /org/gnome/desktop/wm/preferences/auto-raise true
dconf write /org/gnome/desktop/wm/preferences/auto-raise-delay 500
Wouldn't it be nice if they'd stop messing with how to do this?