You are not logged in.
I'm new to Linux and I decided I would go for arch so I could learn as much as I can about the system and how it works. The laptop I'm using at the moment has an integrated Intel GPU and a dedicated NVIDIA one aswell. Whilst reading the NVIDIA Optimus wiki entry it states that I'm able to use switchable graphics with optimus-manager so I decided to follow the steps on its corresponding github page.
On github it states that if you're not using a display manager you need to do the following:
You must make sure to run /usr/bin/prime-offload (as normal user) just after the X server is started, and /usr/bin/prime-switch (as root) after it has stopped.
I don't really get how to do this and where this is done, is it in the ~.xinitrc? My goal is to run dwm with startx. Sorry if this seems trivial but it's my first linux install.
Offline