I have a file .xscreensaver & the code/script as below
sudo cp -R .xscreensaver /home/amg/
How can I make the code/script autorun when I insert a USB?
I have a file .xscreensaver & the code/script as below
sudo cp -R .xscreensaver /home/amg/
How can I make the code/script autorun when I insert a USB?
mount
a USB by default on insertion, so expecting them to autorun before amount
is performed makes no sense. – guiverc Oct 05 '22 at 03:16lsusb
). Then, when you insert the particular USB device, Ubuntu will recognize it and this will trigger a script on your Ubuntu computer to run. Just ignore the "out" or unplug portion of the answer. – mchid Oct 05 '22 at 04:50