#Keyboard breaks after changing volume with keys

103 messages · Page 1 of 1 (latest)

faint turret
#

Usually, I change my volume using my keyboard, but after updating to kernel 6.8.0-57 it nows doesn't work anymore after doing this (aside from the mute volume key) unless I restart my session

#

After that the volume control keys still don't work though

#

I'm using mint 22.1 xfce

crude sapphire
#

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

faint turret
crude sapphire
#

advice still stands as stated

faint turret
crude sapphire
#

do uname -r right now. what does it say?

#

@faint turret

faint turret
crude sapphire
#

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.

faint turret
#

Same happens with volume up

crude sapphire
#

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

faint turret
faint turret
crude sapphire
#

maybe the keys are stuck?

#

what happens when you roll up/down the mouse wheel over the volume icon in tray?

crude sapphire
#

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

faint turret
crude sapphire
#

so media volume up / down keys NEEDS to use Fn+ or no?

faint turret
crude sapphire
#

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

faint turret
crude sapphire
#

and when u do fn+F7 (one short press) it shoots far up?

faint turret
crude sapphire
#

Up:
amixer -D pulse sset Master 5%+

Down:
amixer -D pulse sset Master 5%-

#

try those commands for the keyboard shortcuts

faint turret
crude sapphire
#

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

faint turret
crude sapphire
#

alternate solution:

Change volume with media volume keys

  1. 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

faint turret
crude sapphire
#

are each sh marked executable?

#

u can double click each to see if raises sound

faint turret
crude sapphire
#

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

faint turret
#

I'll send what it returns

#
amixer: Mixer attach pulse error: No such file or directory
crude sapphire
#

ohh right. this version of Mint uses Pipewire

#

instead of pulseaudio

crude sapphire
#

test run in terminal, manually as u previously attempted

faint turret
crude sapphire
#

just edit the scripts then

faint turret
crude sapphire
#

do u get a visual animation too or no?

faint turret
crude sapphire
#

and it visually steps accurately?

faint turret
crude sapphire
#

koo. so now put shortcuts onto media keys, instead of the ctrl-alt-7 ones

faint turret
crude sapphire
#

do it manually, no lock

faint turret
#

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

crude sapphire
#

mkay

#

well that's unfortunate

#

i guess assign whatever works that u find easy

#

maybe use ctrl instead of fn

faint turret
#

I did try arch for a bit and it didn't have this problem

crude sapphire
#

was it xfce too?

#

for proper comparison

faint turret
#

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

crude sapphire
#

hmm. Did you say the ctrl-alt-F7&F8 thing worked "just fine" ?

crude sapphire
faint turret
crude sapphire
#

or just ctrl-F7 etc

#

one less key to press

faint turret
#

Guess I'll just use this shortcut though, thanks for helping

crude sapphire
#

hmm . ok yw

faint turret
crude sapphire
#

yes