Open galaxy001 opened 5 years ago
Each instance uses the same environment variables defined for your system. Is QT_SCREEN_SCALE_FACTORS properly set in your system? Does it only affect megasync and not megasync-instances? Please provide a screenshot showing the difference between running Mega with and without my script.
Manjaro Linux, KDE Plasma
QT_SCREEN_SCALE_FACTORS=1 megasync
megasync
With megasync-instances
$ xrandr
Screen 0: minimum 8 x 8, current 3840 x 2160, maximum 32767 x 32767
eDP1 connected primary 3840x2160+0+0 (normal left inverted right x axis y axis) 340mm x 190mm
3840x2160 60.00*+ 59.97
3200x1800 59.96 60.00 59.94
2880x1620 60.00 59.96 59.97
It seems like QT_SCREEN_SCALE_FACTORS is not set in your environment variables. You should either add it to your environment variables or try to execute my script as "QT_SCREEN_SCALE_FACTORS=1 megasync-instances"
Qt: Session management error: None of the authentication protocols specified are supported Setting QT_SCREEN_SCALE_FACTORS= "DisplayPort-0=1;DisplayPort-1=1;DisplayPort-2=1;DisplayPort-3=1;DisplayPort-4=1" Qt: Session management error: None of the authentication protocols specified are supported This tool has been deprecated, use 'gio set' instead. See 'gio help set' for more info.
Got the above error on Ubuntu 18.04 x64 and 5 displays. "MEGA-Instances is not configured. Will now start the configuration." freezes and does not further proceed after the first instance.
@sequiconsulting you have to close each instance after its configuration is done (right click on MEGA icon -> Exit)
I find MEGAsync will be twice large on HiDPI screen with QT_SCREEN_SCALE_FACTORS=2.
It can be fixed by add
QT_SCREEN_SCALE_FACTORS=1
at your HOME setting line.I wonder if you can add environments overrides from a file like ~/.config/megasync-instances/env ?