Config does not persist in flatpaks if .config/cosmic folder does not exist · Issue #1111 · pop-os/libcosmic

With c2b7d78 flatpak support was added to cosmic_config. However the way it is implemented now does not work if XDG_CONFIG_HOME is not set on the host and .config/cosmic does not exist on the host....

GitHub

I published my first app on Flathub. With it you can download songs from Youtube and tag them with metadata. It is written using #libcosmic in #rust. Check it out if it sounds interesting:

https://flathub.org/en/apps/net.fhannenheim.musicfetch

Install Musicfetch on Linux | Flathub

Download songs and tag them

Ok well, that's interesting... libcosmic runs on Windows as well, I did not expect that to just work.

So it seems Iced with libcosmic is the most advanced UI framework available for cross-platform use on Rust. It even has a nice method of testing if your declared interactions do the right thing to the application state :)

I really hoped for slint to work but they are missing some basics (like a rich text enabled text editor widget, which is not on their roadmap as they seem to concentrate on embedded UI currently), but I love the live UI preview they have and that you can defer rendering to Qt so it conforms to the configured KDE theme.

#rust #libcosmic #desktop #development

Does anyone know if #libcosmic is going to update it's base on #iced to 0.14 sometime? Those devtools in the latest release of iced would be a huge help in developing apps. #rust
Well, this is Yall for the Cosmic Desktop. Though in theory it should run on everything because it's using #rust, #iced, and #libcosmic. I am having trouble with Image uploads to Nostr, having issue getting an Imgur App ID. But this posts to #Bluesky, #Mastodon, #MicroBlog, and #Nostr.

#introduction #introducción

Hola!

Estoy estudiando la ingeniería computacional en Los Estados Unidos en el Pennsylvania State University.

Me encanta #Linux y #Rust. También me interesa el programación de graficas.

Ahorita estoy trabajando en un reproductor de musica escrito en Rust con el crate #libcosmic para el escritorio de #COSMIC.

@soller hey Jeremy, love what you are doing with the cosmic desktop.

Do you have some plans for a browser to be delivered with #popos / #cosmic?

A suggestion if you get bored: you could make a simple UI wrapper using #libcosmic (or #iced) for #servo. Would fit well with #rust goals...

The move to gstreamer as the backend for Jams is finally done! It's gone from being able to play 70% percent of my local music library to 100%.

Now I can get back into developing cool features and building out the GUI. I'm doing this for fun, so progress is very much dictated by how much fun I'm having and how many real life obligations are happening at a given time.

To my new followers: I've been working on a bespoke local music player/organizer written with #rust and #libcosmic. There are lots of great Linux players already, but I'm making this one because:

- I wanted an excuse to get better with rust.
- I'm really looking forward to COSMIC DE and wanted something that fit it visually.
- I'm very opinionated about how music players should work, so what better way to get something that matches my taste than to roll my own.
- It's Linux! You can never have too many choices.

PSA to #rustlang and #linux developers: there is a long-standing bug in the system allocator (glibc malloc) which causes it to hoard large sbrk buffers in arenas. By default, it uses heuristics to dynamically increase the mmap threshold—the point where it switches from using sbrk to mmap. In some scenarios, these larger buffers are never trimmed, causing a memory "leak". Some #libcosmic apps were affected, causing as much as 10-30x memory usage. To fix, see the PR below:

https://github.com/pop-os/cosmic-bg/pull/73

fix: set M_MMAP_THRESHOLD to prevent memory fragmentation by mmstick · Pull Request #73 · pop-os/cosmic-bg

I read some articles about how a default behavior of glibc malloc causes some applications to consume large amounts of RAM until reaching OOM. There's a tunable parameter called M_MMAP_THRESHOL...

GitHub

Quick Web Apps now have new layout of app editor, imho using this `section` widget from settings is better approach. I like it :D

#cosmic #cosmicdesktop #libcosmic #iced #rust #linux