Skip to content

Steamdeck Game Mode issues #1503

Answered by Nannk
jcadle asked this question in Q&A
Discussion options

You must be logged in to vote

Because of immutability, we are storing executables in .local/bin. To launch them, you need to add .local/bin to your $PATH first. It is usually done by adding export $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 .bashrc is 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 $SHELL and replacing that part of the Exec= line in .desktop with for example for bash: s…

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by port19x
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants