From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id cK0JJCQ8z1/+RwAA0tVLHw (envelope-from ) for ; Tue, 08 Dec 2020 08:41:08 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id iHfWHyQ8z1/QAQAAB5/wlQ (envelope-from ) for ; Tue, 08 Dec 2020 08:41:08 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id D0DEF9402C8 for ; Tue, 8 Dec 2020 08:41:07 +0000 (UTC) Received: from localhost ([::1]:58564 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kmYYS-00067i-8l for larch@yhetil.org; Tue, 08 Dec 2020 03:41:04 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:35242) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kmYXS-0005as-FZ for bug-guix@gnu.org; Tue, 08 Dec 2020 03:40:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:44974) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kmYXS-0001GK-87 for bug-guix@gnu.org; Tue, 08 Dec 2020 03:40:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kmYXS-0004aa-28 for bug-guix@gnu.org; Tue, 08 Dec 2020 03:40:02 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#45109: GNOME: unable to change alert "beep" sound since staging merge Resent-From: Bengt Richter Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 08 Dec 2020 08:40:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45109 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Mark H Weaver Received: via spool by 45109-submit@debbugs.gnu.org id=B45109.160741678817615 (code B ref 45109); Tue, 08 Dec 2020 08:40:02 +0000 Received: (at 45109) by debbugs.gnu.org; 8 Dec 2020 08:39:48 +0000 Received: from localhost ([127.0.0.1]:56518 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kmYXD-0004a2-Nl for submit@debbugs.gnu.org; Tue, 08 Dec 2020 03:39:48 -0500 Received: from imta-37.everyone.net ([216.200.145.37]:40476 helo=imta-38.everyone.net) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kmYXB-0004Zh-9p for 45109@debbugs.gnu.org; Tue, 08 Dec 2020 03:39:46 -0500 Received: from pps.filterd (m0004962.ppops.net [127.0.0.1]) by imta-38.everyone.net (8.16.0.43/8.16.0.43) with SMTP id 0B88dXoP015429; Tue, 8 Dec 2020 00:39:44 -0800 X-Eon-Originating-Account: HoG2G4jfKzL7hCQ6UxR-ec-AAdZ7zRne3ozrgClM5hU X-Eon-Dm: m0117124.ppops.net Received: by m0117124.mta.everyone.net (EON-AUTHRELAY2 - 5a81d273) id m0117124.5f8a0284.9f4275; Tue, 8 Dec 2020 00:39:41 -0800 X-Eon-Sig: AQMHrIJfzzvN20OIGgIAAAAC,0f7ac81d9eeb7df4b08f54f7aab1b138 X-Eip: OBZaZ-W56Y3kmNFUnd0A2LDVXB3XhhZeVvrtZ8078yY Date: Tue, 8 Dec 2020 09:39:27 +0100 From: Bengt Richter Message-ID: <20201208083927.GA16114@LionPure> References: <87ft4hdw8q.fsf@netris.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <87ft4hdw8q.fsf@netris.org> User-Agent: Mutt/1.10.1 (2018-07-13) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.343, 18.0.737 definitions=2020-12-08_03:2020-12-04, 2020-12-08 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 adultscore=0 bulkscore=0 mlxlogscore=999 priorityscore=1501 impostorscore=0 spamscore=0 lowpriorityscore=0 clxscore=1034 phishscore=0 mlxscore=0 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2009150000 definitions=main-2012080054 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Bengt Richter Cc: 45109@debbugs.gnu.org Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -1.80 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Queue-Id: D0DEF9402C8 X-Spam-Score: -1.80 X-Migadu-Scanner: ns3122888.ip-94-23-21.eu X-TUID: Bo5kfS1PZjaY 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