This is a USB ejector GUI, made for Windows, Linux and Mac.
It detects the USB devices so you only have to click under the name of the device to eject it.
I have made sure that on Mac it does not detect the Macintosh HD and Time Machine Backups.
Now after ejecting a drive it removes the drive from the list and updates the ui so not to show the ejected drive.
It took a long time to fix it but now python does not crash, and everything seems to work as intended.
If you want the program to ignore your system drives, put the drive name in the blacklist.txt file.
You need to type each drive out on a new line.
Example of a blacklist.txt file:
sdd
nvme
You will need the python library PyQt5. To download it open terminal and type in:
- Terminal
pip install PyQt5
if you have any errors try pip3 instead.
- Terminal
pip3 install PyQt5
You will also need to set the usb-eject.sh on your Desktop
And the python script in Downloads
Scaling might be weird after ejecting a drive.
The size of the usb device shown is currently only the used space not the total space.
Change the user script to find the python program by itself. So it is more user friendly.