"Add to Steam" shortcut not functional on bazzite desktop with KDE

It seems like the context menu entry is present, but the script that drives the functionality is missing:
No description
17 Replies
Kyle Gospo
Kyle Gospo10mo ago
desktop image?
DevilFish303
DevilFish303OP10mo ago
yes, the desktop image does this output help?
~ $ rpm-ostree status
State: idle
Deployments:
ostree-unverified-image:docker://ghcr.io/ublue-os/bazzite:latest
Digest: sha256:32d95cb4840b2370eab09ce47ba2ff448b012f54f5f1e14d18c7e86282c85191
Version: 39.20240302.0 (2024-03-03T02:12:46Z)
LayeredPackages: edk2-ovmf gparted qemu sunshine virt-manager zsh
Initramfs: '"-I /etc/crypttab /etc/modprobe.d/amdgpu.conf"'

ostree-unverified-image:docker://ghcr.io/ublue-os/bazzite:latest
Digest: sha256:46356ab2853067d96def9f5d66dbfe48d4dcfec8bad670fc3cd022e68a930764
Version: 39.20240301.0 (2024-03-02T00:19:57Z)
LayeredPackages: edk2-ovmf gparted qemu sunshine virt-manager zsh
Initramfs: '"-I /etc/crypttab /etc/modprobe.d/amdgpu.conf"'
~ $ rpm-ostree status
State: idle
Deployments:
ostree-unverified-image:docker://ghcr.io/ublue-os/bazzite:latest
Digest: sha256:32d95cb4840b2370eab09ce47ba2ff448b012f54f5f1e14d18c7e86282c85191
Version: 39.20240302.0 (2024-03-03T02:12:46Z)
LayeredPackages: edk2-ovmf gparted qemu sunshine virt-manager zsh
Initramfs: '"-I /etc/crypttab /etc/modprobe.d/amdgpu.conf"'

ostree-unverified-image:docker://ghcr.io/ublue-os/bazzite:latest
Digest: sha256:46356ab2853067d96def9f5d66dbfe48d4dcfec8bad670fc3cd022e68a930764
Version: 39.20240301.0 (2024-03-02T00:19:57Z)
LayeredPackages: edk2-ovmf gparted qemu sunshine virt-manager zsh
Initramfs: '"-I /etc/crypttab /etc/modprobe.d/amdgpu.conf"'
Kyle Gospo
Kyle Gospo10mo ago
fixed next build
DevilFish303
DevilFish303OP10mo ago
sounds good! btw i found a discrepancy between steamos-add-to-steam bazzite version vs OG steamos version. It looks like they no longer use steam steam://addnonsteamgame/(filepath) instead they use xdg-open in place of steam, so xdg-open steam://addnonsteamgame/(filepath) i tried manually using steam steam://... in CLI and it does not work, i think valve has since updated their script with just that one line
HikariKnight
HikariKnight10mo ago
xdg-open is just more correct in case the handler for steam:// is changed. using steam just hardcoding it to only let steam do the steam:// protocol. no idea why it wont work for you in the terminal though 🤔
DevilFish303
DevilFish303OP10mo ago
i see, ill wait for the new build and see if that fixes my problem, maybe im not using it correctly
~ $ steam steam://addnonsteamgame/var/lib/flatpak/app/org.mozilla.firefox/current/active/export/share/applications/org.mozilla.firefox.desktop
steam.sh[31883]: Running Steam on fedora 39 64-bit
steam.sh[31883]: STEAM_RUNTIME is enabled automatically
setup.sh[31952]: Steam runtime environment up-to-date!
steam.sh[31883]: Steam client's requirements are satisfied
tid(31994) burning pthread_key_t == 0 so we never use it
~ $ steam steam://addnonsteamgame/var/lib/flatpak/app/org.mozilla.firefox/current/active/export/share/applications/org.mozilla.firefox.desktop
steam.sh[31883]: Running Steam on fedora 39 64-bit
steam.sh[31883]: STEAM_RUNTIME is enabled automatically
setup.sh[31952]: Steam runtime environment up-to-date!
steam.sh[31883]: Steam client's requirements are satisfied
tid(31994) burning pthread_key_t == 0 so we never use it
is ineffective it seems, steam is already running when i execute this
antheas
antheas10mo ago
That's the correct output
DevilFish303
DevilFish303OP10mo ago
@antheas despite this output, no shortcut gets added, not even with xdg-open, the only thing that works is using "Add to steam" context menu entry in OG SteamOS for me, will wait for the new build to retest.
antheas
antheas10mo ago
I did it and it always worked for me The shortcut may be a bit hidden but it works
DevilFish303
DevilFish303OP10mo ago
not sure how you're using it in CLI, its completely broken for me. You mentioned its the correct output, but what about the input, is this correct? steam steam://addnonsteamgame/var/lib/flatpak/app/org.mozilla.firefox/current/active/export/share/applications/org.mozilla.firefox.desktop this is on both my bazzite desktop image, and on OG SteamOS, both steam and xdg-open from the CLI, it doesn't work for me
antheas
antheas10mo ago
no needs to be escaped
DevilFish303
DevilFish303OP10mo ago
so like steam://addnonsteamgame\/path\/to\/game ?
antheas
antheas10mo ago
no url encoded like is done in the script
DevilFish303
DevilFish303OP10mo ago
not sure what you mean then, i don't see any characters that need to be escaped
antheas
antheas10mo ago
look at the script
DevilFish303
DevilFish303OP10mo ago
ah gotcha, alright that makes sense why it wasn't working then
~ $ python3 -c "import urllib.parse;print(urllib.parse.quote(\"/path/to/something\", safe=''))"
%2Fpath%2Fto%2Fsomething
~ $ python3 -c "import urllib.parse;print(urllib.parse.quote(\"/path/to/something\", safe=''))"
%2Fpath%2Fto%2Fsomething
Want results from more Discord servers?
Add your server