mss Posted May 21, 2016 Posted May 21, 2016 My cursor in console (not desktop environment) disappeared after apt upgrade from a clean install. Device : orange pi pc Version: ARMBIAN Debian GNU/Linux 8 (jessie) 3.4.112-sun8i I also changed led triggers red one to mmc0 and green to timer. I run apt list>aptlist.txt and attach result to post. it changed a lot i install further packages. aptlist.txt
plus90 Posted June 4, 2016 Posted June 4, 2016 Orange Pi One Armbian Server Version I don't have the cursor either. I miss it.
Jaret Burkett Posted June 10, 2016 Posted June 10, 2016 I have this same issue. It is only on the hdmi console not ssh. I am trying to figure out what is causing it. I have been digging in the code all day. No luck so far. 1
lvmc Posted June 10, 2016 Posted June 10, 2016 I'm reporting this issue too, over HDMI the cursor is not being shown.
markbirss Posted June 15, 2016 Posted June 15, 2016 I found this fix, credit to youka http://forum.odroid.com/viewtopic.php?f=117&t=11758 Re: fbcon cursorby youka » Fri Mar 27, 2015 10:57 pm Anyway, all that aside...There's a nice work-around in the link Holzhaus provided... CODE: SELECT ALL infocmp >> terminfo.txt sed -i.bak -e 's/?0c/?112c/g' -e 's/?8c/?48;0;64c/g' terminfo.txt tic terminfo.txt tput cnormThen just re-run "tput cnorm" each time you log in. This should be good enough for now. At least now I can edit text files without being completely lost 1
borombo Posted July 19, 2016 Posted July 19, 2016 To display grey-block cursor in console i used this script: # delete console settings for current user rm -rf ~/.terminfo # delete console settings for root sudo rm -rf /etc/terminfo/* cd /tmp # copy default console settings to a file infocmp -A /lib/terminfo linux > terminfo # replace 'bad' cursor params (cnorm and cvvis) with new (man terminfo) sed -i -e 's/?0c/?16;0;240c/g' -e 's/?8c/?16;0;240c/g' terminfo # compile the edited terminfo sudo tic terminfo last command launched as root, puts compiled data in /etc/terminfo since ~/.terminfo is removed, parameters will be read from /etc/terminfo (for current user and root) now create script in /etc/profile.d with one line: tput cnorm now cursor should be anywhere at anytime except login prompt.
plus90 Posted October 13, 2016 Posted October 13, 2016 I use the solution posted by markbirss. It works. I just wanted to add that you should enter those commands as a super user, otherwise the cursor will disappear when you open vim as a super user. This happened to me on a previous install and I was using a workaround to edit read-only files. Today, in a fresh install, I entered those commands as a super user and I'm not having that problem anymore.
Recommended Posts