Dropbox integration for Scrivener on CentOS

Dropbox isn’t supported on CentOS 7. So I had to use Maestral, an alternative client.
https://github.com/SamSchott/maestral-dropbox/

Install Python 3

sudo yum install -y libgnome centos-release-scl rh-python36 #wrong python version by default python --version #fix new python version scl enable rh-python36 bash python --version
Install Maestral

sudo yum install -y python36-setuptools sudo easy_install-3.6 pip python3 -m pip install --upgrade maestral --user python3 -m pip install --upgrade PyQt5 --user
Run Maestral GUI which often hangs

~/.local/bin/maestral gui #may fail #set up Dropbox account then quit
This command-line way works

~/.local/bin/maestral configure ~/.local/bin/maestral sync