@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. Browse more on the original instance.

Communist,
@Communist@lemmy.ml avatar

I’ll eat my shoe if they do anything of real note

it’ll be better than not doing anything but not much

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

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.

QT Theme management in Sway

I use VLC,Keepass,Kdenlive and few other QT Apps on my sway setup. So, wanted to configure their themes from Sway. I installed qt5ct and qt6ct and did export QT_QPA_PLATFORMTHEME=qt5ct in bashrc and .profile. While runnin echo $QT_QPA_PLATFORMTHEME it is showing qt5ct but it is not working showing that error message that...

Communist,
@Communist@lemmy.ml avatar

yeah i’m doing this because i’m anal not because there’s a good reason to.

Communist,
@Communist@lemmy.ml avatar

Simply have no estate and it’s all wins!

Newish user migrating to Linux

I have been using Arch Linux with i3wm for around 5 years for work, on my ThinkPad. I am fairly comfortable with pacman and setting up a distro. I have previously tried Mint, Manjaro, KDE Neon, Elementary, and MX Linux, all for the same use case (Work: where I need a browser, Slack, and a MongoDB GUI)....

Communist,
@Communist@lemmy.ml avatar

I highly recommend fedora kiniote if stability is your goal always go immutable

Communist,
@Communist@lemmy.ml avatar

Every single way that flatpak doesn’t integrate well into the OS is easily fixed with minimal effort.

My most ridiculous solution yet, completely solving citrix clipboard issues

bindntr=CTRL,C,exec,hyprctl dispatch closewindow alacrittyclipboard & hyprctl activewindow | rg -q "class: Wfica" && alacritty -qq --config-file ~/.config/alacritty/alacrittyclipboard.toml --class 'alacrittyclipboard' --title 'Office365 Desktop - Nexus (SSL/TLS Secured, 256 bit)' -e sh -c 'sleep .03 && xclip -o | wl-copy'...

Communist,
@Communist@lemmy.ml avatar

The real reason for alacritty is that it’s my terminal emulator of choice and it needed to run “xclip -o | wl-copy” while in focus, or the clipboard won’t update properly.

Communist,
@Communist@lemmy.ml avatar

Do you have any better suggestions?

Communist,
@Communist@lemmy.ml avatar

Obviously the only real issue the american government is capable of tackling.

Communist,
@Communist@lemmy.ml avatar

Of course he could, he’s able bodied

weird name though

Communist,
@Communist@lemmy.ml avatar

gitlab.freedesktop.org/xorg/xserver/-/…/967

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

Communist, (edited )
@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: gitlab.freedesktop.org/xorg/xserver/-/tags

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

…fedoraproject.org/…/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,
@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,
@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,
@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,
@Communist@lemmy.ml avatar

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

Communist,
@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,
@Communist@lemmy.ml avatar

That’s a good start, thank you!

Communist,
@Communist@lemmy.ml avatar

100+ a day

Communist,
@Communist@lemmy.ml avatar

Unfortunately the notification sound can’t be changed

Communist,
@Communist@lemmy.ml avatar

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

Communist,
@Communist@lemmy.ml avatar

In my case it never does

Communist,
@Communist@lemmy.ml avatar

There are two sounds it makes, they just never overlap

Communist, (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,
@Communist@lemmy.ml avatar

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

Communist, (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: github.com/worldveil/dejavu

Communist, (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

github.com/worldveil/dejavu

Communist,
@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,
@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,
@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.

Communist,
@Communist@lemmy.ml avatar

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

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,
@Communist@lemmy.ml avatar

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

Communist,
@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,
@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,
@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

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