No support for Ubuntu 16.04 Xenial

Bug #1577219 reported by Nicolas Krzywinski on 2016-05-01
This bug affects 6 people
Affects Status Importance Assigned to Milestone
Märt Põder

Bug Description

Just upgraded from 14.04 to 16.04 (Xenial) and the screenlets are gone.

Is there a reason to drop support of newer Ubuntu versions, or did just no one cared? :D

If screenlets support is ceased, are there any recommendations for alternatives? I just tried the desktop widget configuration options of the cairo addings ... but they lack replacements for nearly any screenlets I used (InfoPanel, Pidgin Contact List, NowPlaying, Output, Stocks, Lyrics). The only thing I found there as well was a clock. Well ...

If no one knows any alternatives that are nearly as good and feature rich as the screenlets, can we make the screenlets compatible with newer Ubuntu versions again?

Related branches

Märt Põder (boamaod) wrote :

I was the previous maintainer of the project and it was about four years ago. Since then "no one has cared". My personal opinion is that the whole project is quite outdated and I am surprised some screenlets still work and that some people use them.

To be constructive, you may try if 14.04 (or later) Screenlets package works on 16.04, if you install it by force. If it kind of works, maybe we can create a new package, but if it needs too much work, I won't be able to help. When I started maintaining the project and did some rewrites and bug fixes etc and created a PPA for individual Screenlets, I presumed some people will join the development. But it seems that it wasn't that important or interesting project, so I got tired and found other things to take care of.

If someone wants to take up the development, I can consult as much as it is needed though.

John Schroeder (jschroed) wrote :

If I had to guess, I would say that screenlets was removed because of some dependencies on Python 2. (Ubuntu is trying to move away Python 2 and toward Python 3.)

It looks like the screenlets package existed in Ubuntu 16.04 for a bit was remove sometime before the launch:

I tried to install the package of screenlets for Wily Werewolf from these locations:

I got the following errors:
dpkg: dependency problems prevent configuration of screenlets:
 screenlets depends on python-support (>= 0.90.0); however:
  Package python-support is not installed.
 screenlets depends on python-gnome2; however:
  Package python-gnome2 is not installed.
 screenlets depends on python-wnck | python-gnome2-desktop; however:
  Package python-wnck is not installed.
  Package python-gnome2-desktop is not installed.
 screenlets depends on python-beautifulsoup; however:
  Package python-beautifulsoup is not installed.

dpkg: error processing package screenlets (--install):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of screenlets-pack-basic:
 screenlets-pack-basic depends on screenlets; however:
  Package screenlets is not configured yet.
 screenlets-pack-basic depends on python-support (>= 0.90.0); however:
  Package python-support is not installed.

Nicolas Krzywinski (nsk7even) wrote :

Additionally I found this:
Is this related?

Märt Põder (boamaod) on 2016-05-02
Changed in screenlets:
status: New → Confirmed
Märt Põder (boamaod) on 2016-05-02
Changed in screenlets:
milestone: none → 0.1.7
Vitaliy (tsvitaliy) wrote :

16.04 x 32

Changed in screenlets:
assignee: nobody → Vitaliy (tsvitaliy)
jasir (jasiralavi) wrote :

wouldn't it be better to create snap packages for future?

Märt Põder (boamaod) wrote :

@tsvitaliy, please be a bit more precise about taking the responsibility to fix Screenlets for Xenial!

Changed in screenlets:
assignee: Vitaliy (tsvitaliy) → nobody
Märt Põder (boamaod) on 2016-08-09
Changed in screenlets:
importance: Undecided → Critical
Hrotkó Gábor (roti-al) wrote :

Please consider merging my changes, to fix this bug.

Märt Põder (boamaod) wrote :

Thank you for your effort, Hrotkó!

Could you also explain what changes did you make and what errors you needed to fix to make Screenlets work on Ubuntu 16.04? Maybe you could also describe how much time did you take to test the changes with different installations, for example different desktops and maybe older Ubuntu releases?

It would help me to merge the fixes.

By the way, ideally you shouldn't submit different types of fixes (changes to individual screenlets, translations etc) in one merge request, because it makes it much harder to follow them afterwards.

Changed in screenlets:
assignee: nobody → Märt Põder (boamaod)
Hrotkó Gábor (roti-al) wrote :

These are the details of my changes:

- remove non-existent dependencies
- update old dependency versions
- check individual screenlet's required dependencies at startup, instead after load
- weather plugin's api url fix

- change from python-gtkmozembed to python-webkit
- import required dependencies with try-catch, to be able to alert the user for missing dependencies
- some screenlets uses the weather api directly, not through the plugin, so I fixed the urls there also

The following screenlets are not working:
- evolutionContacts
- funnyordie
- LinuxEstoriaStat
- LinuxSerbiaStat
- mainmenu
- places(?)

I tested with ubuntu 16.04 only.

With xfce and mate, there is no particular problem.

With LXCE, the TuxScreenlet not working, without error.

With unity, the screenlets daemon app indicator is not visible.

John Schroeder (jschroed) wrote :

In case anyone is concerned about the screenlets daemon app indicator not being visible and not aware of this solution, "Indicator Systemtray Unity" can be installed. Indicator Systemtray Unity is an AppIndicator which adds a system tray to the Unity panel to show hidden icons like the one for Screenlets.

webupd8 has details about Indicator Systemtray Unity. The link to it is:

Hrotkó Gábor (roti-al) wrote :

A new 0.1.7 version has been uploaded to the ppa.
Please test it, and give some feedback.

sudo add-apt-repository ppa:screenlets/ppa
sudo apt-get update
sudo apt-get install screenlets indiv-screenlets

Nicolas Krzywinski (nsk7even) wrote :

On my Linux Mint 18.1 "indiv-screenlets" was not found, after adding the screenlets/ppa (which resolved to "deb[-src] xenial main" in my packet sources ppa dialog.
Instead I installed "screenlets-pack-all" which seemed to have worked.

But most screenlets are installed into:

instead of:

The launchers point on the latter path though.

Hrotkó Gábor (roti-al) wrote :

> The launchers point on the latter path though.

The fix has been just uploaded to the ppa.

Nicolas Krzywinski (nsk7even) wrote :

Works perfect now! Thx again!

Nicolas Krzywinski (nsk7even) wrote :

Sorry for kind of misusing the comment feature here, but I just want to emphasize my thankfulness for your work!

Now that I can use many of the screenlets again every day, I encounter what huge wealth of functionalities they bring to the system.

Thank you for making them work again!

Changed in screenlets:
status: Confirmed → Fix Committed
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers