COSMIC Store Prototype

cross-posted from: lemmy.world/post/13038090

fosstodon.org/

COSMIC Store is coming along quickly, though there is still a lot left to do. It loads nearly instantly, because it uses bitcode to cache appstream data in an optimized format. It uses very little memory compared to the Pop Shop. Searches can be performed live as they are done in parallel. Searching for “e” takes 5.5 ms on my desktop and returns 4601 results.

MonkderZweite,

Hmpf, “cosmic store” only shows clotes shops.

Adding “linux” helps tho.

mmstick,
@mmstick@lemmy.world avatar

I’d search pop-os/cosmic-store. That is the GitHub namespace for it.

wiki_me,

Would be really useful to steal a few features from the steam store:

  • show ratings based on review in last X period of time (month/year etc)
  • show the highest upvoted reviews from that period (sort by usefulness)
  • filter by how many hours they used the software (opt in of course).
Jegahan,

I just realized that I haven’t read any infos about the package manager that Cosmic is going to use. Is it going to be build on top of Ubuntu like Pop!OS and use apt? Are the apps going to be served by the package manager or as Flatpaks? If the later, it could be interesting to public them on the Flathub Beta remote when they reach that stage.

Tau,

Probably just PackageKit

maniacalmanicmania,
@maniacalmanicmania@aussie.zone avatar

I heard they gonna throw a curveball and use Portage and it’s new binary repo /s.

Jegahan,

PackageKit isn’t a package manager in the same sense as what I meant. It’s more like a one level above “front end” to be able to manage different package managers with the same program. This means that “Software Stores” that use packagekit like Gnome Software or KDE Discover will work on most Linux system with whatever package manager is used in the backend. For example on a Fedora Workstation, packagekit makes it possible to install, update and manage both rpm installed through dnf, Flatpaks and if I wanted, Snaps, while on a Debian based system it would be able to manage your apt stuff, or on Arch packages installed through pacman for example. But from what I heard this also makes it a somewhat clunky and slow piece of software that has become kind of clunky and hard to maintain over the years, so its also an interesting question whether Cosmic is going to use it.

d_k_bo,

Cosmic is a desktop environment, not a distro. So Pop!OS will keep using deb packages and something like a Fedora Cosmic Spin will use rpm packages.

mmstick,
@mmstick@lemmy.world avatar

I assume you meant Pop!_OS instead of COSMIC. Pop!_OS 24.04 will be based on Ubuntu 24.04.

Pantherina,

You can use it with dnf and rpm-ostree too already ;D

Quackdoc,
@Quackdoc@lemmy.world avatar

Not sure how long this will last, but here are some videos I took of it, try not to mind the crunch on the last one, I had to use qsv_vp9 for it since I was running out of time and space. Also don’t mind the fist video’s bad fps, I was compiling in the background and forgot.

Simultaneously installing apps: cdn.discordapp.com/attachments/…/record.mp4?ex=66…

Phone aspect ratio: cdn.discordapp.com/attachments/…/record.mp4?ex=66…

Plasma mobile on x86 tablet vs gnome software: cdn.discordapp.com/attachments/…/tablet.webm?ex=6…

Quackdoc,
@Quackdoc@lemmy.world avatar

First impressions is I’m shocked by just how fast it is, Aside from the first boot which for some reason doesn’t propagate apps and needs a reboot, it’s extremely fast, Gnome software and Discover aren’t even within the same league of responsiveness and speed. I didn’t showcase Discover since I don’t know where the cache files are to delete them.

Touchscreen for sure I wish was handled better. you can see I accidentally clicked an app in the last video instead of scrolling, but thats something that I assume will be fixed with time.

morrowind,
@morrowind@lemmy.ml avatar

wow that’s gorgeously fast. I was beginning to give up on linux app stores, but this gives me hope

Quackdoc,
@Quackdoc@lemmy.world avatar

Im very happy with how responsive its being in general. Discover and gnome’s store are actually really sluggish to use when scrolling through in low end hardware and this app is smooth as silk.

even Fdroid stores on my phone are slower.

teolan,
@teolan@lemmy.world avatar

This is not relevant to this specific post but does anyone know how if the static linking used in Rust is an issue with cosmic?

The last time I tried building a small app with Iced it was pretty bing (20MB) even though it didn’t do much. On the other hand a GTK app in rust easily fits within 5MB.

Anyway I’m thrilled to try cosmic out as soon as it reached the Arch repos.

mmstick,
@mmstick@lemmy.world avatar

Static linking is not an issue. Binaries may require more space on disk, but the benefit is that they are self-contained, portable, with excellent performance, and low memory usage. Binaries are compiled with LTO, so unused functions are stripped from the binary. What remains is highly optimized to that application’s use cases.

Pantherina,

And they can be packaged for any distro without a single problem

teolan,
@teolan@lemmy.world avatar

It looks like I was right: github.com/pop-os/cosmic-applets/pull/282

20MB for every simple application is a lot, and multical binaries won’t be an option for third party developers.

This is still worth the much better DX of using Rust though.

mmstick,
@mmstick@lemmy.world avatar

I wouldn’t rule out the possibility of a cosmic-applets-community package which bundles third party applets, or the gradual inclusion of popular applets into cosmic-applets. Given that an applet would only become popular if there’s a lot of need for those use cases, then it would make sense to open a path to getting them mainlined.

teolan,
@teolan@lemmy.world avatar

I wasn’t thinking about applets but more about full-blown libcosmic applications.

Gnome Circle bas a lot of very simple apps that do just 1 thing and weight a couple MB each at worst.

With iced such an ecosystem would be at 20MB per app, so simple " don’t 1 thing and do it right" apps would be less scalable. And I doubt you would want to have all of gnome circle as a multicall binary.

mmstick,
@mmstick@lemmy.world avatar

You might be surprised how much disk space those GNOME Circle applications actually require, despite being dynamically linked to a lot of GTK/GNOME libraries. Unless they’re written in a scripting language, they’re much closer to a COSMIC application than you think.

I don’t see the issue with an application having a static binary within the realm of 15-25 MB. Even if you had 100 applications installed, that’s only 2 GB of disk usage.

helenslunch,

Me gusta. Right now I would take anything with a GUI that’s not Gnome since it doesn’t work at all.

T4V0,
@T4V0@lemmy.world avatar

You should edit that to say Gnome Software (aka Gnome App Store) instead of just Gnome. People are going to think you’re talking about the whole DE.

helenslunch,

Context

richardisaguy,
@richardisaguy@lemmy.world avatar

KDE?

helenslunch,

What about it

leopold,

it is one of many non-GNOME GUIs

helenslunch,

Not looking for another DE, just a package manager. But thank you.

leopold,

Well, if to you “GNOME” means “GNOME Software”, then surely “KDE” can mean “KDE Discover”.

helenslunch,

Well, if to you “GNOME” means “GNOME Software”

It doesn’t. It’s called context.

null,

So why did you mention Gnome? It’s also not a package manager

helenslunch,

Because Gnome Software is.

BaroqueInMind,

Gnome Software is just a front end for PackageKit

helenslunch,

Great?

possiblylinux127,

What are you asking?

helenslunch,

I didn’t ask anything.

null,

Great?

helenslunch,

No, definitely not

null,

Okay?

helenslunch,

Cool?

null,

And?

helenslunch,

So?

null,

Alright?

fushuan, (edited )

Is it a real package manager or a reskin of aptitude?

null,

It’s a DE

fushuan, (edited )

Neither cosmic store nor gnome store is a DE. That’s the question I was asking. If the mentioned store was a package manager or a high level GUI for an existing package manager.

I’m honecsltly curious since as far as I knew, gnome should interact with existing package managers, be it aptitude, pacman or yum

null,

He didn’t say “Gnome software”, he said “Gnome” which is a DE.

fushuan,

You are completely right, I guess my mind blanked. Sorry, my app doesn’t show enough context chain comments for responses and I had to look up the comment separately to make sense of the chain.

clmbmb,

how about the old apt-get update && apt-get upgrade || apt-get install shit? or maybe you’re more into dnf install shit || dnf update --refresh?

helenslunch, (edited )

Well that works but the idea of a package manager is that I don’t have to do that.

Also I have to do that for each independent repository.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • linux@lemmy.ml
  • DreamBathrooms
  • magazineikmin
  • Youngstown
  • thenastyranch
  • rosin
  • slotface
  • vwfavf
  • ngwrru68w68
  • PowerRangers
  • kavyap
  • ethstaker
  • tsrsr
  • mdbf
  • everett
  • anitta
  • khanakhh
  • Durango
  • cubers
  • osvaldo12
  • InstantRegret
  • tacticalgear
  • tester
  • GTA5RPClips
  • cisconetworking
  • normalnudes
  • Leos
  • modclub
  • provamag3
  • All magazines