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

termainal support #148

Closed
jerseyweeds opened this issue Jan 5, 2020 · 4 comments · Fixed by #207
Closed

termainal support #148

jerseyweeds opened this issue Jan 5, 2020 · 4 comments · Fixed by #207

Comments

@jerseyweeds
Copy link

is caffine able to be toggled from a terminal command?

@thomascrha
Copy link

Currently I'm not sure its possible - but I could be wrong as I'm still learning how gnome-extensions.

You can generally do this by using dconf/gconf or gsettings - or variety of other tools. The issue is, at least on my system there is no schema defined for this extension so the settings can't be controlled via the gsettings/dconf route. Just to show you what the command would look like - at least to get the settings not set them (this won't work as no schema is defined)

gsettings get org.gnome.shell.caffeine user-enabled

I'll have a look at how difficult this would be todo.

@jerseyweeds
Copy link
Author

jerseyweeds commented Jan 6, 2020 via email

@ckotte
Copy link
Contributor

ckotte commented Oct 13, 2020

Why not just use gnome-session-inhibit?

@vijay-prema
Copy link

Did anyone figure out a way to do it? This would be very useful and will solve a lot of issues like making a hotkey to toggle, changing caffeine setting based on some event or script etc.

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.

4 participants