looking at your code, i fear that classic will be rejected for this … see (particulary the second point in the “Unsupported” list):
also, your snap would be distro specific and explode on all non-ubuntu distros which is a big no-no for all snaps, they have to be universal and self contained per definition …
to do what you try to do, it would for example be possible to ship all binaries inside your (classic) snap and link them into the correct places on the host, but even that might not pass the security review of the snap store since it would be very invasive …
this is stuff to better keep as a deb in a PPA or some such.
@rs2009, if you are using an Nvidia GTX 1050 then you will get much better performance using the Nvidia proprietary drivers in the ‘Additional Drivers’ app. That will also avoid the need for a Mesa PPA which would prevent users from receiving support from Canonical/Ubuntu.
Sure @ogra, I understand. I do have a question though. The ubuntu-mate-welcome snap is a classic snap which has been published in the store, but it too requires full system access (including installing APT packages). Is there any exception for such snaps, only intended for one distribution?
@vanvugt Thank you for the suggestion. I’m already using the proprietary driver, but the 1050’s a laptop variant and throttles most of the time (and I hardly get playable frame rates on it).
Sure, I’ll make it optional (added it due to a suggestion in this thread and a lot of people wanted me to add it in other communities as well)
Yeah people love Ubuntu for the ability to customise things. Just keep in mind that customised graphics packages from a PPA often cause serious bugs and break peoples’ systems. So any bug reports using them will be rejected.
It had a special exception (you can easily search for the package name in the snapcraft forum to find the “store-request” for it that has the full papertrail, this is true for every classic snap):
Also, looks like CS:GO works only in 20.04 and not in 20.10, 21.04 and 21.10 due to the required libraries having been moved in newer versions. Let me know any other tweaks you want me to make in this script.
and of course as in the other thread https://wiki.winehq.org/Ubuntu as recent Versions of Wine and Wine-Staging fix up game issues a lot faster than the versions shipped with the semi annual ubuntu releases
I’ll be streaming on Gamebuntu soon. Let me know what stuff you want me to add on this thread.
Edit: I’ve added a HUD for Gamebuntu, which can be activated by pressing Ctrl+Shift+G, assuming you’ve opened it once after booting. Here’s a screenshot of it in CS:GO -
Hello Heidi! Thanks for joining the Discourse and for suggesting this really interesting tool! That seems a lot more effective than asking people in your stream to clip something that just happened.
@rs2009 I am so excited to hear you’ll be streaming! Is this going to happen on UbuntuOnAir? And even if it doesn’t, let us know where and when it will be, and we’ll be so happy to promote it.
Sure @madhens, I’d love to stream on the UbuntuOnAir channel Was planning to stream this Friday to include the suggestions from the community during the stream.
For other Ubuntu Flavours:
Snapd might not be installed, or deliberately blocked, in that case installing snaps would fail. I see that in your shell script it does not do checking against whether the snapd package is installed. I suggest adding that check, likewise with flatpak. Then the script proceeds to install the snap/flatpak version of packages like OBS Studio. And if neither of them is on the system, let the user choose?
Anything that is going to make’s Linux easier for new users is a win in my books.
Although Ubuntu is no longer my distro of choice I thought I would drop by with a few suggestion’s.
Install custom versions of proton for steam (proton-ge and proton-tkg)
Install gamemode
Install steamtinkerlaunch as well as its recommended programs.
install popular voip/chat programs that gamers use
Add easy to follow documentation with tips and tricks on how to use these tools; eg; With steamtinkerlaunch you can install other programs into a wine prefix.