#Keyboard breaks after changing volume with keys
103 messages · Page 1 of 1 (latest)
After that the volume control keys still don't work though
I'm using mint 22.1 xfce
you could rollback to the previous working kernel version at boot time.
then if all works good, delete the bad kernel, and don't approve any updates on it for a good long time. (a year or so, if not more) Unless there's serious news of major, major vulnerability otherwise
I decided to turn on the sound notification setting and it turns out for some reason it's just stuck as if I'm always holding the volume key
advice still stands as stated
Problem is, even after downgrading back to 6.8.0-51 it's still causing the same issue
6.8.0-51-generic
show what u meant by the sound notifcation thing
what u could also try is reverting back the desktop.
maybe some other update F'd you up hard
install Synaptic package manager.
then go "File menu> history"
in it and see.
can also search xfce4 desktop in it, and select, go to Package menu: force version, and pick a slightly older one.
Sorry for the wait, basically even after just tapping once the fn key to lower the volume it goes down all the way and stays stuck like this
Same happens with volume up
oh .
did u mess with the default shortcut?
and does it animate as in sliding to minimum/maximum, or does it suddenly shoot instantly to min/max?
@faint turret
it goes a little and pauses for a very short time before going all the way down
No
maybe the keys are stuck?
what happens when you roll up/down the mouse wheel over the volume icon in tray?
It changes volume just fine
ok see if u can find the volume keyboard shortcuts in xfce
i'll give u a new set of commands to try in place of
I tested them, they don't seem to be
so media volume up / down keys NEEDS to use Fn+ or no?
Yeah, I'm using fn + f7 for volume down and fn +f8 for volume up
ok
open text editor or even start menu search bar and press and hold c
does it repeat EXTREMELY fast?
cuz maybe ur repeat rate got messed up
It seems to be normal
and when u do fn+F7 (one short press) it shoots far up?
Yeah, same with fn+f8
Up:
amixer -D pulse sset Master 5%+
Down:
amixer -D pulse sset Master 5%-
try those commands for the keyboard shortcuts
They don't seem to work
try custom shortcuts with those commands
for example ctrl-alt-7 and ctrl-alt-8
in the number row for numbers
just to see if works
Tried that, still doesn't work
alternate solution:
Change volume with media volume keys
- Make two scripts first:
"Volume_up.sh" script which contains:
amixer -D pulse sset Master 5%+
exit```
"Volume_down.sh" script which contains:
```#!/bin/bash
amixer -D pulse sset Master 5%-
exit```
2. Mark both scripts executable in their file permissions via file Properties window, then move them to /usr/local/bin/
3. edit the default volume shortcuts, and change to:
/usr/local/bin/Volume_up.sh >> Volume up Media Key
/usr/local/bin/Volume_down.sh >> Volume down MediaKey
open root-mode file manager to move them to /usr/local/bin
set it up like this, somehow still doesn't work
they both are
well if those command dont work, idk
play some music
and try running the amixer command as written, directly in terminal, and see if it affects the sound volume
can even do 40 percent
The command is broken somehow
I'll send what it returns
amixer: Mixer attach pulse error: No such file or directory
try replacing the term pulse with pipewire
test run in terminal, manually as u previously attempted
That worked
just edit the scripts then
Now the shortcuts are working perfectly
do u get a visual animation too or no?
Yeah
and it visually steps accurately?
Works just fine
koo. so now put shortcuts onto media keys, instead of the ctrl-alt-7 ones
Tried to set it using fn lock but the shortcut doesn't go past the select key screen since it just acts like it's being constantly held down
do it manually, no lock
If I hold down fn and press f7 it just doesn't register
I tried testing the other fn keys
The brightness one for example doesn't have the same issue where it's completely stuck but it's still a bit janky
mkay
well that's unfortunate
i guess assign whatever works that u find easy
maybe use ctrl instead of fn
Really strange issue though
I did try arch for a bit and it didn't have this problem
Yes
Pipewire also
But considering how it's still glitched with the shortcut, it's probably not a sound driver issue
I tried disabling key repetition to see what it would do, the volume didn't shoot up or down, but it still glitched the keyboard
hmm. Did you say the ctrl-alt-F7&F8 thing worked "just fine" ?

Guess I'll just use that shortcut instead 
Tried to check using the live environment if it could've been some update that screwed it up, apparently not
Guess I'll just use this shortcut though, thanks for helping
hmm . ok yw
I think I can update the kernel though right?
yes