-
|
When I try to follow the instructions given for Steam Deck installation, including setting up the .desktop shortcut so it can be added as a non-Steam game, it gives me a long error message essentially saying that ani-cli couldn't be found, so it's running bash instead. If I instead run Konsole in game mode, I can run ani-cli as normal by simply typing the command. In Desktop mode, I noticed that the .desktop shortcut doesn't work, and in fact if I try to run ani-cli itself by right-clicking on the shell script in Dolphin and clicking on "Run in Konsole" I get a different error regarding fzf not being installed. I've checked, and fzf is definitely installed, and again, if I just open Konsole and actually type 'ani-cli', it runs as expected. I'm very confused. |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments
-
|
Because of immutability, we are storing executables in |
Beta Was this translation helpful? Give feedback.
-
|
I did the echo $SHELL just returns /bin/bash, and when I updated the exec line with that it didn't seem to help. The .desktop file looks like this now: [Desktop Entry] I think what's most confusing to me is that SteamOS is, as you say, an immutable OS, so the instructions that work for everyone else should work on my machine too. I don't understand why they don't. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
|
I'm glad you had a great experience. |
Beta Was this translation helpful? Give feedback.

Because of immutability, we are storing executables in
.local/bin. To launch them, you need to add.local/binto your $PATH first. It is usually done by addingexport $PATH = newpath.bashrc file and then sourcing that file. Terminal emulators doe the sourcing part when they launch.By launching script through Dolphin, $PATH is default, so it cant find fzf.
Same for .desktop file. If
.bashrcis not sourced, $PATH would not be updated, and the command will not be found.Thats what
source $HOME/.'$(echo $SHELL | sed -nE "s|.*/(.*)\$|\1|p")'rc && ...is for.You can try getting your shell by running
echo $SHELLand replacing that part of theExec=line in .desktop with for example for bash:s…