Hey!
Ive installed deej on omarchy and i have a problem.
Ive bound a potmeter to the volume of zen browser and each time i click on a new video on youtube the volume resets to a value around 75% volume, so really loud. If i wiggle the potmeter a bit it comes to its senses and becones a normal volume again.
Ive tried a fork of the original deej repo that promises newer libraries and such but it didnt help.
I have cat-ed the output of the ttyUSB device and I havent noticed any big changes in the values, although there is some noise in there, I attribute it to my beginner soldering skills.
Anybody had this problem before?
Thanks!
#App volume reseting when clickimg onnnew video
5 messages · Page 1 of 1 (latest)
Hi have the same issue on Zen and Firefox on CachyOs. So it is not solely on Omarchy. Didn't find a way to fix this.
Have you tried deej-debug?
I havent but I suspect it may help
Just an idea
EDIT:
I've figured out what is happening in my case. I tought I'd leave this message here for anyone who is struggling with the same issue.
So my problem was that pipewire-pulse shuts down the audio session of programs after they idle for 5 seconds, and when deej tries to connect to this session, it noo longer exist and thus it bumps the volume up to max (or near max).
My simple workaround is as follows:
Create a file in /etc/pipewire/pipewire-pulse.conf.d/ (name it whatever, I used "asd")
Paste this into it: session.suspend-timeout-seconds=0
This line disables the session suspension on idleing audio streams.
Restart your pc or the pipewire-pulse service and you are done.
If you have any questions feel free to DM me or continue this thread.
Hi, thanks for the idea. I tried your idea, but it didn't help in my case. Also whenever i click on a different time in a video, it also resets the volume to max and once i rotate the knobs a bit, it catches the session volume.
Here is a bit from my console oputput:
026-02-05 12:53:14.148 DEBUG deej.sessions.zen-bin Adjusting session volume {"to": "0.41"} 2026-02-05 12:55:49.207 DEBUG deej.sessions Stale session map detected on slider move, refreshing 2026-02-05 12:55:49.207 DEBUG deej.sessions Releasing and clearing all audio sessions 2026-02-05 12:55:49.207 DEBUG deej.sessions.master Releasing audio session 2026-02-05 12:55:49.207 DEBUG deej.sessions.mic Releasing audio session 2026-02-05 12:55:49.207 DEBUG deej.sessions.zen-bin Releasing audio session 2026-02-05 12:55:49.207 DEBUG deej.sessions Session map cleared 2026-02-05 12:55:49.208 DEBUG deej.sessions.master Created audio session instance {"session": "<session: master, vol: 0.84>"} 2026-02-05 12:55:49.208 DEBUG deej.sessions.mic Created audio session instance {"session": "<session: mic, vol: 1.00>"} 2026-02-05 12:55:49.208 DEBUG deej.sessions.zen-bin Created audio session instance {"session": "<session: zen-bin, vol: 0.79>"} 2026-02-05 12:55:49.208 INFO deej.sessions Got all audio sessions successfully {"sessionMap": "<3 audio sessions>"} 2026-02-05 12:55:49.208 DEBUG deej.sessions Re-acquired sessions successfully 2026-02-05 12:55:49.209 DEBUG deej.sessions.zen-bin Adjusting session volume {"to": "0.38"} 2026-02-05 12:55:49.508 DEBUG deej.sessions.zen-bin Adjusting session volume {"to": "0.41"}
Do you have any other ideas?