Johnny Matthews | Switch graphics in Ubuntu

Ubuntu doesn't have a built-in GUI for switching graphics settigs like PopOS. But no matter, there's a terminal command that'll work just fine! Unfortunately, this only works for systems running an Intel CPU. This was written on 18th of January 2023.
  1. Open terminal.

  2. Use prime-select as a super-user to select the graphics type you want. For integrated graphics run:

    sudo prime-select intel 
  3. To use the dedicated graphics, use nvidia:

    sudo prime-select nvidia
  4. You can also use query to see which graphics setting is selected:

    prime-select query
  5. That’s it.