linux

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

Mango, in Thoughts on this?

The guy’s language is the exact same hand wavey magic he opened up criticizing. “Appeal to my claimed authority. Wayland bad. Missing parts. Analogous to poop.”

I practically never come across anyone who addresses a point directly and don’t think I ever will. Everything is tribalism and politics and sunken cost fallacies.

Grass, in Is there any way to emulate aegis authenticator (fdroid) on an ubuntu based computer?

There are surely native totp apps for this on Linux and I haven’t used Ubuntu in a million years but if you really want to do specifically this maybe waydroid.

TCB13, in New Linux user here. Is this really how I'm supposed to install apps on Linux?
@TCB13@lemmy.world avatar

This post is proof that Linux desktop isn’t as good, perfect and polished as everyone says it is. Stop living in the delusion.

ChaosAD,

Do you even use Linux?

answersplease77,

He’s using a shitty version of linux. I use Arch btw

TCB13,
@TCB13@lemmy.world avatar

Yes and I do and while it is great for infrastructure, magnitudes better than anything Microsoft ever offered as a reasonable desktop it’s a fucking a joke.

gamma,
@gamma@programming.dev avatar

You’re deluded if you think that “everybody” let alone a large minority of people say that the Linux desktop is “good, perfect and polished”.

TCB13,
@TCB13@lemmy.world avatar

That’s a new one around here ahaha

Artyom, in Is there any way to emulate aegis authenticator (fdroid) on an ubuntu based computer?

Firefox has 2FA extensions. Just remember that if both your authentications are on one device, you’re not getting a huge security boost.

toastal, in Flakes aren't real and cannot hurt you: a guide to using Nix flakes the non-flake way

I dunno, I don’t trust a guides still recommending flake-utils. You can make the same four loop in like 4 lines of Nix which is a smaller diff & doesn’t pollute your downstream consumers with a useless dependency. Flakes also don’t eliminate pointless builds, fileset or filtering the src can & the only tool with file tracking on by default is the Git VCS specifically (which also involves the intent to add flags which is the other side of annoying).

hallettj,
@hallettj@beehaw.org avatar

I sometimes write a flake with those 4 lines of Nix code, and it comes out just messy enough that tbh I’m happier adding an input to handle that. But I recently learned that the nixpkgs flake exports the lib.* helpers through nixpkgs.lib (as opposed to nixpkgs.legacyPackages.${system}.lib) so you can call helpers before specifying a system. And nixpkgs.lib.genAttrs is kinda close enough to flake-utils.lib.eachSystem that it might make a better solution.

Like where with flake-utils you would write,


<span style="color:#323232;">flake-utils.lib.eachSystem [ "x86_64-linux" "aarch64-darwin" ] (system:
</span><span style="color:#323232;">let
</span><span style="color:#323232;">  pkgs = nixpkgs.legacyPackages.${system};
</span><span style="color:#323232;">in
</span><span style="color:#323232;">{
</span><span style="color:#323232;">  devShells.default = pkgs.mkShell {
</span><span style="color:#323232;">    nativeBuildInputs = with pkgs; [
</span><span style="color:#323232;">      hello
</span><span style="color:#323232;">    ];
</span><span style="color:#323232;">  };
</span><span style="color:#323232;">})
</span>

Instead you can use genAttrs,


<span style="color:#323232;">let
</span><span style="color:#323232;">  forAllSystems = nixpkgs.lib.genAttrs [ "x86_64-linux" "aarch64-darwin" ];
</span><span style="color:#323232;">  pkgs = forAllSystems (system:
</span><span style="color:#323232;">    nixpkgs.legacyPackages.${system}
</span><span style="color:#323232;">  );
</span><span style="color:#323232;">in
</span><span style="color:#323232;">{
</span><span style="color:#323232;">  devShells = forAllSystems (system: {
</span><span style="color:#323232;">    default = pkgs.${system}.mkShell {
</span><span style="color:#323232;">      nativeBuildInputs = with pkgs.${system}; [
</span><span style="color:#323232;">        hello
</span><span style="color:#323232;">      ];
</span><span style="color:#323232;">    };
</span><span style="color:#323232;">  });
</span><span style="color:#323232;">}
</span>

It’s more verbose, but it makes the structure of outputs more transparent.

toastal,

Saving the dependency is pretty big since each flake you import will bring along its jungle of dependencies now in your downstream project. I can’t think of a use case where < 10 lines is worth a dependency—especially since as you noted, lib has the glue right there for you to put it all together.

danileonis, in Linux reaches new high 3.82%
@danileonis@lemmy.ml avatar

Steam Decks?

Blackmist,

Would that show up in browser stats though?

Steam Deck is neat and all but I’ve never thought of it as anybody’s main browsing device.

zxk,
@zxk@lemmy.world avatar

I used to say the same thing about mobile phones, now look, LOOK HOW WRONG I WAS

BeardedGingerWonder,

Yes but right now?

leopold,

idk about others but I do use my Steam Deck for web browsing quite heavily. It’s basically my laptop right now.

Thcdenton,

Steam Decks.

sag,
@sag@lemy.lol avatar

Yes Steam Deck

loudWaterEnjoyer,
@loudWaterEnjoyer@lemmy.dbzer0.com avatar

I’m pretty sure its steam decks

nossaquesapao,

Of course, the steam decks!

Chobbes, in Thoughts on this?

I don’t really have much of an opinion about Wayland but it’s still funny to me whenever somebody using Wayland shits on X11 and then tries to share their screen on Zoom or something. If Wayland ends up being great I’ll be happy, but for now X11 just kind of works, so I don’t understand why people are so eager to switch? This isn’t to say I don’t understand the desire to build something better and more secure than X11, I’m just not sure what the end user gets out of Wayland right now. I don’t have VRR monitors and stuff, though, so maybe I’m not running into problems I would be if I wanted fancier features. Plus, I use xmonad and some other stuff right now that won’t work on Wayland, so I don’t have much incentive to try it. Hopefully everything gets Wayland updates eventually.

liforra,
@liforra@endlesstalk.org avatar

To the first thing with sharing screen. Thats like saying its Linux’s fault that Photoshop, Valorant, etc dont run on linux

russjr08,

With those however, they never ran on Linux. This situation is different because it did run. I’ve only used Zoom once, so no clue if it worked excellently or if it was “meh”, but it sounds like it did the job before.

Regardless, it doesn’t matter if Zoom hasn’t updated their Electron to account for the Wayland changes - all people will see is that it doesn’t (or did, but no longer) works on Linux and will blame Linux instead.

Which, that is fine if we want Linux to always be a hobbyist operating system. However if we want Linux to be more accessible to people then unfortunately the ball is in our court to try to not break something as simple (or rather, what most regular users would define as simple) as this.

rainerloeten,
@rainerloeten@lemmy.world avatar

Isn’t screen sharing working since some time? Works even on WebEx from Firefox, can pick any window to share. Granted a few years back it didn’t work, but now it does. Maybe it’s a zoom bug… 🤔

Chobbes,

Probably, but my exposure to Wayland has just been people complaining about how much X11 sucks and then proceeding to have more problems than everybody else.

RubberElectrons,
@RubberElectrons@lemmy.world avatar

No,I just had to deal with this myself. Most you can do is share your entire desktop in Wayland, and it’s shaky. For the first time, I had to switch to Xorg and bingo, zoom works. Fonts are actually antialiased and kerned properly for certain applications that weren’t… Really surprising.

AMDIsOurLord,

Again, none of that is a failure of Wayland, it’s a failure of Zoom to run on Wayland. One day, and this is in the next 5 years, Wayland-only apps will refuse to run on X.Org and the situation will be reversed.

You can share screen perfectly fine under Wayland. Many apps use it fine, and even in case of Discord if you use it with a browser it’s doable.

No Wayland dev can fix an issue that originates from lack of app support. There has been many Wayland issues through the years and trust me, I know, but how do you expect them to fix Zoom? Acquire the company and take it behind the shed?

amju_wolf,
@amju_wolf@pawb.social avatar

how do you expect them to fix Zoom? Acquire the company and take it behind the shed?

I mean, you could - for example - implement the interface these apps expect to exist and use with your amazing new compositor™.

This is precisely why companies just say “fuck Linux users” - instead of supporting a single operating system where everything kinda “just works” across versions for decades you have to checks notes support 20 different compositors across 2 vastly different display servers and dozens of various desktop environments and such… All for an OS that’s used by maybe 3% of your users if you’re lucky.

AMDIsOurLord, (edited )

The interface exists. It’s up to zoom to support it. Why are you under the impression there is a technical issue? THERE IS NONE.

It’s up to Zoom to support the aforementioned interface.

Wayland’s display handling in this manner is for security, the user will be shown a permission request dialogue to let the app access the screen only if you permit it, it’s also disallowed from accessing anything except what you’ve given it permission to. This is not even a new concept, just not doable under X.

It’s also possible to create the lawless model of X under Wayland through a protocol if you desire to make one, but it makes little sense to throw away this better model just for the sake of some shitty proprietary apps who don’t care for Linux anyways

hunger, (edited )
@hunger@programming.dev avatar

That interface is let any random app take screenshots of anything running on the same server without any way for the user to know it happens.

I am so glad that interface is gone, especially when running proprietary apps.

smileyhead, in Where did you learn partitioning? And do you need a guide everytime you install a distro?

I recommend trying to install ArchLinux

Chewy7324,

I recommend unplugging all disks with important data beforehand. Piece of mind about not being able to wipe all data (and having to restore from your backup) is great. Having used fdisk or parted is a good experience to have in case it’s actually needed on some server.

nis, in Messed up my fonts

âââ

mactan, in Flakes aren't real and cannot hurt you: a guide to using Nix flakes the non-flake way

nix is like the i3 of package managers. does it work sure but you’ll spend your 80% of your time learning code and configuration to make your sick packaging rice /sarcasm

d3Xt3r, (edited )

That’s only true you succumb to the hardcore Nix fanatics and follow their recommended “declarative” way. However, Nix, as a package manager, is perfectly usable - and accessible - with the imperative way, without having to subscribe to their religion and learn their language and terminology.

In the imperative path, Nix is as easy to use as any other package manager, yet it still retains many of the unique Nix features such as versioned packaged, instant rollback, non-root user-based installs etc.

It’s a shame because Nix is actually really cool and very easy to use if used this way - and especially useful on immutable distros, locked-down systems or distros which have a limited number of packages - but unfortunately, most people are missing out because the fanatics keep preaching the declarative way as if it’s the only option out there.

skillissuer, in Where did you learn partitioning? And do you need a guide everytime you install a distro?
@skillissuer@discuss.tchncs.de avatar

consider gparted, it’ll handle some of that for you

tcit, in Is there any way to emulate aegis authenticator (fdroid) on an ubuntu based computer?
@tcit@beehaw.org avatar

Just use an app like Authenticator importing the Aegis export file.

const_void, in Linux tablet?
I_Am_Jacks_____,

This looks awesome. Does anyone have experience with it?

Patch,

I’ve not used that tablet, but I have a Star Labs laptop and it’s an excellent bit of kit. Would heartily recommend them as a company.

Can’t vouch for the Star Lite tablet specifically, though.

I_Am_Jacks_____,

Awesome. Thanks for the feedback

seken,

I’ve ordered one (October)**but they haven’t shipped any yet…

Eideen, in Linux tablet?
@Eideen@lemmy.world avatar

I got a dell 2 in 1.

sxan,
@sxan@midwest.social avatar

A decade ago (almost!) I had one of those HP swivel-screen jobs - a Compaq TC4200. Replaceable battery, dock, external attachable battery, resistive touch screen, fully user-serviceable… it was the best laptop I’ve ever had, in terms of feature set.

People often claim they don’t make 'em like they used to, but it’s true. Framework is a step in the right direction with servicability, but they still have a way to go to get to everything laptops of a decade ago.

promitheas, in Messed up my fonts
@promitheas@iusearchlinux.fyi avatar

What is the process/commands you did to install the fonts?

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