-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
documentationImprovements or additions to documentationImprovements or additions to documentation
Description
common issue: using two screens (one touch screen for the arena and one screen running PreyTouch gui) - results in displaying the trials on both screens.
solution: for the app to work properly with two screens
-
map the label of the screen as it is recognized by the system:
DISPLAY=:0 xrandr -q
it will print all the found screen. e.g.:Screen 0: minimum 8 x 8, current 8 x 8, maximum 32767 x 32767 HDMI-0 connected primary (normal left inverted right x axis y axis) 1920x1080 60.00 + 59.94 50.00 1600x900 60.00 1280x1024 75.02 60.02 : : DP-0 disconnected (normal left inverted right x axis y axis) DP-1 disconnected (normal left inverted right x axis y axis) DP-2 disconnected (normal left inverted right x axis y axis) DP-3 disconnected (normal left inverted right x axis y axis) DP-4 connected (normal left inverted right x axis y axis) 1920x1080 60.00 + 59.94 50.00 1600x900 60.00 : : : 720x576 50.00 720x480 59.94 640x480 75.00 59.94 59.93 DP-5 disconnected (normal left inverted right x axis y axis)in the .env file make sure to map the screens correctly. example for the above case:
APP_DISPLAY='DP-4' # the touch screen EXTRA_SCREEN_SETTINGS="--right-of DP-0" # the "main" screen (where you run PreyTouch gui)adjust properly the right-of /left-of, depending on your setup.
Metadata
Metadata
Assignees
Labels
documentationImprovements or additions to documentationImprovements or additions to documentation