In continuation of the previous articles (
We save electricity on thin clients ,
Connect two printers to Thinstation and link them to ports ,
Monitor and control Thinstation 5.x ), I’ll continue to share the experience of setting up Thinstation.
With the transition to Thinstation-5, the
problem of “incorrect” screen resolution often arises, although the option
SCREEN_RESOLUTION = *** x *** is defined.
For some reason, this glitch is dragged by developers from version to version, despite my messages in the bug tracker. It is necessary to correct each time manually.
The screen resolution in Thinstation sets
xrandr - an extension of the X server, allowing you to configure the monitor modes. There are many manuals on the Internet on how to work with this extension, but they do not solve this problem, because when you run an application in Thinstation, the settings,
in our case , do not apply.
')
To correct this misunderstanding, you will have to go into the "bowels" of the designer of Thinstation, i.e. we will edit the
packages / base / etc / thinstation.packages file . We find the line in it times:
auto)
After it there is a line
run_command , in front of it add the line
use_xrandr and then look for the line:
window|fullscreen)
below we also add the
use_xrandr line before the
run_command .
For complete happiness, write in
thinstation.conf. *** options (with your screen resolution):
USE_XRANDR=TRUE XRANDR_OPTIONS="-s 1920x1080" SCREEN_RESOLUTION="1920x1080"
We compile the image and after downloading the thin client we get pleasure from the work done.