linux

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

nyan, in Package format wars daydream

Linux mostly follows POSIX standards, even though it’s never been certified as compliant, so much code targeting POSIX systems runs on Linux too. In other words, it didn’t establish any standards so much as adopt one that already existed.

There is no POSIX standard for package managers, however.

ransomwarelettuce,

Yeah that’s my daydream, imagine if there was one from the start.

beta_tester, in Fedora or Mint for noob?

Even if Mint (Cinnamon) doesn’t look as good as GNOME, you can always install another desktop environment.

I’d recommend fedora silverblue. You’ll install all graphical packages via a Software store and you won’t brick your system. Even if, you may just recover an old state. I installed media codecs via the software store, not command line.

Fedora is very beginner friendly too

palordrolap, in Ash Vs Bash

ash (and its successor dash found on other distros) is a POSIX-y shell rather than a sh clone, so it has all(? most?) of the POSIX feature set, whose syntax may indeed have been 'borrowed' from shells that came later than sh.

Not sure if there's a "parent" from which both ash and bash inherit the syntax or whether bash is the true source, but that doesn't really matter here.

All that said, it's worth checking to see if your system has a command on the PATH called [[. That has been one way that [[ support can be added to a system when the shell itself might not support it. Note that command names don't have to be alphanumeric like functions tend to be in a programming language (or other languages if you consider that the shell can be used for programming too), so [[ is perfectly valid!

danielquinn,
@danielquinn@lemmy.ca avatar

Yup, that looks like exactly what was done in Alpine:


<span style="color:#323232;">$ docker run --rm -it alpine ls -l /usr/bin/[[
</span><span style="color:#323232;">lrwxrwxrwx    1 root     root            12 Sep 28 11:18 /usr/bin/[[ -> /bin/busybox
</span>

So while the Ash itself doesn’t support the [[ extension, this work-around produces the same effect. Nifty.

jntesteves,
@jntesteves@lemmy.world avatar

Although that link exists, that’s not what is being used by default. [[ is a shell builtin in ash/busybox, so that takes precedence.

On Alpine:


<span style="color:#323232;">❯ which [[
</span><span style="color:#323232;">/usr/bin/[[
</span><span style="color:#323232;">
</span><span style="color:#323232;">❯ command -V [[
</span><span style="color:#323232;">[[ is a shell builtin
</span>
danielquinn,
@danielquinn@lemmy.ca avatar

Huh. So the link is unnecessary and Ash supports [[ out of the box? Good to know, thanks!

Spectacle8011, in Binder (Android's core IPC) Rust rewrite posted to LKML
@Spectacle8011@lemmy.comfysnug.space avatar

This is the kind of high-quality technical discussion I don’t understand a word of that rarely surfaced on reddit.

stardreamer, (edited )
@stardreamer@lemmy.blahaj.zone avatar

Having one program (process) talk to another is dangerous. Think of a stranger trying to come over to me and deliver a message. There’s no way I can guarantee that he isn’t planning to stab me as soon as he sees me.

That’s why we have special mechanisms for programs talking to other programs. Instead of having the stranger deliver the message directly to me, our mutual friend Bob (IPC Library, binder in this case) acts as an intermediary. This way at least I can’t be “directly” stabbed.

What’s preventing the stranger from convincing Bob to stab me? Not much (except for Bob’s own ethics/programming)

To work around this, we have designed programming languages (rust) that don’t work if there’s a possibility of it being corrupted (I would add “at least superficially”, but that’s not the main topic here). Bob was trained by the CIA in anti-brainwashing techniques. It’s really hard to convince Bob to stab me. That’s why it’s such a big deal. We now have a way of delivering messages between two programs that is much safer than before.

The only problem is that the CIA anti-brainwashing techniques (rust) tend to make people slow. So we deliver messages less efficiently than before. Good news is in this case we managed to make Bob almost as fast as before, so we don’t lose our own much while gaining additional security. The people who checked on Bob even made sure to have Bob do the exact same thing as before when delivering messages (using RB Trees), hence this evidence is most likely credible.

Spectacle8011,
@Spectacle8011@lemmy.comfysnug.space avatar

That’s a great explanation! Thank you, I get it now. I always did wonder what exactly IPC was about. Yay for Rust in the kernel.

Mandy, in Gamedev and linux

remember the other several occasions where developers hated actually getting feedback from these linux users cause they actually would have to fix their shit? but not many actually did

cause i remember, they only care as far as money goes

lukas,
@lukas@lemmy.haigner.me avatar

Nowadays, they close these bug reports as wontfix with the reason that Linux is only unofficially supported through Steam Proton.

JasSmith, in It either runs on Linux or refund

Or do as I do.

  1. Buy game.
  2. Never play it.

I have a problem.

Hamartiogonic,
@Hamartiogonic@sopuli.xyz avatar

Or as I do:

  1. Watch videos of Cyberpunk
  2. Think of buying it
  3. Realize I still haven’t finished Mass Effect
  4. Never actually buy Cyberpunk.

Currently I’m thinking of Baldur’s gate 3, but you know… I’ll probably get around to it in a few years.

PerogiBoi,
@PerogiBoi@lemmy.ca avatar

You’re allowed to get another game even if you haven’t finished a previous one. You’re only here for like 80ish years so why not sample all that interests you?

Ricaz,

It’s not that great tbh. I spent maybe 6 hours in it and didn’t get hooked. With BG3 however, I’m at 60 hours and I can’t put it down

poinck, in Nautilus File Manager Gets More Features Ahead of the GNOME 46 Release - 9to5Linux

This website consists only of ads, why bother sharing it?

halm,
@halm@leminal.space avatar

I see zero ads on 9to5linux, why bother going online without an adblocker?

TwinTusks,
@TwinTusks@bitforged.space avatar

See, these are the people where websites generate their revenue.

BlanK0,

Use ublock origin, it will change your life

lemmyreader,

Yes, this! uBlock Origin rocks.

Fisch, in GNOME Sees Progress On Variable Refresh Rate Setting, Adding Battery Charge Control
@Fisch@lemmy.ml avatar

I wish GNOME had DRM on Wayland, kinda annoying to always have to switch to Xorg for VR

pr06lefs, in Laptop companies: which one?

Personally I’m holding out for a laptop based on the snapdragon elite X arm chips coming out later this year. Should be great for battery life (like 28 hours) and very fast. We’ll see how the linux support turns out. And also which manufacturers pick it up - would like framework but haven’t heard anything about that from them. Lenovo already released a system based on the old snapdragon chip so seems likely they’ll release one based on the elite X too.

fleet,

I didn’t know about this specifically, but I’m holding onto my 2017 ThinkPad until I can buy an Arm laptop and run Linux on it.

MaliciousKebab, in Niri Debuts As A Scrollable -Tiling Wayland Compositor Inspired By PaperWM

Man there is a night and day difference between the comments here and on phoronix, what is their problem?

isVeryLoud,

Phoronixposting rots your brain

cerement, in Fully featured tilling window managers (like DEs) for lazy people
@cerement@slrpnk.net avatar
  • there’s the “add tiling features to a DE” path – Pop Shell / Cosmic DE is the best known, but KDE has some pretty decent options and there’s a couple Python scripts (at various stages of readiness) for Xfce
  • or the “add a DE to a tiling window manager” – Regolith is the best known here (basically swapping i3 for Mutter), but along those lines it’s “relatively” easy to swap out window managers in the desktop of your choice (i3 + Xfce being an easy choice)
BlanK0,

If there was a regolith but based on river or dwl I would definitely do the switch, cause i do like a more dynamic tilling workflow compared to the manual tilling

Lettuceeatlettuce, in Fully featured tilling window managers (like DEs) for lazy people
@Lettuceeatlettuce@lemmy.ml avatar

In KDE Plasma, Super + T brings up a built in tiling feature. It’s super basic, but allows you to set static window snap zones on any display.

Each zone can be split horizontally or vertically, and you can adjust the zone-gaps to the exact pixel you want.

It’s not dynamic as far as I know, but for me it’s all I need.

Once you go back into regular desktop mode, you can use the zone snaps by holding shift while you drag a window. Releasing the window while holding shift will snap the window into the current snap zone it’s closest to.

MiddledAgedGuy,

I came here to make a similar comment. In KDE just use… I could swear it was ctrl+alt+arrow key but a quick search tells me it’s meta+arrow key (currently on my phone) to tile windows if I want. Quarter or half sceen tiling works for me so I’m content with that. OP didn’t specifically say dynamic tiling so perhaps one of these methods will be sufficient for OP?

I’ll check out that tiling feature mentioned above, I wasn’t aware of it and am curious!

transientpunk, in Fully featured tilling window managers (like DEs) for lazy people
@transientpunk@sh.itjust.works avatar

Have you tried the PopOS DE? That may scratch what you’re looking for

BlanK0,

Cosmic DE right? I might give it a go and see how it goes 👍

gregorum, (edited )

Cosmic DE is currently in Alpha and not being used in Pop!_OS yet. ATM, Pop!_OS uses tweaked-out GNOME 4 with a custom tiling WM called pop-shell.

Cosmic will probably release with the next major release of Pop!_OS, which is usually just after the next major release of Ubuntu every April.

Frederic, in Switched from Ubuntu to Debian yesterday

Ubuntu is Debian anyway. Why not installing MX (based on Debian too) with XFCE, it is the best experience I have had.

I come from good old LFS from the 90s and for me, a distro is just a kernel with some GNU utils, a window manager, and a way to get packages (which is about the only diff between “distro”)

haui_lemmy,

Makes sense. This is also what I deduced after installing arch in a vm. Its basically just a couple options. It would be awesome to have a distro where you can just mix and match all the things.

Celediel,

It would be awesome to have a distro where you can just mix and match all the things.

You may be interested in Bedrock Linux.

haui_lemmy,

Thanks for mentioning it! I‘ll check it out!

LeFantome, in Any C# devs want to share their setup?

Rider on Linux is amazing.

Avalonia and UNO are your best bets for cross-platform.

platform.uno

avaloniaui.net

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