Author Topic: Ubuntu 11: Semi-fullscreen not wanted  (Read 1723 times)

LigH

  • Forum Legend
  • *
  • Posts: 7096
    • View Profile
Ubuntu 11: Semi-fullscreen not wanted
« 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.

Gag Harmond
Knight and Ambassador
The Royal House of Purrty

Aiwendil3

  • Guest
Re: Ubuntu 11: Semi-fullscreen not wanted
« Reply #1 on: May 27, 2011, 11:57:56 am »
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:
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 ;) ).

LigH

  • Forum Legend
  • *
  • Posts: 7096
    • View Profile
Re: Ubuntu 11: Semi-fullscreen not wanted
« Reply #2 on: May 27, 2011, 03:24:16 pm »
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.

Gag Harmond
Knight and Ambassador
The Royal House of Purrty

Jilata

  • Hydlaa Citizen
  • *
  • Posts: 269
    • View Profile
Re: Ubuntu 11: Semi-fullscreen not wanted
« Reply #3 on: May 27, 2011, 04:14:12 pm »
You can choose your windowmanager (in your case Gnome Classic or Unity) before you log in.

Gilrond

  • Hydlaa Notable
  • *
  • Posts: 764
    • View Profile
Re: Ubuntu 11: Semi-fullscreen not wanted
« Reply #4 on: May 27, 2011, 07:55:32 pm »
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):

Code: [Select]
xrandr -s 11
/opt/Games/PlaneShift/psclient
xrandr -s 0
« Last Edit: May 27, 2011, 08:01:01 pm by Gilrond »

Gilrond

  • Hydlaa Notable
  • *
  • Posts: 764
    • View Profile
Re: Ubuntu 11: Semi-fullscreen not wanted
« Reply #5 on: May 27, 2011, 07:57:26 pm »
Btw, if you are switching away from Unity, consider using KDE also.

Ebonwumon

  • Hydlaa Resident
  • *
  • Posts: 89
  • lol b&
    • View Profile
    • DEPOT WAREHOUSE!
Re: Ubuntu 11: Semi-fullscreen not wanted
« Reply #6 on: May 28, 2011, 12:18:26 am »
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.


I am most certainly NOT the one known as Perriwinkle or Overtherainbow

Gilrond

  • Hydlaa Notable
  • *
  • Posts: 764
    • View Profile
Re: Ubuntu 11: Semi-fullscreen not wanted
« Reply #7 on: May 28, 2011, 12:21:26 am »
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.