This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Full screen application handling

Tags: None
(comma "," separated)
User avatar
helmet91
Registered Member
Posts
3
Karma
0
OS

Full screen application handling

Sat May 10, 2014 9:24 pm
Hi,

I would like to get to know, how does KDE know if an application runs in full screen mode. Exactly which component is responsible for detecting if an application runs in full screen mode? And is there a method to force this component to recognise certain tasks/applications as they were running in full screen mode?

Under full screen handling, I mean the behaviour when screen saver/lock screen does not activate, and the mouse cursor disappears after a few seconds when not used.
luebking
Karma
0
"Nothing" - such clients ("windows") manipulate the cursor themself and also inhibit screensaver invocation.

If you want to hide the mousecursor, you can use a tool called "unclutter" any you can inhibit screenlockers by calling:

Code: Select all
SL_COOKIE=`qdbus org.freedesktop.ScreenSaver /ScreenSaver Inhibit "By Me" "Cause I am God"`


and uninhibit it by
Code: Select all
qdbus org.freedesktop.ScreenSaver /ScreenSaver UnInhibit $SL_COOKIE


In case you're not experienced in bash: SL_COOKIE is a variable that gets a number assigned, it must not drop out of context (because you eg. run unihibit from a second script/invocation) and in case would have to be stored on disk (in a file)


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], Sogou [Bot], Yahoo [Bot]