Skip to content

EasyCanadianGamer/os-switcher

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OS Switcher

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.

image


□ Dependencies

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)

□Install on Arch-based systems (Arch, Manjaro):

sudo pacman -S python tk grub polkit polkit-gnome

Then, 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 &

□ Install on Debian-based systems (Ubuntu, Mint, etc.):

sudo apt install python3 python3-tk grub-common policykit-1 policykit-1-gnome

Then ensure the agent starts in your session (usually auto-started in desktop environments).


⚙️ Automatic Installation

  1. Clone the repo:

    git clone https://github.com/EasyCanadianGamer/os-switcher.git
    cd os-switcher
  2. Run the installation script:

      sudo bash install.sh
    

□ Manual Installation

  1. Clone the repo:

    git clone https://github.com/EasyCanadianGamer/os-switcher.git
    cd os-switcher
  2. Install Python dependencies:

    pip install -r requirements.txt
  3. Make the script executable:

    sudo chmod +x os-switcher.py
  4. Run the script:

    python os-switcher.py

❌ Uninstalling

To remove OS Switcher and its configurations:

sudo bash uninstall.sh

About

A simple way to change OS

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published