Get it working under Ubuntu 16.04 LTS
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
EasyShutdown |
New
|
Undecided
|
Unassigned |
Bug Description
There are several requirements to get it running on Ubuntu 16.04:
sudo apt-get install python-notify consolekit
I tried to fix it by doing the following (tracking down the errors thrown by python:
Adding the following to /usr/bin/
import gi
gi.
gi.
And also replaced the following import rules:
-import pynotify
+from gi.repository import Notify as pynotify
-import gobject
+from gi.repository import GObject
But it still throws:
> Traceback (most recent call last):
> File "/usr/bin/
> EasyShutdown()
> File "/usr/bin/
> window = gtk.Window(
> File "/usr/lib/
> raise AttributeError(
> AttributeError: When using gi.repository you must not import static modules like "gobject". Please change all occurrences of "import gobject" to "from gi.repository import GObject". See: https:/
Maybe we can revive this project again...