Click to See Complete Forum and Search --> : Getting a nicer cursor


Muzzafarath
01-27-2001, 03:18 PM
Everyone, take a look at /usr/src/linux/Documentation/VGA-softcursor.txt, it has some really nice tips on how you can customize the cursor in the console. I for example like to have a non blinking, full, white block as my cursor, so I typed in this:


echo -e '\033[?17;0;120c'


Changing the number 120 to 32 will give you a green cursor. Play with it for a while and see what you like! If you want to have your own cursor all the time (you don't want to type in echo blablabla whenever you log in), do something like this (as root):


echo -e '\033[?17;0;64c This is the message in /etc/issue' > /etc/issue


You can ofcourse change the first part (\033...). Then restart all of your VC's (killall agetty in Slackware, all of the agetty processes will respawn in a second or so). You can also restart your computer instead http://www.linuxnewbie.org/ubb/smile.gif

Sterling
01-28-2001, 11:39 AM
Or, if you don't have root access or share the machine with other people who have their own cursor style preferences, you could put that in one of your shell startup scripts. .bashrc is generally a good choice.

------------------
-Sterling
"There is no Linuxnewbie.org cabal..."