little_brother icon indicating copy to clipboard operation
little_brother copied to clipboard

We need an option LOGOUT or SWITCH ACCOUNT

Open dgofman opened this issue 6 years ago • 3 comments

Currently LittleBrother automatically LogOut user after time expiration. Unfortunately, in that case all open windows and apps will be closed. I will suggest from the configuration file enable an option change Log-Out to Switch User command. At least after login my son will be able to continue his school assignments.

dgofman avatar Mar 25 '20 03:03 dgofman

That's a very good idea! However, this will require a substantially different approach to control the processes. I will keep this in mind.

marcus67 avatar Mar 25 '20 08:03 marcus67

I looked into this a little bit. One way to trigger the switch session functionality is to use d-bus. And, in fact there is a Python d-bus library (see https://dbus.freedesktop.org/doc/dbus-python/). However, this raises the question of how to measure the active time of a user since switching sessions leaves all processes active. For LittleBrother would still be logged in. I need to do more research.

marcus67 avatar May 16 '20 09:05 marcus67

Yes, that would be very welcome feature.

vaidls avatar Nov 24 '21 18:11 vaidls