Topic: How to switch between Teeworlds and your desktop in Linux [SOLVED]
In Windows you press the Win key or Ctrl+Esc or Ctrl+Alt+Del and you're back to your desktop. Linux desktop environments don't support these tricks, but there are still ways to solve this problem. The following solution works for any application and any desktop environment, but I'm mentioning it here because I've seen quite a few people complain (in the game and recently in the forums) that they have to close the game to use other applications and then start the game again.
Solution: Create a bash script containing the following:
#!/bin/bash
xinit teeworlds %U -- :1 &
And start it from the terminal. Use Ctrl+Alt+F7 to go to your desktop and Ctrl+Alt+F8 to go back to the game.
Warning: I am using Gnome 3 as desktop environment and ran into a big problem with this! After I haven't used my desktop for a while (I was playing), Gnome decided to start my screensaver or to turn off my monitor, but the X server wouldn't let it and this caused Gnome to crash and burn. The solution was to disable both the screen saver and display power saving. The downside is that now I have to turn off my monitor when I leave my computer. The upside is that I can use both my desktop and Teeworlds at the same time!
- florin