Skip to content

Instantly share code, notes, and snippets.

@sulph68
sulph68 / Meshtastic Setup on uConsole.md
Last active February 2, 2026 09:07
Meshtastic Setup on uConsole - Notes

Meshtastic Setup on uConsole - Notes

Install packages based on @Rex images. Meshtastic shold be available as an apt install.

Main issue with broadcast is congestion.

  • Reduce update rates to as low as acceptably possible. 3 hours and above is probably recommended
  • Use meshtastic command to perform the updates where possible. This is more positive than using than the Web interface

Useful key commands to help get things going.

@sulph68
sulph68 / uConsole MouseKeys Setup.md
Created June 15, 2025 04:49
uConsole MouseKeys Setup

uConsole MouseKeys Setup

As the trackball on the uConsole can be tricky, i used the YXBA buttons to move the cursor for more refined movements. This is done via ydotool and ydotoold in order to work with wayland.

References

Important to know that ydotool should be built from source in order to provide relative mouse movements.

Once built and installed, ydotoold should be started as root listening to a socket file, but changing socket ownershop to a target user. I added the following to rc.local

@sulph68
sulph68 / uConsole Auto changing battery wallpaper.md
Last active September 7, 2025 11:45
uConsole Auto changing battery wallpaper

uConsole Auto rotating battery wallpaper

To automatically change wallpaper on battery level, read the battery level from /sysclass and change the wallpaper setting using gsettings.

my $batt_file = "/sys/class/power_supply/axp20x-battery/capacity";

[...some code...]
chomp(my $current = `gsettings get org.gnome.desktop.background picture-uri`);
$current =~ s/^'file:\/\/\///;
$current =~ s/'$//;
@sulph68
sulph68 / uConsole GPS Setup.md
Last active February 6, 2026 01:02
uConsole GPS Setup

uConsole GPS Setup

After some more mucking around on a desktop with GPS setup, and taking some of those experiences over to uConsole. Here are Some updated notes on getting GPS setup properly on uConsole. This also applies to Ubuntu setups. Can't comment on the correctness for other distributions, but it should be able to serve as a guide.

This has some improvement over the older method as it no longer uses gnss-share.

NOTE: i use pam_usb for authentication so it is convienient to use sudo in my scripts so it doesn't acrually prompt for a password everytime i use it. YMMV.

geoclue