Beep doesn't work in LXLE 16.04
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Beep doesn't work in LXLE 16.04
Title says it all.
-
- Posts: 253
- Joined: Wed Aug 19, 2015 4:29 pm
Re: Beep doesn't work in LXLE 16.04
Confirmed no beep in lubuntu/LXDE 18.04 either.
Re: Beep doesn't work in LXLE 16.04
There has been no beep on any linux that I've **tested by default all the way back to at least Lc 6, and probably to Mc 2.x, but for different reasons.
You can get it to work, part of it is configuring your 'nix distro to play event sounds (I think thats what it was, course, this was a long time ago). Once you have event sounds going, try it and if it doesn't 'beep' at you, you may need to also install mPlayer (doubtful, though, pretty sure just event sounds is needed).
** I should add that I do *not* use 'buntu based distros, though.
You can get it to work, part of it is configuring your 'nix distro to play event sounds (I think thats what it was, course, this was a long time ago). Once you have event sounds going, try it and if it doesn't 'beep' at you, you may need to also install mPlayer (doubtful, though, pretty sure just event sounds is needed).
** I should add that I do *not* use 'buntu based distros, though.
-
- Posts: 253
- Joined: Wed Aug 19, 2015 4:29 pm
Re: Beep doesn't work in LXLE 16.04
FWIW, beep does seem to work in Ubuntu 18.04 as expected. I'm not sure whether or not this qualifies as a bug, since to my understanding, Ubuntu is the only *officially* supported distro....
Re: Beep doesn't work in LXLE 16.04
Yes, and I have it currently working in LDME 2 (Linux Mint Debian Edition) which is not a currently supported distro, as well as a few others such as antiX, Q40S, etc.
Last edited by bogs on Sun Oct 07, 2018 5:31 am, edited 1 time in total.
Re: Beep doesn't work in LXLE 16.04
That makes me wonder what is different in LXLE because it is based on Ubuntu. Anyway, I'm working on just using mplayer to play a small wave file in order to get the beep I need.ClipArtGuy wrote: ↑Sat Oct 06, 2018 5:54 pmFWIW, beep does seem to work in Ubuntu 18.04 as expected. I'm not sure whether or not this qualifies as a bug, since to my understanding, Ubuntu is the only *officially* supported distro....
Re: Beep doesn't work in LXLE 16.04
Downloading it now to take a look, if I find out I'll post back. I was a little surprised the download weighs in at almost a gig and a half, which seems pretty large for a 'light weight' distro target
*Edit ~ this may be more challenging than I initially thought, will take another look at it tomorrow.
Re: Beep doesn't work in LXLE 16.04
Well, after playing with this distro for a bit, I can tell you *part* of the problem, LXLE doesn't load the pc speaker module by default.
You can test this out for yourself to see if your system is loading it ~
If you get a result from the modprobe, that means the module is being blacklisted. On your distro, the file is located here ~
...and the line your looking to comment out will say "blacklist pcspkr" (without the quotes).
Anyhow, the above is just the first part of the problem, enabling that alone didn't resolve the issue, so I suspect that you would have to find (and unmute) the particular system sound events for this distro. I can tell the 'beep' command is generating an event, at least. Will check back if I get the rest resolved.
You can test this out for yourself to see if your system is loading it ~
Code: Select all
1.) check to see if pc speaker module is loaded -
lsmod | grep pcspkr
--should produce something like the following -
pcspkr 1434 0
-- if you get an empty prompt, the module isn't loaded.
This is either due to being blacklisted, or the kernel does not have the module.
Code: Select all
/etc/modprobe.d/blacklist.conf
Anyhow, the above is just the first part of the problem, enabling that alone didn't resolve the issue, so I suspect that you would have to find (and unmute) the particular system sound events for this distro. I can tell the 'beep' command is generating an event, at least. Will check back if I get the rest resolved.
Re: Beep doesn't work in LXLE 16.04
Hm, maybe the above *is* all you need to do, just found out in virtual box you can't get a system beep give it a try, let us know.