GNU bug report logs - #57781
missing wallpaper command

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: Felix <felix.dick@HIDDEN>; dated Tue, 13 Sep 2022 20:31:01 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

Message received at 57781 <at> debbugs.gnu.org:


Received: (at 57781) by debbugs.gnu.org; 19 Sep 2022 19:16:44 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Sep 19 15:16:44 2022
Received: from localhost ([127.0.0.1]:55242 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1oaMG4-0008Nk-7e
	for submit <at> debbugs.gnu.org; Mon, 19 Sep 2022 15:16:44 -0400
Received: from mail-oa1-f42.google.com ([209.85.160.42]:46976)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <stefankangas@HIDDEN>) id 1oaMG2-0008NY-Jz
 for 57781 <at> debbugs.gnu.org; Mon, 19 Sep 2022 15:16:42 -0400
Received: by mail-oa1-f42.google.com with SMTP id
 586e51a60fabf-12b542cb1d3so762869fac.13
 for <57781 <at> debbugs.gnu.org>; Mon, 19 Sep 2022 12:16:42 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;
 h=cc:to:subject:message-id:date:mime-version:references:in-reply-to
 :from:from:to:cc:subject:date;
 bh=bD/xf+clLT8mUilvV36R/ksU1fdyEnJx+n0e4YTTheA=;
 b=oqcDbrDdu9kdEOwpoWWhSkZN4fwsr/9okhW7Y2HmjYSMldbBjLpg4IM97dTX72hsb7
 P31TPkgaNIhatdbWsfdXSjrRUJJTal+QfUSg+pXXAUSUO+Wrq8o/cMf6T4PsJZAdb0nd
 Ioodbw97igiBowljET7O1OBA4GhuzdkL4pFLyfpMyC16yqzKu1XhO5bysP8nMj/nV43S
 2Dr/SPeqa7bQ0GA2eaftrQIbJdvqBMlbMArtx742X5onrmErQU/AJk4Hy8yg9vTkowmP
 LWfEH0o8BL3n6cgseib7yc2ppmZj4HNBmZDq10oMtf2jVJMmjpO8/xbc1rwRPc3Xdufi
 /gDQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20210112;
 h=cc:to:subject:message-id:date:mime-version:references:in-reply-to
 :from:x-gm-message-state:from:to:cc:subject:date;
 bh=bD/xf+clLT8mUilvV36R/ksU1fdyEnJx+n0e4YTTheA=;
 b=guyIE0ocCFmork7PUlGPjyWs1x6ZUZVXuEiAru6ekXBNtQ1+CYulXomKFtLlXUYKg2
 VKBcyyOPCn8yen6zvRvs8P89CCDw+/9RSdvX7sQHtrP4uCJwL5J69XxmTqXKyjhvQAFm
 Eg+pRTRnNur/v7wMJjmmp/TY6lTxxw9rq+4Wq5rgiG15hR5UrQjAc3HD0BB8ex9dYFVo
 khm6oqdhaq5V/t/oId3yQZDjv9WJ15Lyrg02mTPJ0P9Fcqm48jNH8N5scEiX0TzOcgRB
 gYGzMyy6+zzLA7QKFj5QQ2u7Ll+RvjfhemIVLNm8vW5ZugJ7qiQL9EYFUtOzugW/0qxZ
 Y6Tg==
X-Gm-Message-State: ACrzQf2JUyUcwFNTG5+ptgRzswYkZkO5lbeO4UwMevVYaexMQf6f7dOW
 VgQMcJTpryYvD+KBTkVz/S74Po+oJevgGKM3ah4=
X-Google-Smtp-Source: AMsMyM6KnPd4hwE+rAMXB8Jbolj9tRZapz7ncsKEdxiMa6+eh1G2ug6LZVMdzg9/Q06EgfNORcfp1DEei+Ye/QYKS/E=
X-Received: by 2002:a05:6870:46a6:b0:12d:130c:2fd5 with SMTP id
 a38-20020a05687046a600b0012d130c2fd5mr3358332oap.92.1663614996860; Mon, 19
 Sep 2022 12:16:36 -0700 (PDT)
Received: from 753933720722 named unknown by gmailapi.google.com with
 HTTPREST; Mon, 19 Sep 2022 15:16:36 -0400
From: Stefan Kangas <stefankangas@HIDDEN>
In-Reply-To: <87h713ff8i.fsf@HIDDEN>
References: <87fsgvc938.fsf@HIDDEN>
 <CADwFkm=ebc0bYc0XdNsrXdWZdkEDo=mbzVdkzdo=LLpN6uXLeQ@HIDDEN>
 <87illpubzu.fsf@HIDDEN>
 <CADwFkm=oniKfEQiZpFmevnBUFNu3OZRM00hXzh3+G3N9AquG_Q@HIDDEN>
 <87a671h861.fsf@HIDDEN>
 <CADwFkmnsvAqUFJQ7vZn8_EXdPPUoQ2qeodbE+Xhv68V-k70pOA@HIDDEN>
 <874jx9ndv4.fsf@HIDDEN>
 <CADwFkmk7nfKFwj=-J+dwmcRVcMDQT10xR5Rg8pnWhKfn7Vj_gw@HIDDEN>
 <874jx6tc7w.fsf@HIDDEN>
 <CADwFkm=60u2Q+fnCuUf-8gC9bPHf8=AObV5=CwkU_2_Ja89=Jg@HIDDEN>
 <87edw8pbg5.fsf@HIDDEN>
 <CADwFkmmCjNRrxkkKVNoYunwiwMC3B2BWD823U89RGHNNuDDKfQ@HIDDEN>
 <87h713ff8i.fsf@HIDDEN>
X-Hashcash: 1:20:220919:spwhitton@HIDDEN::ERa9Ruka1m7j11kN:105V
MIME-Version: 1.0
Date: Mon, 19 Sep 2022 15:16:36 -0400
Message-ID: <CADwFkmkfssxf1Xek0spTdxukJOv42CGWCeqc36mhuWQXBoB-XQ@HIDDEN>
Subject: Re: bug#57781: missing wallpaper command
To: Felix <felix.dick@HIDDEN>
Content-Type: text/plain; charset="UTF-8"
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 57781
Cc: 57781 <at> debbugs.gnu.org, Sean Whitton <spwhitton@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Felix <felix.dick@HIDDEN> writes:

> In my private config i prepend the wallpaper-command with "setsid",
> that way the process isn't attached to emacs and the wallpaper set by
> wbg or swaybg will stay after closing emacs.
> This is an Linux specific thing of course.

The command handling is already only relevant for Unix-like systems:
MS-Windows and Haiku use native APIs.  I'm not yet sure how to best
handle the above in wallpaper.el, but I'm looking into it.

I guess we could use "setsid", but in that case we might as well use
"nohup" as that command is mandated to be there by POSIX.  (AFAIU, on
FreeBSD you'd need to install the "util-linux" package to get setsid.)

> I'm not shure how it works for gnome and plasma, but i would think it
> makes no difference.

From your testing, it seems like it works without it, right?




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#57781; Package emacs. Full text available.

Message received at 57781 <at> debbugs.gnu.org:


Received: (at 57781) by debbugs.gnu.org; 19 Sep 2022 17:28:05 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Sep 19 13:28:05 2022
Received: from localhost ([127.0.0.1]:55103 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1oaKYv-000394-A5
	for submit <at> debbugs.gnu.org; Mon, 19 Sep 2022 13:28:05 -0400
Received: from mout.web.de ([212.227.17.11]:50745)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <felix.dick@HIDDEN>) id 1oaKYt-00038O-UU
 for 57781 <at> debbugs.gnu.org; Mon, 19 Sep 2022 13:28:04 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=web.de; s=s29768273;
 t=1663608474; bh=2fN3SYJtsAIY57HtYAUrYDIjC4L0eBdn+QB6+gvi788=;
 h=X-UI-Sender-Class:References:From:To:Cc:Subject:Date:In-reply-to;
 b=eCwP1Y/UI63iqw+54ZrM9wT2LnMZ1n00JeA0gzkwS14Q6meY6TSpTaJ5xCsEdCVXU
 mBOqzQphY7el+yCtZbBpCHGkooFoCgV1lOj9DGbXEH+UL33xA268E5GpxAJUqxPb6F
 jkIf+2UirAfiHZSNc6jLdnT+YzbceHq40lpylTFjr65iObbcQN0wc0hxLaJAMRwb9e
 rmz+4IVElkjeCvcgrsn0WmtLtJE8X20gLRIDejkaQAkdVfnTmNWYjqoFegnKM/ZdUZ
 ewGLdlHp8sj5X8MmqFGdSRNfI6M8+5/A9CH05JMgvt/HNVGZLbOtLLKfunihJ/tYhQ
 qGjXDKxwWQ9iQ==
X-UI-Sender-Class: 814a7b36-bfc1-4dae-8640-3722d8ec6cd6
Received: from felix-lifebooka531.web.de ([95.91.210.206]) by smtp.web.de
 (mrweb106 [213.165.67.124]) with ESMTPSA (Nemesis) id
 1MqZQY-1p4yPx3cDA-00msQk; Mon, 19 Sep 2022 19:27:53 +0200
References: <87fsgvc938.fsf@HIDDEN>
 <CADwFkm=ebc0bYc0XdNsrXdWZdkEDo=mbzVdkzdo=LLpN6uXLeQ@HIDDEN>
 <87illpubzu.fsf@HIDDEN>
 <CADwFkm=oniKfEQiZpFmevnBUFNu3OZRM00hXzh3+G3N9AquG_Q@HIDDEN>
 <87a671h861.fsf@HIDDEN>
 <CADwFkmnsvAqUFJQ7vZn8_EXdPPUoQ2qeodbE+Xhv68V-k70pOA@HIDDEN>
 <874jx9ndv4.fsf@HIDDEN>
 <CADwFkmk7nfKFwj=-J+dwmcRVcMDQT10xR5Rg8pnWhKfn7Vj_gw@HIDDEN>
 <874jx6tc7w.fsf@HIDDEN>
 <CADwFkm=60u2Q+fnCuUf-8gC9bPHf8=AObV5=CwkU_2_Ja89=Jg@HIDDEN>
 <87edw8pbg5.fsf@HIDDEN>
 <CADwFkmmCjNRrxkkKVNoYunwiwMC3B2BWD823U89RGHNNuDDKfQ@HIDDEN>
User-agent: mu4e 1.9.0; emacs 29.0.50
From: Felix <felix.dick@HIDDEN>
To: Stefan Kangas <stefankangas@HIDDEN>
Subject: Re: bug#57781: missing wallpaper command
Date: Mon, 19 Sep 2022 19:19:36 +0200
In-reply-to: <CADwFkmmCjNRrxkkKVNoYunwiwMC3B2BWD823U89RGHNNuDDKfQ@HIDDEN>
Message-ID: <87h713ff8i.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-Provags-ID: V03:K1:L+TNCstmm2wkSYAEvPwF/FePisZmgeCiaLdiawoD+PKE6ZwPTqn
 OI15SiDNMrvyb3K3oj74jsAKT7Gc7UdhsRXoGZUe5UHpA/+Dt7MbDhAvPibHBC9Q2MDO00Z
 6h5AWiU2AnWs3Oj8+Nt84M0iRN2RR6igvFVccb2lCVZWZVxbW9A3vqiDjEGACYDYz0AYsma
 Zk6Wb6XIdQUxqEnILcj+A==
X-Spam-Flag: NO
X-UI-Out-Filterresults: notjunk:1;V03:K0:fdn/De9wk2Y=:JPcooI8a3T0sUo1U8coCRf
 a608r/347j57rYz5BKO92EXRuQKO3FwsfWboqQjfWReBLuesa1G53/e9dzCe4afXUGtg7eA+8
 OOPiaVl0SxvBE3shgSmWTn+Pg1alyIR6Vo0fV+6IJrXeXgJLVH6JwIB23vxOF+iA5sg/6yiYX
 FIE1slV33+xV4E1CsTJC+Jjydc6gdmHkFfYavzp2wl3ILEV3qt538nhfcLojXFz27ajHv01zK
 CM43qMvEDMvDVuqM/v8RAlNIYqnkk8snSz5MokSpz/BBuNtpQZBM3xPLxkXPmL0w8X191EDhl
 M0IPF4tCwSJueE4nGU2uYvY3TIGzUQ1FwvjYiQRmZM2gAtkvhxv6EqbbvBzzAKZBL3bMtcegN
 Q3gieJALWBZQpnGHZ1gXz/K0PwB6d9Tnv+fNX0xvzbDceKJpEGlSlBibsXnrvTt6kz03Hhw7x
 X0wxZUcKJvgrhPoCUgvlo1hTdlLKoaFUsxNBA0sYJxtvoVHpX4La8b1uFrqg6pfI9n18yKGT/
 vtVAhmb+88mrC+Qhll2GqtUE7GjWERCYjMam6haxM9kb90qSzSUSUGFB4PCXFQvVYxsH8jzLH
 Ty3u382fjEnva3D35tJuWWwfcMXsD+x1R98HwrkbBPxNo9ISIGjL1/BnaKPpw60RyCfSjXewu
 qrR9Q1SNnCg87LNrH+4X7XekzE4cXoXcOQaJsJLDTabvnw4FCWghDrU8HErMPczg8A8UwOEwM
 piMQcBGkhXdu7I4XTYubeGK/96u9pArK2JVoHJcKmUErbrR3bgeouKfbe4hw0cRhYXo//o5qN
 AhHGLOoX6SNxTjy2d3rVledxSjKDF4U+UNZVjZDyUYZ4pz2GwVJobGPLeoXm7lge7Hofj1iDg
 YNfMaUFozoRn2ED6+VbrZlXZuZAIGI5SfWDmQ4+90mfI/vjdQrQiwpzKR9AYz1alCQapoL4We
 +C/daSReKv64XXgB27kL5CVaWgg5TR4oJBu6HtaIaoyZ6vPAdACyTk08NquyyOpumB0V2RW4P
 HBE42goQFVoAcJhVmOSKJtHKtoTVwLNiT2dPtpMbiy2M1UBfkqwZx0vvtKr2j3KO5Ir9NqjD1
 NjI+UGGEflAuZlbGoSI9oUia8RI6ARe9wYFxMSTkiV/nKGbEEJoJyNGi0tZnmP0VTQd5BWAFN
 uz/812A5f0wrU/UhZZyANwmtD7
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 57781
Cc: 57781 <at> debbugs.gnu.org, Sean Whitton <spwhitton@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)


Stefan Kangas <stefankangas@HIDDEN> writes:

> Felix <felix.dick@HIDDEN> writes:
>
>> On KDE/plasma Wayland everything i tested worked with wallpaper-set.
>> If wbg or swaybg is installed, they are used by wallpaper-set, which is
>> not optimal, if they are not installed kde's internal way of
>> setting the wallpaper is used. That way there is no process attached to
>> emacs, quiting emacs doesn't remove the wallpaper (as it does with wbg
>> or swaybg), and there is no need to kill old wallpaper processes.
>
> Thanks.  Based on your findings, I changed the priority so that the
> desktop environment specific commands will be tried first.  I think that
> should make more sense in most cases.

In my private config i prepend the wallpaper-command with "setsid",
that way the process isn't attached to emacs and the wallpaper set by
wbg or swaybg will stay after closing emacs.
This is an Linux specific thing of course.
I'm not shure how it works for gnome and plasma, but i would think it
makes no difference.
Maybe that's to hacky for including it, but i thought i'll mention it anyways.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#57781; Package emacs. Full text available.

Message received at 57781 <at> debbugs.gnu.org:


Received: (at 57781) by debbugs.gnu.org; 19 Sep 2022 09:40:59 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Sep 19 05:40:59 2022
Received: from localhost ([127.0.0.1]:52449 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1oaDGs-0006Uc-U4
	for submit <at> debbugs.gnu.org; Mon, 19 Sep 2022 05:40:59 -0400
Received: from mail-ot1-f45.google.com ([209.85.210.45]:40459)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <stefankangas@HIDDEN>) id 1oaDGo-0006UD-1Q
 for 57781 <at> debbugs.gnu.org; Mon, 19 Sep 2022 05:40:58 -0400
Received: by mail-ot1-f45.google.com with SMTP id
 r13-20020a056830418d00b0065601df69c0so13990754otu.7
 for <57781 <at> debbugs.gnu.org>; Mon, 19 Sep 2022 02:40:54 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;
 h=cc:to:subject:message-id:date:mime-version:references:in-reply-to
 :from:from:to:cc:subject:date;
 bh=UdYexwHb8fvN4nHVi3L3sZZ81NXYUMJVQcHZ8VQUHyY=;
 b=ZUNX9ZTjKi65FTQlYYG8BxX1kCuhW/PnC76TGtlLFKiHR09BUBmQAWYQWZdfiE3Fru
 0WsfraVXhCER6r84SE22NnLXWQmvF00heOu+m7LeJwptRC4usV6yhS6tjN2yKWLZ5wm6
 /LmSBuDMDZv2oC32Np3xkIYFngsO8fygRP2a/th0HKFspzkMJ5T43BBRwjJRTUORbP6+
 sOw/6QKfZGuD8wgVSeLMjjRgxS4WPvV1GQ03XfTGjR6n8VWzBlVBjy05JykufDqvn99U
 D2j2YMHfg82cVizUQ9s331CT85zGXh5KOJ1jG26P10t4xhVeRFhiyADEhTfPt87tAt9K
 Zr4w==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20210112;
 h=cc:to:subject:message-id:date:mime-version:references:in-reply-to
 :from:x-gm-message-state:from:to:cc:subject:date;
 bh=UdYexwHb8fvN4nHVi3L3sZZ81NXYUMJVQcHZ8VQUHyY=;
 b=fGDDVMCrKOgivEB/xB3tBa6nXxxYI4jnW8JPuoCXU34bJMBIbp27fQv/K1+WAWCn36
 XQZ+77lZBgnMq6/DwNETOnAbo3yys+5KNMUF4Nkg3RrEzoxOUChVN+fz5AYRs8JO5B7u
 p5BNzluLegbmjAVR1metiIfRK0RtA4tDP2QFcPAQ7gnFsDOsAui2Zl3DfNcdtiOfTrJN
 jGs6g88p6Ul5WOZj1Z8zVF56ylOPu5wevwKp8zfZ1HVx85ffiN6jzfYbx/cnOSkWYr02
 iSP8glDpqvY/fIp/0norAHV8fSCiIggOumxLSeLxjIWWhi9vnNvVPa0ldIJMyUFz2ft1
 4fdw==
X-Gm-Message-State: ACrzQf1NQZEL2rlYRTXOPfaTJj6HPMc8rj6LJwKAsEcZbEaL0p6V4TO8
 BjW4yQ5Hbe+oKrAHbeWJrbwcZrBafLj8Ghoj/vk=
X-Google-Smtp-Source: AMsMyM7gV4ybCJMNZ+ZqZaK5C9No+ehcC6AnMnA0Gz8hIV+Rhc7QE6m6DNIeg5xzMoOF3b9HX9ziqXJb9tWD0NIrdYc=
X-Received: by 2002:a05:6830:3c1:b0:637:28be:7920 with SMTP id
 p1-20020a05683003c100b0063728be7920mr7391958otc.105.1663580447359; Mon, 19
 Sep 2022 02:40:47 -0700 (PDT)
Received: from 753933720722 named unknown by gmailapi.google.com with
 HTTPREST; Mon, 19 Sep 2022 05:40:46 -0400
From: Stefan Kangas <stefankangas@HIDDEN>
In-Reply-To: <87edw8pbg5.fsf@HIDDEN>
References: <87fsgvc938.fsf@HIDDEN>
 <CADwFkm=ebc0bYc0XdNsrXdWZdkEDo=mbzVdkzdo=LLpN6uXLeQ@HIDDEN>
 <87illpubzu.fsf@HIDDEN>
 <CADwFkm=oniKfEQiZpFmevnBUFNu3OZRM00hXzh3+G3N9AquG_Q@HIDDEN>
 <87a671h861.fsf@HIDDEN>
 <CADwFkmnsvAqUFJQ7vZn8_EXdPPUoQ2qeodbE+Xhv68V-k70pOA@HIDDEN>
 <874jx9ndv4.fsf@HIDDEN>
 <CADwFkmk7nfKFwj=-J+dwmcRVcMDQT10xR5Rg8pnWhKfn7Vj_gw@HIDDEN>
 <874jx6tc7w.fsf@HIDDEN>
 <CADwFkm=60u2Q+fnCuUf-8gC9bPHf8=AObV5=CwkU_2_Ja89=Jg@HIDDEN>
 <87edw8pbg5.fsf@HIDDEN>
X-Hashcash: 1:20:220919:57781 <at> debbugs.gnu.org::3C6u+TDOUofVqJaU:2Lp1
MIME-Version: 1.0
Date: Mon, 19 Sep 2022 05:40:46 -0400
Message-ID: <CADwFkmmCjNRrxkkKVNoYunwiwMC3B2BWD823U89RGHNNuDDKfQ@HIDDEN>
Subject: Re: bug#57781: missing wallpaper command
To: Felix <felix.dick@HIDDEN>
Content-Type: text/plain; charset="UTF-8"
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 57781
Cc: 57781 <at> debbugs.gnu.org, Sean Whitton <spwhitton@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Felix <felix.dick@HIDDEN> writes:

> On KDE/plasma Wayland everything i tested worked with wallpaper-set.
> If wbg or swaybg is installed, they are used by wallpaper-set, which is
> not optimal, if they are not installed kde's internal way of
> setting the wallpaper is used. That way there is no process attached to
> emacs, quiting emacs doesn't remove the wallpaper (as it does with wbg
> or swaybg), and there is no need to kill old wallpaper processes.

Thanks.  Based on your findings, I changed the priority so that the
desktop environment specific commands will be tried first.  I think that
should make more sense in most cases.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#57781; Package emacs. Full text available.

Message received at 57781 <at> debbugs.gnu.org:


Received: (at 57781) by debbugs.gnu.org; 19 Sep 2022 09:40:44 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Sep 19 05:40:44 2022
Received: from localhost ([127.0.0.1]:52446 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1oaDGe-0006U2-IF
	for submit <at> debbugs.gnu.org; Mon, 19 Sep 2022 05:40:44 -0400
Received: from mail-oo1-f42.google.com ([209.85.161.42]:41902)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <stefankangas@HIDDEN>) id 1oaDGc-0006Tn-UN
 for 57781 <at> debbugs.gnu.org; Mon, 19 Sep 2022 05:40:43 -0400
Received: by mail-oo1-f42.google.com with SMTP id
 t15-20020a4a96cf000000b0044e0142ec24so4559553ooi.8
 for <57781 <at> debbugs.gnu.org>; Mon, 19 Sep 2022 02:40:42 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;
 h=cc:to:subject:message-id:date:mime-version:references:in-reply-to
 :from:from:to:cc:subject:date;
 bh=7gVD5mrQipVqrZSLqCN2dbUDJMn+hA7XZSBD44+WYj8=;
 b=Smw8QlGftIoJIkzfC4WU40Ayk2e2cmP5sSVEzgVbh21RSxcrArMFpar0V96wpXX/T1
 V2W20lpwfS8S9+QeN87eznVtwG4YK03/3WbWgvQFxI+e424aRmimMviRw7Pz5byZHp/s
 neH7V3+l7r4+wy/8Wndm70b0NPenC+fK3toQR835uZsYT7LXjqzPLIw5xH4ctfbDuOgy
 iS9B5e8AqaXQvYdg8ODPZX8r24Vl2zwEh1+NJjOpVPxmnz44Un/vFYbD2bmdpi3zzmNn
 RlJD4aNS8U+UU4fVMwP4YbXvFLFFlu3qu1Me5x8fOoCNO77U2H6VrpEtkXjQ1w9vulGN
 ZMGA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20210112;
 h=cc:to:subject:message-id:date:mime-version:references:in-reply-to
 :from:x-gm-message-state:from:to:cc:subject:date;
 bh=7gVD5mrQipVqrZSLqCN2dbUDJMn+hA7XZSBD44+WYj8=;
 b=NngZNrGAGQdgtVftNgaJnufFkF83pNlcSHw+WI47NtxFp35A5R07eo8l787P8v41yy
 oxKRpmDHdLtBLqo3th0HJUvTxLUdY0h7huWRcdSVoryZ4nYX3XC9wFZVqY3wxhOFmYlO
 bJHwZTuMfAjj2zE3LedMdc2WdvuHoJSpssNYFhgf137m9Lh8BJWPYgALpuUUkltDrQv4
 st4763NtmtQmosGvMDu7xl/uWeij9F2RBvb5aE7OplWQxLX/T085Gh3pbYFvwLJR6A52
 KmnS5L9LBZVWbA9wMtFR7/sY4iKFGsp+4HBzVC9MC6MAvqh5I6dom19i+P94PMXt/PTN
 LSpA==
X-Gm-Message-State: ACrzQf1lXHFvHApoxj/Rqvt+b5e/pHRSy2yuXWVbfonDat2kFpu0Keur
 DLNfljwegR94ZEkSUDhKJvWIRyYLaxOsjB3QqwE=
X-Google-Smtp-Source: AMsMyM5sZ6VmkB0kgu24cZ2vIa+fP4r/ksgnhGid0EbKl9+rQWajHjc+YlgktCSvv/f9R5uhPhWpxUa4KF2dnuBaAqo=
X-Received: by 2002:a4a:b48d:0:b0:475:61d4:73f5 with SMTP id
 b13-20020a4ab48d000000b0047561d473f5mr6352345ooo.34.1663580437128; Mon, 19
 Sep 2022 02:40:37 -0700 (PDT)
Received: from 753933720722 named unknown by gmailapi.google.com with
 HTTPREST; Mon, 19 Sep 2022 05:40:36 -0400
From: Stefan Kangas <stefankangas@HIDDEN>
In-Reply-To: <87k061vsck.fsf@HIDDEN>
References: <87fsgvc938.fsf@HIDDEN>
 <CADwFkm=ebc0bYc0XdNsrXdWZdkEDo=mbzVdkzdo=LLpN6uXLeQ@HIDDEN>
 <87illpubzu.fsf@HIDDEN>
 <CADwFkm=oniKfEQiZpFmevnBUFNu3OZRM00hXzh3+G3N9AquG_Q@HIDDEN>
 <87a671h861.fsf@HIDDEN>
 <CADwFkmnsvAqUFJQ7vZn8_EXdPPUoQ2qeodbE+Xhv68V-k70pOA@HIDDEN>
 <874jx9ndv4.fsf@HIDDEN>
 <CADwFkmk7nfKFwj=-J+dwmcRVcMDQT10xR5Rg8pnWhKfn7Vj_gw@HIDDEN>
 <874jx6tc7w.fsf@HIDDEN>
 <CADwFkm=60u2Q+fnCuUf-8gC9bPHf8=AObV5=CwkU_2_Ja89=Jg@HIDDEN>
 <87k061vsck.fsf@HIDDEN>
X-Hashcash: 1:20:220919:felix.dick@HIDDEN::XD4iDugWKv9w1/+n:4PO5
MIME-Version: 1.0
Date: Mon, 19 Sep 2022 05:40:36 -0400
Message-ID: <CADwFkm=J2er2KV-59aPYPB7TeAcVG1t2T4OVEjbnp40fqzw2FA@HIDDEN>
Subject: Re: bug#57781: missing wallpaper command
To: Felix <felix.dick@HIDDEN>
Content-Type: text/plain; charset="UTF-8"
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 57781
Cc: 57781 <at> debbugs.gnu.org, Sean Whitton <spwhitton@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Felix <felix.dick@HIDDEN> writes:

>> This is surprising to me.  But I guess that variable should be set by
>> something like "gdm"?  Is that what you used?
>
> You are right! I'm kind of used to start things from tty.
> Starting gnome with gdm:
> $XDG_CURRENT_DESKTOP=GNOME
> $DESKTOP_SESSION=gnome
> Though it's not certain that everybody who uses gnome also uses gdm,
> most of the time it will be the case i guess.

Yes, I think we will have to assume some kind of default configurations
here, and leave the more esoteric configurations to the tinkerers
themselves to figure out.  :-)




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#57781; Package emacs. Full text available.

Message received at 57781 <at> debbugs.gnu.org:


Received: (at 57781) by debbugs.gnu.org; 18 Sep 2022 22:27:32 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Sep 18 18:27:32 2022
Received: from localhost ([127.0.0.1]:51481 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1oa2lA-00065a-8S
	for submit <at> debbugs.gnu.org; Sun, 18 Sep 2022 18:27:32 -0400
Received: from mout.web.de ([212.227.15.3]:57453)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <felix.dick@HIDDEN>) id 1oa2l7-00065M-0g
 for 57781 <at> debbugs.gnu.org; Sun, 18 Sep 2022 18:27:31 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=web.de; s=s29768273;
 t=1663540038; bh=Qzj6QyMNTygDs/+4doBjsNpkl2dzcpS21Db8PMyBOZQ=;
 h=X-UI-Sender-Class:References:From:To:Cc:Subject:Date:In-reply-to;
 b=LX/PggCAj6s2bOJOUcxl5U9i7u2tF/O/LPItju/Ac6v/y6s1a932PnGqPK3+X6qCH
 myiGetb2tttBQ5tOl+RSGdqkl2YcXxtZ1HzkJUCxVyB65gl6CvWt8KzX4XY+TIoDbV
 VORAbwfVosQxUHnr/vWZ9uN9m2sUBXHTWJKwNBc9DAOligIIkIcrCleeQdMZsw9GUa
 4+T5YSIZ6Hns6SrvGgxY438lxiSqr/tmf+eohxO6iwEXZQPd4WDGCcy7+Y0deMmWlM
 gA2IfuqoQ9z/v1Kgc7Gonxy6utb1y6PpesUZDCTabbxW3C7rcnkTgYNqv9E0bi01JP
 iDbvu+BSUEACw==
X-UI-Sender-Class: 814a7b36-bfc1-4dae-8640-3722d8ec6cd6
Received: from felix-lifebooka531.web.de ([95.91.242.87]) by smtp.web.de
 (mrweb005 [213.165.67.108]) with ESMTPSA (Nemesis) id
 1Mt8kX-1pSge72pKr-00tJWk; Mon, 19 Sep 2022 00:27:18 +0200
References: <87fsgvc938.fsf@HIDDEN>
 <CADwFkm=ebc0bYc0XdNsrXdWZdkEDo=mbzVdkzdo=LLpN6uXLeQ@HIDDEN>
 <87illpubzu.fsf@HIDDEN>
 <CADwFkm=oniKfEQiZpFmevnBUFNu3OZRM00hXzh3+G3N9AquG_Q@HIDDEN>
 <87a671h861.fsf@HIDDEN>
 <CADwFkmnsvAqUFJQ7vZn8_EXdPPUoQ2qeodbE+Xhv68V-k70pOA@HIDDEN>
 <874jx9ndv4.fsf@HIDDEN>
 <CADwFkmk7nfKFwj=-J+dwmcRVcMDQT10xR5Rg8pnWhKfn7Vj_gw@HIDDEN>
 <874jx6tc7w.fsf@HIDDEN>
 <CADwFkm=60u2Q+fnCuUf-8gC9bPHf8=AObV5=CwkU_2_Ja89=Jg@HIDDEN>
User-agent: mu4e 1.9.0; emacs 29.0.50
From: Felix <felix.dick@HIDDEN>
To: Stefan Kangas <stefankangas@HIDDEN>
Subject: Re: bug#57781: missing wallpaper command
Date: Mon, 19 Sep 2022 00:19:56 +0200
In-reply-to: <CADwFkm=60u2Q+fnCuUf-8gC9bPHf8=AObV5=CwkU_2_Ja89=Jg@HIDDEN>
Message-ID: <87edw8pbg5.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-Provags-ID: V03:K1:XoqMVRQGcLS26qCpeQd0l0xsXGCqBQc9xb+tEC6Fw21PQofcFWs
 ddS04lxGHauNqhTgD1tr7KD/1hk+7+jxQoGQaxecgom1VVHYrp07NdtJvf1WRdkOOads9WR
 NFuTY/i685sxupk/M1p7+B4110cziDiBTE8GndSgJiCNWTaU75IGKbiyZQsLks6rYlNrvIk
 rDA5ri90TAe3/CL7fAjSw==
X-Spam-Flag: NO
X-UI-Out-Filterresults: notjunk:1;V03:K0:Deq03MvPS4M=:PT/nE+W0zfjW+QreFFmRnh
 aKba+z+iWMc7d5xrQxlC2szpi+0+iroYtdOQK2NKjQj7FiwM6NqeJI/jNR6xkIbGID/o/l8qj
 1PzCY0djUqURBayc/H9hx7+9k+KbDNpEzSC4FW15VCTjx4RaISrKvchaedJJBHzxZUm8w1M+8
 SOjyA2MeCjmW6wtaL/ULDmwV7HGfSLmHh5q6ZV2NY+jZzzWvoVjVgtddhfVqJEhkCOy6f5r9R
 +PfhjHN4zjpa9XmKqQG1pysw1xS9eZDWGNsefadHXA4IrVSchKD1A1w7XqT3xsQoez6wMEPme
 r6jeA9HHYv4Wqlb9qGa3T1Nk/ZJZxMGeRJV0m4NCtnVT9E82UTsWD97MZx2FwSPiMd38Wri0Y
 5g7C6iIDM244NNFOgnFi7K7DqQqmoglAdVLP4l+byd3DobCZ04xd41mKRueEgoeV2Lx8e3XxL
 MiLMI8D4pyJBliatum3Zr8KEVQ9w5nnj48CjI+CNQGslbhjizntQ9NIjOx5D08u50JdPfdyHa
 JcK4jCAeSngqPFDi+55NKc7u6yXCEqmmCpCpNYy2uJ72pjaUnpvQqY54/MoomaTGJ/5RRaJGQ
 kMZ35bsHPEelcqLp+znmqXX9SHHw5uuUXiTArh6X98KfT079lWn7OwiAYqS32MWn7J9CrhTGC
 lQAgI0BDcb8GazgFp9Rnxd5FhD9kWRVttexBWbZpPDca20krZt74ToDpX3S2HjH5JfY4ihhLT
 KLNH9f/FDIXoTlna0qB8Le6JWwBC6n9VuLUar6k+cvbMdfgY6SlL4qLh91XmNbIO35Q401D3V
 o+hiy7Gw5L+Zw0yoy8Gr6C99igCBynJZqzQj2r+KY/acABax7uewx1hvi416Vd+ix3debzjhW
 STytSocEK9vCupKgTfzr2drJQKSIGjGMGNT1jcEHG6ZXalJax+7v/k8wmaTWB0/Fw9R/CYiWQ
 hEdMXTIKIUUDs6PzubWN1WYqxl08sb4P4L5+eXbtjEzKJbIp601u9aCOxflCcGZKpBk1JQXj/
 SqNk5LnSw/dZ5pPmWTQw70OeLs5XLLHsdlMc+qr40NMKC/YdSQL5mqIU/H0suap5A6uXg5481
 +qGt36zCJTTPkAtSxIGmYtqTe39jSwWCjuOk4BVMlx1jent2zkAmibZpMt5k9dwhLn3meObk3
 FWNVS+F8y+u5eovSf5MTAbLa0g
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 57781
Cc: 57781 <at> debbugs.gnu.org, Sean Whitton <spwhitton@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)


Stefan Kangas <stefankangas@HIDDEN> writes:

> Felix <felix.dick@HIDDEN> writes:
>
>> On a fresh debian install with
>> - gnome-shell:
>> $XDG_CURRENT_DESKTOP is not set (i will check on arch linux later today)
>
> This is surprising to me.  But I guess that variable should be set by
> something like "gdm"?  Is that what you used?
>
>>> If you like, perhaps you could send the output of the `env' command to
>>> me privately.  Just edit out anything sensitive before sending it.
>>
>> I will do that later today aswell.
> [...]
>>>> I can check KDE later, but I don't expect wgb or swaybg to work there.
>>
>> I'll include that later today (i'm on a train back home at the moment)
>
> Excellent, thank you!

On KDE/plasma Wayland everything i tested worked with wallpaper-set.
If wbg or swaybg is installed, they are used by wallpaper-set, which is
not optimal, if they are not installed kde's internal way of
setting the wallpaper is used. That way there is no process attached to
emacs, quiting emacs doesn't remove the wallpaper (as it does with wbg
or swaybg), and there is no need to kill old wallpaper processes.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#57781; Package emacs. Full text available.

Message received at 57781 <at> debbugs.gnu.org:


Received: (at 57781) by debbugs.gnu.org; 18 Sep 2022 11:26:02 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Sep 18 07:26:02 2022
Received: from localhost ([127.0.0.1]:48091 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1oZsQz-0004AA-Rz
	for submit <at> debbugs.gnu.org; Sun, 18 Sep 2022 07:26:02 -0400
Received: from mout.web.de ([212.227.17.11]:37261)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <felix.dick@HIDDEN>) id 1oZsQv-00049Y-IQ
 for 57781 <at> debbugs.gnu.org; Sun, 18 Sep 2022 07:26:00 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=web.de; s=s29768273;
 t=1663500345; bh=uy0rGLhsDN90XCOcviztTpxbWmJ7iUoBip4CN88JjHk=;
 h=X-UI-Sender-Class:References:From:To:Cc:Subject:Date:In-reply-to;
 b=dY+R2JfB6h7IgsWrZkeP0YGwP2VM3OO8bdOmvdd/9sMowbsSokE6af+y0yFcjNq+w
 4YRvyFpylaJJ3ViaAjX9KCevL0e0SqIFstn6+hfAlqEkBpf7MoxeU5UZdGXKryVojo
 BrQU3uRNxwifzwIerEwwnN7ZDPisHi6CqOX94uygJ6WXX98xh1Y2hAroFmpIiSqxpD
 Todtt3vwyp09uc4VCGrHdN8aUcpZcKK3x+11twzK60W4jBPCL+YYJjyDL5piHJyIhX
 Dwy42KpJ5xBfhWjGwL+A7/ZFAXLvmPBhXvdlU7muTWjYv3z3MISnvkdGKmQWtjuha8
 85ayAq4q2i7Tg==
X-UI-Sender-Class: 814a7b36-bfc1-4dae-8640-3722d8ec6cd6
Received: from felix-lifebooka531.web.de ([95.91.211.21]) by smtp.web.de
 (mrweb105 [213.165.67.124]) with ESMTPSA (Nemesis) id
 1MxYbD-1pXERM0hXl-00xWpl; Sun, 18 Sep 2022 13:25:45 +0200
References: <87fsgvc938.fsf@HIDDEN>
 <CADwFkm=ebc0bYc0XdNsrXdWZdkEDo=mbzVdkzdo=LLpN6uXLeQ@HIDDEN>
 <87illpubzu.fsf@HIDDEN>
 <CADwFkm=oniKfEQiZpFmevnBUFNu3OZRM00hXzh3+G3N9AquG_Q@HIDDEN>
 <87a671h861.fsf@HIDDEN>
 <CADwFkmnsvAqUFJQ7vZn8_EXdPPUoQ2qeodbE+Xhv68V-k70pOA@HIDDEN>
 <874jx9ndv4.fsf@HIDDEN>
 <CADwFkmk7nfKFwj=-J+dwmcRVcMDQT10xR5Rg8pnWhKfn7Vj_gw@HIDDEN>
 <874jx6tc7w.fsf@HIDDEN>
 <CADwFkm=60u2Q+fnCuUf-8gC9bPHf8=AObV5=CwkU_2_Ja89=Jg@HIDDEN>
User-agent: mu4e 1.9.0; emacs 29.0.50
From: Felix <felix.dick@HIDDEN>
To: Stefan Kangas <stefankangas@HIDDEN>
Subject: Re: bug#57781: missing wallpaper command
Date: Sun, 18 Sep 2022 13:16:29 +0200
In-reply-to: <CADwFkm=60u2Q+fnCuUf-8gC9bPHf8=AObV5=CwkU_2_Ja89=Jg@HIDDEN>
Message-ID: <87k061vsck.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-Provags-ID: V03:K1:fTBBPeEehRKfWh2rI1n1ZOY0vpUt6ggczfXuPhPBGJDjTXKVop5
 WACZoB+smx3puauK2hzgdlmqcM7uAThOwbNLsri3MEam6+mVwpDmdcE/YcHcEuM4qWkWlA1
 7Wbx7+vOZ3zJRBmN1Ksl35xn0H0typA6ScM0WpzHy9DNEahrR57ip3rIkR2hot0J4vUoD+n
 52uJP+2+8LqqzdAUwRHUg==
X-Spam-Flag: NO
X-UI-Out-Filterresults: notjunk:1;V03:K0:4/9vw2uR/G4=:nsJTFAA+soLrWNw9D3iP3d
 0Zldm7QcpRCC2wKr0ZgF11ceIm4pOJ4rW6C9E02ef5QgJrEjBnvG6h+P/GT6Qaso3RYr5RHI5
 4RV6rusmwlIjSnvqtONCwcE+0gseuTmpeBTijg/GgNnItF30LDAxLiS2AM0C8NhAhcXhs8r7D
 plY0pM212wSNbsJQPI0DDr1h5mm7IGdoatPj+9vtg1VHL4RjXGPdAKYzum25/uk25sbD+Y75t
 J18dikPdl0SNDodzLz4bhq6gANWGH4J40P7xyYqsP/1TJx2fiiryOZoEt6AxyFi/VbB5KUWVu
 U90albpQiVnj4aTcmoqzgMWT0jxpSCqpm+ugOjQvHZhYQX/pw3JVS3Gx0gdQcxW2isBqJMK6P
 iauz0BDIvAMvD4QT0F4rbi4zcHhQA54qsNtKEYIkpzDRRoa2okYhK/nRWyJwg9VB4oC0p/Gwr
 xQDLQrRj6uVFzes7zh2S09kWqa8/lDqzTdaSNbsnY3AzqCkUJ2A2fDaVVVV1c/Oto+E2I0Sxc
 9kbtpMiwW2x/PV2ayKWMhHP/1jm+K4WEk2xHZlMvYVsXlWDwMq7lffkJ6o4Dwbg8WWmZ4gKQI
 K51XW6hqAHxpclh/qeu2H9y3oIlhhA9haz3wYQI2Dl/GQs/ptLB5Di1/Kaa6PKqkkv/XMLpcf
 4lvg52IDJ39jEY8Bg3M2KGbWkb3ihc5YNgdFCCEWVEI2Q5e4a6JXnOQpPYL1MDRrFd5Nq/UmG
 hBArviYRhgkkYiReBLzQYRrjzOFnQTIeUmKDNhYhKGt9bqo587D31YlSdYg2OpmvJgrMk8Gyp
 pFiXTgi9/V2mJtsSJ+SRsFT+XdT52NDIBxyA/ESHXNV9YpKaHK2DZhFz4r60hfYGgXNpjFHch
 8Fq5RxxL07t2FsMBv6mfAImnjD+soZBNMh+UHszOIszW7IkUZMUaqvIt55HRCNMznTXdkWx5I
 CMEQ6CyTjLk16BILuSjvlaLND46PRmT0J5ELCuWph8ShiUhf3sxBA4k66XZZpcwi8GUScCY+P
 nm6sJ2BHlBXpXj4PlIk9s5xN7qntJ8HFXShxozNIJ6T9CEQg52yCOuGBlmMNF+BTMwBH9Yzpc
 a3t4SgvWjhBXUkJd8Qn8vkY8o8k1ezEqtOR4VmeFjGR9+BwGw1vmP2zirIZNTyekyzX1/MY1/
 F807g8qmTbMed4HYRu2Qqi443y
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 57781
Cc: 57781 <at> debbugs.gnu.org, Sean Whitton <spwhitton@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)


Stefan Kangas <stefankangas@HIDDEN> writes:

> Felix <felix.dick@HIDDEN> writes:
>
>> On a fresh debian install with
>> - gnome-shell:
>> $XDG_CURRENT_DESKTOP is not set (i will check on arch linux later today)
>
> This is surprising to me.  But I guess that variable should be set by
> something like "gdm"?  Is that what you used?
>

You are right! I'm kind of used to start things from tty.
Starting gnome with gdm:
$XDG_CURRENT_DESKTOP=GNOME
$DESKTOP_SESSION=gnome
Though it's not certain that everybody who uses gnome also uses gdm,
most of the time it will be the case i guess.


>>> If you like, perhaps you could send the output of the `env' command to
>>> me privately.  Just edit out anything sensitive before sending it.
>>
>> I will do that later today aswell.
> [...]
>>>> I can check KDE later, but I don't expect wgb or swaybg to work there.
>>
>> I'll include that later today (i'm on a train back home at the moment)
>
> Excellent, thank you!




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#57781; Package emacs. Full text available.

Message received at 57781 <at> debbugs.gnu.org:


Received: (at 57781) by debbugs.gnu.org; 18 Sep 2022 03:43:09 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Sep 17 23:43:09 2022
Received: from localhost ([127.0.0.1]:47490 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1oZlD3-0001et-Ai
	for submit <at> debbugs.gnu.org; Sat, 17 Sep 2022 23:43:09 -0400
Received: from mout02.posteo.de ([185.67.36.66]:59687)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <thievol@HIDDEN>) id 1oZlD0-0001eR-QF
 for 57781 <at> debbugs.gnu.org; Sat, 17 Sep 2022 23:43:08 -0400
Received: from submission (posteo.de [185.67.36.169]) 
 by mout02.posteo.de (Postfix) with ESMTPS id E1B98240103
 for <57781 <at> debbugs.gnu.org>; Sun, 18 Sep 2022 05:42:58 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017;
 t=1663472580; bh=CsCrgZ/HayJmemAgeqZYLURmUZR40MGN0JRD/OMdAdc=;
 h=From:To:Cc:Subject:Date:Autocrypt:OpenPGP:From;
 b=m9QGdnWMECX+1D6GDs0vQ4Ey16L2f7mpFqc0J6YrnSr+STqZvgztff3XFQVyW4bK1
 MluxxyJA6+grTF7+1RA5Fx0ii1MZ9rTO1Anr7cU7HXhAa8GSLy+fuaMh/OpLl+OoHS
 WxKaM5HVE2lvmX3PV0gHTI3LaPBkcYd2NCIpd+OzeFstyUjFYVNg706oHHRihLLcro
 uZveubbrvZLDUrjVg+AxnTV3gNBehqnZLeI51NrsylI1w00RcnyOf9sAXtgYViFdgu
 UK5FFf48OB6I9/+BphzG0RHG9GHjE/dtqH49v/WPwLb18xeWJEjohhgThk+atiaDty
 In2du1+ts8Myg==
Received: from customer (localhost [127.0.0.1])
 by submission (posteo.de) with ESMTPSA id 4MVYYD4zXWz9rxF;
 Sun, 18 Sep 2022 05:42:56 +0200 (CEST)
References: <87fsgvc938.fsf@HIDDEN>
 <CADwFkm=ebc0bYc0XdNsrXdWZdkEDo=mbzVdkzdo=LLpN6uXLeQ@HIDDEN>
 <87illpubzu.fsf@HIDDEN>
 <CADwFkm=oniKfEQiZpFmevnBUFNu3OZRM00hXzh3+G3N9AquG_Q@HIDDEN>
 <87a671h861.fsf@HIDDEN>
 <CADwFkmnsvAqUFJQ7vZn8_EXdPPUoQ2qeodbE+Xhv68V-k70pOA@HIDDEN>
 <87mtaz8gin.fsf@HIDDEN>
 <CADwFkm=UW53+ZriBg7RGxKHVpUemwUeA5aOeT+Gud2yvVAm-NQ@HIDDEN>
 <87tu56zfn3.fsf@HIDDEN>
 <CADwFkmkOxQV2i9k2RgZXwsCgfiN4fKZG20ip1K1Ax60u6_u_5w@HIDDEN>
From: Thierry Volpiatto <thievol@HIDDEN>
To: Stefan Kangas <stefankangas@HIDDEN>
Subject: Re: bug#57781: missing wallpaper command
Date: Sun, 18 Sep 2022 03:33:09 +0000
In-reply-to: <CADwFkmkOxQV2i9k2RgZXwsCgfiN4fKZG20ip1K1Ax60u6_u_5w@HIDDEN>
Autocrypt: addr=thievol@HIDDEN; prefer-encrypt=mutual; keydata=
 mQGNBF8ylcIBDADG+hy+zR6L4/vbdDDZuSaMmSrU3A5QZJpeBCvxTr7MpzzruZbhLPW1K3R6N2MA
 edi8Y+C8o27FVRIjpdbaKMGu9je7JV/TbUQYo3SOwCK1vM4LUn4V6ZLzSYkuiEt4eyMoiDdyvN0p
 kcK6P9x9DCetcEVszXzQg+yzCVrQ2hXWDXWT4M18EC3wtO7RHPouMqGiwBFhBAYErCqFWFxQHkfb
 tG/4yGyJ58rglb65O3qijjMWvYwcWZun9/7qm8Z4/4mHopmo2zgU+OrptnLSZfkZGz3Y7Uf452xQ
 GVq0Fv75NPvQru7y+DYVhuVXXyAmGxt+vf4rIiixMBbhKEPjcxEPAa2LTzex2IsTZR+QVG9uDnqC
 WcgaOEQ58fzXNvNhtwwF/Rgio2XWAJVdmFWS59/k9W58CIUSNKBMZh2XeGdEmtHvDtCxW3z6FJha
 36RzOM3fMNNiAGdFZJA84gcdloJR+sHCDTTPT3784fjr+V8An7sI581NGFzkRQqPvEQCZbUAEQEA
 AbQSdGhpZXZvbEBwb3N0ZW8ubmV0iQHOBBMBCgA4AhsDBQsJCAcCBhUKCQgLAgQWAgMBAh4BAheA
 FiEEI9twfRN7r3nig/xwDsVtFB0W75MFAmL3HCoACgkQDsVtFB0W75OVEAv/f6XxmtIFz08fUb8h
 Bp/zJP6IC4/rhhh+0GMRIRzLN8DK0jV8JCzYdFHiRJOy2lNIOpmrrCmjRRxferc2G42+ePFIsslx
 hU46VSz1Z83NwIG3mpdYNV5WUTUdgzxExHTNTFCd7NKv0nlHKQaAtdXm5bYnSHsnL7cx8z7lukA/
 EsJocE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wwD05viMZccQHl
 Wd9J/qZIvhBJlJWYnwVxh+2Kg4/hkx7SGc7JJS5GS37+PFQOJHPGMxc+fe4Ty2FdjIOVf3P1Hov9
 K6yBI7Af66qqcL3aKJ4jJidRYN8sMaKOqEu4rcSpTxp8/3Ddbs9HezUgXeUzOLJMcEYFlvCyC8ZS
 l/QDZmpobKbxZ1JAqZM8lnmcZYSV7OsWnxJIYDV1gH5LTLj7bGswXaB4B+qkckihWkRZixu8q1IK
 0c/xwUzyF092uFRM/sQKrSmnwA1+hQiiIuEl4XVz5li0/TmMta3ijUM7GNbl2IjioTRxWWecwad1
 mNHvKTcXPsKDAbHFdLvQzurnroBHQV0jSPNLTP5Suo7RnLbehfg5INpGjToCUlrd2qQqgXW7h5qZ
 TgUq5UmBc7YZ0JYWQgPTbQ==
Message-ID: <87bkrds5z5.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-=";
 micalg=pgp-sha512; protocol="application/pgp-signature"
OpenPGP: url=https://posteo.de/keys/thievol@HIDDEN; preference=encrypt
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 57781
Cc: 57781 <at> debbugs.gnu.org, Felix <felix.dick@HIDDEN>,
 Sean Whitton <spwhitton@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

--=-=-=
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable


Stefan Kangas <stefankangas@HIDDEN> writes:

> Thierry Volpiatto <thievol@HIDDEN> writes:
>
>> The xconf-query command is detected and working fine, thanks.
>> Perhaps you can store last wallpapers used and use it as default for the
>> read-file-name?
>> Something like this:
>
> Hmm, maybe.  But shouldn't the default rather be something like
> `ffap-file-at-point'?  Or maybe even
>
>     (cons (ffap-file-at-point) wallpaper-last-used)

This assume you have an image at point, if not when cycling with M-n in
defaults the first M-n hit will show a non filename i.e. your current
buffer-file-name.

>> diff --git a/lisp/image/wallpaper.el b/lisp/image/wallpaper.el
>> index 4572a8c0628..8426fc4b126 100644
>> --- a/lisp/image/wallpaper.el
>> +++ b/lisp/image/wallpaper.el
>> @@ -227,6 +227,8 @@ See also `wallpaper-default-height'.")
>>  This is only used when it can't be detected automatically.
>>  See also `wallpaper-default-width'.")
>>
>> +(defvar wallpaper-last-used nil)
>> +
>>  (defun wallpaper--get-height-or-width (desc fun default)
>>    (if (display-graphic-p)
>>        (funcall fun)
>> @@ -246,7 +248,10 @@ options `wallpaper-command' and `wallpaper-command-=
args'.
>>  On MS-Windows and Haiku systems, no external command is needed,
>>  so the value of `wallpaper-commands' is ignored."
>>    (interactive (list (read-file-name "Set desktop background to: "
>> -                                     default-directory nil t nil
>> +                                     (and wallpaper-last-used
>> +                                          (file-name-directory
>> +                                           (car (last wallpaper-last-us=
ed))))
>> +                                     wallpaper-last-used t nil
>>                                       (lambda (fn)
>>                                         (or (file-directory-p fn)
>>                                             (string-match (image-file-na=
me-regexp) fn))))))
>> @@ -257,6 +262,7 @@ so the value of `wallpaper-commands' is ignored."
>>    (unless (file-readable-p file)
>>      (error "File is not readable: %s" file))
>>    (wallpaper-debug "Using image %S:" file)
>> +  (push file wallpaper-last-used)
>>    (cond ((eq system-type 'windows-nt)
>>           (w32-set-wallpaper file))
>>          ((featurep 'haiku)


=2D-=20
Thierry

--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQHHBAEBCgAxFiEEI9twfRN7r3nig/xwDsVtFB0W75MFAmMmk74THHRoaWV2b2xA
cG9zdGVvLm5ldAAKCRAOxW0UHRbvk6TPC/9cJd6B3tQhQQJiMLxa2J6uHMfJTlHP
P/hcLQ/sUTiT567arHZ0vogGp2E2k1/K2ZybUBzmdUzNwjYuFLwmAyVUhy3hpyRy
5TSOy7nC65X65udAL4d6T2qpPnkRsHou83Fm4+BMbnfpwmwaJfFGnm4TMK6I+vD4
8Z35droMuwx/ZcVhZYSMoBfG347wzQholn/mOPDcrbZDLv/1aNFD6hZxGtNrND5u
AQmW2QVkCWdkRRDt+Pk0sGu7gYCoOKAutVgdc2dNBcD1cpXPXA1tQRFhFkoKmXfS
pPkgx+FL7osQltUn7oVHBh8J07npD6mp3FDgtXbmHDFAZhTogOqllPw3MGP0IVUj
0XLa/vBN7R4sVuMnADB5dvHcq7Ud1k0/OlzeUrMyJyCufsHRsQ9qrBDCRA2EO+wy
Hib14SuPIiEaHsmGdtcHs7LquWW9jGsGYq9t9MaOwcdhKozJ3B3OwH6Y34NFF1ET
z8Doc7E85EduXnmP0l/3vvRIhUJ3ermfcYg=
=ekiN
-----END PGP SIGNATURE-----
--=-=-=--




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#57781; Package emacs. Full text available.

Message received at 57781 <at> debbugs.gnu.org:


Received: (at 57781) by debbugs.gnu.org; 17 Sep 2022 18:34:59 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Sep 17 14:34:59 2022
Received: from localhost ([127.0.0.1]:47197 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1oZceY-0000je-Ms
	for submit <at> debbugs.gnu.org; Sat, 17 Sep 2022 14:34:59 -0400
Received: from mail-oa1-f53.google.com ([209.85.160.53]:41922)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <stefankangas@HIDDEN>) id 1oZceX-0000jQ-0B
 for 57781 <at> debbugs.gnu.org; Sat, 17 Sep 2022 14:34:57 -0400
Received: by mail-oa1-f53.google.com with SMTP id
 586e51a60fabf-12803ac8113so56577804fac.8
 for <57781 <at> debbugs.gnu.org>; Sat, 17 Sep 2022 11:34:56 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;
 h=cc:to:subject:message-id:date:mime-version:references:in-reply-to
 :from:from:to:cc:subject:date;
 bh=v8SgKxB5kG5/jRu0n60CV0Jl9pYLCLDqKHIWNdP5LEs=;
 b=MlJp4LdCX8/3kN8Zdl9ow5ro2BrHXgvDUZOXUoxYYwD/M8V4PSSmrKl7rLd2fB5Uru
 RVjN2gaPKZkd+Yfo3ANBtvpNMRo1OhdEBxaV3pTUxxXRWrJxKEvKXWJKmQDro1DrYyjd
 q/f8lQ1JzBOCZOJOA43JVLegnFCkdJYN0SmhcLi9Mz1G5kg//G0Vtmu/wfqMRIR9pceB
 vw1Ub8LyT6qyTxPXmF9tj8ZNhlsATFVlP1cw810QvuRDIgyKnT6U2wUtO6/+xvgpEA/m
 JqfyKpX66TIcO5bf/5SEmtXgO/d/lIVM47P/uYn80VQ5kPeO5Z+iVpYL3/1Ta4IOjqnA
 6UfA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20210112;
 h=cc:to:subject:message-id:date:mime-version:references:in-reply-to
 :from:x-gm-message-state:from:to:cc:subject:date;
 bh=v8SgKxB5kG5/jRu0n60CV0Jl9pYLCLDqKHIWNdP5LEs=;
 b=qK29XjSXIarOmxLSc9lQt7GhS+KpHKscbLoqOYlEnIGpK5AxT5YBu+rQ4XrWSNdDGT
 MRr+ZIxAa/TSJuZESTGtYBzJao9XXlIDT72coU62DU8JOH57KiFFTRRktjkhhZSRe0pe
 0mR2DtLYP+sds8qPiiNN5IhS3/lvAwaoNFV0wbJMn26LHGlwmBhbC/vYsvPl11Wb5zax
 FsNQ402SbGEar/xWdYkPzX5322sHsTuMb7U4wJx5gUwCenm8WbMtAWs5U6lZv1z9YvGM
 3dia6lEeaP9E5ojvfIO9tmFCkoTDNZFuh2Fft6q0coaqTHlxazx9fh1Gdnuv8aEQ5mlt
 CFNA==
X-Gm-Message-State: ACgBeo2ylQ17CmCWkB/kAMm6tPR0jWYtrzl6xu/WnI48X1vAZFF+SZbv
 AD6MDDY8oDRagiNXz3AO7nn42TiUdvSng2xTmZ0=
X-Google-Smtp-Source: AA6agR4QzmR6qdoqCm7TGcAnT7u2ST0GtKupqgM0q0c6k7QEaWyO1I0Jj85sYMR6KPQD5et9m9+Kj+BPylr4EmLNIEg=
X-Received: by 2002:a05:6870:5581:b0:11e:300:8189 with SMTP id
 n1-20020a056870558100b0011e03008189mr11680228oao.199.1663439691283; Sat, 17
 Sep 2022 11:34:51 -0700 (PDT)
Received: from 753933720722 named unknown by gmailapi.google.com with
 HTTPREST; Sat, 17 Sep 2022 14:34:50 -0400
From: Stefan Kangas <stefankangas@HIDDEN>
In-Reply-To: <87tu56zfn3.fsf@HIDDEN>
References: <87fsgvc938.fsf@HIDDEN>
 <CADwFkm=ebc0bYc0XdNsrXdWZdkEDo=mbzVdkzdo=LLpN6uXLeQ@HIDDEN>
 <87illpubzu.fsf@HIDDEN>
 <CADwFkm=oniKfEQiZpFmevnBUFNu3OZRM00hXzh3+G3N9AquG_Q@HIDDEN>
 <87a671h861.fsf@HIDDEN>
 <CADwFkmnsvAqUFJQ7vZn8_EXdPPUoQ2qeodbE+Xhv68V-k70pOA@HIDDEN>
 <87mtaz8gin.fsf@HIDDEN>
 <CADwFkm=UW53+ZriBg7RGxKHVpUemwUeA5aOeT+Gud2yvVAm-NQ@HIDDEN>
 <87tu56zfn3.fsf@HIDDEN>
X-Hashcash: 1:20:220917:spwhitton@HIDDEN::K5jwRWunCQTe5/XQ:5Y35
MIME-Version: 1.0
Date: Sat, 17 Sep 2022 14:34:50 -0400
Message-ID: <CADwFkmkOxQV2i9k2RgZXwsCgfiN4fKZG20ip1K1Ax60u6_u_5w@HIDDEN>
Subject: Re: bug#57781: missing wallpaper command
To: Thierry Volpiatto <thievol@HIDDEN>
Content-Type: text/plain; charset="UTF-8"
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 57781
Cc: 57781 <at> debbugs.gnu.org, Felix <felix.dick@HIDDEN>,
 Sean Whitton <spwhitton@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Thierry Volpiatto <thievol@HIDDEN> writes:

> The xconf-query command is detected and working fine, thanks.
> Perhaps you can store last wallpapers used and use it as default for the
> read-file-name?
> Something like this:

Hmm, maybe.  But shouldn't the default rather be something like
`ffap-file-at-point'?  Or maybe even

    (cons (ffap-file-at-point) wallpaper-last-used)

?

> diff --git a/lisp/image/wallpaper.el b/lisp/image/wallpaper.el
> index 4572a8c0628..8426fc4b126 100644
> --- a/lisp/image/wallpaper.el
> +++ b/lisp/image/wallpaper.el
> @@ -227,6 +227,8 @@ See also `wallpaper-default-height'.")
>  This is only used when it can't be detected automatically.
>  See also `wallpaper-default-width'.")
>
> +(defvar wallpaper-last-used nil)
> +
>  (defun wallpaper--get-height-or-width (desc fun default)
>    (if (display-graphic-p)
>        (funcall fun)
> @@ -246,7 +248,10 @@ options `wallpaper-command' and `wallpaper-command-args'.
>  On MS-Windows and Haiku systems, no external command is needed,
>  so the value of `wallpaper-commands' is ignored."
>    (interactive (list (read-file-name "Set desktop background to: "
> -                                     default-directory nil t nil
> +                                     (and wallpaper-last-used
> +                                          (file-name-directory
> +                                           (car (last wallpaper-last-used))))
> +                                     wallpaper-last-used t nil
>                                       (lambda (fn)
>                                         (or (file-directory-p fn)
>                                             (string-match (image-file-name-regexp) fn))))))
> @@ -257,6 +262,7 @@ so the value of `wallpaper-commands' is ignored."
>    (unless (file-readable-p file)
>      (error "File is not readable: %s" file))
>    (wallpaper-debug "Using image %S:" file)
> +  (push file wallpaper-last-used)
>    (cond ((eq system-type 'windows-nt)
>           (w32-set-wallpaper file))
>          ((featurep 'haiku)




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#57781; Package emacs. Full text available.

Message received at 57781 <at> debbugs.gnu.org:


Received: (at 57781) by debbugs.gnu.org; 17 Sep 2022 17:48:31 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Sep 17 13:48:30 2022
Received: from localhost ([127.0.0.1]:47133 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1oZbva-00080f-LK
	for submit <at> debbugs.gnu.org; Sat, 17 Sep 2022 13:48:30 -0400
Received: from mail-oa1-f42.google.com ([209.85.160.42]:44553)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <stefankangas@HIDDEN>) id 1oZbvZ-00080L-1z
 for 57781 <at> debbugs.gnu.org; Sat, 17 Sep 2022 13:48:29 -0400
Received: by mail-oa1-f42.google.com with SMTP id
 586e51a60fabf-11eab59db71so56449198fac.11
 for <57781 <at> debbugs.gnu.org>; Sat, 17 Sep 2022 10:48:29 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;
 h=to:subject:message-id:date:mime-version:references:in-reply-to:from
 :from:to:cc:subject:date;
 bh=rJnV1yvl4NDOfhPuphvZdFhQciaQN2pG7F8nTSOMsyk=;
 b=Zk7rtAUDWkErsxGa7GSEZ3nwlz5UYeXnb7fD7Mf37m0264yon1tpw7hIr0yIE/02Or
 OrCiQgRTx4EiYF44EssobdibzJGgjqn70jOU/0oqeeMJjJcdzsPOnhyhuR9Hl0+Ywd/X
 qolZVHA0w5CPM0rCVFioa7hk8zo8vD6a9xRGm0Gq5nRsfMmCAJnMryYQO3OZxgXCkPCL
 k5ccpI5YjGrxGyhuoMMvVMnhIYf9X6dacWS5qYc8vmfGa0oym+EQB4wiINkzLH5Zd2WG
 OS02Ogene2axb+D1MZOUYQCaiPi6t2w/RnQNhavliRJZZ0wgNvkkYRJeTuirlLMSH6TM
 irWA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20210112;
 h=to:subject:message-id:date:mime-version:references:in-reply-to:from
 :x-gm-message-state:from:to:cc:subject:date;
 bh=rJnV1yvl4NDOfhPuphvZdFhQciaQN2pG7F8nTSOMsyk=;
 b=FMSuH6vnriHI4s/UWp0UHHp001DTseQahRAXltr4701kYKN9J1iQoS0UsAJDDnqGR9
 8BF52P0WtWEPS9N6rYLGBUgm5ipNUVSuPEPMtKkdLdN9gpPW8fm2WIbwF/8HYhOjz/sx
 fQUmHioRhSLCALs5vwUu7m7VfckWK5dJQv6MjZZeN3abeKR6vROzatlIQXxo6QgaBZk2
 7M8BClSTXO/oUrHEo7nPCXPmVr+OzMLBGOQ8XxAtjRxnz2lR/n9R5TLEiBNACYn+FA7C
 7pRWJcck2WFg71rUZS5S8oPOuGqPYGE234zNoNQkI0HHtkIcTkn2ElD1Y9RAA2B0C+Dv
 ej7Q==
X-Gm-Message-State: ACgBeo09Xn4JIP37gh46kyM6fIlzRHMca4R0niRW7ZS07HJ4Iea/f3AH
 Pc18zRqi3pVPUmOEd6q2DBIZ6CmcJVx/uH99gd0=
X-Google-Smtp-Source: AA6agR51GpBqv/Qjf1xHdnXEJkdD/B9MiZmZ5DOn5D+2qfreYa7AJMY7KTfTBAIpNatVHIIc74IuB5NpRnZf+65XQIQ=
X-Received: by 2002:a05:6870:538c:b0:11b:e64f:ee1b with SMTP id
 h12-20020a056870538c00b0011be64fee1bmr11220483oan.92.1663436903359; Sat, 17
 Sep 2022 10:48:23 -0700 (PDT)
Received: from 753933720722 named unknown by gmailapi.google.com with
 HTTPREST; Sat, 17 Sep 2022 13:48:22 -0400
From: Stefan Kangas <stefankangas@HIDDEN>
In-Reply-To: <874jx6tc7w.fsf@HIDDEN>
References: <87fsgvc938.fsf@HIDDEN>
 <CADwFkm=ebc0bYc0XdNsrXdWZdkEDo=mbzVdkzdo=LLpN6uXLeQ@HIDDEN>
 <87illpubzu.fsf@HIDDEN>
 <CADwFkm=oniKfEQiZpFmevnBUFNu3OZRM00hXzh3+G3N9AquG_Q@HIDDEN>
 <87a671h861.fsf@HIDDEN>
 <CADwFkmnsvAqUFJQ7vZn8_EXdPPUoQ2qeodbE+Xhv68V-k70pOA@HIDDEN>
 <874jx9ndv4.fsf@HIDDEN>
 <CADwFkmk7nfKFwj=-J+dwmcRVcMDQT10xR5Rg8pnWhKfn7Vj_gw@HIDDEN>
 <874jx6tc7w.fsf@HIDDEN>
X-Hashcash: 1:20:220917:felix.dick@HIDDEN::xWUfw0kD5ariHYyN:HHA+
MIME-Version: 1.0
Date: Sat, 17 Sep 2022 13:48:22 -0400
Message-ID: <CADwFkm=60u2Q+fnCuUf-8gC9bPHf8=AObV5=CwkU_2_Ja89=Jg@HIDDEN>
Subject: Re: bug#57781: missing wallpaper command
To: Felix <felix.dick@HIDDEN>, Sean Whitton <spwhitton@HIDDEN>,
 57781 <at> debbugs.gnu.org
Content-Type: text/plain; charset="UTF-8"
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 57781
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Felix <felix.dick@HIDDEN> writes:

> On a fresh debian install with
> - gnome-shell:
> $XDG_CURRENT_DESKTOP is not set (i will check on arch linux later today)

This is surprising to me.  But I guess that variable should be set by
something like "gdm"?  Is that what you used?

>> If you like, perhaps you could send the output of the `env' command to
>> me privately.  Just edit out anything sensitive before sending it.
>
> I will do that later today aswell.
[...]
>>> I can check KDE later, but I don't expect wgb or swaybg to work there.
>
> I'll include that later today (i'm on a train back home at the moment)

Excellent, thank you!




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#57781; Package emacs. Full text available.
bug No longer marked as fixed in versions 29.1 and reopened. Request was from Debbugs Internal Request <help-debbugs@HIDDEN> to internal_control <at> debbugs.gnu.org. Full text available.

Message received at 57781 <at> debbugs.gnu.org:


Received: (at 57781) by debbugs.gnu.org; 17 Sep 2022 12:32:42 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Sep 17 08:32:42 2022
Received: from localhost ([127.0.0.1]:45329 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1oZWzy-0003r3-7F
	for submit <at> debbugs.gnu.org; Sat, 17 Sep 2022 08:32:42 -0400
Received: from mout.web.de ([212.227.17.11]:39175)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <felix.dick@HIDDEN>) id 1oZWzv-0003qo-VD
 for 57781 <at> debbugs.gnu.org; Sat, 17 Sep 2022 08:32:41 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=web.de; s=s29768273;
 t=1663417950; bh=desAa+CR6C5eWIWSSF4FhYmdAkeRyW2uHLqCr9twDa0=;
 h=X-UI-Sender-Class:References:From:To:Subject:Date:In-reply-to;
 b=AV+Q0OaZXNbr0z5HR5rtOfkCumQ071Zo3hiPRWauJx0MkwSzQSnrM2s4bfk7KSPCP
 CQxdB1K/4nUcFcXu6LJev9b9EfCMdxTLqeuJfFwH99X0nZ4UmLE+G0AYy9qty/rcOy
 7lDP+sxARFgWr63wsuREpL5nZ+VvCp1nMx8R7kJj2nciuY0W7FhpAAheuTn0yTLj+1
 ldtvQ++MwPUtgB6HvdjPEaFGz7JDlz5aUVQ25gPNDs8o0npXh2cPSj2JCpRKYJQVDd
 Mbx3CNZsMflOQMaZqZ6Sq3jRjeh8G9KhJc6ez7sNTU4ffnUYhTz0TBdpf0V4WpxQQX
 BH8fy6wKB4XCA==
X-UI-Sender-Class: 814a7b36-bfc1-4dae-8640-3722d8ec6cd6
Received: from felix-lifebooka531.web.de ([94.134.103.97]) by smtp.web.de
 (mrweb106 [213.165.67.124]) with ESMTPSA (Nemesis) id
 1M9qd5-1ocXGN0J3F-005Weu; Sat, 17 Sep 2022 14:32:30 +0200
References: <87fsgvc938.fsf@HIDDEN>
 <CADwFkm=ebc0bYc0XdNsrXdWZdkEDo=mbzVdkzdo=LLpN6uXLeQ@HIDDEN>
 <87illpubzu.fsf@HIDDEN>
 <CADwFkm=oniKfEQiZpFmevnBUFNu3OZRM00hXzh3+G3N9AquG_Q@HIDDEN>
 <87a671h861.fsf@HIDDEN>
 <CADwFkmnsvAqUFJQ7vZn8_EXdPPUoQ2qeodbE+Xhv68V-k70pOA@HIDDEN>
 <874jx9ndv4.fsf@HIDDEN>
 <CADwFkmk7nfKFwj=-J+dwmcRVcMDQT10xR5Rg8pnWhKfn7Vj_gw@HIDDEN>
User-agent: mu4e 1.9.0; emacs 29.0.50
From: Felix <felix.dick@HIDDEN>
To: Stefan Kangas <stefankangas@HIDDEN>, Sean Whitton
 <spwhitton@HIDDEN>, 57781 <at> debbugs.gnu.org
Subject: Re: bug#57781: missing wallpaper command
Date: Sat, 17 Sep 2022 14:00:49 +0200
In-reply-to: <CADwFkmk7nfKFwj=-J+dwmcRVcMDQT10xR5Rg8pnWhKfn7Vj_gw@HIDDEN>
Message-ID: <874jx6tc7w.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-Provags-ID: V03:K1:r6160UvArb8KGCh/RAL6lZajFuNLSbcFOINjgif3CHNcOkMHJT6
 S2UuY+XKKDywQ+KYkF13xM+aK9AK310QdB2CnXAJJ0y8PxJkUkRIY35Qy9bNBb0WOStd4XO
 Wh+1ddn9nD+vm7JEAQytOilqubSHd3Wp9Ms8kigF62INdJs11hfaTSVdQHBtGobW7MtHUU3
 xEVxCGKYJhRx1sJfNI/7w==
X-Spam-Flag: NO
X-UI-Out-Filterresults: notjunk:1;V03:K0:jXd/SQwiy/I=:FPFV2bzEY1VvF/6BOi3UiR
 BtW5cM9PbPkiLrkbKYOvOo1toHaggS6QCtL0twW/XbZ+hEFh1fNi0matoNrTmasqw7AUOJR8K
 kTvQhWkXOqaDXh1fqRCpK7gNtbflCBvYhQtWUnvoFlrHXHy2pD+237YugP1S4mzXY53MrqrpH
 qOfQ6zLDVmgnzabpiITiLkuSGiy5P63GADV5CcQPDY97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ugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Stefan Kangas <stefankangas@HIDDEN> writes:

> Felix <felix.dick@HIDDEN> writes:
>
>> Neither swaybg nor wgb is running under gnome-shell with wayland.
>> Gnome has it's own way of setting wallpapers.
>> As kind of expected wbg depends on wlroots i guess.
>> I'm not shure how to check which wm/desktop is running.
>
> Does that mean that setting the wallpaper using `wallpaper-set' doesn't
> work when running gnome-shell under Wayland?

No it works under gnome-shell (if the light color scheme is active),
what i meant is that those wlroots dependend applications
(swaybg,wbg,hyprpaper ...)
are not working under gnome and probably not under kde.

>
> If you still have access to it, what is the value of the environment
> variables $XDG_CURRENT_DESKTOP, $WAYLAND_DISPLAY and $SWAYSOCK in this
> configuration?

On a fresh debian install with
- gnome-shell:
$XDG_CURRENT_DESKTOP is not set (i will check on arch linux later today)
$WAYLAND_DISPLAY = wayland-1
- sway:
$SWAYSOCK = /run/user/1000/sway-ipc.1000.13582.sock

>
> If you like, perhaps you could send the output of the `env' command to
> me privately.  Just edit out anything sensitive before sending it.
>

I will do that later today aswell.

>> wmctrl would be very usefull, but there is not garantee for it to be
>> installed.
>
> Thanks, I did not know about wmctrl.  I took a look at its website
>
>     https://sites.google.com/site/tstyblo/wmctrl
>
> but I could not find any way to set the wallpaper using it.  Maybe I
> missed it.  Do you know if it can be done, and if so, how?
>
> (We can check if it installed with `executable-find'.)
>

wmctrl is not for setting wallpapers, i meant that it would be a
convenient way to check which desktop/wm is running.

>> Another point is that:
>> ("gsettings" "set" "org.gnome.desktop.background" "picture-uri" "file://%f")
>> only effects the light scheme of gnome.
>> If you want to change the wallpaper of the dark scheme
>> ("gsettings" "set" "org.gnome.desktop.background" "picture-uri-dark" "file://%f")
>> is the command.
>> 'gsettings get org.gnome.desktop.interface color-scheme'
>> can be used to check which of both schemes is active.
>> It returns either 'prefer-dark' or 'prefer-light'
>> One could think about setting the wallpaper for both themes, or
>> only for the active color-scheme.
>
> Hmm, this is interesting.  It is clear that we need to extend
> wallpaper.el to run another command first, to decide which command
> should be run in various situations.  I will look into it.
>
>> I can check KDE later, but I don't expect wgb or swaybg to work there.

I'll include that later today (i'm on a train back home at the moment)

>
> That will be much appreciated.

>
> Thanks for all of the above, this is very useful.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#57781; Package emacs. Full text available.

Message received at 57781 <at> debbugs.gnu.org:


Received: (at 57781) by debbugs.gnu.org; 17 Sep 2022 06:20:18 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Sep 17 02:20:18 2022
Received: from localhost ([127.0.0.1]:44979 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1oZRBZ-0006HN-UY
	for submit <at> debbugs.gnu.org; Sat, 17 Sep 2022 02:20:18 -0400
Received: from mout01.posteo.de ([185.67.36.65]:35093)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <thievol@HIDDEN>) id 1oZRBU-0006Gz-N3
 for 57781 <at> debbugs.gnu.org; Sat, 17 Sep 2022 02:20:16 -0400
Received: from submission (posteo.de [185.67.36.169]) 
 by mout01.posteo.de (Postfix) with ESMTPS id B8CC1240026
 for <57781 <at> debbugs.gnu.org>; Sat, 17 Sep 2022 08:20:05 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017;
 t=1663395606; bh=96vbdbs7mrFbZ3Jgmm3I5CQK+Q2AKHdrs/SLYPgG9mM=;
 h=From:To:Cc:Subject:Date:Autocrypt:OpenPGP:From;
 b=A2wBxa7ZACccqeCzNXouzUjYsnQlGFJC5zGLH1QK1baFyffmKHbQf5UynYy1BnN5b
 dC+6rzJ+32DyhzNr/dUf7HvQ99Dn/AyK7YyOYCLKnrtAFVKPLBj01EisBD3L4Ki2p1
 9LVgcftWHKG5vmpynfNrlABJvN9hjEBb55qrN8XL3Jkf7pcONYXJgHk00wmjTdBQmV
 8mLZVYekRFxudPwOYYWsUkLs+SRTP8Sj7OWbvyx6V2ZMeoq1eLsrlyTzEEkySfAB6K
 qeY7LTZixjOiAdS63ByNRuA92puS2xi9mxnXis98etVXybudnX/30toyrxMYgOwoU0
 azTgUR4DLoJww==
Received: from customer (localhost [127.0.0.1])
 by submission (posteo.de) with ESMTPSA id 4MV14z4Zt1z6tnG;
 Sat, 17 Sep 2022 08:20:03 +0200 (CEST)
References: <87fsgvc938.fsf@HIDDEN>
 <CADwFkm=ebc0bYc0XdNsrXdWZdkEDo=mbzVdkzdo=LLpN6uXLeQ@HIDDEN>
 <87illpubzu.fsf@HIDDEN>
 <CADwFkm=oniKfEQiZpFmevnBUFNu3OZRM00hXzh3+G3N9AquG_Q@HIDDEN>
 <87a671h861.fsf@HIDDEN>
 <CADwFkmnsvAqUFJQ7vZn8_EXdPPUoQ2qeodbE+Xhv68V-k70pOA@HIDDEN>
 <87mtaz8gin.fsf@HIDDEN>
 <CADwFkm=UW53+ZriBg7RGxKHVpUemwUeA5aOeT+Gud2yvVAm-NQ@HIDDEN>
From: Thierry Volpiatto <thievol@HIDDEN>
To: Stefan Kangas <stefankangas@HIDDEN>
Subject: Re: bug#57781: missing wallpa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JHPGMxc+fe4Ty2FdjIOVf3P1Hov9
 K6yBI7Af66qqcL3aKJ4jJidRYN8sMaKOqEu4rcSpTxp8/3Ddbs9HezUgXeUzOLJMcEYFlvCyC8ZS
 l/QDZmpobKbxZ1JAqZM8lnmcZYSV7OsWnxJIYDV1gH5LTLj7bGswXaB4B+qkckihWkRZixu8q1IK
 0c/xwUzyF092uFRM/sQKrSmnwA1+hQiiIuEl4XVz5li0/TmMta3ijUM7GNbl2IjioTRxWWecwad1
 mNHvKTcXPsKDAbHFdLvQzurnroBHQV0jSPNLTP5Suo7RnLbehfg5INpGjToCUlrd2qQqgXW7h5qZ
 TgUq5UmBc7YZ0JYWQgPTbQ==
Message-ID: <87tu56zfn3.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-=";
 micalg=pgp-sha512; protocol="application/pgp-signature"
OpenPGP: url=https://posteo.de/keys/thievol@HIDDEN; preference=encrypt
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 57781
Cc: 57781 <at> debbugs.gnu.org, Felix <felix.dick@HIDDEN>,
 Sean Whitton <spwhitton@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

--=-=-=
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable


Stefan Kangas <stefankangas@HIDDEN> writes:

> Thierry Volpiatto <thievol@HIDDEN> writes:
>
>> Don't know if you already added a command for xfce, if not here is what
>> I use:
>>
>>     (apply #'call-process "xfconf-query" nil nil nil
>>            `("-c"
>>             "xfce4-desktop" "-p"
>>             "/backdrop/screen0/monitoreDP/workspace0/last-image" "-s"
>>             ,file))
>
> I did not yet have the command, so thank you.  I have added this to
> wallpaper.el on master now (commit fe7c015b20 or attached patch).
>
> Do you mind testing to see if it works for you?

The xconf-query command is detected and working fine, thanks.
Perhaps you can store last wallpapers used and use it as default for the
read-file-name?
Something like this:

diff --git a/lisp/image/wallpaper.el b/lisp/image/wallpaper.el
index 4572a8c0628..8426fc4b126 100644
=2D-- a/lisp/image/wallpaper.el
+++ b/lisp/image/wallpaper.el
@@ -227,6 +227,8 @@ See also `wallpaper-default-height'.")
 This is only used when it can't be detected automatically.
 See also `wallpaper-default-width'.")
=20
+(defvar wallpaper-last-used nil)
+
 (defun wallpaper--get-height-or-width (desc fun default)
   (if (display-graphic-p)
       (funcall fun)
@@ -246,7 +248,10 @@ options `wallpaper-command' and `wallpaper-command-arg=
s'.
 On MS-Windows and Haiku systems, no external command is needed,
 so the value of `wallpaper-commands' is ignored."
   (interactive (list (read-file-name "Set desktop background to: "
=2D                                     default-directory nil t nil
+                                     (and wallpaper-last-used
+                                          (file-name-directory
+                                           (car (last wallpaper-last-used)=
)))
+                                     wallpaper-last-used t nil
                                      (lambda (fn)
                                        (or (file-directory-p fn)
                                            (string-match (image-file-name-=
regexp) fn))))))
@@ -257,6 +262,7 @@ so the value of `wallpaper-commands' is ignored."
   (unless (file-readable-p file)
     (error "File is not readable: %s" file))
   (wallpaper-debug "Using image %S:" file)
+  (push file wallpaper-last-used)
   (cond ((eq system-type 'windows-nt)
          (w32-set-wallpaper file))
         ((featurep 'haiku)


> [2. text/x-diff; 0001-Support-XFCE-in-wallpaper.el.patch]...


=2D-=20
Thierry

--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQHHBAEBCgAxFiEEI9twfRN7r3nig/xwDsVtFB0W75MFAmMlZxATHHRoaWV2b2xA
cG9zdGVvLm5ldAAKCRAOxW0UHRbvk5gtDACH02VB24EK1Q8/7uImYOgcAp/3j9P2
xXTia0/BHmNgQXUFIk5H96ZrqmXjTAUYHXYSaoApmwC9D6JxmOhHdR+czQsBNyvH
83mokvTriAazfVHLfnP3jqBNixboaOoif9L3HsP4gbFMdysM/s3NZHu8/AJdAID6
Uq6d8wbmhB8uaN0qajsSfzczSI/IdzWUp6p2WOW5keJZ8HfP5nT2Ful310kh06+N
vwBVR/MgLkpFio66WTl7cB4Se0YLL+CldiJD0BEOFA42vC0d+yfhYWagKvdUMPAn
JLdr/rKWh/sIo+Tuh2j8x5oDFtnmkDnc+zn2toMC6juqd2NgqWN2pSW3WzUD3Acx
q3OVYE2YG+iM4EwQ4Ycm22zlYW/fPHpK8joEBW4XxFtFIHZbL8voFoJHW1uQgu7L
sDwXbODwxxC5+/LnpzujIb205ovnAUW4WEnZ+A4QoXOttd2W2yJwFe+T4nT77pCX
ss1Gb1a9G6juD5/Zbl2RTU/Pf8bLw+YOCug=
=8rlM
-----END PGP SIGNATURE-----
--=-=-=--




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#57781; Package emacs. Full text available.

Message received at 57781 <at> debbugs.gnu.org:


Received: (at 57781) by debbugs.gnu.org; 16 Sep 2022 21:09:59 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Sep 16 17:09:59 2022
Received: from localhost ([127.0.0.1]:44474 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1oZIb1-0000jC-1c
	for submit <at> debbugs.gnu.org; Fri, 16 Sep 2022 17:09:59 -0400
Received: from mail-oi1-f172.google.com ([209.85.167.172]:37379)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <stefankangas@HIDDEN>) id 1oZIaz-0000iz-1e
 for 57781 <at> debbugs.gnu.org; Fri, 16 Sep 2022 17:09:57 -0400
Received: by mail-oi1-f172.google.com with SMTP id s125so3533221oie.4
 for <57781 <at> debbugs.gnu.org>; Fri, 16 Sep 2022 14:09:57 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;
 h=to:subject:message-id:date:mime-version:references:in-reply-to:from
 :from:to:cc:subject:date;
 bh=qhSvbfOiSyFkR4GhJ3TzQEX9CpchAboIr0oSQsCkFm4=;
 b=DujwNPsxqgOvd97uN1FrLbLfhZwdfW8nvBTw9cioD1ApzhUeJby71HyNf6L9PsRAm2
 ErMxAacVY3yf1FwoqYbHjAWfaavibji+jrmZq1LMF902XMu1RePFrbVh95VKPxMOJFUP
 K2S/jeq7QAgBoZ8XkGgzGMpXPP8LD0nXhXnkh3kiWQVXTvPsWlyzVMr6MvmAzIfCTiOC
 ZP69kWpZcMp65NE/7D6wZjnjq8KowMxsycqBrE2qxqv2rczwDBt9LywrKQK4V6s507ya
 4WbWX1YrxXFb99NelFGIlYck324gAFEfn2QN0i8U5CLmlnVr4ovikB5VfPkhtst6Ip+b
 MwJQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20210112;
 h=to:subject:message-id:date:mime-version:references:in-reply-to:from
 :x-gm-message-state:from:to:cc:subject:date;
 bh=qhSvbfOiSyFkR4GhJ3TzQEX9CpchAboIr0oSQsCkFm4=;
 b=y4jNz2kM9FqzfCqMO+isR1ayG/inuLgDbKx28csrN/ip+b9+y6GXSTBDa52kwQH5IE
 MV3+adFAA2aKvLi5JTpE19r9wHZXD7dW1Ct7rRKBXredAcl4uo/t0SIBEk1IBOCjDeZG
 MH0nopZh8QL1GjJa9kY7N/M31oPFj9lx/KdtwIbLyu5hPoGnW61g9676D8dN4NE0/hMj
 Bl5s9d7XW5rzjqhfE8DPyRzdhGfce+lXL9ZvwQspQKstDfcx7S7zdn3cSNSAaAwQxYfZ
 7SQk1JG3tQHomeUhn+Y6+4UleAq4jzyle9ZpaRyLeYqOaBzfHWaZzW9NlTjyfpkVairY
 fQ1w==
X-Gm-Message-State: ACgBeo3ObEOTDRTrv3pUW2JsEoMWfW2WLQazKycYLvVtNHarb+Jjx04R
 YPfHGeBg9nw8oa7oH/hlmzuUaVQnM5911uKUw0g=
X-Google-Smtp-Source: AA6agR7zRrJgPF1PyCPADroSL7nAH8xGOHQR6l91vWuplplv38HjCEguWSnddGRDyg+Fd5u30Vwd0PDXF0P1sf1FvUQ=
X-Received: by 2002:a05:6808:1688:b0:345:ea9a:2954 with SMTP id
 bb8-20020a056808168800b00345ea9a2954mr7563090oib.199.1663362591486; Fri, 16
 Sep 2022 14:09:51 -0700 (PDT)
Received: from 753933720722 named unknown by gmailapi.google.com with
 HTTPREST; Fri, 16 Sep 2022 17:09:51 -0400
From: Stefan Kangas <stefankangas@HIDDEN>
In-Reply-To: <87v8po29re.fsf@HIDDEN>
References: <87fsgvc938.fsf@HIDDEN>
 <CADwFkm=ebc0bYc0XdNsrXdWZdkEDo=mbzVdkzdo=LLpN6uXLeQ@HIDDEN>
 <87illpubzu.fsf@HIDDEN>
 <CADwFkm=oniKfEQiZpFmevnBUFNu3OZRM00hXzh3+G3N9AquG_Q@HIDDEN>
 <87a671h861.fsf@HIDDEN>
 <CADwFkmnsvAqUFJQ7vZn8_EXdPPUoQ2qeodbE+Xhv68V-k70pOA@HIDDEN>
 <87v8po29re.fsf@HIDDEN>
X-Hashcash: 1:20:220916:spwhitton@HIDDEN::MyQI6e1+Zcf+Clcf:5ojg
MIME-Version: 1.0
Date: Fri, 16 Sep 2022 17:09:51 -0400
Message-ID: <CADwFkm=X8PkwU6Lc8SihTe1yyTD5rLANyHnrNGvtWYSkgs+Q7Q@HIDDEN>
Subject: Re: bug#57781: missing wallpaper command
To: Felix <felix.dick@HIDDEN>, Sean Whitton <spwhitton@HIDDEN>,
 57781 <at> debbugs.gnu.org
Content-Type: text/plain; charset="UTF-8"
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 57781
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Felix <felix.dick@HIDDEN> writes:

> swaybg and wbg are starting a new instance each time wallpaper-set is
> called. That means that if wallpaper-set is used more than once in an emacs session, multiple
> wallpapers set.
> In case of wallpaper applications that work like that, running instances
> of wbg/swaybg should be terminated before loading new once.
>
> with those "stand-alone" wallpaper applications, the wallpaper process
> is attached to emacs if wallpaper-set is used.
> With that the wallpaper only stays as long as emacs is running.
> I think the process should be detached from emacs.

Right, okay.  I will have to think about how to implement support for
this, because it's not something that wallpaper.el can currently handle.

> I'm not shure if that information is useful,
> please let me know if it is, or if there is something i should test next.

It is very useful, thanks!

You could take a look at my other email where I had some followup
questions.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#57781; Package emacs. Full text available.

Message received at 57781 <at> debbugs.gnu.org:


Received: (at 57781) by debbugs.gnu.org; 16 Sep 2022 21:09:33 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Sep 16 17:09:33 2022
Received: from localhost ([127.0.0.1]:44470 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1oZIaa-0000iX-KT
	for submit <at> debbugs.gnu.org; Fri, 16 Sep 2022 17:09:32 -0400
Received: from mail-oi1-f175.google.com ([209.85.167.175]:39603)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <stefankangas@HIDDEN>) id 1oZIaY-0000iK-KE
 for 57781 <at> debbugs.gnu.org; Fri, 16 Sep 2022 17:09:31 -0400
Received: by mail-oi1-f175.google.com with SMTP id m130so7610150oif.6
 for <57781 <at> debbugs.gnu.org>; Fri, 16 Sep 2022 14:09:30 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;
 h=to:subject:message-id:date:mime-version:references:in-reply-to:from
 :from:to:cc:subject:date;
 bh=soUQ/pFeeeo72rE3mpq9ciiJ7ZDXullEoPdRK1h+BtE=;
 b=GC5gOpEXT0ER8apz1A1wMV8lYmQZ1Pk173rmsi96uKAdmfR27ViGb9062CVLA+b7gU
 FFvCIZPkMix7RuCwpA1G/ImacbajdF5p7ZC07XPsuSqmgyBzb5SsG4tWHxlSJsl2isVw
 7apEhbswYgyPC0Gtom8k39IGQcK3RyFr1SGZNuBBNw8jiAIL18qrX185As496/dzjuHg
 pzqassjwakzYvgvARedAbjnERl1Hmklymxyc/3jAyxhiB2AsfzpyN9EoIDZy3RuKvmRp
 eEsfxSezoWhX7Y8Q2TprQS30daFE6m6bkVgOYVbZnAyRnJ3ICyUS8QIib9P5oCdiHeGw
 tXWA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20210112;
 h=to:subject:message-id:date:mime-version:references:in-reply-to:from
 :x-gm-message-state:from:to:cc:subject:date;
 bh=soUQ/pFeeeo72rE3mpq9ciiJ7ZDXullEoPdRK1h+BtE=;
 b=tdDJouqMYBFj6ta3nxkzEgqqFlc3D+ULtHFquWCQNOGQBlulCJGlpLfhy820a0QyL5
 mf9pS5H0XJI2GDn7ZOlNpWahOzLLYdZ3k/sgEwZHndrgxwBRTSqR/6z+TEPWmMDPjrnI
 U82YzKUCetyWzbdwahltSXJSw8yyrQ0u5of7MFRC1TzoNabaKlsJXBwhqZHtgioEHri1
 MCH0/R/Dq4EZDx41nxJOvlYcVXAvUWq+ELDDK8CYY9tsSaJNqzEM1/yDnsGeJLLAvO2I
 jyGHMNLzSQ15rMCe7F1jURWREUVr85BGvsFsqqoywrf9S/EMhelyZf/lMmA8XZ1Nwgwg
 +0kg==
X-Gm-Message-State: ACgBeo1dLanIkH6xJYbH/dv6n+u8GjYnhDxH//QPwINzscQlxfIFh1Z+
 +vbdV2e4xGPruBYfk5X83RoeZ/6eceaJbP063hw=
X-Google-Smtp-Source: AA6agR7CO1EHhHkhfq5xDtwQgNx9amp7lo+qb7k+IiuKoVxeBlUsoUlcbIv49ytDTDYnplSfV0DvEpoaqpU8yNjjtM4=
X-Received: by 2002:a05:6808:1a09:b0:350:1e6a:e469 with SMTP id
 bk9-20020a0568081a0900b003501e6ae469mr6187886oib.92.1663362564905; Fri, 16
 Sep 2022 14:09:24 -0700 (PDT)
Received: from 753933720722 named unknown by gmailapi.google.com with
 HTTPREST; Fri, 16 Sep 2022 17:09:24 -0400
From: Stefan Kangas <stefankangas@HIDDEN>
In-Reply-To: <874jx9ndv4.fsf@HIDDEN>
References: <87fsgvc938.fsf@HIDDEN>
 <CADwFkm=ebc0bYc0XdNsrXdWZdkEDo=mbzVdkzdo=LLpN6uXLeQ@HIDDEN>
 <87illpubzu.fsf@HIDDEN>
 <CADwFkm=oniKfEQiZpFmevnBUFNu3OZRM00hXzh3+G3N9AquG_Q@HIDDEN>
 <87a671h861.fsf@HIDDEN>
 <CADwFkmnsvAqUFJQ7vZn8_EXdPPUoQ2qeodbE+Xhv68V-k70pOA@HIDDEN>
 <874jx9ndv4.fsf@HIDDEN>
X-Hashcash: 1:20:220916:spwhitton@HIDDEN::qZDJvJevDDzbl1hK:4kcM
MIME-Version: 1.0
Date: Fri, 16 Sep 2022 17:09:24 -0400
Message-ID: <CADwFkmk7nfKFwj=-J+dwmcRVcMDQT10xR5Rg8pnWhKfn7Vj_gw@HIDDEN>
Subject: Re: bug#57781: missing wallpaper command
To: Felix <felix.dick@HIDDEN>, Sean Whitton <spwhitton@HIDDEN>,
 57781 <at> debbugs.gnu.org
Content-Type: text/plain; charset="UTF-8"
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 57781
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Felix <felix.dick@HIDDEN> writes:

> Neither swaybg nor wgb is running under gnome-shell with wayland.
> Gnome has it's own way of setting wallpapers.
> As kind of expected wbg depends on wlroots i guess.
> I'm not shure how to check which wm/desktop is running.

Does that mean that setting the wallpaper using `wallpaper-set' doesn't
work when running gnome-shell under Wayland?

If you still have access to it, what is the value of the environment
variables $XDG_CURRENT_DESKTOP, $WAYLAND_DISPLAY and $SWAYSOCK in this
configuration?

If you like, perhaps you could send the output of the `env' command to
me privately.  Just edit out anything sensitive before sending it.

> wmctrl would be very usefull, but there is not garantee for it to be
> installed.

Thanks, I did not know about wmctrl.  I took a look at its website

    https://sites.google.com/site/tstyblo/wmctrl

but I could not find any way to set the wallpaper using it.  Maybe I
missed it.  Do you know if it can be done, and if so, how?

(We can check if it installed with `executable-find'.)

> Another point is that:
> ("gsettings" "set" "org.gnome.desktop.background" "picture-uri" "file://%f")
> only effects the light scheme of gnome.
> If you want to change the wallpaper of the dark scheme
> ("gsettings" "set" "org.gnome.desktop.background" "picture-uri-dark" "file://%f")
> is the command.
> 'gsettings get org.gnome.desktop.interface color-scheme'
> can be used to check which of both schemes is active.
> It returns either 'prefer-dark' or 'prefer-light'
> One could think about setting the wallpaper for both themes, or
> only for the active color-scheme.

Hmm, this is interesting.  It is clear that we need to extend
wallpaper.el to run another command first, to decide which command
should be run in various situations.  I will look into it.

> I can check KDE later, but I don't expect wgb or swaybg to work there.

That will be much appreciated.

Thanks for all of the above, this is very useful.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#57781; Package emacs. Full text available.

Message received at 57781 <at> debbugs.gnu.org:


Received: (at 57781) by debbugs.gnu.org; 16 Sep 2022 20:52:57 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Sep 16 16:52:57 2022
Received: from localhost ([127.0.0.1]:44446 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1oZIKX-0006YN-55
	for submit <at> debbugs.gnu.org; Fri, 16 Sep 2022 16:52:57 -0400
Received: from mail-ot1-f51.google.com ([209.85.210.51]:39893)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <stefankangas@HIDDEN>) id 1oZIKU-0006YA-Uw
 for 57781 <at> debbugs.gnu.org; Fri, 16 Sep 2022 16:52:55 -0400
Received: by mail-ot1-f51.google.com with SMTP id
 br15-20020a056830390f00b0061c9d73b8bdso15651783otb.6
 for <57781 <at> debbugs.gnu.org>; Fri, 16 Sep 2022 13:52:54 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;
 h=cc:to:subject:message-id:date:mime-version:references:in-reply-to
 :from:from:to:cc:subject:date;
 bh=kSP3vhKnxk1BU4s2AhCRfverwH1nxQgWzhN6t0E4sY0=;
 b=My7nuUP9Z0YxsbzwUd2hiqRozvsSxfdmmihwYUSi8omlk1PYB/d+cLpAelD02cp0Sd
 NR9CZL/1e/v/2BPArXzUaQHgPMoQ6rkdLWBo13qyeKnrrxq71DuQJBHwDULDkdwoOTMi
 m+3l3SHYmfUSoHUDoKy7OK4BxOyQE8cTK1ctsHWlpP3uyBp9WcC8NtfMmbHxvEatJ5TE
 q6YuboWApwH1VNqwGqBpnsVhTbNUgJ+Z5RDvzjPyDlzlEeyHGvQg+IRxStDDekC47CqI
 0L8UYT7GSnBuVEepdSL0NR28W3H4YKdi38f2NihnrRHjAbF/fL/1rNF6MmP1Mk1KTbyu
 swTw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20210112;
 h=cc:to:subject:message-id:date:mime-version:references:in-reply-to
 :from:x-gm-message-state:from:to:cc:subject:date;
 bh=kSP3vhKnxk1BU4s2AhCRfverwH1nxQgWzhN6t0E4sY0=;
 b=QE9WZVJMl3haunJlMHxmG7/obm37Wgkag7T2LwELs8Kyw/mj8qj5geXUXiEZMOZZpd
 u1YevO+IWNNv5fe81nSEk8+YG8K6uXTTW3UPXTJeL5VJdgrNMCecP97mIDTn2ttwlMNq
 tTzUknm1r9DqlOM7cIiAMd/RNqhkPHBnuTw/OntMH2Rd504SmBEVpnQYy2pvKaKtak8/
 s8101n3u3UZjUxzODwU80492FA3+AP3SIHakTBQRXy/dHEwPUHEPGEccGaMQmnzz6+By
 pzlMQyKMEEdnjEe1YJ+nTJaiLRkwhsVh7KEYqDWfDV9Iz6i/3koA4+0BaoV7IyNk9dwS
 z2DQ==
X-Gm-Message-State: ACrzQf3dbalVy6Enld+uMiX9NelzpzpTMPEXxJdjZl6Kh3oQ3zVXdPji
 9GlBwCfeQNudzGm0wdimrx6Rr+rkDtRtRvjoiZw=
X-Google-Smtp-Source: AMsMyM6dmbkVOW9OEYuPZdZwI3aDqqoXnSdFLYxNhM4tL4ThX15hefHiwix1yeUdp2ASoIYfDFOrP9fVsNwdhYz5bkQ=
X-Received: by 2002:a9d:7c89:0:b0:655:dfb1:331c with SMTP id
 q9-20020a9d7c89000000b00655dfb1331cmr3025860otn.224.1663361569511; Fri, 16
 Sep 2022 13:52:49 -0700 (PDT)
Received: from 753933720722 named unknown by gmailapi.google.com with
 HTTPREST; Fri, 16 Sep 2022 16:52:48 -0400
From: Stefan Kangas <stefankangas@HIDDEN>
In-Reply-To: <87mtaz8gin.fsf@HIDDEN>
References: <87fsgvc938.fsf@HIDDEN>
 <CADwFkm=ebc0bYc0XdNsrXdWZdkEDo=mbzVdkzdo=LLpN6uXLeQ@HIDDEN>
 <87illpubzu.fsf@HIDDEN>
 <CADwFkm=oniKfEQiZpFmevnBUFNu3OZRM00hXzh3+G3N9AquG_Q@HIDDEN>
 <87a671h861.fsf@HIDDEN>
 <CADwFkmnsvAqUFJQ7vZn8_EXdPPUoQ2qeodbE+Xhv68V-k70pOA@HIDDEN>
 <87mtaz8gin.fsf@HIDDEN>
X-Hashcash: 1:20:220916:spwhitton@HIDDEN::aL3xjBd0JRZ5borU:1u2E
MIME-Version: 1.0
Date: Fri, 16 Sep 2022 16:52:48 -0400
Message-ID: <CADwFkm=UW53+ZriBg7RGxKHVpUemwUeA5aOeT+Gud2yvVAm-NQ@HIDDEN>
Subject: Re: bug#57781: missing wallpaper command
To: Thierry Volpiatto <thievol@HIDDEN>
Content-Type: multipart/mixed; boundary="0000000000007c1dd205e8d18be4"
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 57781
Cc: 57781 <at> debbugs.gnu.org, Felix <felix.dick@HIDDEN>,
 Sean Whitton <spwhitton@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

--0000000000007c1dd205e8d18be4
Content-Type: text/plain; charset="UTF-8"

Thierry Volpiatto <thievol@HIDDEN> writes:

> Don't know if you already added a command for xfce, if not here is what
> I use:
>
>     (apply #'call-process "xfconf-query" nil nil nil
>            `("-c"
>             "xfce4-desktop" "-p"
>             "/backdrop/screen0/monitoreDP/workspace0/last-image" "-s"
>             ,file))

I did not yet have the command, so thank you.  I have added this to
wallpaper.el on master now (commit fe7c015b20 or attached patch).

Do you mind testing to see if it works for you?

--0000000000007c1dd205e8d18be4
Content-Type: text/x-diff; charset="US-ASCII"; name="0001-Support-XFCE-in-wallpaper.el.patch"
Content-Disposition: attachment; 
	filename="0001-Support-XFCE-in-wallpaper.el.patch"
Content-Transfer-Encoding: base64
X-Attachment-Id: 7ac5d226ee5a12fa_0.1

RnJvbSBmZTdjMDE1YjIwYjViY2EwN2FhMTc4ZDI4YjlmZDVjYzY2YWQxNmY5IE1vbiBTZXAgMTcg
MDA6MDA6MDAgMjAwMQpGcm9tOiBTdGV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ikKKyAgICAgKGNvbnN0IDp0YWcgInhm
Y29uZi1xdWVyeSAgICAgICAgICAgICAgICAoWEZDRSkiICAgICAgICAgICAgICJ4ZmNvbmYtcXVl
cnkiKQogICAgICAoY29uc3QgOnRhZyAic3dheWJnICAgICAgICAgICAgICAgICAgICAgIChXYXls
YW5kL1N3YXkpIiAgICAgInN3YXliZyIpCiAgICAgIChjb25zdCA6dGFnICJ3YmcgICAgICAgICAg
ICAgICAgICAgICAgICAgKFdheWxhbmQpIiAgICAgICAgICAid2JnIikKICAgICAgKGNvbnN0IDp0
YWcgImdtICAgICAgICAgICAgICAgICAgICAgICAgICAoWCBXaW5kb3cgU3lzdGVtKSIgICJnbSIp
Ci0tIAoyLjMwLjIKCg==
--0000000000007c1dd205e8d18be4--




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#57781; Package emacs. Full text available.

Message received at 57781 <at> debbugs.gnu.org:


Received: (at 57781) by debbugs.gnu.org; 16 Sep 2022 15:51:14 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Sep 16 11:51:14 2022
Received: from localhost ([127.0.0.1]:43999 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1oZDcY-00035T-5b
	for submit <at> debbugs.gnu.org; Fri, 16 Sep 2022 11:51:14 -0400
Received: from mout01.posteo.de ([185.67.36.65]:58003)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <thievol@HIDDEN>) id 1oZDcV-00035C-Oa
 for 57781 <at> debbugs.gnu.org; Fri, 16 Sep 2022 11:51:13 -0400
Received: from submission (posteo.de [185.67.36.169]) 
 by mout01.posteo.de (Postfix) with ESMTPS id 5F2CD240029
 for <57781 <at> debbugs.gnu.org>; Fri, 16 Sep 2022 17:51:02 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017;
 t=1663343465; bh=ZKfTFSrAMa3S8oHREGkGUpdF4V2m4yC4vw9cLl63ly4=;
 h=From:To:Cc:Subject:Autocrypt:Date:OpenPGP:From;
 b=OqUjNP6oupdTIZAI+snXssbTgOpPdWtA/EhH3WpWK7zrjOWTIDmpsFgTfTYpBwJlw
 pyUPg0YROWlJFJY0vwZAxU9733S6tqkLzoxqKJ3zMXdTuFp+A++2RH9Tuc7T/61Jin
 rZNZGO16on0gi3t647vyhqEM4Ue4/9Krjnl9C0Lv9zKtyd21/UlxUEEdPUVBeQR8jL
 XO7XFu8JIP4bfEUfueeoglbPPaT5F4v1aixNnpNyy+kuoKrzM42QxOnBYYFbf4y6A+
 9NyQkLyS1sN/eByZytMZS1R1c7+cK9v4Ck281lQ/99ZaW/oONrS0/i1BQINo4VOGkf
 c7CrvVtpw3F8A==
Received: from customer (localhost [127.0.0.1])
 by submission (posteo.de) with ESMTPSA id 4MTdpB5QM9z6tpl;
 Fri, 16 Sep 2022 17:50:58 +0200 (CEST)
From: Thierry Volpiatto <thievol@HIDDEN>
To: Stefan Kangas <stefankangas@HIDDEN>
Subject: Re: bug#57781: missing wallpaper command
References: <87fsgvc938.fsf@HIDDEN>
 <CADwFkm=ebc0bYc0XdNsrXdWZdkEDo=mbzVdkzdo=LLpN6uXLeQ@HIDDEN>
 <87illpubzu.fsf@HIDDEN>
 <CADwFkm=oniKfEQiZpFmevnBUFNu3OZRM00hXzh3+G3N9AquG_Q@HIDDEN>
 <87a671h861.fsf@HIDDEN>
 <CADwFkmnsvAqUFJQ7vZn8_EXdPPUoQ2qeodbE+Xhv68V-k70pOA@HIDDEN>
Autocrypt: addr=thievol@HIDDEN; prefer-encrypt=mutual; keydata=
 mQGNBF8ylcIBDADG+hy+zR6L4/vbdDDZuSaMmSrU3A5QZJpeBCvxTr7MpzzruZbhLPW1K3R6N2MA
 edi8Y+C8o27FVRIjpdbaKMGu9je7JV/TbUQYo3SOwCK1vM4LUn4V6ZLzSYkuiEt4eyMoiDdyvN0p
 kcK6P9x9DCetcEVsz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pGjToCUlrd2qQqgXW7h5qZ
 TgUq5UmBc7YZ0JYWQgPTbQ==
Date: Fri, 16 Sep 2022 15:50:56 +0000
In-Reply-To: <CADwFkmnsvAqUFJQ7vZn8_EXdPPUoQ2qeodbE+Xhv68V-k70pOA@HIDDEN>
 (Stefan Kangas's message of "Wed, 14 Sep 2022 16:22:09 -0700")
Message-ID: <87mtaz8gin.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
OpenPGP: url=https://posteo.de/keys/thievol@HIDDEN; preference=encrypt
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 57781
Cc: 57781 <at> debbugs.gnu.org, Felix <felix.dick@HIDDEN>,
 Sean Whitton <spwhitton@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Stefan Kangas <stefankangas@HIDDEN> writes:

> Felix <felix.dick@HIDDEN> writes:
>
>> I'm switching back and forth from Xorg to wayland and I'm
>> tinkering with different desktops/WMs anyways.
>> I would be happy to help!
>> I will try wallpaper.el with gnome tomorrow.
>> If there are any things you want me
>> to test, just let me know.
>
> Thank you!  That offer to help is much appreciated.
>
> I know next to nothing about Wayland, but any testing you could do with
> Gnome, KDE and Sway is welcome.  Or anything else you think might be
> useful and worth doing, really.

Don't know if you already added a command for xfce, if not here is what
I use:

    (apply #'call-process "xfconf-query" nil nil nil
           `("-c"
            "xfce4-desktop" "-p"
            "/backdrop/screen0/monitoreDP/workspace0/last-image" "-s"
            ,file))

-- 
Thierry




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#57781; Package emacs. Full text available.

Message received at 57781 <at> debbugs.gnu.org:


Received: (at 57781) by debbugs.gnu.org; 15 Sep 2022 10:51:11 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Sep 15 06:51:11 2022
Received: from localhost ([127.0.0.1]:57258 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1oYmSc-0001Cy-QR
	for submit <at> debbugs.gnu.org; Thu, 15 Sep 2022 06:51:11 -0400
Received: from mout.web.de ([217.72.192.78]:32791)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <felix.dick@HIDDEN>) id 1oYmSX-0001CR-K0
 for 57781 <at> debbugs.gnu.org; Thu, 15 Sep 2022 06:51:09 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=web.de; s=s29768273;
 t=1663239056; bh=Po8r64skyIOFpnl23upU0Fsr3PZWiVqMLYOMfhL1paY=;
 h=X-UI-Sender-Class:References:From:To:Subject:Date:In-reply-to;
 b=J+rX1LHW4iOjYCe4RT4AXMK3ToAHC7qvxiAXOEAVNVWruLGUAmyDGR0F/BAUySYoV
 aKBtXbmV2t9+Gm+N7POAUC4nQebPRo8TIoAbD0zHlETi4Z9I5Y6t9kJAKfmpdVWG+K
 YY3eHINxLLbjuIn/K2lh6GRrjuDZw0TCzd59vuGSFB8Oq+tshhLjZ0nNC8O31DIROm
 hqSS8fLZyS/u32Su/J7uAKMEYLYFKPqYMWaRAnxi4KGDxz6LNVrRp7NrliEhLA0g96
 Ej4nrnnKIOFetKSUowAyY4C1KPdrxblDKYIQ8lritifxOlfrgySmjDZ0/oB23BAhYB
 6pLjIDoAeABDw==
X-UI-Sender-Class: 814a7b36-bfc1-4dae-8640-3722d8ec6cd6
Received: from felix-lifebooka531.web.de ([87.174.200.214]) by smtp.web.de
 (mrweb106 [213.165.67.124]) with ESMTPSA (Nemesis) id
 1Mpl0p-1p6ntt0IlJ-00psvd; Thu, 15 Sep 2022 12:50:56 +0200
References: <87fsgvc938.fsf@HIDDEN>
 <CADwFkm=ebc0bYc0XdNsrXdWZdkEDo=mbzVdkzdo=LLpN6uXLeQ@HIDDEN>
 <87illpubzu.fsf@HIDDEN>
 <CADwFkm=oniKfEQiZpFmevnBUFNu3OZRM00hXzh3+G3N9AquG_Q@HIDDEN>
 <87a671h861.fsf@HIDDEN>
 <CADwFkmnsvAqUFJQ7vZn8_EXdPPUoQ2qeodbE+Xhv68V-k70pOA@HIDDEN>
User-agent: mu4e 1.9.0; emacs 29.0.50
From: Felix <felix.dick@HIDDEN>
To: Stefan Kangas <stefankangas@HIDDEN>, Sean Whitton
 <spwhitton@HIDDEN>, 57781 <at> debbugs.gnu.org
Subject: Re: bug#57781: missing wallpaper command
Date: Thu, 15 Sep 2022 12:37:52 +0200
In-reply-to: <CADwFkmnsvAqUFJQ7vZn8_EXdPPUoQ2qeodbE+Xhv68V-k70pOA@HIDDEN>
Message-ID: <87v8po29re.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-Provags-ID: V03:K1:GU6hf3vJuSgwWGhDfqnyw3CJn8933UGW/7uH3LsOmEd9DflaVrW
 IaCaMoFYEgChskAYhCzdS0XNhopMSZaJhQ51J7cAOyzZLbMabt4XQyNZCt/SoAb046ZB87M
 wcVmdOa4zfFs8IANvdqktOFzuDJhCCzS3NcIQEMLAImzi5OHooegJIszyIXyrS3V7Z1o246
 bCfMWvAwVr1ozEarcoV/w==
X-Spam-Flag: NO
X-UI-Out-Filterresults: notjunk:1;V03:K0:Y7Sa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ubDiuzgwtE9KV7qhvZyZLkCSZPYc2ENb
 JNsbA9RpT6Jg72lHDhDB3UxBvT4uVW50xjwLP2v0Q7/pFpKw9ivCx/zGA2r8h0WYrg5qKtZMk
 ah6p7H3IFb+rzW5KIJ2g1+pAnhb03rAkvRtdYkOT6omQ/mq9q0MXEawt5LfdUzjLVL1UYtBhu
 vZMCe9QZvNVrdrB7ux62zgtpDC
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 57781
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)


Stefan Kangas <stefankangas@HIDDEN> writes:

> Felix <felix.dick@HIDDEN> writes:
>
>> I'm switching back and forth from Xorg to wayland and I'm
>> tinkering with different desktops/WMs anyways.
>> I would be happy to help!
>> I will try wallpaper.el with gnome tomorrow.
>> If there are any things you want me
>> to test, just let me know.
>
> Thank you!  That offer to help is much appreciated.
>
> I know next to nothing about Wayland, but any testing you could do with
> Gnome, KDE and Sway is welcome.  Or anything else you think might be
> useful and worth doing, really.

swaybg and wbg are starting a new instance each time wallpaper-set is
called. That means that if wallpaper-set is used more than once in an emacs session, multiple
wallpapers set.
In case of wallpaper applications that work like that, running instances
of wbg/swaybg should be terminated before loading new once.

with those "stand-alone" wallpaper applications, the wallpaper process
is attached to emacs if wallpaper-set is used.
With that the wallpaper only stays as long as emacs is running.
I think the process should be detached from emacs.

I'm not shure if that information is useful,
please let me know if it is, or if there is something i should test next.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#57781; Package emacs. Full text available.

Message received at 57781 <at> debbugs.gnu.org:


Received: (at 57781) by debbugs.gnu.org; 15 Sep 2022 10:16:55 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Sep 15 06:16:55 2022
Received: from localhost ([127.0.0.1]:57213 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1oYlvT-00007y-Jw
	for submit <at> debbugs.gnu.org; Thu, 15 Sep 2022 06:16:55 -0400
Received: from mout.web.de ([212.227.17.12]:40405)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <felix.dick@HIDDEN>) id 1oYlvQ-00007e-Di
 for 57781 <at> debbugs.gnu.org; Thu, 15 Sep 2022 06:16:53 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=web.de; s=s29768273;
 t=1663237001; bh=R4MEcVfmCsRheSs6vED676QwvIofOsCaNWBdiAmkcWc=;
 h=X-UI-Sender-Class:References:From:To:Subject:Date:In-reply-to;
 b=jAQ1ajKs5l48qOZN3VJcKq/2Ybf1IDMSQt1+oLGH9uXyXjmvNWN6WLMaaY/1gVDfy
 VX9ekXiPO5k3pDdwJhmf86lvo1ZsmVnG5gDsoFwYPirG8rmZJ9zmZxXbF/IlRYKULU
 R3EPNsY4rc8CRPsmModbc95qdulSVGzSuj+j4gcjLTkGYYI9cJsM6VyyokzmX6Y66H
 Tax2nZzZzA4LYFKJYFDuvcXbrshPqshBJ9+vUy7FEySAXVDzEDCZ2E/3ZmppW13Sqp
 IAfODa77bxCyIEpeb9YxaSLvlxYJLu5OkxzADJk6DkjIwPDBaRJq+Jx81w8icisa5P
 eslzkhsXu9v+g==
X-UI-Sender-Class: 814a7b36-bfc1-4dae-8640-3722d8ec6cd6
Received: from felix-lifebooka531.web.de ([87.174.200.214]) by smtp.web.de
 (mrweb106 [213.165.67.124]) with ESMTPSA (Nemesis) id
 1MGgNU-1oTlj03eZm-00E5aE; Thu, 15 Sep 2022 12:16:40 +0200
References: <87fsgvc938.fsf@HIDDEN>
 <CADwFkm=ebc0bYc0XdNsrXdWZdkEDo=mbzVdkzdo=LLpN6uXLeQ@HIDDEN>
 <87illpubzu.fsf@HIDDEN>
 <CADwFkm=oniKfEQiZpFmevnBUFNu3OZRM00hXzh3+G3N9AquG_Q@HIDDEN>
 <87a671h861.fsf@HIDDEN>
 <CADwFkmnsvAqUFJQ7vZn8_EXdPPUoQ2qeodbE+Xhv68V-k70pOA@HIDDEN>
User-agent: mu4e 1.9.0; emacs 29.0.50
From: Felix <felix.dick@HIDDEN>
To: Stefan Kangas <stefankangas@HIDDEN>,Sean Whitton
 <spwhitton@HIDDEN>, 57781 <at> debbugs.gnu.org
Subject: Re: bug#57781: missing wallpaper command
Date: Thu, 15 Sep 2022 11:47:12 +0200
In-reply-to: <CADwFkmnsvAqUFJQ7vZn8_EXdPPUoQ2qeodbE+Xhv68V-k70pOA@HIDDEN>
Message-ID: <874jx9ndv4.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-Provags-ID: V03:K1:oJJBLOrEO5hO23uexLM/0iglbmyCz3uerxSK4M4X3+/fkhbRT58
 nbsTeZz33vTStFzY/6rxCxLzPMrWC1PtN0dwx5cOmBvYnN9RdsSrwSJq7J3iDt3GPpDOmli
 mjl/1xBwROk6g1L0/woHYytCSXR+oWOU48XHQzIR0UT9S+gNFJoWYmx4bvHspshBEF/4NLY
 C088a5qoyFu6/WjDGsiNA==
X-Spam-Flag: NO
X-UI-Out-Filterresults: notjunk:1;V03:K0:dxbhVP7zmZA=:jebySNnQEIHftCGFasHqF9
 P36pgFy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p5NZWqXuW9tZHc5b1s/J+4l+/HG4j+gddtLfosaXmM5kA/6
 4eaG3EQXnY94Jc44wE7mcUGYc/n8QN42+KN7inZBa8QGlGQ1rzKmwT4alZvnX1Qk7xchvLKx8
 ij2MfZ2zki9HZ9HPRy5tb0xWtE
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 57781
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)


Stefan Kangas <stefankangas@HIDDEN> writes:

> Felix <felix.dick@HIDDEN> writes:
>
>> I'm switching back and forth from Xorg to wayland and I'm
>> tinkering with different desktops/WMs anyways.
>> I would be happy to help!
>> I will try wallpaper.el with gnome tomorrow.
>> If there are any things you want me
>> to test, just let me know.
>
> Thank you!  That offer to help is much appreciated.
>
> I know next to nothing about Wayland, but any testing you could do with
> Gnome, KDE and Sway is welcome.  Or anything else you think might be
> useful and worth doing, really.

Neither swaybg nor wgb is running under gnome-shell with wayland.
Gnome has it's own way of setting wallpapers.
As kind of expected wbg depends on wlroots i guess.
I'm not shure how to check which wm/desktop is running.
wmctrl would be very usefull, but there is not garantee for it to be
installed.

Another point is that:
("gsettings" "set" "org.gnome.desktop.background" "picture-uri" "file://%f")
only effects the light scheme of gnome.
If you want to change the wallpaper of the dark scheme
("gsettings" "set" "org.gnome.desktop.background" "picture-uri-dark" "file://%f")
is the command.
'gsettings get org.gnome.desktop.interface color-scheme'
can be used to check which of both schemes is active.
It returns either 'prefer-dark' or 'prefer-light'
One could think about setting the wallpaper for both themes, or
only for the active color-scheme.

I can check KDE later, but I don't expect wgb or swaybg to work there.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#57781; Package emacs. Full text available.

Message received at 57781 <at> debbugs.gnu.org:


Received: (at 57781) by debbugs.gnu.org; 14 Sep 2022 23:26:03 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Sep 14 19:26:03 2022
Received: from localhost ([127.0.0.1]:56535 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1oYbla-000650-ST
	for submit <at> debbugs.gnu.org; Wed, 14 Sep 2022 19:26:03 -0400
Received: from out2-smtp.messagingengine.com ([66.111.4.26]:41471)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <spwhitton@HIDDEN>) id 1oYblY-00064T-GE
 for 57781 <at> debbugs.gnu.org; Wed, 14 Sep 2022 19:26:01 -0400
Received: from compute5.internal (compute5.nyi.internal [10.202.2.45])
 by mailout.nyi.internal (Postfix) with ESMTP id 296345C0117;
 Wed, 14 Sep 2022 19:25:55 -0400 (EDT)
Received: from mailfrontend2 ([10.202.2.163])
 by compute5.internal (MEProxy); Wed, 14 Sep 2022 19:25:55 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=spwhitton.name;
 h=cc:content-type:date:date:from:from:in-reply-to:in-reply-to
 :message-id:mime-version:references:reply-to:sender:subject
 :subject:to:to; s=fm1; t=1663197955; x=1663284355; bh=q/9/76wNRJ
 28kT0y1SHfrc3oaChEXUMDbDNTe1pkq5w=; b=MEu1tS0LqlCuQXgekyRnk46GTv
 q0HzrjBcW1CGs//J8yX/eyeATBr1A4ZbNnPvVQFY1HAo3y+CNpt6+lTKBGUMdwRG
 JrONBut9K5+7D2ZQ1S697hAFUTdu7jHH4VQDaGwHp7BkjScgjubwDy4VAt8lRSt0
 vi61c9VPFcfYM/jtxIdfsV1v/yz/9L7XRzWkWCM6JzPVXEpyhWCpd2UwNiX0MCiX
 NtM0z8a6bd22XIzJvbvLwxKg0qo7rYEnv9No3bfDIcqTzs6F5700wIVJiNfIqkuQ
 XPSzc+Iz2EO0539V1VdQIXmM7xZDqar3UvpIBkbyVcklIaMeiKMzlVUTeZxw==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=
 messagingengine.com; h=cc:content-type:date:date:feedback-id
 :feedback-id:from:from:in-reply-to:in-reply-to:message-id
 :mime-version:references:reply-to:sender:subject:subject:to:to
 :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=
 fm2; t=1663197955; x=1663284355; bh=q/9/76wNRJ28kT0y1SHfrc3oaChE
 XUMDbDNTe1pkq5w=; b=Y9YzxHvMmrYlfzLnknptZYCuEr74xaU58F8lPtsaWXVz
 SRUYD8M13WJatoN1FpHGubeW8hDTYrAc0fBLdmz6qVuh/4T4SvZVlOgN1rmT3Akm
 jdmKYU83sxPGYEosyiaxql98tKprEwfvo8p36cjSuQR3NkSt5GY0+qql9q+eGSed
 jfezgN1L+Rc5IgaFp5v4tn4XsWPpESYFyjLcnjVAhx/A1d+e0W00XhMD9Qtj3ARf
 Cmxw3sXptFM3XnTpRYJOQEYonAvvsfjh0OAxSQoIrA+M0IHYVjICPc5dzLW8JJqD
 pgrU2dhnVmmdaC8O93cxzkCcsGa8cb571xgAgcTumw==
X-ME-Sender: <xms:AmMiY6KK8kpx96ihAbmQFpBS5vh2YOOdv8sAoEa42AhFJR7S2bYb-g>
 <xme:AmMiYyKvIGNH0ww6vBVCgYNDephSJ1TT8hh0xNGS9VJRzsVzUUQpbed5kkDjs6mca
 1znw67lj62_TO0Zfg>
X-ME-Received: <xmr:AmMiY6t1-3hi01Sw1prByKsgDFIsZNH4xs98iQTmKoigOJe2xP7Cl7L1sNkodhHZWeug3xRqMrhACTmx4J0v36Q6hhhuf9ziLud2PsGVV2-iEVxU4Q>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrfedujedgvdefucetufdoteggodetrfdotf
 fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen
 uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne
 cujfgurhephffvufgjfhffkfgfgggtsehttddttddtredtnecuhfhrohhmpefuvggrnhcu
 hghhihhtthhonhcuoehsphifhhhithhtohhnsehsphifhhhithhtohhnrdhnrghmvgeqne
 cuggftrfgrthhtvghrnhepffeutedtfedvtdetvefgueefjefggedugfefuddtgeefteek
 heduvdefjeejieefnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilh
 hfrhhomhepshhpfihhihhtthhonhesshhpfihhihhtthhonhdrnhgrmhgv
X-ME-Proxy: <xmx:AmMiY_YnUHcUL-0JuODKiZu5cC2GynplDSiVoEqhdo6jXnx5Y7mqqw>
 <xmx:AmMiYxbMEzh5tcGwwGN1NWJeSS0BRj550xrj_0U59rLmOwkwEt_jOA>
 <xmx:AmMiY7BF-GIyneY02dHC6XM3Yc4tROrKNVlRAGphiJMHVx3QFUKufA>
 <xmx:A2MiYwz8C9biC5ZgEI4D924rEBMCKynDmgOgvGvIV9ifjYa_pwmigw>
Feedback-ID: i23c04076:Fastmail
Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed,
 14 Sep 2022 19:25:54 -0400 (EDT)
Received: by melete.silentflame.com (Postfix, from userid 1000)
 id 308687F18EF; Wed, 14 Sep 2022 16:25:54 -0700 (MST)
From: Sean Whitton <spwhitton@HIDDEN>
To: Stefan Kangas <stefankangas@HIDDEN>, Felix <felix.dick@HIDDEN>,
 57781 <at> debbugs.gnu.org
Subject: Re: bug#57781: missing wallpaper command
In-Reply-To: <CADwFkm=oniKfEQiZpFmevnBUFNu3OZRM00hXzh3+G3N9AquG_Q@HIDDEN>
 (Stefan Kangas's message of "Wed, 14 Sep 2022 15:51:02 -0700")
References: <87fsgvc938.fsf@HIDDEN>
 <CADwFkm=ebc0bYc0XdNsrXdWZdkEDo=mbzVdkzdo=LLpN6uXLeQ@HIDDEN>
 <87illpubzu.fsf@HIDDEN>
 <CADwFkm=oniKfEQiZpFmevnBUFNu3OZRM00hXzh3+G3N9AquG_Q@HIDDEN>
Date: Wed, 14 Sep 2022 16:25:54 -0700
Message-ID: <87o7vha67x.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 57781
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

Hello,

On Wed 14 Sep 2022 at 03:51PM -07, Stefan Kangas wrote:

> Sean Whitton <spwhitton@HIDDEN> writes:
>
>>> To test for Wayland, it only checks if $WAYLAND_DISPLAY is set.
>>> We could do something more fancy if needed, possibly involving
>>> loginctl.
>>
>> Since it's protocol-dependent, I don't know if it will work on anything
>> other than wlroots-based compositors.  Before relying solely on
>> WAYLAND_DISPLAY, perhaps we should also check it works with GNOME?
>
> I need help here, as I don't have access to Wayland.
>
> Would you be willing to help test it, and/or make concrete suggestions
> for how to do better?  I'd ideally need someone to tell me which
> environment variables or commands to run, and which values to expect,
> but any information you could provide would help.

Yes, though sounds like it's easier for Felix to switch back and forth,
so perhaps I can test the final version of it, or something.  LMK.

-- 
Sean Whitton




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#57781; Package emacs. Full text available.

Message received at 57781 <at> debbugs.gnu.org:


Received: (at 57781) by debbugs.gnu.org; 14 Sep 2022 23:22:19 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Sep 14 19:22:19 2022
Received: from localhost ([127.0.0.1]:56529 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1oYbhz-0005z0-Az
	for submit <at> debbugs.gnu.org; Wed, 14 Sep 2022 19:22:19 -0400
Received: from mail-oi1-f172.google.com ([209.85.167.172]:37685)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <stefankangas@HIDDEN>) id 1oYbhv-0005yg-Ur
 for 57781 <at> debbugs.gnu.org; Wed, 14 Sep 2022 19:22:17 -0400
Received: by mail-oi1-f172.google.com with SMTP id a133so191983oif.4
 for <57781 <at> debbugs.gnu.org>; Wed, 14 Sep 2022 16:22:15 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;
 h=cc:to:subject:message-id:date:mime-version:references:in-reply-to
 :from:from:to:cc:subject:date;
 bh=TQsJIQVJoz60Lx2n3oV/TYJXhmi4Q/WZ+DN1SI6gRkA=;
 b=FMXTQte8xCscmZlSVMsYBsV+KsbOs1L2gMZxTTEm5Vpu+rl970q07Zgp6miEHoWV6R
 lC6dxlGCeUEDhZ5bsjo9Yt0PAXZjHJ/o2oyIrGQeA8O0UYZRBhriCXnrLO2t0OA3Hym/
 Z9r7MkfwPppmTAom32FsGJ3lirQ5AwVb0SI20PY556GRhm8ExzldOSxv9ffh6haQvCCF
 yUGND/2rWMv27BmfYcUfWyPVuZCP4Dlv5Jx5/mOsWWNcuzoqMRZ9Ou46L+O+SqSxyRdj
 KIqCyWDOgr/D37C7h9gBiY1j9CrSoqwPPTXYFAiS0RWiyYdfKNuIuwTpok8PxsX6g09e
 5WPg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20210112;
 h=cc:to:subject:message-id:date:mime-version:references:in-reply-to
 :from:x-gm-message-state:from:to:cc:subject:date;
 bh=TQsJIQVJoz60Lx2n3oV/TYJXhmi4Q/WZ+DN1SI6gRkA=;
 b=ZmhRt23eO1vUCQnkmmz//X2s0zKbpO7fCmFd1CZiwyCAXf1XKdocduHwbPmCjbYwkT
 8FVL746nUqlWocGfxqodpX5/nGHiuQuzeFxxjGFeAa7+kO/vom249+0gTHTgjjoisObi
 8BEPJ9vMhtdT1emE1kpIrLomal+ou/d/krxdJvtUmo/kkJePoriIzID9MaxBblwjmIU3
 uRtsN2pnMYbIeZQIx3WpQZIXqjjjZA8y5ER9dwhw5lmHJ7NQ3/MyesMCcnyyCi+fG72X
 f2zZdt+tquOjS36iUbg4/E/ImNVuM7J+x2iYX2590voyQzrrDJVKxEEThW30tM1rEnAG
 9fzQ==
X-Gm-Message-State: ACgBeo3TRY1lGEtmghZub1Yx91ldWmOlyWVIdu1bWCY4d7T/e/QVLEAG
 yr6MYhlGl7sHD8HnC/oKoi1YUT5rZlbI1KQlyGQ=
X-Google-Smtp-Source: AA6agR6iVmWgEBSAZb9vJFt8XkbVggg3Rhw3qerMKyhKtUiohn/lUgH5vjMCebeM/Zkpv5/I8ZBj8GcE+OKHkQpEjEo=
X-Received: by 2002:a05:6808:1a09:b0:350:1e6a:e469 with SMTP id
 bk9-20020a0568081a0900b003501e6ae469mr1756779oib.92.1663197730327; Wed, 14
 Sep 2022 16:22:10 -0700 (PDT)
Received: from 753933720722 named unknown by gmailapi.google.com with
 HTTPREST; Wed, 14 Sep 2022 16:22:09 -0700
From: Stefan Kangas <stefankangas@HIDDEN>
In-Reply-To: <87a671h861.fsf@HIDDEN>
References: <87fsgvc938.fsf@HIDDEN>
 <CADwFkm=ebc0bYc0XdNsrXdWZdkEDo=mbzVdkzdo=LLpN6uXLeQ@HIDDEN>
 <87illpubzu.fsf@HIDDEN>
 <CADwFkm=oniKfEQiZpFmevnBUFNu3OZRM00hXzh3+G3N9AquG_Q@HIDDEN>
 <87a671h861.fsf@HIDDEN>
X-Hashcash: 1:20:220914:felix.dick@HIDDEN::yY7mMQOmtlRaN1RI:93id
MIME-Version: 1.0
Date: Wed, 14 Sep 2022 16:22:09 -0700
Message-ID: <CADwFkmnsvAqUFJQ7vZn8_EXdPPUoQ2qeodbE+Xhv68V-k70pOA@HIDDEN>
Subject: Re: bug#57781: missing wallpaper command
To: Felix <felix.dick@HIDDEN>
Content-Type: text/plain; charset="UTF-8"
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 57781
Cc: 57781 <at> debbugs.gnu.org, Sean Whitton <spwhitton@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Felix <felix.dick@HIDDEN> writes:

> I'm switching back and forth from Xorg to wayland and I'm
> tinkering with different desktops/WMs anyways.
> I would be happy to help!
> I will try wallpaper.el with gnome tomorrow.
> If there are any things you want me
> to test, just let me know.

Thank you!  That offer to help is much appreciated.

I know next to nothing about Wayland, but any testing you could do with
Gnome, KDE and Sway is welcome.  Or anything else you think might be
useful and worth doing, really.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#57781; Package emacs. Full text available.
bug marked as fixed in version 29.1, send any further explanations to 57781 <at> debbugs.gnu.org and Felix <felix.dick@HIDDEN> Request was from Stefan Kangas <stefankangas@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at 57781 <at> debbugs.gnu.org:


Received: (at 57781) by debbugs.gnu.org; 14 Sep 2022 23:06:54 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Sep 14 19:06:54 2022
Received: from localhost ([127.0.0.1]:56511 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1oYbT4-0003Py-0V
	for submit <at> debbugs.gnu.org; Wed, 14 Sep 2022 19:06:54 -0400
Received: from mail-oo1-f42.google.com ([209.85.161.42]:44778)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <stefankangas@HIDDEN>) id 1oYbT1-0003PU-9q
 for 57781 <at> debbugs.gnu.org; Wed, 14 Sep 2022 19:06:53 -0400
Received: by mail-oo1-f42.google.com with SMTP id
 d74-20020a4a524d000000b004755f8aae16so2009356oob.11
 for <57781 <at> debbugs.gnu.org>; Wed, 14 Sep 2022 16:06:51 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;
 h=to:subject:message-id:date:mime-version:references:in-reply-to:from
 :from:to:cc:subject:date;
 bh=YVBrNdb5bAQNuXSiWx9VCENhOfnLTGRX4wWrTRM76U4=;
 b=oDSQxyhJl1helgNpmxaeFq5dmXYwwa99b+j4qDgnYtU1JkwnkvvqnUH8Fqf4l85tWD
 TprDu4ZtO93LT6jcaSKskGV91bxbRKYGjy820EhST1CdMmMm6rwNAq3PURdD8VG7nQG7
 3EWPsVwrta16ilSXN4mVeQe+ChNSR1xZGLCCu+vTOVMAVmXcwDf/b4Itcj9h8/FP58mB
 atDvJkO1xqgU1NGtDOzCc5JnVHVY323n7JlNycGzNENt6mQyw90DFnkw3czkpVFkpGOb
 86HMKbuRYx1+wu097DlzKWCCDa7PL0sjEG0U4PHmVuY8PAvTQ2AM7f+MvkgLHyyvk8Lb
 1b6g==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20210112;
 h=to:subject:message-id:date:mime-version:references:in-reply-to:from
 :x-gm-message-state:from:to:cc:subject:date;
 bh=YVBrNdb5bAQNuXSiWx9VCENhOfnLTGRX4wWrTRM76U4=;
 b=vytSADj1JgptmimfuYy5x84iDVQeVMl55fbhXA/D2vykMPqGgOR2f7ka6sRE3368Ej
 0w50r5eX8YWT3X1yaPgGa1vmGr7lr8g8Tu9Gq+cztaDH7uOcv00UoUVKERcZNceSM0P5
 jU4fw9Hr+a+mWX4+emf5W1OwauwlzeDi2P2u22eQq1tbglW0QaDg+8LfK+xo5OV4sQoE
 OHAhH0aQezVqXmMBanPi5GuqrFNgCeAPSru9rDHc7ea5IdmDFmOa1yiY8j6Th+ZdHnBx
 89IMWIcRzTdZXGUos4EVYVY3wV9yNGXtNPqrnNaB5PierDgC/ZrW3XcNlc1ut7+ydJiN
 hlOQ==
X-Gm-Message-State: ACgBeo1Xs3iuaVYL6s0GAss8JudbCHoqAp+2zzyHaPVgDyWL2jiEiBlx
 XiXVcYs/gi3YNh1wYBvxISnZgP2l/1e6P+0ITwM=
X-Google-Smtp-Source: AA6agR6snrAAf6cE5KVIMpVYx2LM6KK5hMJuibo5iFYkVvxGD0oqDWj1tsmD7frxkra/+SmNL4/3cF/AAH3qhyQnKkc=
X-Received: by 2002:a4a:b48d:0:b0:475:61d4:73f5 with SMTP id
 b13-20020a4ab48d000000b0047561d473f5mr6877610ooo.34.1663196805745; Wed, 14
 Sep 2022 16:06:45 -0700 (PDT)
Received: from 753933720722 named unknown by gmailapi.google.com with
 HTTPREST; Wed, 14 Sep 2022 16:06:45 -0700
From: Stefan Kangas <stefankangas@HIDDEN>
In-Reply-To: <877d25k9b4.fsf@HIDDEN>
References: <87fsgvc938.fsf@HIDDEN> <874jxahxkw.fsf@HIDDEN>
 <CADwFkm=n=bFq6qvMRVGL1Jd2BhW1L4pSqmTFWE0GmSaSK+nybA@HIDDEN>
 <877d25k9b4.fsf@HIDDEN>
X-Hashcash: 1:20:220914:felix.dick@HIDDEN::v0KyVHqI9bDP6QF3:6iiC
MIME-Version: 1.0
Date: Wed, 14 Sep 2022 16:06:45 -0700
Message-ID: <CADwFkmkG-2UdKrR48iGbaKsHHKy7sciTSK0iCdg-Na6aOEo1Vg@HIDDEN>
Subject: Re: bug#57781: wbg wallpaper command
To: Felix <felix.dick@HIDDEN>, 57781 <at> debbugs.gnu.org
Content-Type: text/plain; charset="UTF-8"
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 57781
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

close 57781 29.1
thanks

Felix <felix.dick@HIDDEN> writes:

> It works now!

Thanks for testing, I'm therefore closing this bug.

Sean Whitton has made some further suggestions; we can continue
discussing them in this bug report for now.  Someone could also create a
new bug report, if that's better.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#57781; Package emacs. Full text available.

Message received at 57781 <at> debbugs.gnu.org:


Received: (at 57781) by debbugs.gnu.org; 14 Sep 2022 23:04:14 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Sep 14 19:04:14 2022
Received: from localhost ([127.0.0.1]:56501 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1oYbQT-0003Lb-Uj
	for submit <at> debbugs.gnu.org; Wed, 14 Sep 2022 19:04:14 -0400
Received: from mout.web.de ([212.227.15.3]:40603)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <felix.dick@HIDDEN>) id 1oYbQP-0003LJ-BP
 for 57781 <at> debbugs.gnu.org; Wed, 14 Sep 2022 19:04:11 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=web.de; s=s29768273;
 t=1663196638; bh=x7ARzgTMXS6d5FmTQqyfcTrXTBZoPeBk2Ze7hGY68bo=;
 h=X-UI-Sender-Class:References:From:To:Cc:Subject:Date:In-reply-to;
 b=d9/MUaA0KHY0ebMG/gajEl+QsQAkMEOFfiwahhkyrh6XsYE6TudfgpWnujhmIVUa0
 M0tLEFUGZ7K0ZS3g4LDJr6q0A9Ps05pho1ALfD6MhUfF0clCZtCKaWGiROrXHiZBbE
 EhE6bAZnclJ3NiQIs3a7GFDP5VD+S4nl3c5KQO4oB7Y+rj0lAN34w/HL+VVXJw4B4f
 oLqn8Y665OFa+xEqoRTZkJQ8llzKnFkKumsqBScMOC6E7F/gctayWeE6KkzjlisGZ1
 hbUbhtjl0OCY5+a2GQpb9/ITWAGUbDMyF6LNdZxiyI8I7W/aHO0LolNsjbi5lmVzhN
 u1SYiQYk4Z5FA==
X-UI-Sender-Class: 814a7b36-bfc1-4dae-8640-3722d8ec6cd6
Received: from felix-lifebooka531.web.de ([87.174.200.214]) by smtp.web.de
 (mrweb005 [213.165.67.108]) with ESMTPSA (Nemesis) id
 1N79NA-1pON622ip2-017KiJ; Thu, 15 Sep 2022 01:03:58 +0200
References: <87fsgvc938.fsf@HIDDEN>
 <CADwFkm=ebc0bYc0XdNsrXdWZdkEDo=mbzVdkzdo=LLpN6uXLeQ@HIDDEN>
 <87illpubzu.fsf@HIDDEN>
 <CADwFkm=oniKfEQiZpFmevnBUFNu3OZRM00hXzh3+G3N9AquG_Q@HIDDEN>
User-agent: mu4e 1.9.0; emacs 29.0.50
From: Felix <felix.dick@HIDDEN>
To: Stefan Kangas <stefankangas@HIDDEN>
Subject: Re: bug#57781: missing wallpaper command
Date: Thu, 15 Sep 2022 00:51:39 +0200
In-reply-to: <CADwFkm=oniKfEQiZpFmevnBUFNu3OZRM00hXzh3+G3N9AquG_Q@HIDDEN>
Message-ID: <87a671h861.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-Provags-ID: V03:K1:OQUFRK9CDr6bXoUSLXEB/wtCQUV49E52sV8Z1CmeTcOpAWVhltP
 QSWmLMaPgLDmjKt8Ufj/LSFewFhH0t5YG+7ajSFYKeaXmqTXnrUJdZRcuhISLcg69D6HwPT
 55bSO9rLcHd5BQR4GYXS1buMoBo4yrPQQEvXvSu7z7DS5YEA8V4Q85QLQj5U0HOMYWFG3pI
 TT09faEBFNXdcdXLONlHA==
X-Spam-Flag: NO
X-UI-Out-Filterresults: notjunk:1;V03:K0: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V/m/6rK
 1EEpEmQ3r39GUZeOLPESbv7+7WKASEKOVS1bLdshhkzCj2W7GjljgSwq6GtMHVCkyncadGqe0
 EaEOIz/1A/c4H7jBGBnEscP/FNUXOJ3nF0OuhQR4BNvLZW85KRlWMZvEhKV2nm/UOtUd9k4hu
 G8Wy2ZiaE6RoFQiqzq1i6289QD
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 57781
Cc: 57781 <at> debbugs.gnu.org, Sean Whitton <spwhitton@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)


Stefan Kangas <stefankangas@HIDDEN> writes:

> Sean Whitton <spwhitton@HIDDEN> writes:
>
>>> To test for Wayland, it only checks if $WAYLAND_DISPLAY is set.
>>> We could do something more fancy if needed, possibly involving
>>> loginctl.
>>
>> Since it's protocol-dependent, I don't know if it will work on anything
>> other than wlroots-based compositors.  Before relying solely on
>> WAYLAND_DISPLAY, perhaps we should also check it works with GNOME?
>
> I need help here, as I don't have access to Wayland.
>
> Would you be willing to help test it, and/or make concrete suggestions
> for how to do better?  I'd ideally need someone to tell me which
> environment variables or commands to run, and which values to expect,
> but any information you could provide would help.

I'm switching back and forth from Xorg to wayland and I'm
tinkering with different desktops/WMs anyways.
I would be happy to help!
I will try wallpaper.el with gnome tomorrow.
If there are any things you want me
to test, just let me know.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#57781; Package emacs. Full text available.

Message received at 57781 <at> debbugs.gnu.org:


Received: (at 57781) by debbugs.gnu.org; 14 Sep 2022 22:51:16 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Sep 14 18:51:16 2022
Received: from localhost ([127.0.0.1]:56497 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1oYbDt-000318-Hl
	for submit <at> debbugs.gnu.org; Wed, 14 Sep 2022 18:51:16 -0400
Received: from mail-ot1-f44.google.com ([209.85.210.44]:43531)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <stefankangas@HIDDEN>) id 1oYbDo-00030s-G1
 for 57781 <at> debbugs.gnu.org; Wed, 14 Sep 2022 18:51:12 -0400
Received: by mail-ot1-f44.google.com with SMTP id
 cm7-20020a056830650700b006587fe87d1aso859117otb.10
 for <57781 <at> debbugs.gnu.org>; Wed, 14 Sep 2022 15:51:08 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;
 h=to:subject:message-id:date:mime-version:references:in-reply-to:from
 :from:to:cc:subject:date;
 bh=3gjpkr6P11IOpX3oi73OPug+GbW0HQ4kmfNiijm0FIA=;
 b=JXFaPrwxW1z7/YbX62EwTcuIGWRkuMa+KVCX1RrW4Esd1q2RikHw6dI1CN2mDh9Zp3
 9kt88Ifjb47mzP93EMIR5fjALIHGqjIndCVdKwQYZ5XqWTnUA8AEibhD8RqOE6BfyLci
 4RgK7X+JBPtMtXTs5wNpYXGNIl86B3URk3vI22hXHjc7eHLPEWHtRd+0bxjWWmxX4iFR
 P0aUNkqf/+Kyzk28fNyrVB0TWjAH+1ll/V//JlFJme/6SWOjctFrnb1OWWSQ2+OG9HRc
 /un89TdR72v8P+BhaalNmIjYQj309Sh8CcLXtJZ13UHRCWdAggfvILgkPedbCrFvLiOs
 NZ1Q==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20210112;
 h=to:subject:message-id:date:mime-version:references:in-reply-to:from
 :x-gm-message-state:from:to:cc:subject:date;
 bh=3gjpkr6P11IOpX3oi73OPug+GbW0HQ4kmfNiijm0FIA=;
 b=DG6Ld0XDJmLEPQJ6qvP26az45ZbochoNeETxGl1Rj0V1EITxBWfZY/2XQo/qWELdKO
 x2PmaurmVtoGZOziTtPXn0rC5d1B5MsgDI+lBLetjdA8eU5d7DUA9zVuzsER7U7MtmXi
 1xHDJHLff96UhvIorMflNzh/l1t10gHZl5VxiG19z9zxckt+qsR+LTtwvfcab+8rof5/
 ySSDXp51k6JXLv3O3vv+pn2aEsPuoyp2ka+S0BcOVdTCJmp9nf7qBgyBv+nMTlhlAx4Y
 LA4N3v++BcYvDUWn+v2iCjuWbnXyHppBc6Wxp1MsAYUNeA9ryyhLurRN5q4rf4YBO8GI
 vvJQ==
X-Gm-Message-State: ACgBeo1KUGGKO68HNqQq0OlmAJFXlJBkKNK2B6gxk4VGcInOC8o3qOiA
 BLtKg9LrMyIISNNX883UhsWYR2/3kfK7h+U37Kg=
X-Google-Smtp-Source: AA6agR5RsOGOzdU3mOBcpHPMzIPQ9v7t2txspV94HwAb2pRRb5hrhMNqQ6gCb/52Pkpfgdo9eWEGkTMnDB1noUEmrlc=
X-Received: by 2002:a05:6830:3c1:b0:637:28be:7920 with SMTP id
 p1-20020a05683003c100b0063728be7920mr15491039otc.105.1663195862876; Wed, 14
 Sep 2022 15:51:02 -0700 (PDT)
Received: from 753933720722 named unknown by gmailapi.google.com with
 HTTPREST; Wed, 14 Sep 2022 15:51:02 -0700
From: Stefan Kangas <stefankangas@HIDDEN>
In-Reply-To: <87illpubzu.fsf@HIDDEN>
References: <87fsgvc938.fsf@HIDDEN>
 <CADwFkm=ebc0bYc0XdNsrXdWZdkEDo=mbzVdkzdo=LLpN6uXLeQ@HIDDEN>
 <87illpubzu.fsf@HIDDEN>
X-Hashcash: 1:20:220914:felix.dick@HIDDEN::QA67pLJwOceaw6DE:1x17
MIME-Version: 1.0
Date: Wed, 14 Sep 2022 15:51:02 -0700
Message-ID: <CADwFkm=oniKfEQiZpFmevnBUFNu3OZRM00hXzh3+G3N9AquG_Q@HIDDEN>
Subject: Re: bug#57781: missing wallpaper command
To: Sean Whitton <spwhitton@HIDDEN>, Felix <felix.dick@HIDDEN>,
 57781 <at> debbugs.gnu.org
Content-Type: text/plain; charset="UTF-8"
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 57781
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Sean Whitton <spwhitton@HIDDEN> writes:

>> To test for Wayland, it only checks if $WAYLAND_DISPLAY is set.
>> We could do something more fancy if needed, possibly involving
>> loginctl.
>
> Since it's protocol-dependent, I don't know if it will work on anything
> other than wlroots-based compositors.  Before relying solely on
> WAYLAND_DISPLAY, perhaps we should also check it works with GNOME?

I need help here, as I don't have access to Wayland.

Would you be willing to help test it, and/or make concrete suggestions
for how to do better?  I'd ideally need someone to tell me which
environment variables or commands to run, and which values to expect,
but any information you could provide would help.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#57781; Package emacs. Full text available.

Message received at 57781 <at> debbugs.gnu.org:


Received: (at 57781) by debbugs.gnu.org; 14 Sep 2022 20:11:16 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Sep 14 16:11:16 2022
Received: from localhost ([127.0.0.1]:56335 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1oYYj6-00055L-3k
	for submit <at> debbugs.gnu.org; Wed, 14 Sep 2022 16:11:16 -0400
Received: from mout.web.de ([212.227.15.4]:32947)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <felix.dick@HIDDEN>) id 1oYYj2-000555-3j
 for 57781 <at> debbugs.gnu.org; Wed, 14 Sep 2022 16:11:14 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=web.de; s=s29768273;
 t=1663186266; bh=HZ4JaDGh47snML3KaFfoA4Illl7awUe1Ogic0SQhJhg=;
 h=X-UI-Sender-Class:References:From:To:Subject:Date:In-reply-to;
 b=UrdseGNnjNNI9iYpJ5oWkbcETU/N3fgafl3m6XoJYVlJM6R6V80MmBK2JDnFBemzU
 MkWM2J75Br83WF/yx0y9nakp0O03LBkCKmQEXYzj0HZy0E9OVaW9PZXkTe1u72hmTK
 6JAba/0hVIqtnPAZLBqd3qiqt0h3alROXJC8fnaegq+KyLLYmkUAWq7LSY7nBOvczp
 ay5g/U0QwoY57CV6xkhydR4s0lyEMcVFJbfHB0qfORsPAnfd0O4B4Zd9oVUt9Ev/RW
 801wYgub5RYNu66utMIjwv22D4BFD6/EG2u3atyARnc5xuwMsp/Ts5ayNc6xHzxwOi
 wu4mSxcwGKQmQ==
X-UI-Sender-Class: 814a7b36-bfc1-4dae-8640-3722d8ec6cd6
Received: from felix-lifebooka531.web.de ([87.174.200.214]) by smtp.web.de
 (mrweb006 [213.165.67.108]) with ESMTPSA (Nemesis) id
 1Mq1CA-1p2tbM01B4-00nNx9 for <57781 <at> debbugs.gnu.org>; Wed, 14 Sep 2022
 22:11:06 +0200
References: <87fsgvc938.fsf@HIDDEN> <874jxahxkw.fsf@HIDDEN>
 <CADwFkm=n=bFq6qvMRVGL1Jd2BhW1L4pSqmTFWE0GmSaSK+nybA@HIDDEN>
User-agent: mu4e 1.9.0; emacs 29.0.50
From: Felix <felix.dick@HIDDEN>
To: 57781 <at> debbugs.gnu.org
Subject: Re: bug#57781: wbg wallpaper command
Date: Wed, 14 Sep 2022 22:01:30 +0200
In-reply-to: <CADwFkm=n=bFq6qvMRVGL1Jd2BhW1L4pSqmTFWE0GmSaSK+nybA@HIDDEN>
Message-ID: <877d25k9b4.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-Provags-ID: V03:K1:bD7DukxP/uGtfMwOYAk6uwHHMn2XA1e1CknZF8gi4zWYNnpaO9y
 tXgtqcGkSUMvSarMgloVsZMXeS91K8uxZnHw+o4/d89TBGL+7KdOq7sp0OgtaXyetZlbi8C
 p42mtavmV6R+ihBC/BfK+9GRWvemuEnJ4IK01RzQNg8UMH4ZgVFK0ZdMI158Ty10+O+AvnM
 GpfKh2RV/8TlYyN4GbpVA==
X-Spam-Flag: NO
X-UI-Out-Filterresults: notjunk:1;V03:K0:k00jqFr0FqA=:R89YrplbjuIu08qL5wLF9w
 puWlVElfQmuPDNP3YfKmLkvavPkPqAweyxpTk9XNtw5R0M4vsxh4gRTRG28kRRK5pZNFZsGlY
 PS3HmxXJR3576hs45kqhPvDWRwQFt+UUZ6XYc28w4+xnEPyoKHMA2Omehw0u4h5lpaKzkEtKo
 f0RX3FGOgmKpMdbGguAM5H66LgUaU7qACD6BAU6wFFYI+aGkhLMB4Ltghm7c1GGeEcWoHb+Ci
 vHq0B20uh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-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)


Stefan Kangas <stefankangas@HIDDEN> writes:

> Felix <felix.dick@HIDDEN> writes:
>
>> It is not working like this.
>> It does work the %f needs to be double quoted:
>>
>> ("wbg" "%f")
>
> Sorry, that was a typo; fixed now.  Do you mind trying again?
>
> Thanks in advance.

No need to apologize! I'm forever thankful for all the work that's
done by you and all the people working on emacs!
It works now!
Thanks a lot,
Felix




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#57781; Package emacs. Full text available.

Message received at 57781 <at> debbugs.gnu.org:


Received: (at 57781) by debbugs.gnu.org; 14 Sep 2022 17:01:03 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Sep 14 13:01:03 2022
Received: from localhost ([127.0.0.1]:55941 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1oYVl1-00063Q-0S
	for submit <at> debbugs.gnu.org; Wed, 14 Sep 2022 13:01:03 -0400
Received: from out3-smtp.messagingengine.com ([66.111.4.27]:56107)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <spwhitton@HIDDEN>) id 1oYVky-00062n-1F
 for 57781 <at> debbugs.gnu.org; Wed, 14 Sep 2022 13:01:01 -0400
Received: from compute5.internal (compute5.nyi.internal [10.202.2.45])
 by mailout.nyi.internal (Postfix) with ESMTP id F20935C007C;
 Wed, 14 Sep 2022 13:00:54 -0400 (EDT)
Received: from mailfrontend2 ([10.202.2.163])
 by compute5.internal (MEProxy); Wed, 14 Sep 2022 13:00:54 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=spwhitton.name;
 h=cc:content-type:date:date:from:from:in-reply-to:in-reply-to
 :message-id:mime-version:references:reply-to:sender:subject
 :subject:to:to; s=fm1; t=1663174854; x=1663261254; bh=51tFcGCaTc
 0gnNMKf6ZuAyhXrsh5b5seplDL99uQD+c=; b=0EHkdwwoiVTbXu4v1tVGP+S3VS
 njwAXsgbybWM7b+NEGE2hMIcQnAk3Wfp6IAts/9IuBEJSvkr5kpxN0pGWrO7RRum
 5P3cpphnZe4syxWzcHngJiKTw1dCU/C5DnGJwwdAJzlWGdtD+fgRSjPd2/1F5dUw
 thurZFRT590FJJzCHcLSxzytsOgsGhxhWcpAJ6Tfi06hTStzf1W2GxNf1ESX83pJ
 m7lGF7IThzlF+i4coLicJSuXc3TsSraeN0QqvGK5U9XeTWR8HZHtnE6L+KL8NwHy
 X4WXrkEFyKJgFFMq6DA5LbedhOwZ3HjiK1pRaXfmekxZk/ZsZZLkU+yxEwyw==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=
 messagingengine.com; h=cc:content-type:date:date:feedback-id
 :feedback-id:from:from:in-reply-to:in-reply-to:message-id
 :mime-version:references:reply-to:sender:subject:subject:to:to
 :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=
 fm2; t=1663174854; x=1663261254; bh=51tFcGCaTc0gnNMKf6ZuAyhXrsh5
 b5seplDL99uQD+c=; b=uoKL20inzEIhyLFybXu/OrmsmEnWh5HW3AXfbH5QVLX2
 sMNxrM5PNt2UxQdzjnVv7P1gGlMPOB3GQ/NyCJvMgjZlNQs1FkNQN9W2SyA0BphY
 RjhEAFluCb0TeS/OKpYuQJJZSQnjBwaciVbFL45LKNn5ytz4rTBjOQlR9Z2/kt9J
 9AVLjQs8/3E1k8N1mTxkIOIa+nyqjcKTqoc232Gsz4UdXpDgCTIXDFV3W3qFfyhW
 aCz4sKJAD3gwCvIg20qmvoD9dof5ECFKnaDy92gL/JRy8RLU5URcHMxTVJzoT9RQ
 EL1s1U1BGS5UDv4IiNXG1EJ2xTNKmhrsEw2+6nVkIw==
X-ME-Sender: <xms:xggiY0dKfQiq3QXj4Om5QkL4TZvToc3EvcQ7Nisl5t1LE9zmtpnUrg>
 <xme:xggiY2OGfoEAGiFyBC6neL4yDqszFBhlcyn9E_tPYo-4yPYFsQ5CxkffgQ-Oi7w2g
 PJRWLai3yuHp_NHIg>
X-ME-Received: <xmr:xggiY1iCQIRRPduegdKr0lkOOFz89_Z1VtXYETX9RXoLpkylpISMpgxndiTWcpYe-XVeKEsUaqCJGd54vMsz9pGTGcmzvSsUDGHCctCKA02T6CY6Kw>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrfeduiedguddtlecutefuodetggdotefrod
 ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh
 necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd
 enucfjughrpefhvffujghffffkfgggtgesthdttddttdertdenucfhrhhomhepufgvrghn
 ucghhhhithhtohhnuceoshhpfihhihhtthhonhesshhpfihhihhtthhonhdrnhgrmhgvqe
 enucggtffrrghtthgvrhhnpeffueettdefvddtteevgfeufeejgfegudfgfedutdegfeet
 keehuddvfeejjeeifeenucevlhhushhtvghrufhiiigvpedunecurfgrrhgrmhepmhgrih
 hlfhhrohhmpehsphifhhhithhtohhnsehsphifhhhithhtohhnrdhnrghmvg
X-ME-Proxy: <xmx:xggiY5_7lQJwHaOa5QOGVvhEy-UZkRHf9tA_tiCWRI_MlG6dK_yEXA>
 <xmx:xggiYwvBxO4K88ZC7H9gvpq1F79LN5Fl9bs-zAcYdA4WeBf34JVcRw>
 <xmx:xggiYwGwQHDS-C7rCLuWrPlpXlt3LMYRL2lXG0b5fpZAF23jwZBc6A>
 <xmx:xggiY9U777bmIfLCS9O4Zf6JKJPf276hGrF7Fqve-ErFqWZYewHZRg>
Feedback-ID: i23c04076:Fastmail
Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed,
 14 Sep 2022 13:00:53 -0400 (EDT)
Received: by melete.silentflame.com (Postfix, from userid 1000)
 id 4672D7EF662; Wed, 14 Sep 2022 10:00:53 -0700 (MST)
From: Sean Whitton <spwhitton@HIDDEN>
To: Stefan Kangas <stefankangas@HIDDEN>, Felix <felix.dick@HIDDEN>,
 57781 <at> debbugs.gnu.org
Subject: Re: bug#57781: missing wallpaper command
In-Reply-To: <CADwFkm=ebc0bYc0XdNsrXdWZdkEDo=mbzVdkzdo=LLpN6uXLeQ@HIDDEN>
 (Stefan Kangas's message of "Tue, 13 Sep 2022 22:41:01 -0700")
References: <87fsgvc938.fsf@HIDDEN>
 <CADwFkm=ebc0bYc0XdNsrXdWZdkEDo=mbzVdkzdo=LLpN6uXLeQ@HIDDEN>
Date: Wed, 14 Sep 2022 10:00:53 -0700
Message-ID: <87illpubzu.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 57781
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

Hello,

On Tue 13 Sep 2022 at 10:41PM -07, Stefan Kangas wrote:

> tags 57781 + pending
> thanks
>
> Felix <felix.dick@HIDDEN> writes:
>
>> I'm not using swaybg but wbg as wallpaper command on wayland which is
>> not yet part of the wallpaper-commands.
>> 'wallpaper-set' works if i evaluate:
>> (add-to-list 'wallpaper-commands '("wbg" "%f"))
>
> Thanks for the bug report!
>
> I've added it now (commit f0798ac13d), could you please test?
>
> To test for Wayland, it only checks if $WAYLAND_DISPLAY is set.
> We could do something more fancy if needed, possibly involving
> loginctl.

Since it's protocol-dependent, I don't know if it will work on anything
other than wlroots-based compositors.  Before relying solely on
WAYLAND_DISPLAY, perhaps we should also check it works with GNOME?

-- 
Sean Whitton




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#57781; Package emacs. Full text available.

Message received at 57781 <at> debbugs.gnu.org:


Received: (at 57781) by debbugs.gnu.org; 14 Sep 2022 16:27:34 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Sep 14 12:27:34 2022
Received: from localhost ([127.0.0.1]:55871 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1oYVEb-00052a-NJ
	for submit <at> debbugs.gnu.org; Wed, 14 Sep 2022 12:27:33 -0400
Received: from mail-oa1-f53.google.com ([209.85.160.53]:43887)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <stefankangas@HIDDEN>) id 1oYVEZ-00052J-Rw
 for 57781 <at> debbugs.gnu.org; Wed, 14 Sep 2022 12:27:32 -0400
Received: by mail-oa1-f53.google.com with SMTP id
 586e51a60fabf-1279948d93dso42342462fac.10
 for <57781 <at> debbugs.gnu.org>; Wed, 14 Sep 2022 09:27:31 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;
 h=to:subject:message-id:date:mime-version:references:in-reply-to:from
 :from:to:cc:subject:date;
 bh=yt6Yfo8uXJaOaUh7SihQVVYlXoXjkZoQAOFL9+VJM08=;
 b=CcsUhgKU0PYr/a1sXzZjQAhmRG7h7gpsQ0T48KnK7pC6h7NCQQbxu/syfFYW3NMrE3
 Q4IvrS1U9XeoBlrsmONqEWV5ZSo3gdmJg5a3+XKyzGXhssqsIk5h0m4qN3t78XvnkaqS
 /hQ2owGUcM8C3snIfAxOFPx8+GuiHLSX3Ux27rtBd/RFGCx4UNMqmqW1jKoY0S+JK4q/
 HE62gopTrLTKnzdtE2k+QqRg189m60borudUeHrD/lLpCYxYqwIc2SngNvljIpngs/AS
 3nIF4rk1nufWmn4Vc2kXhjg/RD8Sv8hOJVubBkl8oz9Zd15ND4mfKgGcDVVJ0tf1rQ1M
 hMJw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20210112;
 h=to:subject:message-id:date:mime-version:references:in-reply-to:from
 :x-gm-message-state:from:to:cc:subject:date;
 bh=yt6Yfo8uXJaOaUh7SihQVVYlXoXjkZoQAOFL9+VJM08=;
 b=ayTUs2vHs5TDz7BBOIP4EBckbT3PSgZNPhGuJ8L7H0qATFIl9XWJsCJFgZPQO3vamb
 LR8NfCYj3WOtkc8EE2jOuB7ZpRSy3HcOLKU2gOfbsH69l0GguiB4NqjWOsmMjpDSbraj
 Vc3eYDB+GM25/TQ3XNhrrv5KfgYwFQsH/s+vKxpSZTp2gp1k7QzOzLm91W4rxJQyx3uW
 SgVj/N1NDAXK9Ump6ooxfSkmrkR4vZps77jc0tcWQLODqXSRwvzzh5ejBRKi13meVJlr
 dgipnZFbk4dPET3qhSQkANQBpCUtwmNzzUdqtZubbMgtaUlPXMU5ICrsegNyLsslMUXv
 eijg==
X-Gm-Message-State: ACgBeo2OcppxNxGznY+Wj+mywgIjYzd7/FMhc7KISZF6Iae/FkAXPXtn
 wBwPID1dzHqudfeQ7+qUDNcfo4ZgTRN8jf5iXq3YGcoz
X-Google-Smtp-Source: AA6agR6VbMFMihKfnoelrJxH0fl0tr6TkL2UxHEn33wZTEU5/K5PLb9f3tVsdQCrQGY+7Eea67fvI77Y0Knp80X3tg4=
X-Received: by 2002:a05:6870:538c:b0:11b:e64f:ee1b with SMTP id
 h12-20020a056870538c00b0011be64fee1bmr2741639oan.92.1663172845986; Wed, 14
 Sep 2022 09:27:25 -0700 (PDT)
Received: from 753933720722 named unknown by gmailapi.google.com with
 HTTPREST; Wed, 14 Sep 2022 09:27:25 -0700
From: Stefan Kangas <stefankangas@HIDDEN>
In-Reply-To: <874jxahxkw.fsf@HIDDEN>
References: <87fsgvc938.fsf@HIDDEN> <874jxahxkw.fsf@HIDDEN>
X-Hashcash: 1:20:220914:57781 <at> debbugs.gnu.org::C7O/EG/lYE17MgrT:0PHc
MIME-Version: 1.0
Date: Wed, 14 Sep 2022 09:27:25 -0700
Message-ID: <CADwFkm=n=bFq6qvMRVGL1Jd2BhW1L4pSqmTFWE0GmSaSK+nybA@HIDDEN>
Subject: Re: bug#57781: wbg wallpaper command
To: Felix <felix.dick@HIDDEN>, 57781 <at> debbugs.gnu.org
Content-Type: text/plain; charset="UTF-8"
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 57781
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Felix <felix.dick@HIDDEN> writes:

> It is not working like this.
> It does work the %f needs to be double quoted:
>
> ("wbg" "%f")

Sorry, that was a typo; fixed now.  Do you mind trying again?

Thanks in advance.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#57781; Package emacs. Full text available.

Message received at 57781 <at> debbugs.gnu.org:


Received: (at 57781) by debbugs.gnu.org; 14 Sep 2022 13:55:12 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Sep 14 09:55:12 2022
Received: from localhost ([127.0.0.1]:54279 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1oYSrA-0006cf-41
	for submit <at> debbugs.gnu.org; Wed, 14 Sep 2022 09:55:12 -0400
Received: from mout.web.de ([212.227.15.4]:34671)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <felix.dick@HIDDEN>) id 1oYSr7-0006bI-Qs
 for 57781 <at> debbugs.gnu.org; Wed, 14 Sep 2022 09:55:10 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=web.de; s=s29768273;
 t=1663163703; bh=B8Y+n8So6qIjcUoc/TzhMdSvJmTUSPv8tFAjPhqpgXo=;
 h=X-UI-Sender-Class:From:To:Subject:Date;
 b=DCpYH6+RpKGHarhU+IvbacAS6hse/ycZnDQnBMPG7rLiJ4Lt742IR5xn6adOiZ5um
 dogU+9bP4iAz2W5HFPiDOvFUlYLwXwqJzUr5T/zqhleyWv9k/RiMy6eb++LTL+5E4o
 Phz3AN4lZWqjwAfnwKdqbeyWXeajTPDznL9UgD5uQlR6rVu10IYGJAAGwWVxownGbF
 dpwWb46PIaWTPsSs+7o59K0tme+UpLWydaMKaVVJYu5r+oDrOBXoBFPIBYV+zvUlSs
 XYGvRJynM6F8fb2huqv1F3vzuH0k6u91gO3iCeN9WNfs4xiz6v8KQYOfB4GL7U5PNb
 wL2RdY+5tnnFQ==
X-UI-Sender-Class: 814a7b36-bfc1-4dae-8640-3722d8ec6cd6
Received: from felix-lifebooka531.web.de ([87.174.200.214]) by smtp.web.de
 (mrweb005 [213.165.67.108]) with ESMTPSA (Nemesis) id
 1Mq182-1p3h7l0tBi-00n3tz for <57781 <at> debbugs.gnu.org>; Wed, 14 Sep 2022
 15:55:03 +0200
User-agent: mu4e 1.9.0; emacs 29.0.50
From: Felix <felix.dick@HIDDEN>
To: 57781 <at> debbugs.gnu.org
Subject: wbg wallpaper command
Date: Wed, 14 Sep 2022 15:50:27 +0200
Message-ID: <874jxahxkw.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-Provags-ID: V03:K1:9psVg0DuyEjEWKELtUHgMu/AQmMHb/6C5/3fJLC3JgCH7o2L3YN
 K0h75UKf5DSpYlBz32aJ5GJmCjP+L7WtgFwx8DYf6jDJXv58GovqDRzwaTneBRtfUmtE/iP
 9VT+ghbcv9T9I2lxq3B+vUzQ4eZ77dEOaVRZB6m8lQbGJucPk5CCqY2q3KDOR3QMYtHbTJu
 Dc13lkF/w3eT6CrJPpFlQ==
X-Spam-Flag: NO
X-UI-Out-Filterresults: notjunk:1;V03:K0:/wLflxhMxVg=:Hn0Aiuiihne4nlZf7sfnOw
 WJXC1i6PF6p/ewiyx0CI1HAc03mEkEOQosK8LJy9PJyZ51aZnT8VAIS64TLJ8hckjoHfZnQFZ
 LjuR/iS9X6NMjU8F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PctHAMCMA2uH9AWu7FV7Ryxw5wDXR2bj/QlbL
 q60n9WnjZ5eIKXYTF8HFxjJUwC
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 57781
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)


It is not working like this.
It does work the %f needs to be double quoted:

("wbg" "%f")

Thanks.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#57781; Package emacs. Full text available.
Added tag(s) pending. Request was from Stefan Kangas <stefankangas@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at 57781 <at> debbugs.gnu.org:


Received: (at 57781) by debbugs.gnu.org; 14 Sep 2022 05:41:10 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Sep 14 01:41:10 2022
Received: from localhost ([127.0.0.1]:53430 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1oYL94-0007pT-Cs
	for submit <at> debbugs.gnu.org; Wed, 14 Sep 2022 01:41:10 -0400
Received: from mail-oa1-f54.google.com ([209.85.160.54]:39664)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <stefankangas@HIDDEN>) id 1oYL92-0007pC-Ia
 for 57781 <at> debbugs.gnu.org; Wed, 14 Sep 2022 01:41:09 -0400
Received: by mail-oa1-f54.google.com with SMTP id
 586e51a60fabf-11e9a7135easo38164036fac.6
 for <57781 <at> debbugs.gnu.org>; Tue, 13 Sep 2022 22:41:08 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;
 h=to:subject:message-id:date:mime-version:references:in-reply-to:from
 :from:to:cc:subject:date;
 bh=rtzPmxYifzwxaNmSP1uZJAUNw1m7oKJXCBU7m3gU9l0=;
 b=bta8Oz2XsjsJQo0yojImQ2QLoz5Yj+Ig+mCIy45x9XLquuQfMjCRhebcjxpOweRQde
 GDmUreKc8rq9nZcYPIzCQHPOtkuethWsqgse7qke+UdgvKJ8JEcu9ni9N5W1DJsSioqI
 O6icdem4nsJwB2zQqzlCrfceGKym0CkdBx8EWQIOq8BZns5UYDBLfP7JBDLNx9GZ5KxN
 Uy0CaXdSuNf52vZWhnrVFU4P7kVsYQiicNEX83vW7PW7HnbXeRNHwLOFCp6tiqPIl+hi
 033thlDB6oyB5CUCQrg9l+gb0y1PuPNO7QCwifgJoHUcfR6wC1yBFBtocCfYrenAh67P
 zvJQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20210112;
 h=to:subject:message-id:date:mime-version:references:in-reply-to:from
 :x-gm-message-state:from:to:cc:subject:date;
 bh=rtzPmxYifzwxaNmSP1uZJAUNw1m7oKJXCBU7m3gU9l0=;
 b=bcCi1qFCdViY9CRA0UVNRdSI6080EAtjD+2Mim5I+tybDfQYYTKU/ere3uukDAaOyq
 jVH4rh2z2fAmLYHn2wic9XRTjDO6K2SbEmYxOf8AbMWdLdAJ66mK8/oEFySsanRaO5sk
 weUAdbbByh6bvniOK1Xo6BmKeV52s9IK0uHw95ZB+J0tw1bTrAycHwSlMLPKVHYAxKXi
 y3vbCp0wYaojkgvLlGIHdR7D3FpacagP/Cz1B8+493TTWfZppI02dh+RnAhBFxYggXBM
 u7OkCsXoo1HNykp7D2KGzuEBFieeEvt7f1IhV7Ji2dU9NegZ0yINmNjijZr8hDj4CwFX
 63Mg==
X-Gm-Message-State: ACgBeo3K02lbXfQumd5eep54ysl5Nv2QP8X4KCK+TOxTDQNZWvCFZB52
 pknUwmv/JhE7hU47jh/gtcBw2PRsPOMeguTjxjo=
X-Google-Smtp-Source: AA6agR77BeFhVO6Qk4lefgJxeIsqgU1qltnQh9pM1SM5ozR9Mhed9piFGkNYojGtD1Jon4XvU11AYEkFEMUNNoIwx9g=
X-Received: by 2002:a05:6808:1688:b0:345:ea9a:2954 with SMTP id
 bb8-20020a056808168800b00345ea9a2954mr1169924oib.199.1663134062720; Tue, 13
 Sep 2022 22:41:02 -0700 (PDT)
Received: from 753933720722 named unknown by gmailapi.google.com with
 HTTPREST; Tue, 13 Sep 2022 22:41:01 -0700
From: Stefan Kangas <stefankangas@HIDDEN>
In-Reply-To: <87fsgvc938.fsf@HIDDEN>
References: <87fsgvc938.fsf@HIDDEN>
X-Hashcash: 1:20:220914:57781 <at> debbugs.gnu.org::86ZXB2RQNbmlDt3w:1ceT
MIME-Version: 1.0
Date: Tue, 13 Sep 2022 22:41:01 -0700
Message-ID: <CADwFkm=ebc0bYc0XdNsrXdWZdkEDo=mbzVdkzdo=LLpN6uXLeQ@HIDDEN>
Subject: Re: bug#57781: missing wallpaper command
To: Felix <felix.dick@HIDDEN>, 57781 <at> debbugs.gnu.org
Content-Type: text/plain; charset="UTF-8"
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 57781
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

tags 57781 + pending
thanks

Felix <felix.dick@HIDDEN> writes:

> I'm not using swaybg but wbg as wallpaper command on wayland which is
> not yet part of the wallpaper-commands.
> 'wallpaper-set' works if i evaluate:
> (add-to-list 'wallpaper-commands '("wbg" "%f"))

Thanks for the bug report!

I've added it now (commit f0798ac13d), could you please test?

To test for Wayland, it only checks if $WAYLAND_DISPLAY is set.
We could do something more fancy if needed, possibly involving
loginctl.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#57781; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 13 Sep 2022 20:30:51 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Sep 13 16:30:51 2022
Received: from localhost ([127.0.0.1]:52969 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1oYCYV-0001mw-2S
	for submit <at> debbugs.gnu.org; Tue, 13 Sep 2022 16:30:51 -0400
Received: from lists.gnu.org ([209.51.188.17]:33918)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <felix.dick@HIDDEN>) id 1oYCYT-0001mp-L8
 for submit <at> debbugs.gnu.org; Tue, 13 Sep 2022 16:30:50 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:41462)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <felix.dick@HIDDEN>) id 1oYCYT-0007AJ-6r
 for bug-gnu-emacs@HIDDEN; Tue, 13 Sep 2022 16:30:49 -0400
Received: from mout.web.de ([212.227.15.4]:59387)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <felix.dick@HIDDEN>) id 1oYCYQ-0002Tl-Gf
 for bug-gnu-emacs@HIDDEN; Tue, 13 Sep 2022 16:30:47 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=web.de;
 s=dbaedf251592; t=1663101043;
 bh=LXxdsr0tGuug4/yPXRkf4XAAervRL0WW3KLZ+wWkRu0=;
 h=X-UI-Sender-Class:From:To:Subject:Date;
 b=FvvJLsA26nzXOZZTpzXtowVWdMtLWcAmZbT146oYiAozOqqeXYH12R/AiFRDgRpJh
 dbnevLPclS9D7/i+N9DXoUoyCH0ufAhrkY8fE5u9Av8aH2H9TtiU963R93JIbszvUd
 KDLftL9OFDkdQj61dP7jd1UD+h8N/3FJZU2R1rTA=
X-UI-Sender-Class: c548c8c5-30a9-4db5-a2e7-cb6cb037b8f9
Received: from felix-lifebooka531.web.de ([87.174.200.214]) by smtp.web.de
 (mrweb005 [213.165.67.108]) with ESMTPSA (Nemesis) id
 1My6pf-1pXKge2RlX-00zO6p for <bug-gnu-emacs@HIDDEN>; Tue, 13 Sep 2022
 22:30:43 +0200
User-agent: mu4e 1.9.0; emacs 29.0.50
From: Felix <felix.dick@HIDDEN>
To: bug-gnu-emacs@HIDDEN
Subject: missing wallpaper command
Date: Tue, 13 Sep 2022 22:20:31 +0200
Message-ID: <87fsgvc938.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-Provags-ID: V03:K1:GffdrmJOUifXzqsGvbICXgRz6TEU3MHtKYOGS7ZAe6NJT5zerMu
 bMOOUs8riZZ7sTx0F7b7NLLV6sP3mTScBGC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IddiA2Bj8Kyn8B1WdV9DBBlr8ifpluNR
 yKi7d0ZHq5FGukgPpTVUoViDm7c6EyjN/m9j6y0hWSfk+Z0Lnwp06wo6HLatYVKQcvRqrzdsl
 AHl8Q3xxaWw94DbpkW5YcFzQEdm+N9iWhcJUay/+Mxzy5KMQNaR8VcP9cPweByzsQR2Grb9gf
 XDlSiGv3WrXUKXW/tSwYt36QDbLBk5yaaVaXc763Wdzn2eDqAtZyGV+lOGGKwgNEIn6LPfH5t
 8sEfwEc5TgRjGHxfvF+KaSi/p3mC/BblrnecdhWZYGZA/JDVO3yQCzWmCudkK9lT7Va3Uy+ex
 G13aZ0O0GLZ0GlmNoJNqNhHNeh
Received-SPF: pass client-ip=212.227.15.4; envelope-from=felix.dick@HIDDEN;
 helo=mout.web.de
X-Spam_score_int: -27
X-Spam_score: -2.8
X-Spam_bar: --
X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001,
 RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001,
 SPF_HELO_NONE=0.001, SPF_PASS=-0.001,
 T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.4 (--)


I'm not using swaybg but wbg as wallpaper command on wayland which is
not yet part of the wallpaper-commands.
'wallpaper-set' works if i evaluate:
(add-to-list 'wallpaper-commands '("wbg" "%f"))




Acknowledgement sent to Felix <felix.dick@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#57781; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Mon, 19 Sep 2022 19:30:02 UTC

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