You are not logged in.
1.
## Turn on/off system beep.
xset b off
is now governed by
greeter-setup-script=xset b off
in
/etc/lightdm/lightdm.conf
(see https://unix.stackexchange.com/question … tdm#395736)
2.
## Add keyboard mapping.
xmodmap -e "keysym Insert = Multi_key"
## Disable CapsLock
setxkbmap -option ctrl:nocaps
# alternative: use as compose key
#setxkbmap -option compose:caps
doesn't work because
xmodmap settings are reset by setxkbmap, which not only alters the alphanumeric keys to the values given in the map, but also resets all other keys to the startup default
(see https://wiki.archlinux.org/title/Xmodmap)
Solution: put xmodmap commands *after* setxkbmap commands.
Cheers
Last edited by dude (2024-10-29 01:02:19)
Offline
Thanks for the feedback @dude!
1.
## Turn on/off system beep. xset b off
is now governed by
greeter-setup-script=xset b off
in
/etc/lightdm/lightdm.conf
I hear no system beep right now (eg with a backspace in the login password window) with 'xset b off' in ~/.config/bunsen/autostart. Does it affect you? ( That stackexchange reference is from 2017. )
2.
## Add keyboard mapping. xmodmap -e "keysym Insert = Multi_key" ## Disable CapsLock setxkbmap -option ctrl:nocaps # alternative: use as compose key #setxkbmap -option compose:caps
doesn't work because
xmodmap settings are reset by setxkbmap, which not only alters the alphanumeric keys to the values given in the map, but also resets all other keys to the startup default
(see https://wiki.archlinux.org/title/Xmodmap)
Solution: put xmodmap commands *after* setxkbmap commands.
This will be done, many thanks!
...elevator in the Brain Hotel, broken down but just as well...
( a boring Japan blog (currently paused), now on Bluesky, there's also some GitStuff )
Offline
I hear no system beep right now (eg with a backspace in the login password window) with 'xset b off' in ~/.config/bunsen/autostart. Does it affect you? ( That stackexchange reference is from 2017. )
Yeah, apparently it's not a new discovery but it was a new development for me. Seems like the kind of thing that would irritate a lot of people. I wonder why it affects me in particular. Perhaps because I did a fresh install? Did you upgrade? Maybe it carried over the previous config?
Thanks for the feedback @dude!
I'm happy to help :-)
Offline
Before making the change in where to turn off the beep I need to be sure it's an improvement for most people.
To be honest, I've never heard the beep in any of the fresh installs, both on hardware and in VMs, that I've done. You're the first person to mention it, ever.
When do you hear it? I'll try to reproduce the issue before trying to fix it.
If ~/.config/bunsen/autostart works, it's preferable because it would continue to work with other display managers than LightDM.
...elevator in the Brain Hotel, broken down but just as well...
( a boring Japan blog (currently paused), now on Bluesky, there's also some GitStuff )
Offline
I've never heard the beep in any of the fresh installs, both on hardware and in VMs, that I've done. You're the first person to mention it, ever.
When do you hear it?
Backspace in the login prompt does it, like you said. It was one of the first things I noticed. Could another setting be screwing with it? Could it be firmware or hardware related?
Offline
And when you moved the setting to /etc/lightdm/lightdm.conf it went away?
Another reason I'm reluctant to change this is that it occupies the greeter-setup-script slot in lightdm's config that someone might want to use for something more substantial.
...elevator in the Brain Hotel, broken down but just as well...
( a boring Japan blog (currently paused), now on Bluesky, there's also some GitStuff )
Offline
Correct. It’s reproducible on my end but there’s no reason to change anything if I’m the only one with the issue.
Offline
Anyway let's keep an eye on this one. I've put it on our to-do list for Carbon so we can revisit it before release.
...elevator in the Brain Hotel, broken down but just as well...
( a boring Japan blog (currently paused), now on Bluesky, there's also some GitStuff )
Offline
I just did a little bit of web-searching and it looks as if disabling the system beep can be a surprisingly complicated task, eg:
https://www.baeldung.com/linux/disable-beep-sound
One thing to check - is the beep coming through the sound system via pulse, alsa or whatever to a pair of audio speakers or headphones, or is it direct from a built-in speaker on the motherboard?
...elevator in the Brain Hotel, broken down but just as well...
( a boring Japan blog (currently paused), now on Bluesky, there's also some GitStuff )
Offline