[lubuntu-users] pcspkr bell issue
Ralf Mardorf
ralf.mardorf at alice-dsl.net
Sun Oct 23 18:25:25 UTC 2016
Hi,
I'm using lubuntu-16.10-desktop-amd64.iso as live media. After the Lxde
session started I run a script [attached]. One thing done by the script
is enabling the PC speaker beep.
If the script run for one time launched in lxterminal, the bell doesn't
work. Nothing pulseaudio related is shown by ps aux and lsmod shows that
pcspkr is loaded after the script run. All changes applied to lxterminal
and xfce4-terminal are applied, I just need to close and open
lxterminal, resp. just open xfce4-terminal for the first time. However,
the bell doesn't work. If I run the script for the second time, the bell
works, even without closing and opening a terminal again, but not
before I closed and opened lxterminal one time.
If a mechanism would lock something as long as lxterminal is opened,
just closing and reopening the terminal should do the trick. I don't
understand why it works, if I close and reopen the terminal + run the
script a second time. As far as I can see nothing in this script and
the 126428 similar scripts I tested before, does something related to
the issue. Nothing that already is killed, purged and loaded gets
killed, purged or loaded a second time.
Any idea how I could enable the bell by running a script just one time?
Regards,
Ralf
-------------- next part --------------
A non-text attachment was scrubbed...
Name: lubuntu_live.sh
Type: application/x-shellscript
Size: 3695 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/lubuntu-users/attachments/20161023/8fcaadc1/attachment.bin>
More information about the Lubuntu-users
mailing list