Skip to content

Script that get triggered when monitors are plugged in or out in Linux

Notifications You must be signed in to change notification settings

pseudocc/udev-monitor-hotplug

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Description

A fork to debug the hotplug events.

Installation

wget https://github.com/pseudocc/udev-monitor-hotplug/releases/download/stable/udev-monitor-hotplug.deb
sudo dpkg -i udev-monitor-hotplug.deb
sudo rm -f udev-monitor-hotplug.deb

Debuging

sudo journalctl -f

OR

sudo service udev stop
sudo udevd --debug 2>&1 | tee /tmp/udev.log
check what's happening when you plug/unplug your monitor

License

I'm not responsible of the effect of this script on your computer

Feel free to do whatever you want with it :-)

About

Script that get triggered when monitors are plugged in or out in Linux

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Shell 100.0%