From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Kangas Newsgroups: gmane.emacs.bugs Subject: bug#57781: missing wallpaper command Date: Fri, 16 Sep 2022 17:09:24 -0400 Message-ID: References: <87fsgvc938.fsf@web.de> <87illpubzu.fsf@melete.silentflame.com> <87a671h861.fsf@web.de> <874jx9ndv4.fsf@web.de> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="37613"; mail-complaints-to="usenet@ciao.gmane.io" To: Felix , Sean Whitton , 57781@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Sep 16 23:10:14 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1oZIbG-0009fj-5O for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 16 Sep 2022 23:10:14 +0200 Original-Received: from localhost ([::1]:34538 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oZIbF-0005CD-5Z for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 16 Sep 2022 17:10:13 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:36338) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oZIb4-000596-Vp for bug-gnu-emacs@gnu.org; Fri, 16 Sep 2022 17:10:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:45396) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oZIb4-0002EH-G6 for bug-gnu-emacs@gnu.org; Fri, 16 Sep 2022 17:10:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oZIb4-0000jX-0k for bug-gnu-emacs@gnu.org; Fri, 16 Sep 2022 17:10:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Kangas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 16 Sep 2022 21:10:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57781 X-GNU-PR-Package: emacs Original-Received: via spool by 57781-submit@debbugs.gnu.org id=B57781.16633625732766 (code B ref 57781); Fri, 16 Sep 2022 21:10:01 +0000 Original-Received: (at 57781) by debbugs.gnu.org; 16 Sep 2022 21:09:33 +0000 Original-Received: from localhost ([127.0.0.1]:44470 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oZIaa-0000iX-KT for submit@debbugs.gnu.org; Fri, 16 Sep 2022 17:09:32 -0400 Original-Received: from mail-oi1-f175.google.com ([209.85.167.175]:39603) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oZIaY-0000iK-KE for 57781@debbugs.gnu.org; Fri, 16 Sep 2022 17:09:31 -0400 Original-Received: by mail-oi1-f175.google.com with SMTP id m130so7610150oif.6 for <57781@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) Original-Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Fri, 16 Sep 2022 17:09:24 -0400 In-Reply-To: <874jx9ndv4.fsf@web.de> X-Hashcash: 1:20:220916:spwhitton@spwhitton.name::qZDJvJevDDzbl1hK:4kcM X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:242813 Archived-At: Felix 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.