Page 1 of 1

Beep doesn't work in LXLE 16.04

Posted: Sat Oct 06, 2018 12:40 am
by tetsuo29
Title says it all.

Re: Beep doesn't work in LXLE 16.04

Posted: Sat Oct 06, 2018 1:38 am
by ClipArtGuy
Confirmed no beep in lubuntu/LXDE 18.04 either.

Re: Beep doesn't work in LXLE 16.04

Posted: Sat Oct 06, 2018 1:41 pm
by bogs
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.

Re: Beep doesn't work in LXLE 16.04

Posted: Sat Oct 06, 2018 5:54 pm
by ClipArtGuy
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

Posted: Sat Oct 06, 2018 10:57 pm
by bogs
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.

Re: Beep doesn't work in LXLE 16.04

Posted: Sun Oct 07, 2018 12:49 am
by tetsuo29
ClipArtGuy wrote:
Sat Oct 06, 2018 5:54 pm
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....
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.

Re: Beep doesn't work in LXLE 16.04

Posted: Sun Oct 07, 2018 5:35 am
by bogs
tetsuo29 wrote:
Sun Oct 07, 2018 12:49 am
That makes me wonder what is different in LXLE because it is based on Ubuntu.
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

Posted: Sun Oct 07, 2018 3:06 pm
by bogs
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 ~

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.
Selection_078.png
Pc speaker module not loaded by default...
If you get a result from the modprobe, that means the module is being blacklisted. On your distro, the file is located here ~

Code: Select all

/etc/modprobe.d/blacklist.conf
...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.

Re: Beep doesn't work in LXLE 16.04

Posted: Sun Oct 07, 2018 11:55 pm
by bogs
Hm, maybe the above *is* all you need to do, just found out in virtual box you can't get a system beep :P give it a try, let us know.