egpu-switcher
Distribution agnostic eGPU script that works with NVIDIA and AMD cards.
## Description
The goal of this CLI is to lower the barrier for Linux users to
use their eGPU on the Linux Desktop. With the `egpu-switcher config`
command the user can choose their external GPU.
On every bootup the service will check if the eGPU is connected
and if so, make X.Org prefer it.
> [!NOTE]
> No hotplugging is possible. Users still need to reboot their computer to connect / disconnect the eGPU.
## Requirements
- Running X.Org
- Thunderbolt connection to eGPU is authorized
- Necessary graphics drivers for eGPU are installed
## Installation
### Ubuntu (apt)
*The PPA is no longer maintained for now (see [#90](https://github.com/hertg/egpu-switcher/issues/90))*
### Arch (aur)
```bash
paru -S egpu-switcher
```
> [!TIP]
> :deciduous_tree::zap: Save time and energy by using the pre-compiled `egpu-switcher-bin` package
### Manual
#### Installation and setup
Download binary from [latest release](https://github.com/hertg/egpu-switcher/releases)
Copy binary to `/opt`, apply proper permissions, and link it in `/usr/bin`
```bash
sudo cp