From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Po Lu Newsgroups: gmane.emacs.devel Subject: Re: master f25f4699d7 2/2: Support several new DEs in wallpaper.el Date: Fri, 23 Sep 2022 12:52:10 +0800 Message-ID: <87r102d75x.fsf@yahoo.com> References: <166389647969.2861.15735332086175539466@vcs2.savannah.gnu.org> <20220923012800.2B4E1C12D97@vcs2.savannah.gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="31944"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.91 (gnu/linux) Cc: Stefan Kangas To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Sep 23 06:54:14 2022 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1obaha-00088W-Ax for ged-emacs-devel@m.gmane-mx.org; Fri, 23 Sep 2022 06:54:14 +0200 Original-Received: from localhost ([::1]:48032 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1obahY-0000M0-AF for ged-emacs-devel@m.gmane-mx.org; Fri, 23 Sep 2022 00:54:13 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:46230) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1obafy-0007Nv-Ot for emacs-devel@gnu.org; Fri, 23 Sep 2022 00:52:34 -0400 Original-Received: from sonic315-22.consmr.mail.ne1.yahoo.com ([66.163.190.148]:35388) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1obafv-0000Cd-2L for emacs-devel@gnu.org; Fri, 23 Sep 2022 00:52:34 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1663908742; bh=qXzCqeqcxfiJd5RO7Vb0xhMrfGugXFIq8KzzNYpuNMk=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From:Subject:Reply-To; b=oVvNb0zcESV6f2OhuTgYKZfiiWWjpI9rmM6YtFOhAvGNCzaE2Bot0YEBLjhjrjQKBKkJ7UAA2/TstuRRtxUpk5np2WGde52nLQXWEMSCE4+jYYTMUfsoAjSCUMMuygnPfwzN2kEOJQfdqOVO8h+79tClClJcp+hRSF2+FcFLzGdU2g7gzaFeFny1w+7UkP6+I/klwYCywLF3Snkk/sqbtbjfm8DU3r5hsR8/ydPO4r99n1Rhfm9pAGlrABsmAMihzCoql8knYIcJw8Ln+aVFxJh3SUgAu//K9VGxc6yT1S8ImAMiltRqcM2ip08BBexWcDh8L3G4XFYNMVrLkP0/7w== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1663908742; bh=Z6flA5snVjwiXcGBLMPiN15KQ+GECKynjinJMSmd+lo=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=S23Qp6mU1S7+FB7nf0cZrN53QDMgYMnML/RxnjYpG58L8gcMSmle0YMazkp5Q1sDKS2jfBHTSIxKFYdJvI10Ko+tedKrmmjS8rqHpI83bwTnAHCRAW6/kkA2m2QlMthyBeCwcs575Z3Un1n3wH1xGmBX5765BQ1K30Gm0a4micu4hz3q6M7qsKhZ4LIogR7A0wSw/BKgngl6w/4M4lcBBlKi8IrskkULM88FBB0gV6WK34Tuqcx5U2otsWMWwuI/kKG+L+0OWe1SuYJACINQzNsl+h9FYsngG2Lx9EEthIGz9vhFyqQJpemRoiiKueZiYUDJQqeDsNPjI4maIjeSkw== X-YMail-OSG: l4r9TQcVM1kwzfmArj0fq9yGhAZ.9M1VRv4ENb0fGEAESUEYBAn7Y7G4X1rBhBJ 6QaFz9a6p0djS65hAe.6LUa.5NdHY4UC.nfuowH4P5oeCamqPZxKN6bfQwqp9PufFp.aCAny0ATt ZIYGGnnfVlXlMRrdDYf4qD_HXuXn2c1ygiGjhySbA1Xu0rTCsMhsfWnrwlMH3h6n9vYQhn8fBWIe RSUSYW3jc.h1AQRgJmJhpkTbh33X_wCl4FeiIs8IAQtKyr900VS91Rox7syx.o9R7qo4DdSZzFIy .PG49.UqSXkSSMAUFukJ194vycjDnQ8wic30YfBXtWz.IeI.myq5wuxl8LVe0wfdN8Fc7FDGTVPc AJ8NOP9khXlueQ0Fv3mg8f.d.trV255emIJSUINUhUBppv7Y1IyQy_8MaZAI_sZ6o9YI_gmdhJzF DYPELs60qOkrRUFKxBIj7jSC8i.Nyp9CELlHHSyTIfs6HdSvdwUSqm9UA8cvxelz8w9F8aqwu5wf PcucxV95kk8EgI2Admxy5BGEfHT_.K8QbopFxbwBayo3uPl3pvOCpxcxbLLflhYzaCMk.jbTfKCC TCzTfLybRzpXHyRHGBSHMSF.gPjNVE69tFdjNxO7qoNAEJW7laa0uyuWu0Y8FH5giczmKnLUU4pp q0eltx22ZIqzWFXJCyPooUNZp3XkWVQshQVAhVS4JZU8pftPeS0smF_.XYRLeIGWEF3Yo.br9GKf MmraJDcC88OaJsOvn87tLtaOHYKow3gjTsIF_dm_YK5Tqupb3Dn_AJAGKJaiuMFxGDTnSSHuD509 P4h76wo1UaeolKVrm87VsqoVwhoi18HWlaOWuW9jRm X-Sonic-MF: Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic315.consmr.mail.ne1.yahoo.com with HTTP; Fri, 23 Sep 2022 04:52:22 +0000 Original-Received: by hermes--production-sg3-dfffdfbd4-h7vhs (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 36d672474b1a0ad1e9692a1fafee609b; Fri, 23 Sep 2022 04:52:17 +0000 (UTC) In-Reply-To: <20220923012800.2B4E1C12D97@vcs2.savannah.gnu.org> (Stefan Kangas's message of "Thu, 22 Sep 2022 21:28:00 -0400 (EDT)") X-Mailer: WebService/1.1.20663 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Received-SPF: pass client-ip=66.163.190.148; envelope-from=luangruo@yahoo.com; helo=sonic315-22.consmr.mail.ne1.yahoo.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:296019 Archived-At: Stefan Kangas writes: > branch: master > commit f25f4699d760c5409a1571dcfdf4ed0fdac9e0ec > Author: Stefan Kangas > Commit: Stefan Kangas > > Support several new DEs in wallpaper.el > > * lisp/image/wallpaper.el (wallpaper--default-commands) > (wallpaper--check-command, wallpaper-command): Add support for Unity, > Pantheon, Budgie, LXQt, and LXDE. Also add support for Lubuntu, > Xubuntu, and Pop!_OS. > --- > lisp/image/wallpaper.el | 43 +++++++++++++++++++++++++++++++++++++++++-- > 1 file changed, 41 insertions(+), 2 deletions(-) > > diff --git a/lisp/image/wallpaper.el b/lisp/image/wallpaper.el > index ff47d37e3a..effa25b180 100644 > --- a/lisp/image/wallpaper.el > +++ b/lisp/image/wallpaper.el > @@ -62,6 +62,16 @@ > ;; XFCE > ("xfconf-query" "-c" "xfce4-desktop" "-p" > "/backdrop/screen0/monitoreDP/workspace0/last-image" "-s" "%f") > + ;; LXDE > + ("pcmanfm" "--set-wallpaper=%f") > + ;; LXQt > + ("pcmanfm-qt" "--set-wallpaper=%f") ; "--wallpaper-mode=MODE" > + ;; ;; Mate > + ;; ("gsettings" "set" "org.mate.background" "picture-filename" "%f") > + ;; ;; Cinnamon > + ;; ("gsettings" "set" "org.cinnamon.desktop.background" "picture-uri" "file://%f") > + ;; ;; Deepin > + ;; ("gsettings" "set" "com.deepin.wrap.gnome.desktop.background" "picture-uri" "file://%f") BTW, did you test the file://%f commands with file names containing spaces and/or Unicode to make sure they indeed do not have to be encoded?