So, I’m trying to install libgl-switcheroo-git, as per this section of the wiki. However, “sudo nano ~/.xprofile” and “sudo nano /etc/xprofile” both attempt to make a new file in those locations instead of editing an existing file there. I’ve looked in those locations using Gnome 3’s file browser (with hidden files shown) and they don’t seem to be there.
Am I doing something wrong? Has xprofile moved or something?