-
 KDE-Apps.org Applications for the KDE-Desktop 
 GTK-Apps.org Applications using the GTK Toolkit 
 GnomeFiles.org Applications for GNOME 
 MeeGo-Central.org Applications for MeeGo 
 CLI-Apps.org Command Line Applications 
 Qt-Apps.org Free Qt Applications 
 Qt-Prop.org Proprietary Qt Applications 
 Maemo-Apps.org Applications for the Maemo Plattform 
 Java-Apps.org Free Java Applications 
 eyeOS-Apps.org Free eyeOS Applications 
 Wine-Apps.org Wine Applications 
 Server-Apps.org Server Applications 
 apps.ownCloud.com ownCloud Applications 
--
-
 KDE-Look.org Artwork for the KDE-Desktop 
 GNOME-Look.org Artwork for the GNOME-Desktop 
 Xfce-Look.org Artwork for the Xfce-Desktop 
 Box-Look.org Artwork for your Windowmanager 
 E17-Stuff.org Artwork for Enlightenment 
 Beryl-Themes.org Artwork for the Beryl Windowmanager 
 Compiz-Themes.org Artwork for the Compiz Windowmanager 
 EDE-Look.org Themes for your EDE Desktop 
--
-
 Debian-Art.org Stuff for Debian 
 Gentoo-Art.org Artwork for Gentoo Linux 
 SUSE-Art.org Artwork for openSUSE 
 Ubuntu-Art.org Artwork for Ubuntu 
 Kubuntu-Art.org Artwork for Kubuntu 
 LinuxMint-Art.org Artwork for Linux Mint 
 Arch-Stuff.org Art And Stuff for Arch Linux 
 Frugalware-Art.org Themes for Frugalware 
 Fedora-Art.org Artwork for Fedora Linux 
 Mandriva-Art.org Artwork for Mandriva Linux 
--
-
 KDE-Files.org Files for KDE Applications 
 OpenTemplate.org Documents for OpenOffice.org
 GIMPStuff.org Files for GIMP
 InkscapeStuff.org Files for Inkscape
 ScribusStuff.org Files for Scribus
 BlenderStuff.org Textures and Objects for Blender
 VLC-Addons.org Themes and Extensions for VLC
--
-
 KDE-Help.org Support for your KDE Desktop 
 GNOME-Help.org Support for your GNOME Desktop 
 Xfce-Help.org Support for your Xfce Desktop 
--
openDesktop.orgopenDesktop.org:   Applications   Artwork   Linux Distributions   Documents    LinuxDaily.com    Linux42.org    OpenSkillz.com   
 
Artwork
News
Groups
Knowledge
Events
Forum
People
Jobs
Register
Login



Sponsoring


-
- Content .- Fans  . 

GameMode

   0.1  

KWin Scripts

Score 53%
Minimum required   KDE 4.x
Downloads:  90
Submitted:  Jan 29 2013

Description:

Simple scriplet which makes a definable list of windows block the compositor when they move into fullscreen mode (predefined are videoplayer, but it can be extended with games, sw. like celestia or stellarium ;-)

The script does not have a config GUI - i\'m not even sure that\'s supported atm. but after installation you can edit the list in ~/.kde/share/apps/kwin/scripts/gamemode/contents/code/main.js

(afaik atm. you\'ll have to restart \"kwin --replace &\" to effectively update the script)




LicenseGPL
(GameMode)
Send to a friend
Subscribe
Other  Artwork  from thomas12777
Report inappropriate content



-

 XBMC

 
 by bootkiller on: Mar 25 2013
 
Score 50%

Does anyone have any idea on how to make this work with XBMC?


Reply to this

-

 Re: XBMC

 
 by thomas12777 on: Mar 26 2013
 
Score 50%

run xbmc and konsole. in konsole run "xprop | grep CLASS" and click xbmc.

Add the *second* value to GAMES array in ~/.kde/share/apps/kwin/scripts/gamemode/contents/code/main.js

restart kwin ("kwin --replace &" - you could also reload the script but i don't know how out of my mind ;-)


Reply to this

-

 Re: Re: XBMC

 
 by bootkiller on: Mar 27 2013
 
Score 50%

It reports as xbmc.bin, I tried it but doesn't work...


Reply to this

-

 Re: Re: Re: XBMC

 
 by thomas12777 on: Mar 27 2013
 
Score 50%

var runTheShow = function(client, isFullscreen) {
+ print(client.resourceClass.toString());
if (runsTheShow(client)) {
client.blocksCompositing = isFullscreen;
}
};

run "kdebugdialog" and enable 1212 (KWin), then "kwin --replace &" from konsole.

Run XBMC, make it enter FS state.

Whatever is printed out then is the term you want to match.

Please share your findings so i can add it for an updated version of the script ;-)


Reply to this

-

 Re: Re: Re: Re: XBMC

 
 by bootkiller on: Mar 27 2013
 
Score 50%

Still not working, the output is:

kwin(18932) KWin::Client::configureRequest: PERMITTED 'ID: 29360142 ;WMCLASS: "xbmc.bin" : "xbmc.bin" ;Caption: "XBMC Media Center" ' true

I tried adding "XBMC Media Center" to the array, but no luck.


Reply to this

-

 Re: Re: Re: Re: Re: XBMC

 
 by thomas12777 on: Mar 27 2013
 
Score 50%

That output is unrelated.

The window does not seem to enter the fullscreen mode at all (at least the script doesn't print anything in return of the line you hopefully added befre restarting kwin to get this ;-)

If you don't use it w/ an w/o fullscreen mode, just add a window rule to apply always.


Reply to this

-

 Re: Re: Re: Re: Re: XBMC

 
 by thomas12777 on: Mar 28 2013
 
Score 50%

Just a random thought - the script is enabled, is it?
(run "kcmshell4 kwinscripts")


Reply to this

-

 Re: Re: Re: Re: Re: Re: XBMC

 
 by bootkiller on: Mar 28 2013
 
Score 50%

Yes and it is working perfectly with games, hl_linux and hl2_linux work like a charm for Valve games.



-

 Re: Re: Re: Re: Re: XBMC

 
 by thomas12777 on: Mar 28 2013
 
Score 50%

Sounds like XBMC doesn't support _NET_WM_STATE_FULLSCREEN?

Try:
kwriteconfig --file kwinrc --group Windows --key LegacyFullscreenSupport true
kwin --replace &

This will detect "screensize borderelss window is fullscreen"
Be aware that this will eg. break the plasma-netbook shell


Reply to this

-

 Re: Re: Re: Re: Re: Re: XBMC

 
 by bootkiller on: Mar 28 2013
 
Score 50%

I blocked composition for it until a better solution comes around.



Add commentBack






-

-
Do you like or dislike Ubuntu Unity?
 Yes, unity is alien technology!
 It is less confusing than Gnome 3 default, shell.
 Granny thinks it is much more usable than Gnome 2
 Canonical is embarrasing itself with this split project
 Gnome 3 default shell is much better
 I dislike Unity, Gnome 3 default shell is alien technology!
 None of the above, I like the 2Gb for free and Apple alike behavior. Will post a comment instead

resultmore




 
 
 Who we are
Contact
More about us
Frequently Asked Questions
Register
Twitter
Blog
Explore
Artwork
Jobs
Knowledge
Events
People
Updates on identi.ca
Updates on Twitter
Facebook App
Content RSS   
News RSS   
Discussion RSS   
Events RSS   

Participate
Groups
Forum
Add Artwork
Public API
About KDE-Look.org
Legal Notice
Spreadshirt Shop
CafePress Shop
Advertising
Sponsor us
Report Abuse
 

Copyright 2001-2014 KDE-Look.org Team  
All rights reserved. KDE-Look.org is not liable for any content or goods on this site.
All contributors are responsible for the lawfulness of their uploads.
KDE and K Desktop Environment are trademarks of KDE e.V.