From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Felix Newsgroups: gmane.emacs.bugs Subject: bug#57781: missing wallpaper command Date: Sat, 17 Sep 2022 14:00:49 +0200 Message-ID: <874jx6tc7w.fsf@web.de> 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 Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="26790"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: mu4e 1.9.0; emacs 29.0.50 To: Stefan Kangas , Sean Whitton , 57781@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Sep 17 14:33:29 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 1oZX0i-0006pt-Pv for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 17 Sep 2022 14:33:28 +0200 Original-Received: from localhost ([::1]:36210 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oZX0h-0005FQ-JG for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 17 Sep 2022 08:33:27 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:59650) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oZX0I-0005Ds-IT for bug-gnu-emacs@gnu.org; Sat, 17 Sep 2022 08:33:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:46251) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oZX0I-0001YN-91 for bug-gnu-emacs@gnu.org; Sat, 17 Sep 2022 08:33:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oZX0H-0003ra-Si for bug-gnu-emacs@gnu.org; Sat, 17 Sep 2022 08:33:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Felix Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 17 Sep 2022 12:33: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.166341796214825 (code B ref 57781); Sat, 17 Sep 2022 12:33:01 +0000 Original-Received: (at 57781) by debbugs.gnu.org; 17 Sep 2022 12:32:42 +0000 Original-Received: from localhost ([127.0.0.1]:45329 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oZWzy-0003r3-7F for submit@debbugs.gnu.org; Sat, 17 Sep 2022 08:32:42 -0400 Original-Received: from mout.web.de ([212.227.17.11]:39175) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oZWzv-0003qo-VD for 57781@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 Original-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 In-reply-to: X-Provags-ID: V03:K1:r6160UvArb8KGCh/RAL6lZajFuNLSbcFOINjgif3CHNcOkMHJT6 S2UuY+XKKDywQ+KYkF13xM+aK9AK310QdB2CnXAJJ0y8PxJkUkRIY35Qy9bNBb0WOStd4XO Wh+1ddn9nD+vm7JEAQytOilqubSHd3Wp9Ms8kigF62INdJs11hfaTSVdQHBtGobW7MtHUU3 xEVxCGKYJhRx1sJfNI/7w== X-UI-Out-Filterresults: notjunk:1;V03:K0:jXd/SQwiy/I=:FPFV2bzEY1VvF/6BOi3UiR BtW5cM9PbPkiLrkbKYOvOo1toHaggS6QCtL0twW/XbZ+hEFh1fNi0matoNrTmasqw7AUOJR8K kTvQhWkXOqaDXh1fqRCpK7gNtbflCBvYhQtWUnvoFlrHXHy2pD+237YugP1S4mzXY53MrqrpH qOfQ6zLDVmgnzabpiITiLkuSGiy5P63GADV5CcQPDY97dquiXzmeaKPPNXzsKkHMpqaeQkB8o GKv20evyujVLkmjpqhZI5BvUN+Z45EwMqMoEuSx9F9NnBdeXCKZrjjWEuxlZc/viCvcGiZX4l pCiA1QJj22zawzuXJWCVUtEFvcD3w+RQKTK7kV9tRDp0onupOXpgbb2XWqWMRw/zGwJFoxN3v 59h1hDC6wWBJ+MYRda4RDvFkfrWDRfYe7u8IDmhQifjGS4SaxkpjxFBqCFKK5rnlAYFVQSb9J 5jIsJeabgEm1udFkB9k5/Vv6DxEha9XtcJja0P8NlXqahyawXOwdW45xhhV7V6lLHkfgMl+aj ConMqmVFd6hASYWn7tuMjWZ+Fv4JRUmZLDEj4dxQv/KmgHEkL354gpk9Ri4bul7YDQ00o239A p4Aaabmyu1jL1TCyrZ8iAExQZbELPrqNnSV07QUP5C/7XV867vDDNosL6looFy2VoCWtdquQy HNN114bLHId52BB6M5g0RgFhws8lMRRhT+zN6VucaiVG1P9RKiiLCOEFvFbWrjGw9pLkWSXpt JQtF8hprQu5Gd+YQcCG1vdMkpSOQ3XTbNbWdddPknfiFCxsQ2eRpVNAlEuNpMDVNqwBYLYFk 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:242866 Archived-At: Stefan Kangas writes: > 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? 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.