Background on GPS is white on black, how do I change it?

17 views
Skip to first unread message

Dennis Blanchard

unread,
Jun 23, 2026, 3:12:42 PM (5 days ago) Jun 23
to DigiPi
The GPS info is posting as white text on black background. At one time, on an earlier version of DigiPi I wrote to Craig and he replied with the fix. I hate to bother him again with something so trivial.  

I think it was a mod in the Direwolf config stuff. Unfortunately, I can't find what he wrote and I suppose that info should be here for others to find.

Anybody have thoughts on how to do this?

Dennis, K1YPP

Craig

unread,
Jun 23, 2026, 3:55:19 PM (5 days ago) Jun 23
to Dennis Blanchard, DigiPi
Hi Dennis, no sweat,

Shell  (password=raspberry)

sudo remount
sudo nano /var/www/html/gps.php



#      exec("/usr/bin/ttyd -P 19 -t titleFixed=DigiPi -p 7689 -t fontSize=14 -t 'theme={ \"foreground\": \"black\", \"background\": \"#eeeeee\" }'  -o -s SIGTERM /usr/bin/cgps --silent > /dev/null 2> /dev/null &" );

#      exec("/usr/bin/ttyd -P 19 -t titleFixed=DigiPi -p 7689                 -t 'theme={ \"foreground\": \"black\", \"background\": \"#eeeeee\" }' -o -s SIGTERM /usr/bin/cgps --silent > /dev/null 2> /dev/null &" );

      exec("/usr/bin/ttyd -P 19 -t titleFixed=GPS -p 7689  



there are three examples there, the last one is uncommented with no theme defined.

checkout/google "ttyd" for more options.

cool,
-craig
KM6LYW
--
You received this message because you are subscribed to the Google Groups "DigiPi" group.
To unsubscribe from this group and stop receiving emails from it, send an email to digipi+un...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/digipi/bb726f3b-5189-459e-8bba-7e0ef87de306n%40googlegroups.com.

Reply all
Reply to author
Forward
0 new messages