Skip to content

meyt/gousbnotify

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gousbnotify

Build Status GitHub Downloads (all assets, latest release) AI Assisted Badge

USB connect/disconnect notifications for Linux.

  • Real-time device detection.
  • Show pop-up notification.
  • Play custom notification sound.
  • Portable, just single binary (default sounds embedded).
  • Built-in systemd service installer (no root access).

image

Install

mkdir ~/.local/bin
cd ~/.local/bin
wget -O gousbnotify https://github.com/meyt/gousbnotify/releases/latest/download/gousbnotify-linux-amd64
chmod +x gousbnotify

Now you can run it

./gousbnotify

Parameters

All parameters can be used with or without -install

  • -install: Install and activate background service. it will also starts automatically on system startup.
  • -uninstall: Stop and uninstall the background service.
  • -nosound: Disables the sound notification
  • -nonotif: Disables the pop-up notification.
  • -connect-sound: Sound file path for "Connect".
  • -disconnect-sound: Sound file path for "Disconnect".

For example:

./gousbnotify -install \
    -connect-sound="/mnt/drivec/Windows/Media/Windows Hardware Insert.wav"
    -disconnect-sound="/mnt/drivec/Windows/Media/Windows Hardware Remove.wav"

Credits

About

USB connect/disconnect notifications for Linux.

Resources

License

Stars

1 star

Watchers

0 watching

Forks

Packages

 
 
 

Contributors