You are not logged in.

#1 2010-05-27 23:35:50

bamdad
Member
Registered: 2010-04-03
Posts: 51

annoying blinking cursor in console

hi everybody,

i've always been annoyed by blinking things. i don't really know the reason why. so when installing pretty much any desktop environment, i immediately turn blinking cursors off (if i can). i'm using gnome, where it's simple to set up for both the terminal (i use guake) and the standard applications. but since i'm low on ram and some tasks are better accomplished on the command line anyway, i grew more and more annoyed by the constant blinking.

searching around, i found these pages, where the solution is nicely documented:
http://linuxgazette.net/137/anonymous.html
http://www.emacswiki.org/emacs/CursorOnLinuxConsole

basically, all you have to do is use an escape sequence. but if you insert it only in your .whatevershellrc, the blinking cursor will return after opening a programme, e.g. nano. so you have to follow the instructions on the emacswiki page.

oh, one more thing: afaik, the best cursor is simply an inverted (and, of course, non-blinking) block. none of the pages had an example for that. if you agree with me, here's the command for it:

echo -n -e '\e[?17;14;224c'

just thought i'd share this. have fun. :)

EDIT: it's better without a newline, so i added '-n' to echo.

Last edited by bamdad (2010-05-28 21:41:51)

Offline

#2 2010-05-27 23:40:16

Coacher
Guest

Re: annoying blinking cursor in console

with xterm and urxvt it is as simple as

xterm*cursorBlink: false
URxvt*cursorBlink:   false

added to ~/.Xdefaults

#3 2010-05-27 23:44:18

bamdad
Member
Registered: 2010-04-03
Posts: 51

Re: annoying blinking cursor in console

yeah, i know, but this is for the tty stuff outside x.

Offline

#4 2011-05-29 02:46:16

fcuk112
Member
From: Warwickshire
Registered: 2010-03-11
Posts: 52

Re: annoying blinking cursor in console

sorry to revive an old topic - i am running guake with gnome shell, i've got no cursor blinking in gnome terminal, terminator but in guake the cursor still blinks...  any idea how to fix this?

thanks.


Archlinux.Club launching soon!  Sign up now @ http://archlinux.launchrock.com

Offline

#5 2011-05-29 11:33:13

bamdad
Member
Registered: 2010-04-03
Posts: 51

Re: annoying blinking cursor in console

you could try setting the global preferences in system settings > keyboard > cursor blinks in text fields. unfortunately, i don't have access to a gnome 3 session currently, so i can't check for you.

edit: if you've already done that, make sure that guake likes your current gtk theme (if it looks ugly, you know that it doesn't follow your global settings).

Last edited by bamdad (2011-05-29 11:34:29)

Offline

#6 2011-05-29 21:13:32

fcuk112
Member
From: Warwickshire
Registered: 2010-03-11
Posts: 52

Re: annoying blinking cursor in console

@bamdad, thanks this did the trick.


Archlinux.Club launching soon!  Sign up now @ http://archlinux.launchrock.com

Offline

Board footer

Powered by FluxBB