![[personal profile]](https://www.dreamwidth.org/img/silk/identity/user.png)
It would be rather useful if there was a
I wonder how best we could do per-user settings, though.
My idea is to prevent launching the program during those hours. What would happen if the system saw the program was still running when the time had expired, I'm not sure. Maybe nothing, or maybe it would put up a notification telling me I have five minutes to quit or the process gets it.
I know nanny does some of this, but I wonder whether it's generally something that should exist in application launchers.
What do you think? Worth suggesting to them?
PermittedHours
field in the .desktop file spec. It would list the hours during which the program could be run. That's not just for kids, it's also for me, in the manner of LeechBlock:[Desktop Entry]
Version=1.0
Type=Application
Name=Some Program I Use For Work
Comment=But let's say I don't want to be tempted to spend all evening working on it
Exec=foo
PermittedHours=9-17
[Desktop Entry]
Version=1.0
Type=Application
Name=Aisleriot
Comment=And I definitely shouldn't be playing this during work hours
Exec=aisleriot
PermittedHours=0-9,17-23
I wonder how best we could do per-user settings, though.
My idea is to prevent launching the program during those hours. What would happen if the system saw the program was still running when the time had expired, I'm not sure. Maybe nothing, or maybe it would put up a notification telling me I have five minutes to quit or the process gets it.
I know nanny does some of this, but I wonder whether it's generally something that should exist in application launchers.
What do you think? Worth suggesting to them?
does it make sense in the .desktop file?
Date: 2011-01-28 08:45 pm (UTC)What I was idly thinking of was a GNOME 3 shell extension - that would allow a lot of flexibility - it could allow the program to be running but just not allow switching to it, etc. And it could just read config for the user that would refer to application ID (that is, the name of the desktop file).
- Owen
Re: does it make sense in the .desktop file?
Date: 2011-01-28 09:03 pm (UTC)*goes off and thinks about it*
no subject
Date: 2011-01-29 02:38 am (UTC)1. What with irregular schedule? Teachers, students etc. would have to do it per day rather then per hour.
2. What with holidays, weekends, illnesses?
3. People usually don't play and work in the same place - even if you have laptop they usually commute.
no subject
Date: 2011-01-29 03:27 pm (UTC)(Though I'm not sure, off the top of my head, where would be.)
What is the implementation of this idea that is sufficiently flexible for a thousand special cases but has the absolute minimum imposition of requirements on the system underneath?
The launcher should ask the calendar
Date: 2011-01-30 05:39 am (UTC)The case of a work-specific application or work inbox requires configuration. You need to choose the name of the app and the work account, and similar behaviour can apply.
no subject
Date: 2011-02-21 04:57 pm (UTC)ZcUIJDoCBPsN
Date: 2011-09-29 10:02 pm (UTC)