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

Configurable GeoClue Timeout #144

Closed
RyanGibb opened this issue Jan 22, 2025 · 1 comment · Fixed by #145
Closed

Configurable GeoClue Timeout #144

RyanGibb opened this issue Jan 22, 2025 · 1 comment · Fixed by #145

Comments

@RyanGibb
Copy link
Contributor

The GeoClue timeout is hardcoded to 1 second (https://github.com/bcyran/timewall/pull/141/files#diff-ad9375f96c9eec1389952c2f1a9c2191b647d25a31079a38ea3b410ee1f6dfd4R26).

When starting timewall on boot, when GeoClue hasn't initialized, timewall will timeout:

Error: Using wallpapers with solar schedule requires your approximate location information. Please enable GeoClue 2 or provide the location manually in the configuration file at /home/ryan/.config/timewall/config.toml.

Caused by:
    0: failed to get location from GeoClue and config
    1: timed out while waiting for location from GeoClue

I think this would be solved by a configurable length GeoClue timeout.

@bcyran bcyran linked a pull request Jan 23, 2025 that will close this issue
@bcyran
Copy link
Owner

bcyran commented Jan 23, 2025

Sure, I actually thought about this when implementing GeoClue but decided to wait until I know it's actually needed.

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

Successfully merging a pull request may close this issue.

2 participants