Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Steam Deck: can't browse for game executable #4507

Closed
juk0de opened this issue Sep 14, 2022 · 7 comments
Closed

Steam Deck: can't browse for game executable #4507

juk0de opened this issue Sep 14, 2022 · 7 comments

Comments

@juk0de
Copy link

juk0de commented Sep 14, 2022

I've installed Lutris through Discover / Flatpak and the problem is that the "Browse" button for selecting the game executable doesn't work (nothing happens when you klick on it). The other "Browse" buttons (e. g. for selecting the prefix) are working, though.

As a workaround, I've selected Dolphin as the default application for opening folders, as described here: https://www.youtube.com/watch?v=3_g-k5c-Hys

However, while this fixes the issue in desktop mode, it makes things worse in gaming mode: now the other "Browse" buttons don't work either (they are all broken). Is there a real fix for this issue?

I also wonder if it's caused by / limited to the Flatpak version or is it sth. Deck specific?

@nabel0
Copy link

nabel0 commented Sep 18, 2022

This is a very specific bung in the "KDE portal" on the Steam Deck

--> ValveSoftware/SteamOS#775

As a Workaround just run this command in the terminal:

systemctl restart --user xdg-desktop-portal

You have to runt this everytime if you switch to desktop mode...

@juk0de
Copy link
Author

juk0de commented Sep 19, 2022

Thanks for the link! With such a long history, it seems to be a rather complex issue.

But are you sure that it also causes the behaviour described above? Because, as I wrote, 2 out of 3 Lutris "Browse" buttons actually work. I'd assume that all three would be equally affected if Lutris would not be allowed to open a file browser. And why does it work if I set "Dolphin" as the default application for opening folders? It still doesn't make 100% sense to me...

@petersterne
Copy link

Just chiming in to say that this has been driving me crazy but running systemctl restart --user xdg-desktop-portal worked for me. Thanks!

@szeligus
Copy link

Just chiming in to say that this has been driving me crazy but running systemctl restart --user xdg-desktop-portal worked for me. Thanks!

I found that on reddit, better than write command every time i go to desktop mode

"
A more permanent fix I found was the following:

Create the file /home/deck/.config/plasma-workspace/env/restartportal.sh

Write the following into this file:

#!/bin/sh
systemctl --user restart xdg-desktop-portal
Right-click -> Properties -> Permissions -> Check "Is Executable"

Restart desktop mode

This script will basically just run the restart-command whenever you enter desktop-mode

I think KDE-Plasma already fixed this in 5.24, but steam os is still stuck on an older version
"

@StegoZ
Copy link

StegoZ commented Oct 27, 2022

Just chiming in to say that this has been driving me crazy but running systemctl restart --user xdg-desktop-portal worked for me. Thanks!

I found that on reddit, better than write command every time i go to desktop mode

" A more permanent fix I found was the following:

Create the file /home/deck/.config/plasma-workspace/env/restartportal.sh

Write the following into this file:

#!/bin/sh systemctl --user restart xdg-desktop-portal Right-click -> Properties -> Permissions -> Check "Is Executable"

Restart desktop mode

This script will basically just run the restart-command whenever you enter desktop-mode

I think KDE-Plasma already fixed this in 5.24, but steam os is still stuck on an older version "

and how to revert back to original state? just in case somehow this already fixed in future updates..

@juk0de
Copy link
Author

juk0de commented Oct 27, 2022

and how to revert back to original state? just in case somehow this already fixed in future updates..

By deleting the restartportal.sh script.

@strycore
Copy link
Member

strycore commented Jun 7, 2023

This is now fixed in the current SteamOS release

@strycore strycore closed this as completed Jun 7, 2023
@lutris lutris locked as resolved and limited conversation to collaborators Feb 27, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants