unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Kangas <stefankangas@gmail.com>
To: Felix <felix.dick@web.de>,
	Sean Whitton <spwhitton@spwhitton.name>,
	57781@debbugs.gnu.org
Subject: bug#57781: missing wallpaper command
Date: Fri, 16 Sep 2022 17:09:24 -0400	[thread overview]
Message-ID: <CADwFkmk7nfKFwj=-J+dwmcRVcMDQT10xR5Rg8pnWhKfn7Vj_gw@mail.gmail.com> (raw)
In-Reply-To: <874jx9ndv4.fsf@web.de>

Felix <felix.dick@web.de> 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.





  reply	other threads:[~2022-09-16 21:09 UTC|newest]

Thread overview: 35+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-09-13 20:20 bug#57781: missing wallpaper command Felix
2022-09-14  5:41 ` Stefan Kangas
2022-09-14 17:00   ` Sean Whitton
2022-09-14 22:51     ` Stefan Kangas
2022-09-14 22:51       ` Felix
2022-09-14 23:22         ` Stefan Kangas
2022-09-15  9:47           ` Felix
2022-09-16 21:09             ` Stefan Kangas [this message]
2022-09-17 12:00               ` Felix
2022-09-17 17:48                 ` Stefan Kangas
2022-09-18 11:16                   ` Felix
2022-09-19  9:40                     ` Stefan Kangas
2022-09-18 22:19                   ` Felix
2022-09-19  9:40                     ` Stefan Kangas
2022-09-19 17:19                       ` Felix
2022-09-19 19:16                         ` Stefan Kangas
2022-09-19 19:26                           ` Felix
2022-09-19 20:07                             ` Stefan Kangas
2022-09-19 21:04                               ` Felix
2022-09-15 10:37           ` Felix
2022-09-16 21:09             ` Stefan Kangas
2022-09-16 15:50           ` Thierry Volpiatto
2022-09-16 20:52             ` Stefan Kangas
2022-09-17  6:14               ` Thierry Volpiatto
2022-09-17 18:34                 ` Stefan Kangas
2022-09-18  3:33                   ` Thierry Volpiatto
2022-10-04  5:58         ` Stefan Kangas
     [not found]           ` <87v8owv8lc.fsf@web.de>
2022-10-07  9:08             ` Stefan Kangas
2022-10-07 19:55               ` Felix
2022-10-07 20:16                 ` Stefan Kangas
2022-09-14 23:25       ` Sean Whitton
2022-09-14 13:50 ` bug#57781: wbg " Felix
2022-09-14 16:27   ` Stefan Kangas
2022-09-14 20:01     ` Felix
2022-09-14 23:06       ` Stefan Kangas

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CADwFkmk7nfKFwj=-J+dwmcRVcMDQT10xR5Rg8pnWhKfn7Vj_gw@mail.gmail.com' \
    --to=stefankangas@gmail.com \
    --cc=57781@debbugs.gnu.org \
    --cc=felix.dick@web.de \
    --cc=spwhitton@spwhitton.name \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).