Difficulty: Medium-easy
Needed skills: To be able to use basic terminal commands, know how to use a Linux GUI, and browser, edit text files.
Disclaimer:
I hold no responsibility for breaking your pc/software or any other.
if you decide to follow this guide, it is fully at your own risk!
The aim is to get FAHControl to work on a modern (non-LTS) version.
Some files may update, and break one or more funcions in your OS, or FAH program, so be sure to try it out on a system that has no valuable information stored.
This method is crude, and most likely there is a more efficient alternative (could be fixed into a .DEB package, which I don't have the skills for yet).
So I'm hoping the community will help with fixes, or troubleshooting, as I'm just a basic Linux user, not a coder or tech wiz. I don't have the answers.
That being said, current method seems to work on Lubuntu 19.10, thus it should work on most alternatives (Mint, Ubuntu, Xubuntu,.... 19.04 and 19.10, Debian 10, etc...)
The main issue after an upgrade of most linux systems from 18.xx to 19.xx, is that python-gnome2 will be uninstalled, which breaks compatibility with FAHControl.
I presume that once an upgrade is done, and FAHControl still works, entering code below can preserve compatibility, but haven't tried yet.
Code: Select all
sudo apt-mark manual python-gnome2
For all others (who have a clean install, or upgrade where FAHClient compatibility is broken):
Procedure
Create a folder (eg: within your Downloads directory), and create within that a file (eg: fah.txt).
Insert in that file the below code:
Code: Select all
# usage: wget -i fah.txt
http://ftp.us.debian.org/debian/pool/main/d/dh-python/dh-python_4.20191017_all.deb
http://launchpadlibrarian.net/109052632/python-support_1.0.15_all.deb
https://download.foldingathome.org/releases/public/release/fahclient/debian-stable-64bit/v7.5/fahclient_7.5.1_amd64.deb
http://ftp.br.debian.org/debian/pool/main/p/python-defaults/python_2.7.16-1_amd64.deb
http://ftp.br.debian.org/debian/pool/main/liba/libart-lgpl/libart-2.0-2_2.3.21-4_amd64.deb
http://ftp.br.debian.org/debian/pool/main/a/atk1.0/libatk1.0-0_2.30.0-2_amd64.deb
http://ftp.br.debian.org/debian/pool/main/libb/libbonobo/libbonobo2-0_2.32.1-3+b1_amd64.deb
http://ftp.br.debian.org/debian/pool/main/libb/libbonoboui/libbonoboui2-0_2.24.5-4_amd64.deb
http://ftp.br.debian.org/debian/pool/main/g/gconf/libgconf-2-4_3.2.6-5_amd64.deb
http://ftp.br.debian.org/debian/pool/main/g/gdk-pixbuf/libgdk-pixbuf2.0-0_2.38.1+dfsg-1_amd64.deb
http://archive.ubuntu.com/ubuntu/pool/universe/libg/libgnome/libgnome-2-0_2.32.1-6_amd64.deb
http://ftp.br.debian.org/debian/pool/main/libg/libgnomecanvas/libgnomecanvas2-0_2.30.3-4_amd64.deb
http://archive.ubuntu.com/ubuntu/pool/universe/libg/libgnomeui/libgnomeui-0_2.24.5-3.2_amd64.deb
http://archive.ubuntu.com/ubuntu/pool/universe/g/gnome-vfs/libgnomevfs2-0_2.24.4-6.1ubuntu2_amd64.deb
http://ftp.br.debian.org/debian/pool/main/libg/libgtk2-perl/libgtk2-perl_1.24992-1+b2_amd64.deb
http://ftp.br.debian.org/debian/pool/main/libi/libice/libice6_1.0.9-2_amd64.deb
http://archive.ubuntu.com/ubuntu/pool/universe/o/orbit2/liborbit-2-0_2.14.19-4_amd64.deb
http://ftp.br.debian.org/debian/pool/main/p/pango1.0/libpango-1.0-0_1.42.4-7~deb10u1_amd64.deb
http://ftp.br.debian.org/debian/pool/main/p/pango1.0/libpangocairo-1.0-0_1.42.4-7~deb10u1_amd64.deb
http://ftp.br.debian.org/debian/pool/main/p/pango1.0/libpangoft2-1.0-0_1.42.4-7~deb10u1_amd64.deb
http://ftp.br.debian.org/debian/pool/main/p/popt/libpopt0_1.16-12_amd64.deb
http://ftp.br.debian.org/debian/pool/main/p/python2.7/libpython2.7_2.7.16-2_amd64.deb
http://ftp.br.debian.org/debian/pool/main/libs/libsm/libsm6_1.2.3-1_amd64.deb
http://ftp.br.debian.org/debian/pool/main/g/gnome-python/python-gconf_2.28.1+dfsg-1.2_amd64.deb
http://ftp.br.debian.org/debian/pool/main/p/pygtk/python-gtk2_2.24.0-5.1+b1_amd64.deb
http://ftp.br.debian.org/debian/pool/main/p/pygobject-2/python-gobject-2_2.28.6-13+b1_amd64.deb
http://ftp.br.debian.org/debian/pool/main/g/gconf/gconf-service_3.2.6-5_amd64.deb
https://download.foldingathome.org/releases/public/release/fahcontrol/debian-stable-64bit/v7.5/fahcontrol_7.5.1-1_all.deb
Code: Select all
wget -i fah.txt
Create a secondary file (eg: fah2.txt), and insert these lines:
Code: Select all
http://ftp.br.debian.org/debian/pool/main/p/pyorbit/python-pyorbit_2.24.0-7.2_amd64.deb
http://ftp.br.debian.org/debian/pool/main/g/gnome-python/python-gnome2_2.28.1+dfsg-1.2_amd64.deb
Once downloaded, do:
Code: Select all
sudo dpkg --force-all -i *.deb
Code: Select all
sudo dpkg --force-all -i fahcontrol_7.5.1-1_all.deb python-gnome2_2.28.1+dfsg-1.2_amd64.deb
sudo dpkg --force-all -i fahclient_7.5.1_amd64.deb
sudo apt update
sudo apt install --fix-broken
sudo apt upgrade
==============================================================================
==============================================================================
Optional
Code: Select all
sudo apt full-upgrade
sudo apt autoremove
To manually edit config.xml you can do:
Code: Select all
sudo nano /etc/fahclient/config.xml
Code: Select all
<config>
<!-- Folding Slot Configuration -->
<gpu v='false'/>
<!-- Network -->
<proxy v=':8080'/>
<!-- Slot Control -->
<power v='full'/>
<!-- User Information -->
<team v='******'/>
<user v='******'/>
<passkey v='****************' />
<!-- Folding Slots -->
<slot id='0' type='CPU'>
<paused v='true'/>
</slot>
</config>
Code: Select all
<config>
<!-- Folding Slots -->
<slot id='0' type='CPU'>
<gpu v='false'/>
<power v='full'/>
<team v='******'/>
<user v='******'/>
<passkey v='****************' />
</config>