Giter VIP home page Giter VIP logo

gswitch's Introduction

gswitch

This is an application that puts a xorg config in place when you want to use a external GPU and can remove the config again when it's time to go back.

Important to note is to make sure to take care of Thunderbolt authorization. While waiting for the KDE team to fix Bolt into Plasma, I have a 'udev' rule that authorizes everything...

/etc/udev/rules.d/99-local.rules:

ACTION=="add", SUBSYSTEM=="thunderbolt", ATTR{authorized}=="0", ATTR{authorized}="1"

But be aware that it's dangerous, someone may own your PC if you're not careful. You have been warned!

It comes with a boot service that automatically switches to your eGPU if it's connected at boot. And if it's not, it sets the configuration to internal.

To activate this feature, you do:

sudo systemctl enable gswitch

The process of getting this installed is:

git clone https://github.com/karli-sjoberg/gswitch.git
cd gswitch
sudo make install

Uninstalling is just as easy:

sudo make uninstall
cd ..
rm -rf gswitch

To get everything set up, you do:

sudo gswitch setup

Switching from internal to egpu:

sudo gswitch egpu

Lastly, switching from egpu back to internal:

sudo gswitch internal

Happy switching!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.