You are not logged in.

#1 2013-11-11 19:39:49

Speranskiy
Member
From: Moscow
Registered: 2013-11-10
Posts: 52

Skype vs Gnome autosuspend

Ok. I've found the cause of autosuspend doesn't work. And now I want to disable it damn autosuspend! Not at all just when I'm talking via skype. Cannonical has found the metod to inhibit gnome to suspend while skyping so it's possible but how?? Really they runs daemon to watch is skype conversation is open or not?? I think there is more neat way? Do you know it?

Last edited by Speranskiy (2013-11-12 03:26:16)

Offline

#2 2013-11-11 19:53:05

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,546
Website

Re: Skype vs Gnome autosuspend

Is that link supposed to go somewhere?  It doesn't.

What does skype have to do with this?  Do you want to disable autosuspend while skype is running (as your title implies) or do you want to just disable autosuspend all together (as your text suggests)?

If you just want to disable the suspend, a quick google gave me this:

gsettings set org.gnome.desktop.screensaver idle-activation-enabled false

"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#3 2013-11-12 03:35:04

Speranskiy
Member
From: Moscow
Registered: 2013-11-10
Posts: 52

Re: Skype vs Gnome autosuspend

Sorry for misling you. English is not my native language. I think this sentence is wrong:

Not at all just when I'm talking via skype

I mean "I want to disable suspend not fully just when I'm talking via skype." So it's very simply to switch off suspend completly I need to do that only when skype's conversation window is opened.

I fixed the link.

Last edited by Speranskiy (2013-11-12 03:36:10)

Offline

#4 2013-11-12 03:45:12

progandy
Member
Registered: 2012-05-17
Posts: 5,322

Re: Skype vs Gnome autosuspend

Maybe run a daemon that detects skype conversation windows and then runs "xdg-screensaver suspend WindowID".


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' | alias ENGLISH='LANG=C.UTF-8 ' |

Offline

#5 2013-11-12 05:04:17

Speranskiy
Member
From: Moscow
Registered: 2013-11-10
Posts: 52

Re: Skype vs Gnome autosuspend

I think, that skype conversation window doesn't have it's own window ID, so more neat way to do this- watch into cpu usage. I've found such script on opensuse forum, because it's... I don't know how to say it in English in Russian we call such metods "the crutch"- to add alien scripts or daemons to do WM's or something's work. So I added cofein gnome extension I think it's little bit less "crutch" then separate daemon though not nice solution too, because it does it's work not exactly I want.

Offline

Board footer

Powered by FluxBB