What MCU/Processor/Board and compiler are you using?
Beaglebone black / Debian GNU/Linux 10 (buster)
Newhaven 7" cape
gcc
What LVGL version are you using?
8.0
What do you want to achieve?
Hide the blinking cursor
What have you tried so far?
The LVGL application is supposed to start automatically upon boot. I have the following code in the app:
system(“chmod 777 /dev/tty1”);
system(“sudo /usr/bin/tput civis > /dev/tty1”);
To start the application automatically I tried crontab and systemd. WIth either crontab or systemd the application starts but the cursor is still visible. If I ssh into it and start the same app, the cursor is hidden.
I even tried a simple app that only hides the cursor with the above two commands and if this CursorOff app starts automatically by either crontab or systemd it does not hide the cursor. If I start it at the command prompt the cursor hides.
Do you have any suggestions on how to autostart and keep the cursor hidden?
Thank you,
Danielle