Giter Site home page Giter Site logo

buddiesofbudgie / budgie-session Goto Github PK

View Code? Open in Web Editor NEW
5.0 4.0 2.0 19.33 MB

Budgie Session is a softish fork of gnome-session, designed to provide a stable session manager for Budgie 10.x

License: GNU General Public License v2.0

Meson 2.36% C 97.43% Shell 0.16% Python 0.05%

budgie-session's Introduction

Budgie Session

Budgie Session is a softish fork of gnome-session, designed to provide a stable session manager for Budgie 10.x

budgie-session's People

Contributors

vuntz avatar halfline avatar jberkman avatar hadess avatar cgwalters avatar piotrdrag avatar pwithnall avatar cosimoc avatar dmustieles avatar kelemeng avatar changwoo avatar yarons avatar frandieguez avatar pesder avatar iainlane avatar yeager avatar aurisc4 avatar claudep avatar tmtfx avatar mirosnik1 avatar khaledhosny avatar dankor avatar ookull avatar magcius avatar dooteo avatar alshopov avatar crayxt avatar nilamdyuti avatar alexlarsson avatar prescott66 avatar

Stargazers

Himadri Sekhar Basu avatar  avatar Oliver Kopp avatar Campbell Jones avatar Federico Damián Schonborn avatar

Watchers

David Mohammed avatar Evan Maddock avatar  avatar  avatar

budgie-session's Issues

[Request/Bug] Don't drop inhibitors/delays from systemd-inhibit on the system bus

budgie-session version

0.9.1

Use-cases

systemd provides an inhibitors/delays on the system bus that can prevent the pc from shutting down/going to sleep etc.

Since 2012 gnome-session purposely doesn't respect these inhibitors and only listens exclusively to inhibitors from gnome-session-inhibit on the session bus.

This is annoying to applications which use the general purpose inhibit API to set inhibitors which are not then respected.

There may be additional nastiness to untangle here as gnome sets it's own inhibitors on the system bus that then block shutdown/sleep when systemd inhibitors are no longer dropped.

$ systemd-inhibit --list
...
GNOME Shell    1000 ninya 1471 gnome-shell    sleep                                                    GNOME needs to lock the screen            delay
ninya          1000 ninya 1700 gsd-media-keys handle-power-key:handle-suspend-key:handle-hibernate-key GNOME handling keypresses                 block
ninya          1000 ninya 1700 gsd-media-keys sleep                                                    GNOME handling keypresses                 delay
ninya          1000 ninya 1704 gsd-power      sleep                                                    GNOME needs to lock the screen            delay

Proposal

Respect systemd inhibitors on the system bus in addition to those from the gnome-session-inhibit API.

References

https://www.freedesktop.org/wiki/Software/systemd/inhibit/

https://gitlab.gnome.org/GNOME/gnome-session/-/issues/110

https://github.com/BuddiesOfBudgie/budgie-session/blob/v0.9.1/gnome-session/gsm-systemd.c#L79

https://github.com/BuddiesOfBudgie/budgie-session/blob/v0.9.1/gnome-session/gsm-systemd.c#L89

https://gitlab.gnome.org/GNOME/gnome-session/-/commit/c1d0790459b8d277fbde135b1653df84b79d5f22

https://manpages.org/gnome-session-inhibit

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.