-
Notifications
You must be signed in to change notification settings - Fork 208
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: repackage deb to skip xterm dependency #2555
Conversation
also, this should not be necessary in the first place. it is a debian (or really piOS since they are the DE curator) bug that lxterminal has such a low priority debian/ubuntu postinst for
debian/ubuntu
that is a bug. in no case should lxterminal not have a higher priority than lxterm/xterm. |
After your reply on the discord this was my first thought. The full steam package archive is here: https://repo.steampowered.com/steam/archive/stable/ |
unfortunately that can't be done. steam, as you know, updates its non-root owned files on its own (the ones in the users home directory). that is where the main install lives and you can't downgrade it. the steam deb only provides some launcher scripts and that ubuntu minimal bootstrap tarfile (some binaries that steam depends on) |
Possible bugfix advantages aside, as long as pi-apps keeps the deb updated relatively quickly, should all be fine? |
I just don't see this as a good idea and it leads to just one more point of failure. I think you are looking at the wrong place to fix the issue. This is an issue upstream in two places. First: steam should remove its dependence on xterm and use a generic x-terminal-emulator. The steam startup script requires it. So we actually should not remove it.
Second: piOS (and possibly debian itself) should change the priority of lxterminal to be higher. |
no need to use /usr/local/bin and force a reboot. Edits steam files in-place and disables the apt repo.
Try to look at my latest commit with an open mind. This seems actually much simpler and avoids the need for a reboot as we are editing files in-place.
Right now the default |
The only other place I see xterm mentioned is in
To me it looks like in all cases except the one where zenity fails to launch, steam will function flawlessly on a system with only x-terminal-emulator installed. So now we could ask nicely and wait for Steam or PiOS to fix it, but that is only a good choice in a perfect world. Pi-Apps has no place in a perfect world. Its whole purpose is to make apps available on a platform that apps' devs did not bother to support properly. |
please notify upstream and attempt to have the problems fixed. downstream workarounds only cause more issues in the long run.
A reboot is only necessary in the case when there are no existing
I don't think this is the only case where xterm is hardcoded. I see another in Also, regarding e7b8e36 , rewriting the steam deb is not necessary to take over One thing that you are failing to take account as well is the users that install something and then do not (or rarely) update from pi-apps. They expect that things continue to function without interation and "not updating" just means they will not get new features or fixes. If pi-apps takes over updating the steam debian managed files then for these users it will break unexpectedly. |
There is a difference between notifying upstream, waiting for a response, and if the response is not satisfactory then implementing something yourself and implementing something yourself immediately. Issues like this go unnoticed and unfixed because they are never reported. |
If upstream is unwilling to implement a proper fix promptly, I think the issue would be best resolved by solving the root issue which is the priority of lxterminal. Simply detect the current users DE and if LXDE/piOS-wayfire then add a priority for lxterminal at a more sensible higher priority. If lxterminal gets a package update that will be overwritten but I think its OK since lxterminal has literally not had a package update in years |
As explained, I don't forsee any bugfix advantages. We cannot control the |
Good point. But could the same logic be applied to apt upgrades?
I would imagine that users would either do both, or neither one. |
Requesting feedback about if this is a good idea.
It seems less hacky than detecting the preferred terminal beforehand and then changing it back to whatever the default was before. This way Steam does not pull in xterm at all.
Steam self-updates but I am fairly sure it does not reinstall its own deb, so this should be fine long-term unless I am missing something.