Comments (4)
Thanks.
For future users that might have the same issue, what I did in the end was to use sxhkd configuration file, by adding the following lines:
# Volume control
XF86AudioLowerVolume
pactl set-sink-volume @DEFAULT_SINK@ -5%
XF86AudioRaiseVolume
pactl set-sink-volume @DEFAULT_SINK@ +5%
XF86AudioMute
pactl set-sink-mute @DEFAULT_SINK@ toggle
These actually don't depend on eruption's way of working. I just didn't configure my sxhkd daemon properly with my previous keyboard.
from eruption.
Hi! Thank you for your bug report!
Could you please tell me which distro and what version of it you are using? And what is your current desktop environment?
I have followed the README instructions regarding PulseAudio. However, I'm not sure this was necessary. The README says it needs to be done If you want Eruption to be able to play back sound effects, or use one of the audio visualizer Lua scripts, which I actually don't want. But I figured that if my keyboard must adjust the volume it might better have access to the audio.
If you only want the media keys and volume control knob/mute button to work, then this was not necessary. Eruption translates rotation of the volume control knob to key press events that subsequently need to be handled by your desktop environment. Eruption currently does not adjust the system volume.
Edit:
For the "Master Volume Indicator Overlay" to work correctly, Eruption needs to access pulse audio. (The white overlay effect you are seeing when turning the volume knob) Apparently Eruption is unable to query the master volume of your sound card too.
from eruption.
I use Arch.
I have no DE, only a WM, namely BSPWM with SXHKD. What are the key pressed events I need to listen to to translate to volume modification?
from eruption.
The respective events are:
code 113 (KEY_MUTE)
code 114 (KEY_VOLUMEDOWN)
code 115 (KEY_VOLUMEUP)
You can see the exact key codes that are emitted by the Eruption Virtual Keyboard
device using the evtest
utility.
from eruption.
Related Issues (20)
- Shockwave script - Better blending of colors for keypress HOT 1
- Eruption service fails to start on Siduction (Debian Sid) HOT 1
- GitHub Sponsors HOT 1
- RustC Compiler Error E0658 HOT 1
- Roccat Kain 100 AIMO mouse buttons no longer detected. HOT 4
- Missing packages from Ubuntu PPA HOT 1
- [BUG] Input spam on X11 console screen HOT 2
- Brightness Controll doesn't work on Fedora 37 HOT 1
- Add Support for Roccat Vulcan II max
- Add support for ROCCAT Ryos mk fx
- Initialize Failure Flooding Journal HOT 2
- "ROCCAT Vulcan Pro" keyboard not working anymore HOT 1
- Eruption sometimes fails to autostart, causes keyboard flickering
- ROCCAT Kone Pro Air debounce time
- Vulcan pro and kone pro not seen on gui HOT 2
- lots of logging to /var/log/warn "Could not process a mouse event: receiving on a closed channel" HOT 11
- Move "ROCCAT Vulcan Pro Keyboard" out of experimental HOT 1
- Bugs HOT 3
- Eruption 0.3.3 fails to start automatically on Ubuntu 23.04 HOT 3
- Add Support for ite8291 (XMG/Tuxedo(?) Laptop Keyboards) HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from eruption.