Community Packages

Please read this before reporting a bug:

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!

FS#78439 - [steam-native-runtime] desktop (launcher) file "Actions" use steam runtime (/usr/bin/steam)

Attached to Project: Community Packages
Opened by AJ Dunevent (ajdunevent) - Sunday, 07 May 2023, 17:58 GMT
Last edited by Toolybird (Toolybird) - Sunday, 07 May 2023, 21:30 GMT
Task Type Bug Report
Category Packages: Multilib
Status Assigned
Assigned To Maxime Gauduin (Alucryd)
Levente Polyak (anthraxx)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No


File /usr/share/applications/steam-native.desktop should use /usr/bin/steam-native in exec lines for Desktop Actions (Store;Community;Library;Servers;Screenshots;News;Settings;BigPicture;Friends;) otherwise steam-runtime is used which is unexpected behavior when selecting a Desktop Action from the Steam (Native) launcher.
I'm attaching "steam-native.desktop" with the change implemented.

As a bonus, I propose using a the name "Steam" instead of "Steam (Native)" for the launcher and including a Desktop Action to launch steam-runtime instead of steam-native. This allows users to hide the "Steam (Runtime)" launcher if desired and keep their launcher menu cleaner. This is a matter of preference, however, and may be out of the scope the steam-native-runtime package.
I'm attaching "steam-native (with runtime action).desktop" as an example.

Additional info:
* package version:
* /usr/share/applications/steam-native.desktop

Steps to reproduce:
Launch any of the actions from the "Steam (Native)" launcher and steam (=steam-runtime) is used instead.
This task depends upon

Comment by Mark Wagie (yochananmarqos) - Sunday, 07 May 2023, 20:03 GMT
For the first suggestion, this can be added to the prepare function to accomplish it:

sed -i 's|steam steam|/usr/bin/steam-native steam|g' "${pkgname%-runtime}.desktop"

As far as the bonus, I believe it is out of scope as there are two shortcuts purposely.
Comment by Toolybird (Toolybird) - Sunday, 07 May 2023, 21:29 GMT
Related FS#63218