HackerTray, a free Linux app programmed with Python2 (inspired from Hacker Bar) simply brings Hacker News to your Linux menu bar. It is yet not compatible with all Linux systems but works really nice with Ubuntu. Following screenshot explains everything pretty well about how it works on your Ubuntu desktop. So now we are starting with its installation and upgrade process etc.
How to install HackerTray?
Open your Linux Terminal and use the following commands to install:
sudo pip install hackertray OR sudo easy_install hackertray OR #Download Source and cd to it sudo python setup.py install
Now you can run
hackertray from anywhere. Other than this you can now add it to your OS dependent session autostart method.
If you are a Ubuntu user then you can access it from:
- System > Preferences > Sessions
- System > Preferences > Startup Applications
Depending upon your Ubuntu Linux Version. Or simply put it in
~/.config/openbox/autostart if you are running OpenBox. Here you can see how the configuration should look like in Ubuntu and its derivatives.
How to upgrade HackerTray?
The latest stable version is always available on pip. You can check which version you have installed with
pip freeze | grep hackertray.
To upgrade, run
pip install -U hackertray.
In some cases (Ubuntu), you might need to clear the pip cache before upgrading:
sudo rm -rf /tmp/pip-build-root/hackertray