From ce7a0622b998f80e870af450c4eac0aba7201cd7 Mon Sep 17 00:00:00 2001 From: Jason Lobo Date: Wed, 14 Oct 2020 21:17:12 +0100 Subject: [PATCH] Update Linux instructions --- README.md | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index ca72360..3aef98b 100644 --- a/README.md +++ b/README.md @@ -18,10 +18,30 @@ Before using pyinstaller run pyinstaller --icon=icon_black.ico --add-data cnt/*.cnt;cnt --add-data icon_white.png;png -w --onefile display.py -### Mac/Linux +### Mac pyinstaller --icon=icon_black.icns --add-data cnt/*.cnt:cnt --add-data icon_white.png:png -w --onefile display.py +### Linux + +Do not use anaconda or miniconda. After cloning the repo, cd into it and install the requirements with + + pip3 install -r requirements.txt + +Make pyinstaller and PyQt5 available with + + export PATH=$PATH:/home/yourname/.local/bin + +Fix a problem with the PyQt5 display with + + sudo apt-get install libxcb-xinerama0 + +Create the program in a folder called *dist* with + + pyinstaller --add-data cnt/*.cnt:cnt --add-data icon_white.png:png -w --onefile display.py + +In the executable properties, change the icon to icon_black.ico from the repo. + ## Usage ### Normal search