Matoking / protontricks

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

not able to use protontricks in command line #195

Closed IoannesNuncius closed 10 months ago

IoannesNuncius commented 1 year ago

Describe the bug I've installed protontricks on Linux Mint first through the software manager then through flatpak. In both I can start the gui from my apps list, but in the command line i just get "protontricks: command not found"

To Reproduce Steps to reproduce the behavior:

  1. attempt any command in terminal
  2. command not recognized

Expected behavior The commands work as described on the github.

System (please complete the following information):

Matoking commented 1 year ago

For the Flatpak version you need to configure an alias by running two commands first, as explained in the README:

https://github.com/Matoking/protontricks#flatpak-recommended

To use Protontricks as a command-line application, add shell aliases by running the following commands:

echo "alias protontricks='flatpak run com.github.Matoking.protontricks'" >> ~/.bashrc
echo "alias protontricks-launch='flatpak run --command=protontricks-launch com.github.Matoking.protontricks'" >> > ~/.bashrc

You will need to restart your terminal emulator for the aliases to take effect.

It's admittedly a bit cumbersome and can be easily missed.

Matoking commented 10 months ago

Closing due to inactivity.