I've been trying to run a windows program with wine using optirun.
However when i do:
sudo optirun wine PROGRAM_NAME.exe
I get the following output:
wine:/home/USERNAME/.wine is not owned by you
Why won't it run?
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It only takes a minute to sign up.Sign up to join this community
sudo is causing it to run as
root, not as
fawkes5. Instead run
optirun wine PROGRAM_NAME.exe. If you need
sudo to run
optirun then follow this guide to give yourself permission to run it without sudo. Specifically you should run:
$ sudo groupadd bumblebee $ sudo usermod -a -G bumblebee $USER
then log out and back in.