#TapeThatMoth

Víctor A. Rodríguez :verified:bitman@techhub.social
2025-05-12

The concept is straightforward: subscribe to relevant events (e.g., system startup, screen unlock) to reapply, reset, or reconnect critical system settings and ensure everything runs smoothly. When my laptop comes back from sleep the VPN connection is lost, it can't reconnect. Detecting when it comes back, killing VPN and restarting it solves the problem

The next script is generated by Tape That Moth (TTM) to solve the issue

#!/usr/bin/env bash
while read -r line; do
case "$line" in
*"{'Active': <true>}"*) /some/path/to/proton-vpn-restart ;;
esac
done < <(gdbus monitor -y -d org.freedesktop.login1)

Where /some/path/to/proton-vpn-restart, not generated by TTM, kills VPN and starts a new one

#!/usr/bin/env bash
pkill -9 -f protonvpn-app
python3 /usr/bin/protonvpn-app >/dev/null 2>&1 &

This approach may not adhere to traditional coding best practices, but it's a pragmatic solution that yields results

#Linux #FOSS #OpenSource #UX #SystemFixes #TapeThatMoth #DesktopTools #BugWorkarounds

Víctor A. Rodríguez :verified:bitman@techhub.social
2025-05-11

Hey fellow Mastodons!

I'm working on a project called Tape That Moth, which helps mask software issues that drive us crazy. You know, things like keyboard layouts changing unexpectedly or VPNs dropping out after laptop suspend.

My goal is to make it easy to use and get back to what matters most – coding, designing, or just getting stuff done!

Here's the thing: I'd love your feedback on how to make Tape That Moth more user-friendly. Should it be point-and-click? Should I prioritize certain features? Is it of interest for other one that me?

I'm looking for advice from people who actually use software and have experienced these kinds of issues firsthand. Your input would mean a lot!

gitlab.com/bit-man/tape-that-m

#Linux #FOSS #OpenSource #UX #SystemFixes #TapeThatMoth #DesktopTools #BugWorkarounds

Client Info

Server: https://mastodon.social
Version: 2025.04
Repository: https://github.com/cyevgeniy/lmst