OS Switcher is a script that helps you streamline the process of switching operating systems. Follow the steps below to install and use it effectively.
Make sure the following dependencies are installed before using OS Switcher:
- Python 3
- Tkinter – for the GUI
- GRUB – required for reboot configuration
- Polkit – for privilege elevation
- A Polkit authentication agent – for GUI password prompts (e.g.,
polkit-gnome,lxqt-policykit)
sudo pacman -S python tk grub polkit polkit-gnomeThen, to autostart the authentication agent (if you're using a window manager like i3 or Awesome):
/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 &sudo apt install python3 python3-tk grub-common policykit-1 policykit-1-gnomeThen ensure the agent starts in your session (usually auto-started in desktop environments).
-
Clone the repo:
git clone https://github.com/EasyCanadianGamer/os-switcher.git cd os-switcher -
Run the installation script:
sudo bash install.sh
-
Clone the repo:
git clone https://github.com/EasyCanadianGamer/os-switcher.git cd os-switcher -
Install Python dependencies:
pip install -r requirements.txt
-
Make the script executable:
sudo chmod +x os-switcher.py
-
Run the script:
python os-switcher.py
To remove OS Switcher and its configurations:
sudo bash uninstall.sh