7

I'm using elementary OS Freya 0.3.1 and would like to disable compositing while gaming. I'm playing CSGO (Linux port, not Windows version using Wine) and unlike on my Windows 10, it's lagging a lot. I would also like to disable hotcorners while in fullscreen gaming, as it goes into multitasking view randomly.

1

1 Answer 1

1

You can create a script to launch the game that disable hot corners before launching game then enable them back after closing the game.

Example, launch_game.sh:

#!/usr/bin/bash

# Make backup of the settings
dconf dump /org/pantheon/desktop/gala/behavior/ > ~/.hotcorner.dconf

# Disable hot corner (just reset,as they are disabled by default)
dconf reset /org/pantheon/desktop/gala/behavior/hotcorner-topright
dconf reset /org/pantheon/desktop/gala/behavior/hotcorner-topleft
dconf reset /org/pantheon/desktop/gala/behavior/hotcorner-bottomright
dconf reset /org/pantheon/desktop/gala/behavior/hotcorner-bottomleft

# Launch the game
putyourgamecommandhere

# Load back your hot corner settings
dconf load /org/pantheon/desktop/gala/behavior/ < ~/.hotcorner.dconf

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.