From: Felix <felix.dick@web.de>
To: Stefan Kangas <stefankangas@gmail.com>,
Sean Whitton <spwhitton@spwhitton.name>,
57781@debbugs.gnu.org
Subject: bug#57781: missing wallpaper command
Date: Sat, 17 Sep 2022 14:00:49 +0200 [thread overview]
Message-ID: <874jx6tc7w.fsf@web.de> (raw)
In-Reply-To: <CADwFkmk7nfKFwj=-J+dwmcRVcMDQT10xR5Rg8pnWhKfn7Vj_gw@mail.gmail.com>
Stefan Kangas <stefankangas@gmail.com> writes:
> 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?
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.
next prev parent reply other threads:[~2022-09-17 12:00 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
2022-09-17 12:00 ` Felix [this message]
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=874jx6tc7w.fsf@web.de \
--to=felix.dick@web.de \
--cc=57781@debbugs.gnu.org \
--cc=spwhitton@spwhitton.name \
--cc=stefankangas@gmail.com \
/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).