GoXLR-on-Linux / goxlr-utility

An unofficial GoXLR App replacement for Linux, Windows and MacOS
MIT License
636 stars 36 forks source link

[Feature] More power state actions #79

Closed Sporesirius closed 6 months ago

Sporesirius commented 1 year ago

For example, the ability to switch profiles on sleep or hibernate.

FrostyCoolSlug commented 1 year ago

Managing behaviours based around power management is somewhat outside the general scope of the project, there are too many different ways to handle the behaviour across multiple distributions, and operating systems.

With that having been said, the goxlr-client binary can be used to trigger more advanced behaviours via scripts. For example, I've configured KDE to load different colour profiles when I lock my desktop.

On Lock:
/usr/bin/goxlr-client profiles device load-colours Sleep

On Unlock:
/usr/bin/goxlr-client profiles device load-colours Frosty

Depending on how your OS / Distro handles sleep and hibernate, you should be able to kick off a call to goxlr-client to handle what you need to handle.

FrostyCoolSlug commented 7 months ago

Reopening, this has become a feature of the util scheduled for 1.0.1 release, If you're still following, could you grab the Windows Artifact from this build, and check System -> Power Options.

There are now behavioural options for Sleep and Wake, it would be good if they could be tested :)

Sporesirius commented 7 months ago

Oh nice, unfortunately I don't have a Windows system near me at the moment.

FrostyCoolSlug commented 7 months ago

Ah, whoops, you can grab a Linux build from there as well, it's supported in both :)

It'll probably be released next week if you're happy to wait.

Sporesirius commented 7 months ago

Do you want me to test the Linux build?

FrostyCoolSlug commented 7 months ago

If you could, that would be great :)

Thanks.

FrostyCoolSlug commented 6 months ago

This was added into the 1.0.1 release, so I'll close this as complete.