linux

This magazine is from a federated server and may be incomplete. Browse more on the original instance.

onlinepersona, in Why more PC gaming handhelds should ditch Windows for SteamOS

Year of the linux handheld then?

CC BY-NC-SA 4.0

AnnaFrankfurter, (edited )

Thank you for making your comment licensed under creative common. I’ll now steal it, repackage it and sell for 9.99$ without even acknowledging your existence

oce,
@oce@jlai.lu avatar

But at least you know you’re a bad boy and Santa will know too.

Abnorc,

Oh my God! Someone call the police!

Truck_kun,

But… it’s a Non-commercial Attribution license. /s/ns

I’m joking, but on a more serious note for those that don’t know, not all Creative Commons licenses allow you to monetize, and be sure to actually read which version of license is used if you plan to use a CC work for anything other than personal use.

java,

But will you train an LLM with it??

qaz,

Why did you license your comment?

dan,
@dan@upvote.au avatar

My comment is licensed under GPL. If you look at it when you reply, it means your reply is a derivative work and must retain the license. Have fun.

onlinepersona,

AI

Womble,

I don’t think linking to a licence that increases the rights of third parties to do things with your words (over the default all rights reserved) will do very much for you there.

onlinepersona,

Nobody knows yet 🤷 I’ll do it anyway

CC BY-NC-SA 4.0

Womble,

I think you’re missing my point. You are giving people more rights to use your comments by putting them under CC licence than not putting them under any.

onlinepersona,

I think you’re missing the point. It’s a non-commercial license. Non-commercial AI is completely fine by me. Commercial is not.

Womble,

No, how was I supposed to infer that you were fine with non-commercial AI from your two letter response to why you were licencing your comment?

I think its fairly naive to think that linking to a licence will do anything to stop commercial AI but not open ones, but you go for it if you think it’s worthwhile.

onlinepersona,

Thanks. I care very much what you think.

CC BY-NC-SA 4.0

0x69,

Christ your comment is the funniest thing I’ve read in a while. Thank you for the laugh

Abnorc,

He doesn’t want to let us use his comment for commercial purposes, which is a shame. I don’t know how I’m going to pay for dinner now.

PlantObserver, (edited )

You joke but when “media” outlets boldly steal 90% of their content directly from reddit posts and comments without attribution for commercial use, maybe including a license isnt crazy anymore?

Abnorc,

It’s a bit out there, but I see why he does it. It is a shame that the media has sunk to such lows.

GadgeteerZA, in What's your current favorite distro that isn't Arch, Debian or Fedora?
@GadgeteerZA@beehaw.org avatar

Manjaro KDE for me - it’s not Arch per se, otherwise Ubuntu would also be eliminated for being a derivative of Debian…

gbin, in Random application segfaults on Arch

The crashes are in the middle of browsers (both Firefox and chrome embedded in Spotify), if you try a simple mprime stress test (from the AUR mprime-bin) does it crash too?

cbarrick,

Yeah, this sounds somewhat like unstable hardware.

Definitely start with a stress test or memory test.

MrPoopyButthole, in Docker team is considering distributing Docker Desktop as a Flatpak and Snap
@MrPoopyButthole@lemmy.world avatar

Docker desktop is so garbage. Why build a client that doesn’t support connections to a remote host by default? It’s so 90s.

PoliticalAgitator, (edited )

That was my initial reaction too. “Have they considered shipping it as not-dogshit?”

governorkeagan, in COSMIC: The Road to Alpha

I’m really excited to test the Alpha, it’s looking really good so far!

theshatterstone54, in COSMIC: The Road to Alpha

I’ve been following the work on COSMIC (though not super actively) and I keep on saying that I like what I’m seeing because, well, I do! The idea of a tiling DE is a very exciting one and COSMIC really has the potential to become a Major Linux DE.

nekusoul,
@nekusoul@lemmy.nekusoul.de avatar

I particularly like that, just like their current Gnome extension, it supports both tiling and floating, with a quick toggle between them.

This’ll be a pretty interesting year for people interested in DEs.

leo85811nardo,

As a regular i3 user, I was very satisfied on how tiling was implemented into the Pop shell of Gnome. After a few keybind change here and there it almost felt like home maneuvering the windows and workspaces. One minor complain is glitches happen when external monitor is connected/disconnected on the fly (laptop usecase), in which case windows are disoriented and thrown around at random unexpected places instead of staying at where they were. I’m blaming Gnome on that one however, since I’m assuming it is related on how Gnome handle multiple screens and Pop shell act on top of it, so I’m expecting it to be fixed in Cosmic DE

marlowe221,

Yeah, I’m a Pop user and like what they do with Gnome now. I can’t wait to see what it’s like when the desktop isn’t limited by the Gnome extension system.

onlinepersona,

I’m just happy there’s a rust DE being written in slint. KDE is nice and all, but it’s all C++. No way am I touching that trainwreck of a language again.

CC BY-NC-SA 4.0

mmstick,
@mmstick@lemmy.world avatar

COSMIC is being written in libcosmic, which is based on iced.

onlinepersona,

I’m confused. Slint says it’s working with System76?

A great start to the week - @pop_os_official will collaborate with us to offer Slint as an alternative toolkit for application development on Cosmic Desktop.

mmstick, (edited )
@mmstick@lemmy.world avatar

The keyword is alternative. All first party applications are written natively with our libcosmic toolkit, which is based on iced-rs. We are using a fork of iced though because we needed to implement a custom runtime with the sctk (smithay client toolkit) for COSMIC applet development, but our desktop applications will use the original winit runtime.

lemming741, in Random application segfaults on Arch

I had a 3700x that was doing that sort of thing. It seemed mostly random, but moving big files would crash it pretty often. It ran memtest86 for 3 days no problem. I replaced part by part, and it ended up being the CPU. I’d bought it second hand so it may have been abused.

avidamoeba, in COSMIC: The Road to Alpha
@avidamoeba@lemmy.ca avatar

It doesn’t use GTK does it?

mmstick, (edited )
@mmstick@lemmy.world avatar

No, we have been making our own platform toolkit (libcosmic), which is built upon iced-rs. We are using this both for our wayland compositor applets, and our desktop applications.

ExLisper,

iced? Interesting. I though it’s still pretty experimental. There’s no official documentation yet, right? When I was looking at Rust UI libraries Yew and Leptos looked more mature. I guess you’re confident iced have enough backing and isn’t going anywhere.

How do you find working in Rust on a bigger UI project? Any issues?

mmstick,
@mmstick@lemmy.world avatar

Iced is a lower level GUI library, similar to what GDK is to GTK. We built our own COSMIC-themed GUI toolkit around iced, which is called libcosmic. As we’ve gotten more and more widgets and application logic developed, actual application development with libcosmic is a breeze. Even if you do have to create a custom widget, it’s much easier to creating custom widgets in GTK. We’re able to develop much faster than we ever could with GTK now.

Yew and Leptos aren’t comparable since they’re not native GUI toolkits. These are for web developers rather than application development. It wouldn’t be possible to use this for developing layer shell applets for COSMIC, either.

avidamoeba, (edited )
@avidamoeba@lemmy.ca avatar

Why develop libcosmic around iced instead of going with something else modern that’s easy to develop in such as Flutter? Iced/libcosmic is probably a bit more efficient resource-wise but that probably wasn’t a huge point.

mmstick, (edited )
@mmstick@lemmy.world avatar

That would compromise our vision of a GUI platform built from the ground up in Rust. It would also not be feasible to use Flutter for applet development. We can easily make modifications directly to iced for all the Wayland integrations that we need in COSMIC, as the iced code base is very lean, and written in Rust.

avidamoeba, (edited )
@avidamoeba@lemmy.ca avatar

Got it. So being written in Rust is one of the requirements. Makes sense. Flutter is great for self-contained applications but we can definitely use another sane native toolkit besides Qt that has wider applicability.

Blisterexe,

Btw, is this the only reason that cosmic isn’t gtk, or are there other reasons? Because afiak gtk uses/can use rust.

mmstick, (edited )
@mmstick@lemmy.world avatar

The GTK4 project was cancelled for multiple reasons. We originally began working on Relm4 to use GTK4 for COSMIC applets. While others on the team were also experimenting with alternative Rust GUI libraries.

It required a lot of effort to patch GTK4 to support the Wayland layer shell protocol. Getting those patches merged into GTK4 was also taking a much longer time. There were long delays between code reviews; and they also wanted a series of much larger refactoring changes to be made to GTK4 before exposing the layer shell feature. It was much easier to get layer-shell working with iced, as it is a much leaner and concise code base.

GTK does not support fractional scaling, which is something we want our applets to support on day one. This was one of our major concerns. A concern that didn’t apply to iced.

It was also exceedingly difficult to create custom widgets with GTK in Rust. Even those of us with years of experience considered it to be unreasonably difficult. So it was not feasible to expect new hires on the team to be able to comfortably develop COSMIC components with it. In comparison, our team was able to develop custom widgets with iced with much less effort and with greater flexibility, so the demand for iced grew stronger.

At the end of the day, GTK is not a Rust toolkit, and its API is cumbersome to adapt to Rust. Use of GTK would always be a compromise that lessens the developer experience for COSMIC app and applet development. A compromise that would eventually require us to rewrite everything in a native Rust GUI library the moment it would become possible to do so.

Since we are developing a desktop environment from the ground up anyway, we decided that there would be much more value for our time if we contribute to the Rust ecosystem and utilize iced to make a fully featured GUI library for application development.

Blisterexe, (edited )

Makes sense, thank you for the detailed answer! By the way, I saw that gtk apps will be automatically themed, is that only gtk3 or also gtk4? Edit: typo

mmstick,
@mmstick@lemmy.world avatar

We will be adding integrations to our theme engine to automatically generate themes for GTK3, GTK4, and libadwaita.

Blisterexe,

Great! Cant wait to try out cosmic, thank you for all the great work you guys have been doing!

ExLisper,

This sounds really cool. I don’t see any documentation for libcosmic. Are you planning to promote it as an alternative toolkit for building desktop apps or do you see it more as an internal tool strictly for COSMIC DE development?

mmstick,
@mmstick@lemmy.world avatar

As of today, pop-os.github.io/libcosmic/cosmic/ is now available.

devfuuu,

What’s the accessibility story for blind users for example?

Is it going to be suitable to use with proper bindings with other languages or it’s not an interest at this time or are there plans to support things like that and stability of apis, etc?

mmstick,
@mmstick@lemmy.world avatar

We are integrating AccessKit into libcosmic for accessibility support.

If you want to develop applets and/or applications with libcosmic, you must do so with Rust. There are no plans to develop C bindings for libcosmic.

mmstick, (edited )
@mmstick@lemmy.world avatar

You can generate documentation by running cargo doc and browsing the generated web pages in target/doc. There are also examples in the examples directory of libcosmic, as well as a design demo example which is a WIP.

libcosmic is an alternative toolkit for building desktop applications and layer shell applets. It wouldn’t make much sense to build a toolkit only for ourselves. It’s the best way to develop layer shell applets for COSMIC, and other Wayland compositors that support the layer shell protocol.

avidamoeba, (edited )
@avidamoeba@lemmy.ca avatar

Beautiful, so there’s a good chance for it to not be a hot mess! Looking forward to it. 😊

1stTime4MeInMCU, in COSMIC: The Road to Alpha

Tldr: New desktop environment designed for PopOS (but usable elsewhere)

Grass, in What's your current favorite distro that isn't Arch, Debian or Fedora?

Ublue although it’s kinda still fedora, otherwise alpine even though I don’t really use it.

WarmSoda, (edited ) in Why more PC gaming handhelds should ditch Windows for SteamOS

How many actual PC handhelds are there?
The link in the article that promises “plenty” of handheld examples talks about Steam deck, Asus, and… the switch. And that’s it. And obviously the switch is not a PC handheld, so… ?

n2burns,
WarmSoda,

Such as?

wren,
@wren@sopuli.xyz avatar

There’s quite a few. Steam deck and Asus, as you mentioned, but there’s also AyaNeo, GPD, OneXPlayer, Aokzoe, Lenovo, etc. And many of these brands have several different models, if you’re counting individual products.

WarmSoda,

Ah thanks.
How many of those do people actually use though?

aniki,

Valve was essentially LATE to the handheld market, they just had the technical and company will to do it the best.

WarmSoda, (edited )

I hear that.

But how many people actually use all of those other brands listed?

It’s ok to just say “no one” without downvoting.

All I’m hearing is crickets

wren,
@wren@sopuli.xyz avatar

Anecdotally, I have an Aya Neo. I know a few people with a few of the others brands. There’s a decently sized Aya Neo Discord that I’m part of, and I would assume the other brands have something similar. There’s definitely use of non-Steam handhelds, or there wouldn’t be a growing market for them.

WarmSoda,

Do you have a steam deck too?

wren,
@wren@sopuli.xyz avatar

I do not

WarmSoda,

How’s the Aya? Does it dock with the TV/monitor?

wren,
@wren@sopuli.xyz avatar

I personally love it, and yes it can with a dock similar to the Switch’s. It’s ran every game I’ve thrown at it, and I’ve an original 2021 version. There’s a few quirks, like the joysticks will sometimes just decide to not do a random direction, but recalibrating is easy. Obviously the resolution quality isn’t as stellar as if you were running a pc meant output to a monitor, but on the built in screen everything is crispy. It’s decently heavy though, so my baby wrists get tired after a while. But yeah it’s great, playing whatever wherever is pretty ace.

Woovie,

Ah yes lemme whip out my magical sales numbers ball and let you know

Secret300,

It helps they actually made their own OS to make it easier for people to get into. Windows really doesn’t work on those small screens

aniki, (edited )

Not sure what you mean – they all run Linux. The images just have the video hardware configs baked in with a preconfigured user and start script. You would be amazed at how easy that is to do, all things considered. I have a few kiosk configurations I created for the two Home Assistant panels I have in my house.

wiki.clockworkpi.com/index.php/ClockworkOS

Atemu,
@Atemu@lemmy.ml avatar

And, most importantly, money bags to subsidise the hell out of it. Let’s not kid ourselves here, the damn low price is one of the main reasons why people buy the SD rather than the ~2x more expensive alternatives.

TheOakTree,

MSI just announced their handheld PC too, it has an Intel (Meteor Lake) CPU with Arc graphics.

wren,
@wren@sopuli.xyz avatar

Oh, good shout! That one looks 👌🏻👌🏻👌🏻

Breve, in What's your current favorite distro that isn't Arch, Debian or Fedora?

I’ve become a fan of KDE Neon. It’s based on Ubuntu LTS but with the the most up-to-date KDE release.

vzq, in Random application segfaults on Arch

Can you enable core dumps and get stack traces? From there you should be able to figure out which shared library is broken.

NoisyFlake,

Uhm, isn’t that what can be found at the end of the journalctl log I posted? Or are you talking about something different?

HobbitFoot, in Why more PC gaming handhelds should ditch Windows for SteamOS

I wouldn’t ditch Windows entirely, but I could see the business case of making sure your game can run on SteamOS.

avidamoeba, (edited ) in Random application segfaults on Arch
@avidamoeba@lemmy.ca avatar

Could be a defective library that’s used by many apps. Glibc, etc. That said, if something like this is that broken, others should be complaining about it too.

gbin,

One crash was in libxul and the other in libcef I doubt this is a specific lib

  • All
  • Subscribed
  • Moderated
  • Favorites
  • linux@lemmy.ml
  • localhost
  • All magazines
  • Loading…
    Loading the web debug toolbar…
    Attempt #

    Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 24304376 bytes) in /var/www/kbin/kbin/vendor/symfony/http-kernel/Profiler/FileProfilerStorage.php on line 174

    Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 6307840 bytes) in /var/www/kbin/kbin/vendor/symfony/error-handler/Resources/views/logs.html.php on line 38