How to Install Caffeine on OpenSUSE 12.3

Caffeine is my favourite software for preventing the screen saver apperance while I have some programs running, like vlc.

Installing Caffeine on OpenSUSE 12.3 is a peace of cake, because caffeine is in the default OpenSUSE repositories:

Install the needed dependencies first:

$ sudo zypper in python-xdg

If python-xdg is not on the default repos on your openSUSE version, do this:

$ wget
$ sudo rpm -i python-xdg-0.25-2.1.1.noarch.rpm

Open your terminal and type this:

$ sudo zypper in caffeine

You can also install a language pack if you want a more specific language in the caffeine menu:

$ sudo zypper in caffeine-lang

Tagged with: , , , , ,
Posted in The Linux and Unix Articles!
3 comments on “How to Install Caffeine on OpenSUSE 12.3
  1. gthomek says:

    linux-wwou:~ # caffeine
    /usr/lib64/python2.7/site-packages/gi/overrides/ RuntimeWarning: You have imported the Gtk 2.0 module. Because Gtk 2.0 was not designed for use with introspection some of the interfaces and API will fail. As such this is not supported by the pygobject development team and we encourage you to port your app to Gtk 3 or greater. PyGTK is the recomended python module to use with Gtk 2.0
    warnings.warn(warn_msg, RuntimeWarning)
    Traceback (most recent call last):
    File “/usr/bin/caffeine”, line 40, in
    import caffeine
    File “/usr/lib/python2.7/site-packages/caffeine/”, line 24, in
    from xdg.BaseDirectory import xdg_config_home
    ImportError: No module named xdg.BaseDirectory

    any idea ?

  2. LinuxER says:

    try installing pygtk : sudo zypper install pygtk

  3. Rob says:

    The package python-xdg is required, would seem to be a missing dependency from the caffeine package on Packman.

Leave a Reply

Your email address will not be published. Required fields are marked *




Subscribe to get the latest Linux news and how to guides directly on your e-mail!