Matoking / protontricks

A wrapper that does winetricks things for Proton enabled games, requires Winetricks.
GNU General Public License v3.0
1.66k stars 36 forks source link

Protontricks unable to see winetricks (manually installed) #42

Closed SaladinAyyub closed 4 years ago

SaladinAyyub commented 4 years ago

I have protontricks installed using pipx and winetricks manually installed in Downloads. protontricks is unable to see it it just says winetricks not found when I run protontricks..

Matoking commented 4 years ago

Please check the installation instructions for Winetricks. If you're using Ubuntu or Debian (those tend to ship outdated versions of Winetricks), you can download the latest version of winetricks, mark it as executable and then move it to /usr/bin like this:

# Create and switch to a temporary directory writeable by current user. See:
#   https://www.tldp.org/LDP/abs/html/subshells.html
cd "$(mktemp -d)"

# Download the latest winetricks script (master="latest version") from Github.
wget https://raw.githubusercontent.com/Winetricks/winetricks/master/src/winetricks

# Mark the winetricks script (we've just downloaded) as executable. See:
#   https://www.tldp.org/LDP/GNU-Linux-Tools-Summary/html/x9543.htm
chmod +x winetricks

# Move the winetricks script to a location which will be in the standard user PATH. See:
#   https://www.tldp.org/LDP/abs/html/internalvariables.html
sudo mv winetricks /usr/bin

The reason you need to install winetricks into a path such as /usr/bin/winetricks is so that other programs can find it without having to provide the full path. You can run echo $PATH to see what directories are searched.