Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
KDE Plasma5 - annoying beep when battery become charged
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
paul_chany
n00b
n00b


Joined: 01 Aug 2010
Posts: 65
Location: Europe, Serbia

PostPosted: Fri Jun 15, 2018 6:54 pm    Post subject: KDE Plasma5 - annoying beep when battery become charged Reply with quote

Hi,

my Gentoo system is installed on an Acer laptop. It has Core i3 CPU inside.

I am using KDE Plasma5 Desktop Environment.

I recently became aware that, that when the battery become charged, I hear a beep in every 5-10 seconds.

I did follow the https://wiki.gentoo.org/wiki/Power_management/Guide.

But that not helped me out.

What can I do to get rid of this beep?

PS: I do not want to switch off the beep in kernel, because I want that beep in xterm wibdows.
_________________
Best, Pali
Back to top
View user's profile Send private message
fedeliallalinea
Bodhisattva
Bodhisattva


Joined: 08 Mar 2003
Posts: 19441
Location: here

PostPosted: Fri Jun 15, 2018 7:01 pm    Post subject: Reply with quote

System Setting -> Notifications select Power Management System in dropdown menu and then se in Charge Complete entry if is set Play a sound
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
paul_chany
n00b
n00b


Joined: 01 Aug 2010
Posts: 65
Location: Europe, Serbia

PostPosted: Sat Jun 16, 2018 5:39 am    Post subject: Reply with quote

fedeliallalinea wrote:
System Setting -> Notifications select Power Management System in dropdown menu and then se in Charge Complete entry if is set Play a sound

Checked out. There is no set for Play a sound in Charge Complete out there.
But I found one more thing.
This beep can be heared when in BIOS setup too.
This is an Acer Aspire v3-571 laptop with Intel core i3 processor.
It's BIOS:
System BIOS Version: V1.10
VGA BIOS Version: Intel V2130

There is no option to set in BIOS anything but System Time, System Date, Quiet Boot, Network Boot, F12 Boot Menu, D2D Recovery, Wake on LAN, SATA Mode.

If I mute in xterm / alsamixer the Beep, than this annoying beep can't be heared.
But, as I said before, I need the Beep in xterm windows.

What can I do to get rid of this repeating beep?
_________________
Best, Pali
Back to top
View user's profile Send private message
Fitzcarraldo
Veteran
Veteran


Joined: 30 Aug 2008
Posts: 1501
Location: United Kingdom

PostPosted: Sat Jun 16, 2018 9:57 am    Post subject: Reply with quote

paul_chany wrote:
What can I do to get rid of this beep?

PS: I do not want to switch off the beep in kernel, because I want that beep in xterm wibdows.

You don't need to have snd-pcsp or pcspkr set in the kernel in order to have a beep in xterm windows. I have been able to configure Konsole and Yakuake to play an audio file of a beep (as opposed to emitting a pcbeep) as follows:

In Konsole, click on ‘Settings’ > ‘Configure Notifications…’, select ‘Bell in Visible Session’ and ensure ‘Play a sound’ is ticked and a file is specified there (I specify /usr/share/sounds/freedesktop/stereo/bell.oga but you could choose any sound file you want). If you wish, do the same for ‘Bell in Non-Visible Session’.

For Yakuake, press F12 to display the Yakuake window, click on the ‘Open Menu’ icon, select ‘Configure Notifications…’, select ‘Bell in Visible Session’ and ensure ‘Play a sound’ is ticked and a file is specified there (I specify /usr/share/sounds/freedesktop/stereo/bell.oga but you could choose any sound file you want). If you wish, do the same for ‘Bell in Non-Visible Session’.

Ref.: Another look at beeps in Linux.
_________________
Clevo W230SS: amd64, OpenRC, nvidia-drivers & xf86-video-intel.
Compal NBLB2: ~amd64, OpenRC, xf86-video-ati, dual booting with Win 7 Pro 64-bit.
KDE on both laptops.

Fitzcarraldo's blog
Back to top
View user's profile Send private message
paul_chany
n00b
n00b


Joined: 01 Aug 2010
Posts: 65
Location: Europe, Serbia

PostPosted: Sat Jun 16, 2018 10:04 am    Post subject: Reply with quote

Fitzcarraldo wrote:
paul_chany wrote:
What can I do to get rid of this beep?

PS: I do not want to switch off the beep in kernel, because I want that beep in xterm wibdows.

You don't need to have snd-pcsp or pcspkr set in the kernel in order to have a beep in xterm windows. I have been able to configure Konsole and Yakuake to play an audio file of a beep (as opposed to emitting a pcbeep) as follows:

In Konsole, click on ‘Settings’ > ‘Configure Notifications…’, select ‘Bell in Visible Session’ and ensure ‘Play a sound’ is ticked and a file is specified there (I specify /usr/share/sounds/freedesktop/stereo/bell.oga but you could choose any sound file you want). If you wish, do the same for ‘Bell in Non-Visible Session’.

For Yakuake, press F12 to display the Yakuake window, click on the ‘Open Menu’ icon, select ‘Configure Notifications…’, select ‘Bell in Visible Session’ and ensure ‘Play a sound’ is ticked and a file is specified there (I specify /usr/share/sounds/freedesktop/stereo/bell.oga but you could choose any sound file you want). If you wish, do the same for ‘Bell in Non-Visible Session’.

Ref.: Another look at beeps in Linux.

Thank you very much.
I forgot to say: I need that bell in Emacs too.
How can I set Emacs for that?
_________________
Best, Pali
Back to top
View user's profile Send private message
Fitzcarraldo
Veteran
Veteran


Joined: 30 Aug 2008
Posts: 1501
Location: United Kingdom

PostPosted: Sat Jun 16, 2018 1:53 pm    Post subject: Reply with quote

I don't use emacs, so I don't know. But DDG is telling me emacs has a couple of functions and user options for beeping, so you could try those:

https://www.gnu.org/software/emacs/manual/html_node/elisp/Beeping.html
_________________
Clevo W230SS: amd64, OpenRC, nvidia-drivers & xf86-video-intel.
Compal NBLB2: ~amd64, OpenRC, xf86-video-ati, dual booting with Win 7 Pro 64-bit.
KDE on both laptops.

Fitzcarraldo's blog
Back to top
View user's profile Send private message
paul_chany
n00b
n00b


Joined: 01 Aug 2010
Posts: 65
Location: Europe, Serbia

PostPosted: Sat Jun 16, 2018 2:47 pm    Post subject: Reply with quote

Fitzcarraldo wrote:
I don't use emacs, so I don't know. But DDG is telling me emacs has a couple of functions and user options for beeping, so you could try those:

https://www.gnu.org/software/emacs/manual/html_node/elisp/Beeping.html

Thank you very much!

Now I am using visible bells in xterm and in Emacs.
_________________
Best, Pali
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum