hamster icon indicating copy to clipboard operation
hamster copied to clipboard

Lock the screen when no activity is set

Open tbabej opened this issue 11 years ago • 12 comments

This forces the user to always have some activity set, if he wants to work on the workstation.

tbabej avatar Oct 19 '13 17:10 tbabej

I should also say that this is configurable behaviour via the GUI, that is turned off by default.

tbabej avatar Dec 11 '13 15:12 tbabej

No plans to merge this request? I use it everyday, and it might be quite useful to others as well.

tbabej avatar Apr 05 '14 12:04 tbabej

Hi there, please rebase on master and I'll take a look!

toupeira avatar Sep 05 '14 18:09 toupeira

Done!

tbabej avatar Sep 05 '14 18:09 tbabej

I get the following exception when trying to open the preferences:

Traceback (most recent call last):
  File "/home/mak/src/hamster/src/hamster/overview.py", line 492, in on_prefs_clicked
    dialogs.prefs.show(self)
  File "/home/mak/src/hamster/src/hamster/lib/configuration.py", line 149, in show
    dialog = self.get_dialog_class()(parent, **kwargs)
  File "/home/mak/src/hamster/src/hamster/preferences.py", line 161, in __init__
    self.load_config()
  File "/home/mak/src/hamster/src/hamster/preferences.py", line 210, in load_config
    self.get_widget("workspace_tracking_name").set_active("name" in conf.get("workspace_tracking"))
AttributeError: 'NoneType' object has no attribute 'set_active'

toupeira avatar Sep 10 '14 07:09 toupeira

Thank you for your feedback, it is much appreciated.

Project hamster and its various sub-components is currently undergoing some major changes. We prepare the introduction of a rewritten codebase for most of the underlying functionality. A direct consequence of this is that it is unlikely that any open/new bugs within the current/old codebase will be fixed (unless someone steps up and offers to do so) as most resources currently available will be invested in making the rewrite prime time ready.

If you are still interested in working on the new codebase (repositories: hamster-lib/cli/gtk/dbus) we would be most thrilled. Please feel free to either open a new issue with the relevant repository and/or join the discussion on the mailinglist. For more context please see our website.

Thanks for your interest and support! Eric.

elbenfreund avatar Jul 06 '16 17:07 elbenfreund

@elbenfreund the website link is broken, you forgot the http:// ;-)

toupeira avatar Jul 06 '16 17:07 toupeira

Thank you! :)

Are you sure you don't want to stick around and take care of the extension or such?

elbenfreund avatar Jul 06 '16 19:07 elbenfreund

Well I just noticed this because I was still subscribed to the issue ;-) And the truth is I barely touched that code and am not very familiar with Gnome Shell internals... you can add me back to the Developers team if you want, I only left the whole organization because it seemed that's the only way to remove my Owner status. But I'm also fine with just submitting PRs if I run into something :)

toupeira avatar Jul 06 '16 19:07 toupeira

Considering #470, #493 and #494, this PR should probably be closed.

GeraldJansen avatar Mar 04 '20 14:03 GeraldJansen

Considering #470, #493 and #494, this PR should probably be closed.

Yes. More importantly, we'd need to clarify if we actually want this feature. The way it's currently implemented I suggest to reject it. I, personally, would totally hate to be locked out automatically, just because I'd forgotten to set an activity. OK, it's disabled by default. But even then, at least I'd require a few warning notifications before actually locking the screen. IMO the "no activity" notification is absolutely sufficient to remind people of setting an activity.

mwilck avatar Mar 04 '20 16:03 mwilck

W00ps, i was a little overzealous in cleanup @ederag's comment. Turns out it still relevant, since there is a "Pending check" for CLA that can probably never realized. Here's the deleted comment:

There will never be any CLA on this code. Please disregard the wrong checks (#589).

Sorry for the noise.

matthijskooijman avatar Apr 28 '20 13:04 matthijskooijman