Giter Site home page Giter Site logo

Comments (8)

k1gen avatar k1gen commented on July 3, 2024 1

@fabiscafe:

$ loginctl
SESSION  UID USER SEAT  TTY  STATE  IDLE SINCE
      3 1000 olk  seat0 tty2 active no        

1 sessions listed.
$ loginctl session-status
3 - olk (1000)
           Since: Mon 2023-11-06 16:00:17 CET; 1min 32s ago
          Leader: 1502 (gdm-session-wor)
            Seat: seat0; vc2
             TTY: tty2
         Service: gdm-password; type wayland; class user
           State: active
            Idle: no
            Unit: session-3.scope
                  ├─1502 "gdm-session-worker [pam/gdm-password]"
                  ├─1664 /usr/lib/gdm-wayland-session /usr/bin/gnome-session
                  └─1669 /usr/lib/gnome-session-binary

Nov 06 16:00:18 think systemd[1]: Started Session 3 of User olk.

from bleachbit.

fabiscafe avatar fabiscafe commented on July 3, 2024

This function

https://github.com/bleachbit/bleachbit/blob/master/bleachbit/Unix.py#L729-L732

Only tries to catch the output of loginctl, the sessions part. I guess you're not using logind as sessionlauncher for some reason.

So the output of

loginctl

and

loginctl session-status

Would be good to know.

from bleachbit.

az0 avatar az0 commented on July 3, 2024

See also https://github.com/bleachbit/bleachbit/pull/1577/files

from bleachbit.

k1gen avatar k1gen commented on July 3, 2024

so I should wait until 5.0 is released or there will be a backport?

from bleachbit.

az0 avatar az0 commented on July 3, 2024

I'm considering doing a 4.6.2 stable release with this and a DLL fix for Microsoft Windows, but I'd like to take a closer look at this before merging.

from bleachbit.

az0 avatar az0 commented on July 3, 2024

I commited a change to help: 0e710eb . I'm considering a follow-up change to handle another scenario, so you can either test now or when that is ready.

from bleachbit.

az0 avatar az0 commented on July 3, 2024

If you are able to test, try 15f8b0f

from bleachbit.

k1gen avatar k1gen commented on July 3, 2024

@az0 tested on Arch, Gnome 45.1, on cfbeb78 everything works fine

from bleachbit.

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.