itsfoss.com

somenonewho, to linux in Systemctl Command Examples in Linux

Two additional commands I regularly use as a Sysadmin are

systemctl status without any unit to list show the general system status (lists units that are running, units that are starting and failed units right at the top) And then systemctl list-units --failedTo show me just the failed units and did deeper what the problem is.

On a properly set up system I should quickly be able to ascertain if everything is “up and running” just by systemds status

starman,
@starman@programming.dev avatar

Didn’t know that. Thanks!

adavis,

You can also use systemctl status $pid to find out what service a process is from.

caseyweederman,

Oooh. Thank you, I didn’t know that.

somenonewho,

You can … WHAT!?

Wow I did not know that. Incredibly helpful

prime_number_314159,

This and systemctl cat $unit are my favorites.

spongeborgcubepants,

You can even drop the list-units and just use systemctl --failed

krolden,
@krolden@lemmy.ml avatar

You can skip list-units and just do systemctl --failed

governorkeagan, to linux in Systemctl Command Examples in Linux

This is somewhat related to the article but also a little off topic.

I started using Linux about 6 months ago now and I feel like it’s been a continual learning experience (in a positive way). I was comfortable enough with Windows that I was on autopilot with most things.

I’ve used systemctl previously but I love seeing articles like this, so freely available, where I have the chance to learn a lot more about my system.

Tangent over, just had this on my mind for a while and needed to share.

AnarchistArtificer,

I agree - it can be overwhelming to constantly be reminded of areas in which one is lacking in knowledge (like when having to learn how to solve a relatively simple error), but the availability of learning resources really helps avoid demoralisation.

rollingflower, to linux in Install ADB and Fastboot on Ubuntu and other Linux

On Fedora you should use the Google binaries, as Fedoras Fastboot is broken for some reason.

You will also need the android-udev package and symlink it. That process is damn overcomplex, for “security”.

Managed to install GrapheneOS after replacing fastboot with the path to the fastboot binary downloaded from Google.

See this Fedora discuss post

Linkerbaan, to linux in Desktop Linux Market Share: April 2024
@Linkerbaan@lemmy.world avatar

4% use arch professionally?

BeardedGingerWonder,

Naw, it’s closer to 0.5% but they talk about 8 times as much as everyone else.

KarnaSubarna,
@KarnaSubarna@lemmy.ml avatar

🤣

onlinepersona, (edited ) to linux in Desktop Linux Market Share: April 2024

With the German state of Schleswig-Holstein moving 30k PCs to linux, we might see tiny increase of that. Hopefully more states (in Germany and elsewhere) consider doing the same.

Anti Commercial AI thingyCC BY-NC-SA 4.0

allywilson,

I’m always hopeful, but there was another state/city in Germany (Munich I think?) that tried to do this a long time ago, then after 10 years of not being able to move entirely over, they moved back to MS, then I think they tried again. Really flip-flopped a lot. I think stuff like this needs to be more organic in its movement rather than big bangs and milestones. Just let it creep in and take over.

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

Microsoft also suddenly came in with a big suitcase of cash and built a giant HQ there.

possiblylinux127,

The problem with that story is that is doesn’t make any sense. Why would Microsoft spend Millions for one city in Germany? It feels more like a story to get clicks.

onlinepersona,

Because it actually happened?

possiblylinux127,

I think the Linux ecosystem is rapidly manuring

model_tar_gz,

Not the best choice of typos.

possiblylinux127, to linux in Desktop Linux Market Share: April 2024

Can we stop pretending that Linux has a small market share? It is literally 4%. Everyone and there dog is using Linux.

starman, to linux in Desktop Linux Market Share: April 2024
@starman@programming.dev avatar

Manjaro has more share than I thought

Buffalox, to linux in Desktop Linux Market Share: April 2024

In our home the desktop Linux marketshare is 100% 😋

Although just under 2% on Steam isn’t a lot, it seems to be growing slowly. Gaming on Linux is amazing today compared to 2005 when I switched to Linux.

nintendiator, to linux in Pipewire vs PulseAudio: What's the Difference?

Pipewire: works.

Pulseaudio: worksn’t.

Really, it’s as simple as that. Pulseaudio tried to be the systemd of sound and failed succeeded pretty horribly. Even its packaging was horrible, back when it was first put into Fedora and I tried uninstalling, it threatened taking down Libreoffice and Gedit with it.

sugartits,

Well that’s just poor packaging.

nintendiator,

Shoddy workmanship due to how eager those devs are to push their beta testing software on Production, yeah. And honestly looking back, coming from Fedora, doesn’t surprise me.

I_like_turtles3,

Pipewire: works.

Does it have jack support? I have a network sound server and I use both linux and windows clients. I solved windows clients with the jack plugin.

Piece_Maker,
@Piece_Maker@feddit.uk avatar

Pipewire’s got fantastic JACK support. You can even run standard JACK control GUI’s like Carla on top of it and expect them to work just like they would on regular JACK

I_like_turtles3,

Can I authenticate clients with the cookie thing?

SolidTux,

I do still have some problems with freewheeling. Ardour always crashes on exports when using the Jack interface, but everything works over the Pulseaudio interface. It might be an Ardour thing, but it doesn’t occur when actually running Jack. So something is actually different with Pipewire.

Theharpyeagle,

back when it was first put into Fedora and I tried uninstalling, it threatened taking down Libreoffice and Gedit with it.

I did this back when I was a newbie and somehow destroyed either the display server or some other part of the GUI. Sound issues have made me nervous ever since.

Auzy,

Pulseaudio is NOT a failure lol

ALSA, Esound, OSS etc were always conflicting pre-pulseaudio. Sometimes you’d get sound, you’d always have to screw around with the sound server settings in different apps between KDE and Gnome apps, and gaming was a disaster. Even just using XMMS2 was a pain with Netscape/Firefox

It was a huge step forward, even with initial teething problems.

The only thing it didn’t solve was low latency (for music production), and that’s really the huge advantage of Pipewire. It did take a while to get there though…

In Xfree86 days, Linux wouldn’t have had a future if PulseAudio wasn’t released. It was one of those critical elements (along with Compiz, XrandR, DRI, Udev, PackageKit and Steam) which actually made Linux competitive against OSX and Windows at the time

nintendiator,

I don’t know what universe were you living in, but I remember history vastly differently. No app I ever used ever had problems with ALSA, not even gaming. XMMS or XMMS2 (or Audacious even back then when it was kinda starting) never had issues with Firefox. Only when PA was introduced I started losing audio on various apps, losing volume control, or in a few cases apps would cease listing ALSA as a possible audio output while PA was installed.

I killed PA on my machines hard and never had any issues again, and things pretty much only improved once Pipewire arrived other than having to change one (1) configuration file, and it was properly documented.

Auzy,

This was back in kernel 2.2 / 2.4 days when Xfree86 still needed a configuration file

If you used DE’s like Enlightenment or multiple desktops simultaneously, it only caused more issues.

Also, you HAD to configure what sound server you were using often in many apps, and I seem to recall even needing to set a path in some cases to the dev.

Pulseaudio was only problematic when it was first released.

You may have had a good experience with sound servers back then, but for the rest of us, it was a lot of additional configuration and messing around

nintendiator,

Xfree? Who’s talking about that? I’ve only ever had to use Xorg, and I only ever needed to touch its conf file if I needed to fiddle with the refresh rate of an external monitor. (Compared to that, its “”““modern””“” replacement Wayland doesn’t even start a full desktop session on my machine)

No, we’re talking about the crap that was PulseAudio, and how ALSA; which is unrelated to XFree, worked almost flawlessly and barely needed any configuration. Formatted my machine several times and remember there was someties a path to the dev (/dev/snd or something like that usually, I think? I sometimes see it thrown around when doing advanced stuff with stuff like mpv) but I was lucky that when I had to edit my file it was for hardware bugs and not for software things. I… think? nowadays that bug is acknowledged for either at the ALSA or the Pipewire level, haven’t delved enough to check.

Dealing with sound servers on the Linux community does feel like a rarity going-backwards kind of thing: to this day, Firefox for some weird ass-reason dropped ALSA support in favour of PulseAudio. But in Debian, the packaged Firefox versions continue to work with ALSA flawlessly - as if support never was dropped, despite the many versions and changes since. Which suggests me to think Mozilla never actually dropped support, they just flipped a switch somewhere to promote PA instead, which usually comes down to money deals. Mozilla is an expert at that kind of thing.

Auzy, (edited )

That’s my point. I’ve been using Linux from before xorg existed. Back in those days, things didn’t auto configure.

Sorry, we’ll agree to disagree here about sound servers…

Just because audio worked perfectly for you, I assure you, it wasn’t the case for everyone else at the time. Not everything defaulted to OSS or ALSA. So, there was often additional configuration involved.

And pulse was the only one to convince everyone to drop their sound servers and provide a way to support them all. That’s a huge accomplishment. Whilst it could be argued that ALSA had the potential to do so, maybe… But they didn’t

It was such a pity they didn’t include JACK support though, because that seriously held back the Linux Music production community (which is mostly seamless in Windows and MacOS)

WarmApplePieShrek,

IIRC wasn’t Pulseaudio and systemd made by the same person?

nintendiator,

No idea if that’s the case but they certainly seem to have been made with the same mentality. FOSS has for a while suffered of what I call the “Icaza pest”, trying to bring the Microsoft way of design and programming into Linux. The results and troubles this causes abound, considering eg.: the fart that has been Gnome themes since 3.x, or the Gnome posturing back in the day that “users have no right to change their settings” when modernization of Gnome-terminal, and how it’d interact with stuff like screen and dtach, were discused.

WarmApplePieShrek,

It’s not all FOSS it’s just those projects. You don’t have to use Gnome.

nintendiator,

But their choices do impact other projects. I may not use Gnome, but the choices made on theming (or lack of) now also effect XFCE.

TheGrandNagus, (edited ) to linux in Pipewire vs PulseAudio: What's the Difference?

PipeWire is great.

I remember a lot of people kicking up a fuss about it years ago saying it’s a mess and we should stick to PulseAudio or routing audio to ALSA, but personally for me it’s been great, far less troublesome than previous solutions, and the vast majority seem to agree.

The pain points were short-lived and now we’re reaping the benefits of having a modernised, easier to maintain, less janky system. Credit to the devs, and to the distros who pushed it.

AbidanYre,

There was a similar fuss when distros moved from alsa to pulse.

HuntressHimbo,

Having been a linux user around the time of both rollouts I’ve had a way better time with pipewire. We’ve come a long way since OG pulseaudio

AbidanYre,

I seem to remember canonical rushing pulse into an LTS before it was actually ready. Not the first time they’ve done that either.

SpaceCadet,
@SpaceCadet@feddit.nl avatar

And rightly so. There’s a reason we’re migrating away from pulse to pipewire.

For the longest time the solution to any audio issues was “just uninstall PulseAudio, and use plain ALSA”, and that usually worked. I held out for years and ran an ALSA only setup because it just worked and PulseAudio was always giving me one issue or another (audio lag, crackling, unexplained muting), until some applications started to drop ALSA support.

Then Pipewire came along, and so far it has been rock solid for me.

folkrav,

Both were just a pain in their own right, IMHO. My previous Focusrite interface was quite fiddly to get working with ALSA and just worked OOTB with Pulseaudio. I also don’t miss messing with ALSA/JACK at all.

Pipewire has pretty much been a drop-in replacement for me, with how it can act as a Pulseaudio backend.

SpaceCadet,
@SpaceCadet@feddit.nl avatar

Possibly hardware dependent?

I always had audio hardware that was well supported by ALSA, I never had any ALSA issues until applications stopped supporting it.

Oisteink,

Does pipewire interface directly to drivers or is it user-space magic on top of alsa like pulseaudio?

Peter1986C,
@Peter1986C@lemmings.world avatar

I believe it is U-space on top, but I could be wrong.

SpaceCadet,
@SpaceCadet@feddit.nl avatar

It runs on top of ALSA, as far as I know.

Jordan_U,

Pulseaudio used features of sound cards (most prominently the hardware read pointer) that ALSA/dmix alone never used.

ALSA/dmix could allow you to get the same power savings as pulseaudio if you set the hardware ring buffer size to, say, 2 seconds.

And that would be fine of you were just playing some music, but if you were also chatting and wanting to get prompt notification sounds they would always be delayed between 0 and 2 seconds depending on where the hardware read pointer happened to be when the system tried to play a notification sound.

ALSA/dmix could also allow you to set a tiny buffer size. Then your music would play, and your notification sounds would play promptly too. But if you were just playing music your CPU would never be able to go into the lower power sleep states because it would need to wake up every centisecond to service the tiny ring buffer.

That would kill your battery life.

Pulseaudio’s (terribly named) “glitch free” audio feature was the first solution for Linux that allowed you to get power savings and low-ish latency. Your mp3 player filled up the ring buffer once every two seconds, and if a notification came in pulseaudio would look at where the hardware read pointer was, take the contents of the buffer that was just about to be read, and mix the notification sound into it, writing the newly mixed sound data to the buffer just before the sound card read it.

So, from the user’s perspective nothing interesting seemed to happen, but they get better battery life and things like notifications or game sounds work like they expect them to.

ALSA drivers would commonly advertise support for accurately and precisely reporting the position of the hardware pointer, but since nothing actually used that info before, many drivers gave incorrect results, which would only cause problems when using pulseaudio.

acockworkorange,

ESD >> Pulse

WarmApplePieShrek,

until some applications started to drop ALSA support.

Just run them with apulse

SpaceCadet,
@SpaceCadet@feddit.nl avatar

Yeah I did that for a while with firefox.

And then firefox broke apulse again due some sandboxing permissions, and you had to override it with some about:config flag: security.sandbox.content.write_path_whitelist

So that worked for a while and then the audio in some proton games stopped working, and that’s when I said fuck it and gave up. I’m only prepared to play the whack-a-mole game for so long, and if the solution to pulseaudio flakiness becomes even more alsa related flakiness, it’s not worth it anymore.

GenderNeutralBro,

I remember a lot of people kicking up a fuss about it years ago saying it’s a mess

I remember the same type of discussion when PulseAudio was new, nearly 20 years ago. It’s just growing pains. I hopped on board with PulseAudio ASAP back then, and yeah, it was kind of a mess but it did what I needed, and the alternatives did not.

I don’t recall having any audio issues in recent years, either on PulseAudio OR PipeWire. But then again, I’m still not running Wayland (I plan to…soon™) and this is the first I’ve heard of issues with Flatpak (maybe I’ve been using PipeWire longer than I’ve been using Flatpak; can’t recall).

MonkderZweite,

Btw, Analog out is always at 30db with step 2 of 100 or so. How do i set that one port to be less loud by default, in pipewire?

Fisch,
@Fisch@lemmy.ml avatar

The latency is insanely low on Pipewire, which is important for rythm games like osu!, that’s why I originally switched to it. It’s also really cool how it’s compatible with all other audio backends as well.

e8d79, (edited ) to linux in The Book You Need to Start With Linux Kernel Development

Don’t bother it is published by Packt. None of the books published by them I have read were any good.

itsnotits,

were* any good

e8d79,

Thanks, fixed.

perishthethought,

As an author of a book published by Packt, I understand this but still wish people could tone that down from, “none of the books…” to “some” but yeah. Mine has 5 stars in amazon and I know there are many which are well reviewed or have been very useful for my own learning.

scorpionix, to linux in The Book You Need to Start With Linux Kernel Development
@scorpionix@feddit.de avatar

Does it have “WE DO NOT BREAK USERSPACE!” in golden letters somewhere?

Langehund,

Heard it had a pop up in the front cover of Linus reaching off the page and slapping the reader saying just that

NeoNachtwaechter,

No, it reads “DON’T KERNEL PANIC”

cjk,

I see what you did there 🤣

excitingburp, to linux in Pipewire vs PulseAudio: What's the Difference?

PipeWire wins in the feature-set game, which is why it is being preferred over PulseAudio.

According to the inventor of PipeWire, this is the wrong perspective to take. PipeWire is preferred over PulseAudio as a server, clients (apps) should continue to use the PulseAudio/JACK APIs because the PipeWire API is not designed for general use (it’s designed for things like pipewire-pulse and pipewire-jack).

LainTrain,

So the middleware stays the same but the underlying server changes? That’s an amazing strategy I wish Wayland did this instead of breaking damn near everything with it’s strange restrictions on behavior and overlays

sadreality,

it’s strange restrictions on behavior and overlays

Ain't this is good for security and privacy?

nintendiator,

A “security” that interrupts the user or prevents them from doing their work is bad, because it incentivizes the user to skip or disable it, and the use of a Linux system already can get most of the ways to do either of those via ${packagemanager} install. Thus it’s more like security theatre.

From what I gather, the wayland model of things is so ridiculous that it can’t even provide for global hotkeys - which are, like, the guaranteed way to setup an interface the user can trust because it’ll always mean that when the user users it. I doubt wayland would even be Magic SysRq keys-compatible.

Ullebe1,

Global hotkeys in Wayland: org.freedesktop.impl.portal.GlobalShortcut

LainTrain,

What the other person said. I didn’t even think magic sysrq keys I was thinking like some steam like overlay lmao

ray,

Yeah it’s kinda the opposite of “New interface, old implementation.”

Which I learned from henrikwarne.com/2024/01/10/tidy-first/

NekkoDroid,
@NekkoDroid@programming.dev avatar

The thing with Wayland and X11 is: this couldn’t really be done because of how fundamentally broken incompatible X11 is (and there is XWayland for most clients that mostly works)

ProtonBadger,

But it was the X protocol that needed to be replaced.

LainTrain, (edited )

And it hasn’t done that because no one is going to replace it a good but old pipe with a few issues with a pipe with a massive hole in it “by design”

lengau,

That’s what xwayland is.

Apps can talk to xwayland with the x11 protocol but instead of an X server rendering it, your Wayland compositor renders it.

The restrictions come from the fact that those x11 behaviours are exactly things the industry has decided are a bad idea and should be replaced.

LainTrain,

Really? Like not letting apps draw over other apps? As far as I know Windows still allows that, so does even Mac OS. I don’t know who in the industry decided that screenshotting is a bad behaviour and needs to be removed but maybe they should find a new industry, like fast food line work for example.

Ullebe1,

Allowing any app unrestricted access to the input and output of any other app (like in X11) is a terrible security practice. It allows for trivially easy keyloggers and makes horizontal movement to other apps after the first has been exploited super easy.

Many people’s answer to this is “then just don’t run untrusted apps, duh”, but that is a bad take since that isn’t realistic for 99% of users. People run things like Discord or Spotify or games or Nvidia drivers all the time, not to mention random JavaScript on various websites, so the security model should be robust in the presence of that kind of behaviour. Otherwise everyone is just a single sandbox escape in the browser away from being fully compromised by malware installed with root privileges. Luckily we know better now than when X11 was designed and that is the reason for things like Bubblewrap (used in Flatpak for sandboxing), portals and the security model of Wayland.

And in the end: the people who decided this are the people actually willing to do the work to build and maintain the Linux desktop stack. If anyone knows what the right approach is, it’s them.

yianiris,
@yianiris@kafeneio.social avatar

Are you comparing 40years of graphical environment stability and global use with something that has been broken for more than a decade and now all of a sudden is portrayed as secure?

I want to start applications as another user in my own environment and my own system and wayland prevents me, while x11 allows me (together with many forms of sandboxing and containerization).

I have asked this question to all pretend to be experts of wayland and I have 0 responses.

@Ullebe1 @LainTrain

Ullebe1,

I absolutely am. Calling Wayland “something that has been broken for more than a decade” rather than “something that has been in active development for more than a decade” is also an interesting take. By that measure X.Org is “something that has been broken for almost two decades”, so let’s just not go there. And I’m not saying that Wayland magically makes everything secure. I’m saying that Wayland (or something like it) is a necessary step if we want a desktop that is secure. I have seen people propose something like nested sandboxed X servers with a single application for each as an alternative, but I think it’s probably better to actually fix the underlying problem.

That’s an interesting use case. It isn’t really anything I’ve had a need for, so I don’t know what the best way to do something like that is. If your compositor doesn’t allow it, could it perhaps be possible to run as a different user in a nested compositor, like Cage or gamescope? Also, how do you sandbox the applications X11 access? If they share the same server, then a sandboxed application can just wait for you to launch a terminal and use sudo, at which point it can inject a malicious command as root.

yianiris,
@yianiris@kafeneio.social avatar

I don''t use systemd or logind so I don't have to worry about such magic security violations this bogus pile of crap creates. I have more control of processes and don't allow some "automated" service to be loging-in-out system users 2000 times a nanosecond as logind does.

It only happens when I want it to happen, not uncontrollably.

KISS is the best security measure.

@Ullebe1

Ullebe1,

So I guess your question wasn’t in good faith then, but just bait so you’d have an excuse to rant about things unrelated to my answer?

The security issue that Wayland helps solve has nothing to with systemd or logind, so I’ll just ignore your tirade against them. If you don’t want to use them, then good on you.

The issue is an inherent issue with the X11 protocol. It can be worked around, but it can’t be fixed without something changing in the protocol on a fundamental level. The core premise that any client can be trusted unquestionably is broken and was broken the second browsers began running JavaScript. Not to mention all the other times most modern computers run opaque code of uncertain origins.

Keeping it simple is definitely a great basis to build a secure system upon, it just can’t stand alone because of reasons like the above.

yianiris,
@yianiris@kafeneio.social avatar

What would js be able to do out of firejail or other such forms of containment?

I only allow js for very specific sites, and most that you can't do without I just do without. I am not that worried about security though, it is just an exercise.

I use seatd with wayland but it can be compiled without it too. My main issue is as I said, I can't just run "sudo -u user2 leafpad" for example, you say it is a security measure, I say it is an inconvenience.

@Ullebe1

Ullebe1,

The X11 connection is generally an enormous hole in such containment, but yes. Such containment definitely helps. That is why I run as many applications as possible as Flatpaks, as they employ similar countermeasures, and why they’re playing an increasingly big role in modern distros.

And it’s great that you’re risk averse and able to avoid untrusted scripts to that degree. It’s just not feasible for the general user, which is why things need to be secure even if a malicious script is mistakenly allowed to execute.

I’m not saying that that specific annoyance is a security measure. I’m saying that the whole paradigm shift that Wayland is is partially motivated by improving security. Such paradigm shifts come with paper cuts, especially in the beginning. But the rough edges are being filed down one by one. That’s not to say that Wayland is the answer for everyone yet, nor that it will ever be. There’ll always be exceptions. But for the vast majority of users it is, and it helps keep their systems safer than they are without it.

yianiris,
@yianiris@kafeneio.social avatar

> and why they’re playing an increasingly big role in modern distros.

My modern distros, are you implying if a distro adopts flatpak use it is modern, if not it is antiquated?

Those are dangerous doctrines when foss is meant to provide choice, and it can be a choice to reject certain groups of software.

@Ullebe1

Ullebe1,

Not at all, seems like you’re reading things into it that aren’t there.

By modern distros I mean that for the newer variants of multiple large distros (Like Fedora Silverblue and its cousins, openSUSE MicroOS, etc.), even ordinary Ubuntu, Fedora and their derivatives and cousins, across the major DEs like Gnome and KDE, for all of them apps packaged like Flatpaks and Snaps have an increasingly large role.

I’m specifically not saying it’s the only way to be modern or that other approaches can’t have merit, I’m saying there is a clear trend among some of the largest players in the game.

I think it’s dangerous to put words in other peoples mouths and then argue against those imaginary statements, and I think it’s sad that you seemingly feel it’s the best way to argue for what you believe in. You can do better.

yianiris,
@yianiris@kafeneio.social avatar

You have a very narrow perception of what a linux distribution/system should be, and that is a heavily commercial windows/macos alternative for people who deny reading.
That audience makes total crap popular!

Is that better now?

@Ullebe1

Ullebe1,

Not even close, you’re even more off base than you were before. I mean what do you even base your ridiculous statements about my opinions and perceptions on?

LainTrain,

I’m a cybersec MSc and the security model you’re describing is that of the clipboard.

Apps interacting with each other is also how just about anything works on a computer since multi tasking OSes.

Flatpaks and Snaps are also DOA along with Wayland lol.

Ullebe1,

Nice appeal to authority. Are you referring to a formalised security model (of which I’d love to read more, if you have a link?), or the actual clipboard on your PC?

But not all interaction is equal. Access control and granularity of permissions is something X11 is sorely lacking in, which Wayland has built in. Which is why X11 is a bad fit for common treat models and Wayland is not.

Ohh, @LainTrain said so, so it must be true! I’ll let you keep believing that while I enjoy them and watch them grow in popularity and usage, just like Wayland.

LainTrain,

I’m referring to the actual clipboard on your PC, yes.

Don’t get me wrong ofc X is not without issues at all, but Wayland is like chopping off your arm at the elbow because you messed up some nail polish, and you arguing for it is like saying that now since you don’t have that arm anymore no one can break it, while all the other OSes watch on in horror and embarrassment as they allow all access to screen elements to any random app like god intended.

If you got malware installed it’s all over anyway. Why bother with weird screen access when you can just ransom the home partition and all personal files instead?

Without OBS, Discord, Steam, Guake, proper screenshot tools, etc. it’s not really a functional OS anymore for general use and that’s what you get with Wayland.

If Wayland fixes all the issues with it I’d happily switch, but it likely won’t since they are fundamental to it’s design and if so then the only way it will secure Linux desktops is by making no one ever use one again.

WarmApplePieShrek,

X11 doesn’t have to allow any app unrestricted access to any other app.

SpaceCadet,
@SpaceCadet@feddit.nl avatar

clients (apps) should continue to use the PulseAudio/JACK APIs because the PipeWire API is not designed for general use

Really? That is news to me … explains why mpv’s pipewire audio output was briefly broken a couple of months ago.

excitingburp,

I heard it in a podcast, but here’s a written source on that: fedoramagazine.org/pipewire-1-0-an-interview-with…

The message is still to use the PulseAudio and JACK APIs. They are proven and they work and they are fully supported.

I know some projects now use the pw-stream API directly. There are some advantages for using this API such as being lower latency than the PulseAudio API and having more features than the JACK API. The problem is that I came to realize that the stream API (and filter API) are not the ultimate APIs. I want to move to a combination of the stream and filter API for the future.

OneRedFox, to linux in Pipewire vs PulseAudio: What's the Difference?
@OneRedFox@beehaw.org avatar

Pipewire was honestly the most pain-free introduction of a new audio technology on Linux; it was a nice change of pace.

corsicanguppy,

Yeah. PulseAudio is made by the same wunderkind who brought us fucking systemd.

uvok, to linux in Pipewire vs PulseAudio: What's the Difference?

I’ve been using Pipewire for a while, it was great because I could use my Bluetooth headset with a better audio Codec than in Pulseaudio. Unfortunately, my headset stopped working one day suddenly with Pipewire. (maybe after a dist-upgrade?) No amount of disconnecting, unbonding etc. would work. Went back to Pulseaudio as a sound server. Sad.

Neither Pulseaudio nor Pipewire remember to use by screen speakers (hdmi) as default, though. It always switches back to the internal sound card.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • fightinggames
  • All magazines