Results 1 to 2 of 2

Thread: caffeine indicator on ubuntu 14.04.3

  1. #1

    caffeine indicator on ubuntu 14.04.3

    caffeine no longer works on 14.04.3 (I did not have this error on 14.04.2):

    $ caffeine-indicator
    Traceback (most recent call last):
    File "/usr/bin/caffeine-indicator", line 176, in <module>
    caffeine = Caffeine()
    File "/usr/bin/caffeine-indicator", line 125, in __init__
    self.root = display.Display().screen().root
    File "/usr/lib/python3/dist-packages/Xlib/display.py", line 80, in __init__
    self.display = _BaseDisplay(display)
    File "/usr/lib/python3/dist-packages/Xlib/display.py", line 62, in __init__
    display.Display.__init__(*(self, ) + args, **keys)
    File "/usr/lib/python3/dist-packages/Xlib/protocol/display.py", line 129, in __init__
    raise error.DisplayConnectionError(self.display_name, r.reason)
    Xlib.error.DisplayConnectionError: Can't connect to display ":0": b'No protocol specified\n'

    The root cause is an error in python-xlib. The temporary workaround is to issue

    $ xhost +

    before you launch caffeine-indicator.

    Regards,
    Gijsbert

  2. #2
    Join Date
    Oct 2013
    Beans
    0

    Re: caffeine indicator on ubuntu 14.04.3

    +1

    I can confirm this works for Caffeine 2.8 on ubuntu 14.04.3

    Thanks a lot!

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •