@Communist@lemmy.ml avatar

Communist

@Communist@lemmy.ml

I’m an anarchocommunist, all states are evil.

Your local herpetology guy.

Feel free to AMA about picking a pet/reptiles in general, I have a lot of recommendations for that!

This profile is from a federated server and may be incomplete. View on remote instance

Communist ,
@Communist@lemmy.ml avatar

https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/967

The short version of the story, wait until this has landed in your distro of choice, or you'll have flickering problems.

Communist ,
@Communist@lemmy.ml avatar

First, wait for that pull request to actually show "merged" instead of open, then, wait for a release of xwayland, you can find those here: https://gitlab.freedesktop.org/xorg/xserver/-/tags

Once that's been released, note the version number of the version of xwayland that has explicit sync

https://packages.fedoraproject.org/pkgs/xorg-x11-server-Xwayland/xorg-x11-server-Xwayland/

then look here and see if the version number matches or is greater than it.

Communist ,
@Communist@lemmy.ml avatar

I'd bet kbin is defederated, almost everything is defederated from threads

Communist OP ,
@Communist@lemmy.ml avatar

I actually want the sound thing because I think it would be cool for automating a lot of different things easily

It wouldn't be like, optimal in terms of power consumption, but an audio signal in a specific program being recognized by my computer and executing a script is generalizable and useable in many places.

Communist OP ,
@Communist@lemmy.ml avatar

That sounds like a somewhat appealing solution, however, i'd like this to be more broadly applicable, i'd like it if even if it wasn't chrome, and was some other application making a particular noise, I could easily execute a script whenever that particular noise is played, allowing me to automate a bunch of things rather than just one specific weird thing.

Communist OP ,
@Communist@lemmy.ml avatar

it might as well be, I hallucinate the noise regularly, although if it actually was screaming that would be a lot scarier.

Communist OP ,
@Communist@lemmy.ml avatar

Hallucinating a noise that you hear constantly very loudly is normal. Pretty sure.

Communist OP ,
@Communist@lemmy.ml avatar

Not if it's specified to a single app

My chrome is literally only used for this, as are my other ideas, so, as long as it's half-decent at one specific sound per app it should work...

in theory

Communist OP ,
@Communist@lemmy.ml avatar

That's a good start, thank you!

Communist OP ,
@Communist@lemmy.ml avatar

100+ a day

Communist OP ,
@Communist@lemmy.ml avatar

Unfortunately the notification sound can't be changed

Communist OP ,
@Communist@lemmy.ml avatar

Is there anything wrong with that? Hahaha, it's pretty similar but not quite that

Communist OP ,
@Communist@lemmy.ml avatar

In my case it never does

Communist OP ,
@Communist@lemmy.ml avatar

There are two sounds it makes, they just never overlap

Communist OP , (edited )
@Communist@lemmy.ml avatar

I am completely sure that cannot happen, the noise plays once until I deal with it

if it updates I'll just make a new recording, but it has been the same for over 3 years

Communist OP ,
@Communist@lemmy.ml avatar

It does not make a desktop notification at all, so that won't work

Communist OP , (edited )
@Communist@lemmy.ml avatar

It's really not in this case, I can see why people think that since i've been vague, but tbh I thought somebody would have already made an easy sound recognition program and I just hadn't seen it, and that once someone pointed that to me the rest would be easy.

Here is the entirety of the problem:

  1. I have a work program, this notifies me if I get a call or email, the work program then presents an accept/decline page, and does not proceed until I either accept, decline, or it times out.
  2. I want it to do two different things depending on if it's a call or email
  3. It provides no notification other than the sound and an "accept" button on the page
  4. I have a chrome window open that does nothing but this, and I never use chrome for anything else
  5. I want to automatically do various things when I receive either this call or email
  6. I want it to be broadly applicable rather than a script designed for the specific website giving me the notification (so not a chrome extension). This prevents me from having to update any code in the event that the backend changes dramatically, and even if the notification sound changes, i'd just record a new sound as the activation noise.
  7. The noise is always the same, and hasn't changed for many years, and there is a distinct noise between calls and emails
  8. They never overlap, they never play multiple times at the same time, and they never make any noises other than those two. The noises are distinct.

These factors cause me to want to run a script once the noise is recognized, only if the noise is playing in a particular app. I'm using pipewire/hyprland on arch.

edit: actually they have, it should be really easy with this: https://github.com/worldveil/dejavu

Communist OP , (edited )
@Communist@lemmy.ml avatar

here you go, if you have a better idea, pitch it:

  1. I have a work program, this notifies me if I get a call or email, the work program then presents an accept/decline page, and does not proceed until I either accept, decline, or it times out.
  2. I want it to do two different things depending on if it's a call or email
  3. It provides no notification other than the sound and an "accept" button on the page
  4. I have a chrome window open that does nothing but this, and I never use chrome for anything else
  5. I want to automatically do various things when I receive either this call or email
  6. I want it to be broadly applicable rather than a script designed for the specific website giving me the notification (so not a chrome extension). This prevents me from having to update any code in the event that the backend changes dramatically, and even if the notification sound changes, i'd just record a new sound as the activation noise.
  7. The noise is always the same, and hasn't changed for many years, and there is a distinct noise between calls and emails
  8. They never overlap, they never play multiple times at the same time, and they never make any noises other than those two. The noises are distinct.

but so far my solution is to setup dejavu to listen to a sink i've named work and then set chrome to play on that sink, and that sink will be setup to forward to my default audio device

https://github.com/worldveil/dejavu

Communist OP ,
@Communist@lemmy.ml avatar

This is incredible and exactly what i'm looking for, i'll post my completed solution when i'm done, thank you!

Communist OP ,
@Communist@lemmy.ml avatar

Yeah the most fulfilling thing about this job has been figuring out how to automate as much of it as possible while still pretending to be a normal worker. It's pretty terrible, i'm going to switch to herpetology eventually, but can't do that right now for various reasons I don't want to get into on a public forum.

I'm at the top of every performance metric because of my inclination to be lazy as fuck with it though, so, it works.

Communist OP ,
@Communist@lemmy.ml avatar

It does not give a desktop notification, or even a proper chrome notification, it's just a dialogue on a page that says accept/deny

I said that in the post. The sound is the only thing to hook into. It doesn't even set chrome as urgent.

Communist OP ,
@Communist@lemmy.ml avatar

That won't work if the backend ever changes, and will be locked into a single program

https://github.com/JorenSix/Olaf I've decided to use this, i'll probably have a solution this week, i have to actually record the sounds my next workday, then i'll test it. Seems much easier to do than making a chrome extension, honestly.

Communist OP ,
@Communist@lemmy.ml avatar

It's actually much more malicious hahaha. But sometimes it may be used while sleeping.

Communist OP ,
@Communist@lemmy.ml avatar

I don't have any meetings ever. An LLM really wouldn't be able to do almost any of my work.

Communist OP ,
@Communist@lemmy.ml avatar

That's an interesting solution that i'd rather avoid because it's proprietary

Also, that wouldn't distinguish the two states of call/email, I don't think.

Communist OP ,
@Communist@lemmy.ml avatar

I'll consider that after i try and fail with olaf

Communist ,
@Communist@lemmy.ml avatar

you could just use the gnome fedora spin, this is just about making it not the default.

Communist ,
@Communist@lemmy.ml avatar

No you'd just find that your fedora says gnome edition or whatever

Communist ,
@Communist@lemmy.ml avatar

I highly recommend fedora kinoite for people who don't want to do maintenance or don't know how.

It being immutable makes updates incredibly easy, and makes it much harder to break the system, and kde is best for people who are familiar with windows.

Communist ,
@Communist@lemmy.ml avatar

Gnome addons break nearly every version upgrade, so, I wouldn't recommend dash to panel, and the problem of settings they can get into is actually mitigated by kinoites snapshotting.

Communist ,
@Communist@lemmy.ml avatar

Manjaro is amongst the worst distros for advanced users, giving it to beginners is a complete mistake, they shipped an update that uninstalled the DE

Communist ,
@Communist@lemmy.ml avatar

I've developed an install alias that automatically configure a wide variety of things really easily for arch, I had a bunch of people use my setup and logged the usage of each different keybind, then sorted them by most used and put those on the strongest fingers

I've spent more than a few hundred hours configuring stuff, you can check it out here if you want:

https://gitlab.com/that1communist/dotfiles/

Communist , (edited )
@Communist@lemmy.ml avatar

Message me on matrix if you want help setting all of that up, but waybar absolutely supports clicking tray icons.

You should switch if you value any of the following:

  1. Security

a. Any x11 client can record your screen without notifying you

b. Any x11 client can record all of your keystrokes without notifying you

  1. Better configuration

a. Tighter integration with input/output configuration, which results in things like per-input settings are very difficult to do on X11, I have a mouse that only works on one screen and another mouse that works on all my screens, which makes it so that I can have my TV pointed away from my desktop and use a wireless mouse and never lose the position of my cursor while still keeping my other displays active, for example

b. You can't modify mouse sensitivity on x11 (except in a hacky way with acceleration)

c. After switching to sway I just noticed so many hacks that I configured went away.

  1. Significantly better rendering

a. x11 can't support monitors with mixed refresh rates because how it handles rendering is fundamentally flawed

b. on x11 most animations are fundamentally broken (try resizing) because of how rendering is handled, check out the animations on hyprland and how smooth they are, that's not something that can be done on x11 for a low performance overhead

c. so many scaling problems, native wayland apps work perfectly in this regard nowadays.

  1. color management/HDR
Communist , (edited )
@Communist@lemmy.ml avatar

That is NOT classical security thinking AT ALL, and anybody who told you that is lying to you. Classic security thinking says minimize the surface area of attack...

...I'm sorry but your core argument seems to be "it's okay that clients can do literally whatever they want because if you run anything proprietary you should be using windows" and I don't understand this all-or-nothing stance.
Do you expect me to vet every line of code that runs on my PC to make sure it's safe? Do you think everyone should do that? Do you think the operating system should be designed so that grandmas are required to read code before they install software?

I'm sorry but this is just so obviously terrible design, I don't know how you think gatekeeping solves anything, and that seems to be all you're doing. Shitty clients shouldn't be able to wreck peoples lives/computers, and we should minimize the amount of damage shitty clients can do. You also seem to believe that everyone is cognizant of the fact that they've been infected with something, in reality, you will go months or even decades without knowing you've been hit in some cases, we should minimize the amount of damage that can cause, not give them full access to everything on the entire pc because you think we should check every piece of software that runs.

There aren't newsworthy breaches involving x.org because it's widely regarded as not to be trusted, and has been for so long that nobody uses it for anything that needs security.

Flatpak is great and has a verification system so you know when the app is by the developer... It's sandboxed so the clients can't do as much damage, this is significantly easier for users to manage and prevents terrible things while not limiting anybodies usecase and allowing apps to be packaged for every distro at once. That's pretty awesome, actually, and you can use different repos if you don't trust flathub, i'm sure once flathub does something bad there will be alternate "more secure" ones.

Either way, I don't want to live in the world where you make the choices for software, it seems like you want a world where everyone needs a license to use their computer.

Communist ,
@Communist@lemmy.ml avatar

Global shortcuts and screenshare are supported fully...

also the places where a newsworthy leak would happen do not use x11 and/or carefully vet their software. The average user should not need to do that, it would be bad design to make them

Communist ,
@Communist@lemmy.ml avatar

Ah, there's your problem, manjaro is pretty much fundamentally broken.

see this discussion: https://lemmy.ml/comment/9214664

It's just a stream of incompetent mistakes with them, if you ever do a reinstall, consider anything else, you'll have a better experience guaranteed.

Communist ,
@Communist@lemmy.ml avatar

Global hotkeys work in kde wayland and hyprland!

Communist ,
@Communist@lemmy.ml avatar

Why not just make a new protocol for what you need, rather than throwing out everything?

Communist ,
@Communist@lemmy.ml avatar

What doesn't work?

Communist ,
@Communist@lemmy.ml avatar

Does input-leap help?

Communist ,
@Communist@lemmy.ml avatar

It is on hyprland and kde, if that helps

Communist , (edited )
@Communist@lemmy.ml avatar

It's better in just about every way, objectively, I don't really know what you're talking about here.

You have one issue, accessibility, what other flaws do you see with the wayland protocol?

Why do you think it is that none of the people who worked on the X protocol would agree with you that wayland is worse in any way?

What specifically do you think is worse?

Why do you think literally every single desktop project is switching to wayland with no plans of implementing a different protocol, ever?

I feel like your version of reality is completely imaginary.

here's some things that will never be fixable in x.org

  1. Recording all of your activity is extremely easy for a malicious program
  2. Multiple displays with mixed refresh rates that aren't clean multiples of eachother
  3. Color management/hdr
  4. Rendering (try resizing something and notice all the garbled nonsense)
  5. Proper scaling support

There's more.

Communist , (edited )
@Communist@lemmy.ml avatar

Debian has implemented it. Screenshotting has worked perfectly for years, maybe half a decade at this point.

edit: I just checked, screenshotting has been working since 2015 https://github.com/swaywm/sway/issues/1

Debian has been using wayland by default on gnome since 2019.

This is an impressive level of confidence for someone who has no idea what they're talking about.

Also, seeing as you're the guy who doesn't even have accessibility problems, that means you have... no problems.

Remind me again, what is so bad about wayland?

Communist ,
@Communist@lemmy.ml avatar

If you don't know, the fix for that is here: https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/967

Communist ,
@Communist@lemmy.ml avatar

You're looking for Hyprland!

Communist ,
@Communist@lemmy.ml avatar

Oh it’s because the protocol forbids apps accessing the output of other apps without special support for it, so unless apps manually include support for Wayland, it will not work.

It's no more special than what they had to do to support X...

With many apps that don’t even do anything related to screenshotting or overlays - like Guake - it still does not work.

Actually guake already works perfectly.

So most of my usual workflow is just broken by Wayland, productivity utterly shattered by some middleware crap and for what? Why?

Security, proper rendering, mixed refresh rate displays, color management, HDR, no more insane hacks, I could go on. Also, you can't actually name a way in which your productivity is actually affected.

Why? Why must the graphical protocol of all things break random software incl. accessibility, overlays etc.? No other OS has ever had this issue. No other OS finds it a security concern to allow apps to see other apps.

Other OS's DO have this issue, you have no idea the things macos has enforced, and we have backwards compatibility using xwayland, being forced to update to a new standard IS normal for operating systems, linux just delayed it for as long as possible. The problems with X11 are MUCH more vast than the problems other operating systems have.

The only reason Wayland does is because it’s just terribly designed from its very conception despite the constant warnings from other Devs and users.

Name one actual problem with the design.

Oh and then there’s the Nvidia driver support…

That's 100% nvidia's fault and almost completely resolved

Look at what they did with PulseAudio - now that’s the right way to do it, users don’t even know the difference except suddenly everything just works a bit better.

That wouldn't have worked with X11 at all, because x11 is so fundamentally broken that making a successor to X is completely actually impossible, there's a reason all the X11 devs which you believe are so brilliant for making x11 decided to switch to developing wayland, and decided that what you want is actually completely impossible while making an actually well designed desktop. Please actually look into the history of this. The people who actually know how X11 works, refuse to work on it, and for very good reason. If what you were saying was true, there would be an X12 project in the works... but there is not, because it is fundamentally awful.

Ye I know that, this isn’t the own you think it is as the GNOME Devs lost their mind long ago in many other ways as well.

It's also the default on KDE now, also, I don't understand why you seem to believe they should've rushed this out, what they did was correct, x11 wasn't going anywhere, you can still use X11, the point of wayland was to redesign things from the ground up to be as perfect as possible, and they're (slowly) achieving exactly that.

Use x11 if any of your usecases aren't met by wayland, it's not like they deleted it. But wayland is the future. They were right to make it partially non-backwards compatible, they needed to restart from scratch.

Communist , (edited )
@Communist@lemmy.ml avatar

Guake works perfectly if the global shortcuts protocol has been implemented, and even if it isn't it only takes a minute to setup

is that your only thing?

I can show you how to set it up if you'd like, it's incredibly easy

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • All magazines