Code: Select all
sudo apt-get install -y python-stdeb python-gtk2 python-all debhelper git
Code: Select all
mkdir -p Github
Code: Select all
cd Github/
git clone https://github.com/FoldingAtHome/fah-control.git
cd fah-control
With your favorite text editor or IDE open setup.py.
Look for this block of code:
Code: Select all
else:
from setuptools import setup, find_packages
extra_opts = dict(
packages = find_packages(),
scripts = [app],
data_files = [('/usr/share/pixmaps', ['images/FAHControl.png'])],
install_requires = 'gtk2 >= 2.14.0',
include_package_data = True,
)
Code: Select all
install_requires = 'gtk2 >= 2.14.0',
Save the file and close.
Back in your terminal run:
Code: Select all
python setup.py build
sudo python setup.py install
Check the status of FAHClient and make sure its active:
Code: Select all
sudo systemctl status FAHClient
Code: Select all
sudo FAHControl