Skip to content

Instantly share code, notes, and snippets.

@eimon96
Created April 19, 2022 14:14
Show Gist options
  • Save eimon96/a2a17bf0bbbf90f80c18e1a09adb1095 to your computer and use it in GitHub Desktop.
Save eimon96/a2a17bf0bbbf90f80c18e1a09adb1095 to your computer and use it in GitHub Desktop.
Eject CDrom tray Linux Mint - 2020 make file executable (the button for cd/dvd tray in my laptop is broken so i did this to make things easier)
#!/usr/bin/env python3
from os import system
system("eject cdrom")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment