Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

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!
Tasklist

FS#61789 - [steam] Do not create native shortcut by default

Attached to Project: Community Packages
Opened by Alexandr Oleynikov (citrusalex) - Sunday, 17 February 2019, 03:35 GMT
Last edited by Levente Polyak (anthraxx) - Wednesday, 21 August 2019, 22:10 GMT
Task Type Bug Report
Category Packages: Multilib
Status Closed
Assigned To Levente Polyak (anthraxx)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

I personally don't think native shortcut should be shipped with the steam package by default.
Native runtime will only work if you have steam-native-runtime installed and if that's the case, why not ship the native shortcut with that package instead?
Besides, current approach kind of goes against Arch's principle of simplicity, as native runtime is a very niche and optional thing that breaks quite a lot of games and something that Arch came up with and not Valve.
This task depends upon

Closed by  Levente Polyak (anthraxx)
Wednesday, 21 August 2019, 22:10 GMT
Reason for closing:  Implemented
Additional comments about closing:  script moved to native package in 1.0.0.61-3 just because its cleaner to have there.
The "issue" you are facing is still to be solved via mimeapps.list as thats the XDG facade to define your preferred default
Comment by Alexandr Oleynikov (citrusalex) - Sunday, 17 February 2019, 03:39 GMT
Should note that https://bugs.archlinux.org/task/52407?project=5&string=steam is kind of related but I don't think they describe the same issue.
Comment by Henrique Lechner (hlechner) - Tuesday, 02 July 2019, 02:56 GMT
Another reason to not include the steam-native.desktop file: by using the steam browser protocol steam:// ( https://developer.valvesoftware.com/wiki/Steam_browser_protocol ) it always launch the native one, I don't have the steam native working so it show the error message and closes.

Step to reproduce:
- Open your browser (tested with chromium)
- Launch the following address through xdg-open: steam://nav/games

It launches the steam native (configured by steam-native.desktop) instead of the runtime one.

This browser protocol is also used by the GameHub software: https://github.com/tkashkin/GameHub/issues/206#issuecomment-502373809

As workaround I replaced the steam-native.desktop file with a steam-runtime.desktop copy and I added a chroot +i to prevent new steam package updates to breaking it again.

Should I raise a new issue or keep just on this one?
Comment by Levente Polyak (anthraxx) - Tuesday, 02 July 2019, 07:51 GMT
Except that your problem is a non-issue related to this and a very bad approach solving your problem. there is a facade to define mime type priority, otherwise how would you specify your preferred applications at all if they provide the same type handler, like f.e. an editor?

https://wiki.archlinux.org/index.php/XDG_MIME_Applications#mimeapps.list

Loading...