Results 1 to 6 of 6

Thread: Problem launching caffeine

  1. #1

    Default Problem launching caffeine

    I'm trying to install caffeine and after I install it, I cannot get it to launch. Trying to open from the desktop does nothing and trying to launch from konsole gives me.
    Code:
    ERROR:root:Could not find any typelib for Gtk
    Traceback (most recent call last):
      File "/usr/bin/caffeine", line 40, in <module>
        import caffeine
      File "/usr/lib/python2.7/site-packages/caffeine/__init__.py", line 22, in <module>
        from gi.repository import Gtk, Gio
    ImportError: cannot import name Gtk
    Any idea what I'm missing?
    I'm running openSUSE 13.1 with a KDE4 shell.

  2. #2
    Join Date
    Nov 2009
    Location
    West Virginia Sector 13
    Posts
    15,769

    Default Re: Problem launching caffeine

    How are you installing????

  3. #3

    Default Re: Problem launching caffeine

    I tried the one click install here
    HTML Code:
    http://software.opensuse.org/package/caffeine

  4. #4
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    27,214
    Blog Entries
    15

    Default Re: Problem launching caffeine

    Hi
    It's a GNOME application, not really designed for KDE...
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    SUSE SLE, openSUSE Leap/Tumbleweed (x86_64) | GNOME DE
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!

  5. #5

    Default Re: Problem launching caffeine

    That would cause some problems wouldn't it? I should have caught that. Thanks!

  6. #6

    Default Re: Problem launching caffeine

    Quote Originally Posted by rtd730 View Post
    That would cause some problems wouldn't it? I should have caught that. Thanks!
    It shouldn't cause problems.

    I cannot guarantee that it would work though.
    But I think it should even on KDE. There are some cross-desktop standards in place...

    You might also try this from the KDE:Extra repo, this seems to be something similar:
    http://software.opensuse.org/package/kaffeinety

    But I haven't tried this myself either.

Posting Permissions

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