Communist
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!
- 8 Posts
- 50 Comments
Communist@lemmy.mlOPto
Linux@lemmy.ml•Help ridding my system of pactl and replacing it with pw-cli and wpctlEnglish
5·1 year agoyeah i’m doing this because i’m anal not because there’s a good reason to.
Communist@lemmy.mlOPto
Linux@lemmy.ml•My most ridiculous solution yet, completely solving citrix clipboard issuesEnglish
3·2 years agoDo you have any better suggestions?
Communist@lemmy.mlto
Linux@lemmy.ml•How are nvidia gpus with wayland nowadays? I read a while ago it was terrible, has it improved?English
3·2 years agoFirst, 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.
edit: woo it’s merged.
Communist@lemmy.mlto
Linux@lemmy.ml•How are nvidia gpus with wayland nowadays? I read a while ago it was terrible, has it improved?English
10·2 years agohttps://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@lemmy.mlOPto
Linux@lemmy.ml•Does anyone know how to execute a script when a certain sound plays?English
2·2 years agoI don’t have any meetings ever. An LLM really wouldn’t be able to do almost any of my work.
Communist@lemmy.mlOPto
Linux@lemmy.ml•Does anyone know how to execute a script when a certain sound plays?English
3·2 years agoYeah 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@lemmy.mlOPto
Linux@lemmy.ml•Does anyone know how to execute a script when a certain sound plays?English
1·2 years agohere you go, if you have a better idea, pitch it:
- 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.
- I want it to do two different things depending on if it’s a call or email
- It provides no notification other than the sound and an “accept” button on the page
- I have a chrome window open that does nothing but this, and I never use chrome for anything else
- I want to automatically do various things when I receive either this call or email
- 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.
- The noise is always the same, and hasn’t changed for many years, and there is a distinct noise between calls and emails
- 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
Communist@lemmy.mlOPto
Linux@lemmy.ml•Does anyone know how to execute a script when a certain sound plays?English
1·2 years agoIt’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:
- 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.
- I want it to do two different things depending on if it’s a call or email
- It provides no notification other than the sound and an “accept” button on the page
- I have a chrome window open that does nothing but this, and I never use chrome for anything else
- I want to automatically do various things when I receive either this call or email
- 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.
- The noise is always the same, and hasn’t changed for many years, and there is a distinct noise between calls and emails
- 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@lemmy.mlOPto
Linux@lemmy.ml•Does anyone know how to execute a script when a certain sound plays?English
1·2 years agoIt does not make a desktop notification at all, so that won’t work
Communist@lemmy.mlOPto
Linux@lemmy.ml•Does anyone know how to execute a script when a certain sound plays?English
11·2 years agoIn my case it never does
Communist@lemmy.mlOPto
Linux@lemmy.ml•Does anyone know how to execute a script when a certain sound plays?English
20·2 years agoIs there anything wrong with that? Hahaha, it’s pretty similar but not quite that
Communist@lemmy.mlOPto
Linux@lemmy.ml•Does anyone know how to execute a script when a certain sound plays?English
1·2 years agoUnfortunately the notification sound can’t be changed
Communist@lemmy.mlOPto
Linux@lemmy.ml•Does anyone know how to execute a script when a certain sound plays?English
14·2 years agoNot 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@lemmy.mlOPto
Linux@lemmy.ml•Does anyone know how to execute a script when a certain sound plays?English
11·2 years agoI 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@lemmy.mlto
Linux@lemmy.ml•Linux users with uncommon or unusual setups: tell us about itEnglish
2·2 years agoI’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:
Communist@lemmy.mlto
Linux@lemmy.ml•Do you daily drive Wayland, if so since when, if not when will you?English
1·2 years agoDoes input-leap help?
Communist@lemmy.mlto
Linux@lemmy.ml•Do you daily drive Wayland, if so since when, if not when will you?English
1·2 years agoAh, 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@lemmy.mlto
Linux@lemmy.ml•Do you daily drive Wayland, if so since when, if not when will you?English
1·2 years agoGlobal 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@lemmy.mlto
Linux@lemmy.ml•Do you daily drive Wayland, if so since when, if not when will you?English
1·2 years agoThat 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.
I made a better solution in my post that works perfectly… and is better for me because it isn’t a script (I don’t like adding additional dotfiles) sorry for the unnecessary effort.