-
Notifications
You must be signed in to change notification settings - Fork 164
Run from Source
Even though I do not recommend Safe Eyes users to run Safe Eyes from source, you may need to run from source for testing purposes or to enjoy the latest feature that is not released yet. This page shows you how to run Safe Eyes from source.
You can run Safe Eyes from source even if you have already installed it using the official installer.
git
python3
pip3
gir1.2-appindicator3-0.1
gir1.2-notify-0.7
libappindicator-gtk3
python3-psutil
xprintidle
The easiest way to install these runtime dependencies is installing the latest Safe Eyes using the installer provided for your system. Please check the Installation section for more details.
If you are using GNOME, or LXDE/Openbox/other WMs, you will have to install the appropriate backend for the tray icon to work.
-
Open a Terminal
-
Clone the GitHub repository of Safe Eyes if you do not have it already.
git clone https://github.com/slgobinath/SafeEyes.git
- Change the directory to the
SafeEyes
folder
cd SafeEyes
- [Optional] Change the branch to your preferred feature/fix branch.
If you want to run the default development branch:
master
, you can skip this step.
git checkout fix-break-screen
- Update your branch with the changes made in the upstream.
git pull origin <branch-name>
If you are on the master branch, the command should be
git pull origin master
.
- Build the code to compile translation files
python3 setup.py build
-
If there is a Safe Eyes instance running in your system, terminate it using Tray Icon Menu --> Quit or by running
safeeyes -q
from the terminal. -
Start Safe Eyes from the source
python3 -m safeeyes