Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

longer timers #296

Closed
boyska opened this issue Sep 13, 2023 · 10 comments · Fixed by #319
Closed

longer timers #296

boyska opened this issue Sep 13, 2023 · 10 comments · Fixed by #319

Comments

@boyska
Copy link

boyska commented Sep 13, 2023

The default timers seems to have very low values. The shortest one is 5 minutes. Now, if I wanted to keep computer awake for 5 more minutes, wasn't it enough to move the mouse?

My usecase for caffeine is listening to music and leaving the computer unattended. In that scenario, what I need is something like 2h caffeine mode, while the longest one is 30 minutes.

Since there is no way to customize the duration, can you at least increase the default timers?

@stuarthayhurst
Copy link
Collaborator

Which version of Caffeine are you running? The version in master has support for customisation:
image

I can't remember if this has made it to a release or not yet, but a new one should be coming out soonish, whenever the GNOME 45 port is merged.

@boyska
Copy link
Author

boyska commented Sep 13, 2023 via email

@stuarthayhurst
Copy link
Collaborator

stuarthayhurst commented Sep 14, 2023

Ah, looking at the merge history, v45 was the first version to allow configuration, currently only Debian testing and unstable have v48.
The latest version of master currently supports GNOME 43 and 44, since you're on Debian stable, this should be supported.

I don't know if it'll get backported, it seems unlikely as it's not a very important package, so you may be better off installing from source, or installing from https://extensions.gnome.org/extension/517/caffeine/ instead.

@boyska
Copy link
Author

boyska commented Sep 14, 2023 via email

@pakaoraki
Copy link
Collaborator

This is the current range timers:

  • 5, 10, 30 minutes
  • 10, 20, 45 minutes
  • 15, 30, 60 minutes
  • 20, 40, 75 minutes
  • 30, 50, 80 minutes

Let me knows if it need adjustment.

@ghost
Copy link

ghost commented Feb 19, 2024

@pakaoraki I'm so sorry to bother you, but I was just wondering, why don't you support custom inputs, for example three input boxes next to each other.

@Ana06
Copy link

Ana06 commented Feb 27, 2024

I would like to have even a higher range timer. Some use cases:

  • When using two computers and I want to see the status of a task that takes long to execute in the other
  • When I want to execute a very long task over night while I sleep

An extra range timer with 30 minutes, 2 hours, 8 hours would fit this needs.

I also like the idea of custom inputs. In that case, I think it would be nice to show any multiple of 30 higher or equal than 60 in hours in the menu (example: 20 minutes , 30 minutes, 1 hour, 80 minutes, 1.5 hours, 4 hours, 260 minutes, 5.5 hours, 365 minutes).

In general, it would also be nice to display times as HH:MM:SS (instead of the current MM:SS) for times longer than an hour. Examples: 2:32, 12:32, 1:12:32, 11:12:32.

@pakaoraki
Copy link
Collaborator

I will propose a revamp with custom values:

Screenshot from 2024-03-05 23-05-36 resized

@stuarthayhurst
Copy link
Collaborator

I will propose a revamp with custom values:

Screenshot from 2024-03-05 23-05-36 resized

Ooh looks good, I'd be happy to review that if you submit a PR

@pakaoraki
Copy link
Collaborator

I'll try to PR this soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants