From debbugs-submit-bounces@debbugs.gnu.org Tue Jan 04 18:52:40 2022 Received: (at 22952) by debbugs.gnu.org; 4 Jan 2022 23:52:40 +0000 Received: from localhost ([127.0.0.1]:39150 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n4tbb-0007gq-Og for submit@debbugs.gnu.org; Tue, 04 Jan 2022 18:52:40 -0500 Received: from mail-wr1-f53.google.com ([209.85.221.53]:40888) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n4tbZ-0007gW-4H for 22952@debbugs.gnu.org; Tue, 04 Jan 2022 18:52:38 -0500 Received: by mail-wr1-f53.google.com with SMTP id q16so79310125wrg.7 for <22952@debbugs.gnu.org>; Tue, 04 Jan 2022 15:52:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=RqFIDbq6cqe7YSvXsJtFMohb2LDkajZGPzfo/LUTqcM=; b=HGHpHUvGKoO/A8ZCBE3VDsf9XJxzsS2ZHhpEsSNrSOqCJpXv99P4Igbge3fEuJwbMl aa/Udx3c1LnffIu+Ex/Zo/zFuBrHqMxtbGW+O6ufPVTh2ATFafjqAW+OSE1MOOiB8xGR QtMcH7h0XR4w7yW8nm1SSM/eBZ9Lgs1dQ986yZA95E9Q0OZzKdIY2DUjLDiemd+dCfFQ OtcuSIuWivLIeMVNuy0LRNlGunfSgCecfeFycKBf2GqidUK4/DGidzBG+mYPLO4JrAwN dLAcH325XwOO6bluUk7AiKw54y+CnOmRCmDIrDlheAettsfIcjmemp1BQK7Syymp9C+A tf4g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=RqFIDbq6cqe7YSvXsJtFMohb2LDkajZGPzfo/LUTqcM=; b=a/pQhiR2OS1VJ4ncCg2LppZCMzvdaZT03vj514eyZdSXoNZ2FzQ8hKeDd2T/a1yFw6 5pVhzzGhxW+c83Gl+w6bKW5uQ5YwipLKXLfojWWMLz90gk6IcmRGmVe068ZEHO4O9jDS cKRtS8DtRR379NZdJobMcIH8zxGoiUNRaSAeOh49J2cMH1G4w35gIuGHgmkjk/w8EPD2 idFhvs4WjZeEeG8xmHnsmQKYlUEfbOXvVfOao6xq91cEtx1JA1UFVJQpjOhvVjR3U3hK yFbS8Bqq2+vFh3MCr10swhTXnaKUJS0f5qvSCQZ9cG6hBXUuWIIDENCzTU+7La3QRkWx 9pxg== X-Gm-Message-State: AOAM530uqxiQU3ifBMVMkqWBgQulSvspybL616SpuRXFQtsHQZHIgkxV 04PgL30EmZ2nTeTmduhsnItSXLZb1bY= X-Google-Smtp-Source: ABdhPJwXKYcx0B7e2kvhzjh196cXx/Rnn1yR98DeGO3kBp4yeh19/PEuHRZ5ZL6eHzUY0Qz9ScaGxw== X-Received: by 2002:adf:ee4a:: with SMTP id w10mr45888313wro.232.1641340351423; Tue, 04 Jan 2022 15:52:31 -0800 (PST) Received: from lili ([2a01:e0a:59b:9120:65d2:2476:f637:db1e]) by smtp.gmail.com with ESMTPSA id a24sm839954wmj.8.2022.01.04.15.52.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 04 Jan 2022 15:52:31 -0800 (PST) From: zimoun To: "pelzflorian (Florian Pelz)" Subject: Re: bug#22952: MacBook2, 1 brightness control requires root privileges References: <56DF5744.6000706@fripost.org> <20201117212349.lhhytr4hovctw5e7@pelzflorian.localdomain> <87sg96bc5j.fsf@gnu.org> <20201119183929.gsxe3rv5fehrwen5@pelzflorian.localdomain> Date: Wed, 05 Jan 2022 00:46:54 +0100 In-Reply-To: <20201119183929.gsxe3rv5fehrwen5@pelzflorian.localdomain> (pelzflorian@pelzflorian.de's message of "Thu, 19 Nov 2020 19:39:29 +0100") Message-ID: <86tuej9i8h.fsf_-_@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 22952 Cc: 22952@debbugs.gnu.org, Marius Bakke X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hi, I am doing triage of old bug and I hit this one [1]. Is it still happening? 1: On Thu, 19 Nov 2020 at 19:39, "pelzflorian (Florian Pelz)" wrote: > On Wed, Nov 18, 2020 at 10:14:32PM +0100, Marius Bakke wrote: >> To work around it locally, try adding: >> >> (simple-service 'gsd-polkit polkit-service-type >> (list gnome-settings-daemon)) >> >> to the (services ...) section of your system configuration. > > Thank you. You are correct for GDM. Adding this fixes changing the > backlight in GDM. Perhaps the GDM service should extend the polkit > service like that. It also does not conflict with adding a > gnome-service-type. > > MATE still complains. Without changing services, normally both on the > first log-in to MATE and on subsequent log-ins, when pressing the keys > to change the backlight, a message window still tells me that > /gnu/store/5kmmwc9q23lihpy3nv2knbvsr9qv2aln-mate-power-manager-1.24.2/sbin/mate-power-backlight-helper > needs to be authenticated as the super user; I need to enter the > password. > > Only with gnome-service-type and when not removing the GDM service, > after GDM (which uses the gsd), on the first log-in to the MATE > desktop, the backlight keys do nothing at all. When I try to log out, > it says Power Manager is not responding. When I force the log-out > despite the Power Manager, then log back in, I again get the message > each time I press the backlight keys. > > I added: > > (simple-service 'mate-power-polkit polkit-service-type > (list mate-power-manager)) > > It does not work. Especially, many things had been improved since 2020. :-) Let close it or provide more details for fixing it. ;-) Cheers, simon