eonpatapon / gnome-shell-extension-caffeine

Disable screensaver and auto suspend
GNU General Public License v2.0
588 stars 108 forks source link

Feature Request: Allow Screen Blanking except for a specific application #306

Open Hyperspeed1313 opened 1 year ago

Hyperspeed1313 commented 1 year ago

For most of my use cases, I'll want to allow the screen to blank, but I have a program I connect to over winapps that will go completely black and be unusable following resume if the screen is allowed to blank. There's currently no way to allow blanking except for that one app. I have to disallow blanking entirely to avoid this issue.

Ideally, what I'm looking for that "Allow screen blank" on the General tab would get another option "Except for apps on list", then in the Apps list, each app would have a toggle to either allow or disallow screen blanking individually. When "Except for apps on list" is selected, only apps on the list which forbid screen blanking would prevent blanking. Similarly, "For apps on list" would do the same behavior, only allowing blanking when automatically activated by an app on the list that allows blanking.

pakaoraki commented 1 year ago

Except for apps on list - If Caffeine is manually or automatically activated and no apps in the list which disallow screen blanking meet the trigger mode, the screen will blank.

If it's not adding much code/complexity to the extension, it's something that I could add. I will think about it.