GNU bug report logs - #45109
GNOME: unable to change alert "beep" sound since staging merge

Previous Next

Package: guix;

Reported by: Mark H Weaver <mhw <at> netris.org>

Date: Mon, 7 Dec 2020 23:38:02 UTC

Severity: normal

To reply to this bug, email your comments to 45109 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#45109; Package guix. (Mon, 07 Dec 2020 23:38:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Mark H Weaver <mhw <at> netris.org>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Mon, 07 Dec 2020 23:38:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Mark H Weaver <mhw <at> netris.org>
To: bug-guix <at> gnu.org
Subject: GNOME: unable to change alert "beep" sound since staging merge
Date: Mon, 07 Dec 2020 18:36:10 -0500
Since the recent merge of the 'staging' branch into 'master' on 28 Nov
2020, I'm no longer able to configure the alert sound in GNOME.  That's
a pity, since I find the default "drip" sound extremely unpleasant.

In more detail:

To configure the alert sound, I first open GNOME Settings by clicking on
the gear icon in the pull-down menu on the right side of GNOME Shell's
top bar.  From there, I navigate to the "Sound" section and scroll to
the bottom of that section, where I'm given a choice of 4 options for
the "Alert Sound".

For as long as I can remember, and even today, this pane *does* remember
my preferred Alert Sound (sonar), and correctly highlights it as my
selected choice.  However, the default "drip" sound is the one that is
actually used by applications, e.g. by GNOME Terminal and Emacs.

Note that even before the recent staging merge, periodically (maybe once
a week or so), I would log in and find that the dreaded "drip" sound was
being used as my alert sound.  Each time, I was able to fix it by going
back to the Sound section of GNOME Settings, and clicking again on my
preferred alert sound (although it was already selected as my configured
alert sound).  Now, since the recent staging merge, that no longer
works.

If anyone can suggest a way to successfully change my alert sound, I
would be grateful.

       Mark




Information forwarded to bug-guix <at> gnu.org:
bug#45109; Package guix. (Tue, 08 Dec 2020 00:23:01 GMT) Full text and rfc822 format available.

Message #8 received at 45109 <at> debbugs.gnu.org (full text, mbox):

From: Marius Bakke <marius <at> gnu.org>
To: Mark H Weaver <mhw <at> netris.org>, 45109 <at> debbugs.gnu.org
Subject: Re: bug#45109: GNOME: unable to change alert "beep" sound since
 staging merge
Date: Tue, 08 Dec 2020 01:21:45 +0100
[Message part 1 (text/plain, inline)]
Mark H Weaver <mhw <at> netris.org> skriver:

> Since the recent merge of the 'staging' branch into 'master' on 28 Nov
> 2020, I'm no longer able to configure the alert sound in GNOME.  That's
> a pity, since I find the default "drip" sound extremely unpleasant.

There were not a lot of GNOME-related changes in that merge.  From a
quick glance of...

  git shortlog --format='%h %s' --no-merges -n fe5c9051cc..e827f40479

...a likely culprit is:

  62df18d305 gnu: dconf: Update to 0.36.0.

Can you check if reverting it makes a difference?
[signature.asc (application/pgp-signature, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#45109; Package guix. (Tue, 08 Dec 2020 08:40:02 GMT) Full text and rfc822 format available.

Message #11 received at 45109 <at> debbugs.gnu.org (full text, mbox):

From: Bengt Richter <bokr <at> bokr.com>
To: Mark H Weaver <mhw <at> netris.org>
Cc: 45109 <at> debbugs.gnu.org
Subject: Re: bug#45109: GNOME: unable to change alert "beep" sound since
 staging merge
Date: Tue, 8 Dec 2020 09:39:27 +0100
Hi Mark,

On +2020-12-07 18:36:10 -0500, Mark H Weaver wrote:
> Since the recent merge of the 'staging' branch into 'master' on 28 Nov
> 2020, I'm no longer able to configure the alert sound in GNOME.  That's
> a pity, since I find the default "drip" sound extremely unpleasant.
>
I find it annoying too -- thanks for nudging me to change it ;)

It looks like a brute force "fix" -- while waiting for a proper one --  would be
to substitute another ogg file for drip.ogg.
(or just switch the names on drip.ogg and sonar.ogg, if you don't want to fiddle further).

$ find /usr -iname '*drip*'
/usr/include/X11/dri/xf86driproto.h
/usr/share/sounds/gnome/default/alerts/drip.ogg
/usr/share/pkgconfig/xf86driproto.pc
/usr/lib/libreoffice/share/gallery/environment/DrippingFaucet.png

]$ file /usr/share/sounds/gnome/default/alerts/*
/usr/share/sounds/gnome/default/alerts/bark.ogg:  Ogg data, Vorbis audio, stereo, 48000 Hz, ~192000 bps, created by: Xiph.Org libVorbis I (1.2.0)
/usr/share/sounds/gnome/default/alerts/drip.ogg:  Ogg data, Vorbis audio, stereo, 44100 Hz, ~192000 bps, created by: Xiph.Org libVorbis I (1.2.0)
/usr/share/sounds/gnome/default/alerts/glass.ogg: Ogg data, Vorbis audio, stereo, 44100 Hz, ~192000 bps, created by: Xiph.Org libVorbis I (1.2.0)
/usr/share/sounds/gnome/default/alerts/sonar.ogg: Ogg data, Vorbis audio, stereo, 44100 Hz, ~192000 bps, created by: Xiph.Org libVorbis I (1.2.0)


> In more detail:
> 
> To configure the alert sound, I first open GNOME Settings by clicking on
> the gear icon in the pull-down menu on the right side of GNOME Shell's
> top bar.  From there, I navigate to the "Sound" section and scroll to
> the bottom of that section, where I'm given a choice of 4 options for
> the "Alert Sound".
>
To find where a change of alert sound is stored, a script of mine will
touch a file (~/.wha-time) for later use with find, to find files in a
directory tree modified (-c option) since ~/.wha-time).

So I did "wha -t" to do the touch, chose a new sound in settings, exited, and
then "wha -c ~/" resulted in the following (it echoes the find command just before doing it):

--8<---------------cut here---------------start------------->8---
find /home/bokr/ -cnewer /home/bokr/.wha-time -print0 | xargs -0 ls -ladc --time-style=+%Y-%m-%d %H:%M:%S
drwx------  2 bokr bokr   4096 2020-12-08 07:52:13 /home/bokr/.cache/babl
-rw-r--r--  1 bokr bokr    495 2020-12-08 07:52:13 /home/bokr/.cache/babl/babl-fishes
drwx------  2 bokr bokr   4096 2020-12-08 07:52:13 /home/bokr/.cache/libgweather
-rw-r--r--  1 bokr bokr    687 2020-12-08 07:52:13 /home/bokr/.cache/libgweather/soup.cache2
drwxr-xr-x  2 bokr bokr   4096 2020-12-08 07:52:15 /home/bokr/.config/dconf
-rw-r--r--  1 bokr bokr  33852 2020-12-08 07:52:15 /home/bokr/.config/dconf/user
drwx------ 32 bokr bokr   4096 2020-12-08 07:52:25 /home/bokr/.local/share
drwxr-x---  5 bokr bokr   4096 2020-12-08 07:52:12 /home/bokr/.local/share/epiphany
-rw-r--r--  1 bokr bokr    941 2020-12-08 07:52:12 /home/bokr/.local/share/epiphany/bookmarks.gvdb
-rw-r--r--  1 bokr bokr  32768 2020-12-08 07:52:15 /home/bokr/.local/share/gvfs-metadata/home-776cc71e.log
-rw-------  1 bokr bokr 115799 2020-12-08 07:52:25 /home/bokr/.local/share/recently-used.xbel
drwx------  2 bokr bokr   4096 2020-12-08 07:52:39 /home/bokr/.local/share/sounds/__custom
lrwxrwxrwx  1 bokr bokr     47 2020-12-08 07:52:39 /home/bokr/.local/share/sounds/__custom/bell-terminal.ogg -> /usr/share/sounds/gnome/default/alerts/bark.ogg
lrwxrwxrwx  1 bokr bokr     47 2020-12-08 07:52:39 /home/bokr/.local/share/sounds/__custom/bell-window-system.ogg -> /usr/share/sounds/gnome/default/alerts/bark.ogg
--8<---------------cut here---------------end--------------->8---

Apparently my selection of "bark" is stored as links in
    ~/.local/share/sounds/__custom/

Perhaps this is a change of preference persistence method that all parts of
your system have not gotten updated to?

> For as long as I can remember, and even today, this pane *does* remember
> my preferred Alert Sound (sonar), and correctly highlights it as my
> selected choice.  However, the default "drip" sound is the one that is
> actually used by applications, e.g. by GNOME Terminal and Emacs.
> 
> Note that even before the recent staging merge, periodically (maybe once
> a week or so), I would log in and find that the dreaded "drip" sound was
> being used as my alert sound.  Each time, I was able to fix it by going
> back to the Sound section of GNOME Settings, and clicking again on my
> preferred alert sound (although it was already selected as my configured
> alert sound).  Now, since the recent staging merge, that no longer
> works.
> 
> If anyone can suggest a way to successfully change my alert sound, I
> would be grateful.
> 
>        Mark

You could just make all 4 files dupes of sonar.ogg ;))

I am afraid that kind of "fix" becomes more and more tempting ;/

I still don't know what the proper fix for your observed prolem is, sorry.
But HTH :)

-- 
Regards,
Bengt Richter




Reply sent to Mark H Weaver <mhw <at> netris.org>:
You have taken responsibility. (Wed, 09 Dec 2020 00:29:02 GMT) Full text and rfc822 format available.

Notification sent to Mark H Weaver <mhw <at> netris.org>:
bug acknowledged by developer. (Wed, 09 Dec 2020 00:29:02 GMT) Full text and rfc822 format available.

Message #16 received at 45109-done <at> debbugs.gnu.org (full text, mbox):

From: Mark H Weaver <mhw <at> netris.org>
To: Marius Bakke <marius <at> gnu.org>, 45109-done <at> debbugs.gnu.org
Cc: Bengt Richter <bokr <at> bokr.com>
Subject: Re: bug#45109: GNOME: unable to change alert "beep" sound since
 staging merge
Date: Tue, 08 Dec 2020 19:27:17 -0500
Hi Marius and Bengt,

Thanks very much for your suggestions.  I initially tried Marius's idea
to revert the dconf update, which seemed to work, but now I find that
I'm unable to reproduce the problem, even with my original
post-staging-merge system where I first encountered it.

I'm not sure what happened here, but I'm closing this bug.
Sorry for the noise.

        Mark




Information forwarded to bug-guix <at> gnu.org:
bug#45109; Package guix. (Tue, 15 Dec 2020 00:13:01 GMT) Full text and rfc822 format available.

Message #19 received at 45109 <at> debbugs.gnu.org (full text, mbox):

From: Mark H Weaver <mhw <at> netris.org>
To: Marius Bakke <marius <at> gnu.org>, 45109 <at> debbugs.gnu.org
Cc: Bengt Richter <bokr <at> bokr.com>
Subject: Re: bug#45109: GNOME: unable to change alert "beep" sound since
 staging merge
Date: Mon, 14 Dec 2020 19:11:51 -0500
reopen 45109
thanks

Earlier, I wrote:
> I initially tried Marius's idea to revert the dconf update, which
> seemed to work, but now I find that I'm unable to reproduce the
> problem, even with my original post-staging-merge system where I first
> encountered it.

I spoke too soon.  Now the problem is happening again, after another
system upgrade and reboot.  I don't have time right now to investigate
further, but I'm reopening the bug.

     Thanks,
       Mark




Did not alter fixed versions and reopened. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 15 Dec 2020 00:14:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-guix <at> gnu.org:
bug#45109; Package guix. (Thu, 17 Dec 2020 14:02:02 GMT) Full text and rfc822 format available.

Message #24 received at 45109 <at> debbugs.gnu.org (full text, mbox):

From: Bengt Richter <bokr <at> bokr.com>
To: Mark H Weaver <mhw <at> netris.org>
Cc: 45109 <at> debbugs.gnu.org, Marius Bakke <marius <at> gnu.org>
Subject: Re: bug#45109: GNOME: unable to change alert "beep" sound since
 staging merge
Date: Thu, 17 Dec 2020 15:01:04 +0100
Hi Mark, and who may be interested,

On +2020-12-14 19:11:51 -0500, Mark H Weaver wrote:
> reopen 45109
> thanks
> 
> Earlier, I wrote:
> > I initially tried Marius's idea to revert the dconf update, which
> > seemed to work, but now I find that I'm unable to reproduce the
> > problem, even with my original post-staging-merge system where I first
> > encountered it.
> 
> I spoke too soon.  Now the problem is happening again, after another
> system upgrade and reboot.  I don't have time right now to investigate
> further, but I'm reopening the bug.
> 
>      Thanks,
>        Mark

The same happened again to me -- i.e., my alert sound preference got reset.
This was after a pureos (debian based) update.
uname -a =-> Linux LionPure 4.19.0-13-amd64 #1 SMP Debian 4.19.160-2 (2020-11-28) x86_64 GNU/Linux

man 7 dconf =-> mentions that gsettings wraps unstable api gconf, so I poked
a little, but no time right now. HTH someone else go further :)

--8<---------------cut here---------------start------------->8---
$ gsettings list-recursively |egrep 'sound|beep'
org.gnome.desktop.sound input-feedback-sounds false
org.gnome.desktop.sound theme-name '__custom'
org.gnome.desktop.sound allow-volume-above-100-percent false
org.gnome.desktop.sound event-sounds true
org.gnome.rhythmbox.plugins seen-plugins ['fmradio', 'mpris', 'daap', 'rb', 'artsearch', 'replaygain', 'webremote', 'lyrics', 'dbus-media-server', 'im-status', 'rblirc', 'notification', 'grilo', 'audioscrobbler', 'soundcloud', 'sendto', 'mtpdevice', 'pythonconsole', 'ipod', 'magnatune']
org.gnome.desktop.a11y.keyboard slowkeys-beep-press false
org.gnome.desktop.a11y.keyboard bouncekeys-beep-reject false
org.gnome.desktop.a11y.keyboard slowkeys-beep-reject false
org.gnome.desktop.a11y.keyboard feature-state-change-beep false
org.gnome.desktop.a11y.keyboard slowkeys-beep-accept false
org.gnome.desktop.a11y.keyboard stickykeys-modifier-beep false
--8<---------------cut here---------------end--------------->8---

As you recall from previously (here I've re-selected sonar.ogg :),
--8<---------------cut here---------------start------------->8---
$ find ~/ -name '*__custom*'
/home/bokr/.local/share/sounds/__custom
$ find ~/ -name '*__custom*'|xargs ls -l
total 4
lrwxrwxrwx 1 bokr bokr 48 Dec 17 08:52 bell-terminal.ogg -> /usr/share/sounds/gnome/default/alerts/sonar.ogg
lrwxrwxrwx 1 bokr bokr 48 Dec 17 08:52 bell-window-system.ogg -> /usr/share/sounds/gnome/default/alerts/sonar.ogg
-rw-r--r-- 1 bokr bokr 61 Dec 10 12:11 index.theme
--8<---------------cut here---------------end--------------->8---

BTW, do you or anyone know if there is a CRUD[1]-log that can be enabled,
to log *EVERY* CRUD change to any persistent storage during system
(debian in this case) updates? That can't be a new idea ;)
(Maybe it's hard in the context of something signed that runs privileged
to do updates before rebooting to grub? )

Also, is there a standard policy somewhere for preserving/migrating content state
when installing a replacement storage box for the content?

If it is too much work to write migration code when storage internals or apis
change, couldn't it just be policy to mark the old box as box.old_NNN instead
of deleting/overwiting it, and emit (and log) a simple hint?

[1] https://en.wikipedia.org/wiki/Create,_read,_update_and_delete

-- 
Regards,
Bengt Richter




Information forwarded to bug-guix <at> gnu.org:
bug#45109; Package guix. (Sun, 07 Mar 2021 00:23:01 GMT) Full text and rfc822 format available.

Message #27 received at 45109 <at> debbugs.gnu.org (full text, mbox):

From: Mark H Weaver <mhw <at> netris.org>
To: Marius Bakke <marius <at> gnu.org>, 45109 <at> debbugs.gnu.org
Subject: Re: bug#45109: GNOME: unable to change alert "beep" sound since
 staging merge
Date: Sat, 06 Mar 2021 19:20:27 -0500
Hi Marius,

Marius Bakke <marius <at> gnu.org> writes:

> Mark H Weaver <mhw <at> netris.org> skriver:
>
>> Since the recent merge of the 'staging' branch into 'master' on 28 Nov
>> 2020, I'm no longer able to configure the alert sound in GNOME.  That's
>> a pity, since I find the default "drip" sound extremely unpleasant.
>
> There were not a lot of GNOME-related changes in that merge.  From a
> quick glance of...
>
>   git shortlog --format='%h %s' --no-merges -n fe5c9051cc..e827f40479
>
> ...a likely culprit is:
>
>   62df18d305 gnu: dconf: Update to 0.36.0.
>
> Can you check if reverting it makes a difference?

Reverting that update does seem to have fixed the problem.  I've been
running my Guix system with dconf-0.34 since you made this suggestion
last December, and the problem where I'm *unable* to change my GNOME
alert sound has never happened since.  (It still occasionally resets to
the default "drip" alert sound, as I noted in my original report, but at
least I can change it back easily).

I will soon switch back to dconf-0.36 to see if the problem returns.

     Thanks,
       Mark




Information forwarded to bug-guix <at> gnu.org:
bug#45109; Package guix. (Thu, 11 Mar 2021 11:30:02 GMT) Full text and rfc822 format available.

Message #30 received at 45109 <at> debbugs.gnu.org (full text, mbox):

From: Mark H Weaver <mhw <at> netris.org>
To: Marius Bakke <marius <at> gnu.org>, 45109 <at> debbugs.gnu.org
Subject: Re: bug#45109: GNOME: unable to change alert "beep" sound since
 staging merge
Date: Thu, 11 Mar 2021 06:27:30 -0500
Earlier, I wrote:
> I will soon switch back to dconf-0.36 to see if the problem returns.

Shortly after switching back to dconf-0.36, the problem has indeed
returned.  So, in summary, the problem has *never* happened to me with
dconf-0.34, but happens quite frequently with dconf-0.36.

      Mark




This bug report was last modified 4 years and 97 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.