-
Notifications
You must be signed in to change notification settings - Fork 38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Gnome 3.20 Draws over nitrogen #78
Comments
GNOME Shell doesn't provide a root xwin, it draws using FBOs via Mutter. i.e. its not an actual window that one can draw over. I doubt there is anything that Nitrogen can do in this respect, given that it specifically draws over the XWindow. You'd have to use something that provides a root window, typically this is achieved by running a file manager like Nautilus or Nemo, and allowing it to display desktop icons (GNOME Tweak Tool is your friend here) |
Even when running Nautilus Nitrogen does not properly draw over it. I am not as well versed in the land of how desktop wallpapers work as I assume you are, however even when running Nautilus, it provides it's own xwindow instead of using the root 0 window. You can draw over this Nautilus window, but in my opinion it would make more sense to overwrite how Mutter originally does it, or to use gsettings to change the gnome wallpaper. |
gsettings would be the most portable way of doing it, yes. |
This is indeed how it is done in Nitrogen, see SetBG.cc. Typically when these stop working it's because the detection mechanism for finding these fake desktop windows is broken - in the past the class names have changed, or the gsettings keys change, etc... I don't run these environments myself and have a non-existant test-suite for all the possible combinations so I miss when things change. I've just recently learned how to run DEs inside of docker and show them with Xephyr so hopefully this will improve, and I'll look into this specific issue. |
After updating to git master, the wallpaper is currently correctly set via gsettings; Nitrogen crashes with |
Had to add yet another mechanism to detect Mutter and correctly figure out if GNOME is running, but seems to be working with a modern GNOME setup.
While testing this, I discovered that the Tiled option in Nitrogen's dropdown sets the key to |
Hmm, I see a reference to a picture-options mode named |
May have just been my test image. Going to add |
Looks like it's working to set it now for me at least. On clicking apply nitrogen crashes with
however. Also, is there a way to set wallpaper by monitor with the GUI or has that been removed since 1.5.2? |
This still isn't working, I don't get a crash but the wallpaper isn't changed. |
I'll reopen #43. |
Using Gnome-Shell 3.20 gnome draws wallpapers over nitrogen's, with seemingly no way to disable Gnome's wallpapers, even using gnome-tweak-tool or dconf-editor
The text was updated successfully, but these errors were encountered: