PlaneShift
Support => Linux Specific Issues => Topic started by: LigH on May 27, 2011, 10:19:12 am
-
I know that it is not recommendable to play PlaneShift with "Fullscreen mode" enabled. I don't like it anyway. So I set up a window resolution instead which nearly fills the screen but has enough space left around it (e.g. 1680x1050 for the game window on a 1920x1200 desktop).
Unfortunately, the game starts in "Maximised window" mode, still filling the desktop up, but leaving black borders at the right and bottom edges. I always have to click the "restore" button in the Gnome top bar. How can I make it start centered, like the Windows client does?
Running version 0.5.6 on Ubuntu 11.04 in either 32 or 64 bit (matching to both Ubuntu versions installed) with Unity desktop enabled.
-
Get rid of "let's downgrade a real computer to a cellphone"-unity.
Okay, I guess not what you wanted to hear..so in short the problem. Unity automatically maximizes windows that take more than 75% of the screen. In your case with a 1920x1200 resolution 1680x1050 are about 77% of the screen size...so unity maximizes it. As it is only slightly above 75% one way might be to lower the resolution of PS a bit. Turning off that crappy feature of unity seems to be more of a problem...sorry all I could find on it is this:
- http://askubuntu.com/questions/39489/is-there-a-way-to-turn-off-auto-maximize (http://askubuntu.com/questions/39489/is-there-a-way-to-turn-off-auto-maximize)
- http://ubuntuforums.org/showthread.php?t=1746241 (http://ubuntuforums.org/showthread.php?t=1746241)
Doesn't really sound very promising.
So I am back to my initial statement...get rid of unity (and maybe ubuntu as well...I heard of people switching from windows to archlinux in half a year with only a very short interlude of Ubuntu ;) ).
-
No, I don't mind turning off Unity. I can cope with Gnome Classic very well.
Let's see if I can find where that has to be set up.
-
You can choose your windowmanager (in your case Gnome Classic or Unity) before you log in.
-
Firstly I usually run in fullscreen anyway, but I don't use the desktop resolution for that (game runs too slow in such case). So I run in fullscreen in lower resolution. However the client simply crashes when one attempts to do it without any prior steps. What I had to do, is to make a script which calls xrandr to set screen resolution to match the configured in the game and restores it back afterwards. After that the game runs nicely.
Something like this (numbers correspond to configured resolution modes, and can be different in different cases):
xrandr -s 11
/opt/Games/PlaneShift/psclient
xrandr -s 0
-
Btw, if you are switching away from Unity, consider using KDE also.
-
Btw, if you are switching away from Unity, consider using KDE also.
Especially if you like Fisher Price desktop managers.
If you're older than two, perhaps try something better like XFCE.
-
XFCE is good. Talking about Fisher Price - Gnome 3 is even worse in that sense. KDE at least is flexible enough to adjust it as needed.