2

The command that I tried are :

sudo apt-get install screenlets 

Result :

Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package screenlets is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or is only available from another source

Is there any other way to install it? I tried Using MacSlow's Cairo-Clock but that widget disappear after random interval of time. Is there anything else out there?

2

You can build and install it manually on 16.04 although some widgets are broken. You will need Python 2.7 for this.

Download the source bundles:

  1. Screenlets Core
  2. Screenlets Widget Pack

Using apt, install python-beautifulsoup, python-wnck, python-vte, python-tz

  1. Run make install in the two extracted paths.
  2. Run screenlets

Or you can run through the following commands:

sudo apt install python-beautifulsoup python-wnck python-vte python-tz
cd /tmp
wget -O - https://launchpad.net/screenlets/trunk/0.1.6/+download/screenlets-0.1.6.tar.bz2 | bunzip2 -c - | tar xf -
wget -O - https://launchpad.net/indiv-screenlets/trunk/0.1.6/+download/indiv-screenlets-0.1.6.tar.bz2 | bunzip2 -c - | tar xf -
cd screenlets-0.1.6
sudo make install
cd ../indiv-screenlets-0.1.6
sudo make install
screenlets &

NOTE: You might run into a Python packages permissions problem, I fixed it by running the following command:

sudo chmod -R go+rX /usr/local/lib/python2.7/dist-packages/
| improve this answer | |
  • Thank you! that worked for me except that i had to manually set the PYTHONPATH=$PYTHONPATH:/usr/lib/python2.7/site-packages/ – Hemant Yadav Jul 28 '16 at 16:50
  • 2
    is there an easier way to install Screenlets? – Elysium Oct 30 '16 at 23:53
  • I am getting this: File "/usr/share/screenlets-manager/screenlets-manager.py", line 34, in <module> import screenlets ImportError: No module named screenlets – Mubashar Abbas Nov 9 '16 at 4:27
  • @MubasharAbbas Just set the pythonpath manually to the folder as I mentioned. – Hemant Yadav Nov 15 '16 at 14:31
  • @HemantYadav is that a command or do I need to put it in a file or something? – Mubashar Abbas Nov 15 '16 at 14:46

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.