Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unplayable on small screens #2044

Closed
fenhl opened this issue Jul 2, 2016 · 7 comments
Closed

Unplayable on small screens #2044

fenhl opened this issue Jul 2, 2016 · 7 comments
Labels

Comments

@fenhl
Copy link
Member

fenhl commented Jul 2, 2016

I want to play XMage on a display with a logical resolution of 1152×720, so I scaled everything down to the minimum in the GUI Size preferences, but the scrollbar below my hand is still not shown. It is not possible to resize the window vertically, and trying to resize horizontally immediately increases the vertical size so that part of the window is offscreen or hidden by the OS X Dock. Switching to fullscreen mode results in a similar effect.

@drmDev
Copy link
Contributor

drmDev commented Jul 2, 2016

Add a screenshot for a visual reference of what you're seeing

@drmDev drmDev added the GUI label Jul 2, 2016
@fenhl
Copy link
Member Author

fenhl commented Jul 2, 2016

@LevelX2
Copy link
Contributor

LevelX2 commented Jul 2, 2016

small
Should look like this.

@ochilly
Copy link

ochilly commented Jul 5, 2016

I have the same issue. I am running Ubuntu 16.04 64-bit on a resolution of 1366x768.
I cannot scale vertically so I have to move the window so it cuts off the top menu instead of the bottom area.

@AdamEternal
Copy link

Same problem, also using Ubuntu 16.04. 32-bit. Resolution: 1280 x 800. Also can not scale vertically, but I can scale horizontally. I do have two Xubuntu panals though, one on top and one on bottom, and moving one panal gives enough room. I'll have to reconfigure my layout just for this application until this issue is fixed.

@pyested
Copy link

pyested commented Nov 27, 2017

Here is a provisional solution. I'm running xmage in Ubuntu 16.04 64bit with a resolution of 1366x768, as @ochilly. I've tried to scale the output resolution so xmage doesn't cut at the bottom of the window. First, you need to know the port that your monitor is currently using. In the terminal run:

xrandr --query | grep connected

Obtaining the next output in my computer:

VGA-0 disconnected (normal left inverted right x axis y axis)
LVDS-0 connected primary 1366x768+0+0 (normal left inverted right x axis y axis) 353mm x 198mm
HDMI-0 disconnected (normal left inverted right x axis y axis)

As you see, LVDS-0 is the unique port showing a status of 'connected'. Knowing this, now run:

xrandr --output LVDS-0 --scale 1.10x1.10

You have to change LVDS-0 with the name of your port. By try and error, a scale of 1.10x1.10 leads to the desired result. The problem of this solution is that you need to run the above command every time you start Ubuntu. If you want to apply this scale automatically when you start Ubuntu, you have to modify your xprofile file by running:

sudo gedit ~/.xprofile

The above command opens your xprofile file. There you must write xrandr --output LVDS-0 --scale 1.10x1.10, and save it. This will scale the output resolution next time you start Ubuntu, and so on.

In my case (again), applying the scale makes the output of the monitor seem a little bit dim, and I don't really like it. Therefore I've decided to write a sh script and run it only when needed (of course, before playing xmage).

I'm not a professional Ubuntu user/programmer, but after reading a lot of stuff doing with the issue this is the only solution that actually works for me.

Hope this is helpful for you!

@Zerrisx
Copy link

Zerrisx commented May 26, 2020

Duplicate of #6081

Marking this as the duplicate, since the more recent one seems to have developer work being done on it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

7 participants