Giter Site home page Giter Site logo

Comments (4)

NoiSek avatar NoiSek commented on July 17, 2024

When Variety syncs the current background to a directory, are you saying that it keeps concurrent copies of the current background for each user or that it switches only after the active user has changed?

If Variety can keep the background synced to the theme directory (manually configured per user), this is technically doable, but if the above isn't the case I'm a little hesitant to add a feature that requires manual configuration and wouldn't fully work as expected.

from aether.

Tank-Missile avatar Tank-Missile commented on July 17, 2024

Variety will copy the background to a public folder and change its permissions to make it readable by all. After switching to another background, it will delete the last one from the folder. Now, you would think this means only the current background is kept in the folder, but unfortunately this is not the case. It keeps the last and current background in the folder (might be a bug). Each user can configure variety to copy the background to a different location.

What I'm proposing could benefit all webkit2 greeters, so I might make a request upstream. The problem is not every desktop environment uses gsettings/xfconf. Cross-desktop functionality is important! AccountsService may come in handy for the job.

from aether.

NoiSek avatar NoiSek commented on July 17, 2024

I think this could be a useful feature, but I'm still iffy on supporting a feature like this until it would be easier for both me as the developer to implement and users as a whole to configure. Couple of potential pitfalls here, and I'm not a fan of unpredictable behavior.

The last and current wallpaper both being saved there is probably to support crossfading, also.

Deferring this one until there's either upstream support or significantly more interest in this feature.

from aether.

JezerM avatar JezerM commented on July 17, 2024

Actually, this is possible, but not the most convenient thing to have. LightDM GTK+ Greeter does something similar, accessing to the background property each LightDMUser object has. But as far as I've seen, this property is only available when using a complete Desktop Environment like Ubuntu, XFCE, KDE, etc. However, when using something else, like a simple Window Manager, this property won't be available. I guess this is because of gconf or something similar.

Furthermore, I've seen LightDM can surpass the "no access to home" limitation with the user background property, so I guess it won't be a problem to set a home-image as the wallpaper and access it from LightDM. (Maybe I'm misremembering this)

Anyway, it could be easily implemented with user.background, checking if it's not an empty string to set the background, if else then go with the default theme behavior.

from aether.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.