# Xsetup - run as root before the login dialog appears As you can see, everything is commented out in the file. The corresponding Bash script copies the applicable file to the directory /usr/share/config/kdm/ to create an Xsetup file with the correct contents for the graphics processor. I created two files, Xsetup.intel and Xsetup.nvidia, in my home directory. The corresponding Bash script copies the applicable file to the directory /etc/X11/ to create an nf file with the correct contents for the graphics processor. I created two files, and, in my home directory. Sudo cp /home/fitzcarraldo/ /etc/X11/nfĮcho "Now you should logout to restart X Windows." Sudo cp /home/fitzcarraldo/Xsetup.nvidia /usr/share/config/kdm/Xsetup Please close this window."Įcho "Intel HD 4600 Integrated Graphics Processor"Įcho "This script will configure your installation to use the NVIDIA GeForce GTX 860M GPU all the time." GPU=`eselect opengl list | grep \* | awk ''`Įcho "You do not need to do anything. The Bash script ~/intel.sh contains the following:Įcho "Your installation is currently configured to use the following graphics processor:" You would need to modify them if you are using a different distribution. All the necessary files are listed below for Gentoo Linux. To achieve this I created two Desktop Configuration Files with nice icons on my Desktop, to launch two simple Bash scripts which configure my installation for the desired graphics processor, which will then be used when I next login to KDE. I could have installed Bumblebee in order to use the NVIDIA GPU with selected applications, but I decided instead to switch manually between the graphics processors. I have a Clevo W230SS laptop with an Intel HD 4600 IGP and an NVIDIA GeForce GTX 860M GPU, running KDE in Gentoo Linux.
0 Comments
Leave a Reply. |