Description: <short summary of the patch>
 TODO: Put a short summary on the line above and replace this paragraph
 with a longer explanation of this change. Complete the meta-information
 with other relevant fields (see below for details). To make it easier, the
 information below has been extracted from the changelog. Adjust it or drop
 it.
 .
 kaukkis (0.1-1) unstable; urgency=low
 .
   * Initial release (Closes: #nnnn)  <nnnn is the bug number of your ITP>
Author: Niko Häikiö <niko@unknown>

---
The information above should follow the Patch Tagging Guidelines, please
checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here
are templates for supplementary fields that you might want to add:

Origin: <vendor|upstream|other>, <url of original patch>
Bug: <url in upstream bugtracker>
Bug-Debian: http://bugs.debian.org/<bugnumber>
Bug-Ubuntu: https://launchpad.net/bugs/<bugnumber>
Forwarded: <no|not-needed|url proving that it has been forwarded>
Reviewed-By: <name and email of someone who approved the patch>
Last-Update: <YYYY-MM-DD>

--- kaukkis-0.1.orig/src/theme.cpp
+++ kaukkis-0.1/src/theme.cpp
@@ -1,8 +1,11 @@
 #include <QDebug>
 #include <QtGlobal>
+#include <QFileInfo>
 #include "theme.h"
 
-const QString Theme::THEME_DIR = "themes";
+//Specifies possibel themes directories. Only one is used.
+//First valid one will be selected
+const std::vector<QString> Theme::THEME_DIRS = {"themes", "/usr/share/kaukkis/themes"};
 const QString Theme::RELEASED_FILE = "released.png";
 const QString Theme::PRESSED_FILE = "pressed.png";
 const QString Theme::BACKGROUND_FILE = "background.png";
@@ -39,15 +42,25 @@ std::map<ButtonType, ButtonTheme> Theme:
 //TODO: Implement theme chooser to allow multiple themes.
 void Theme::loadTheme()
 {
-    //Specifies  theme dir for this specific theme.
-    QString thisDir = THEME_DIR + "/" + name();
+    //Look for Themes directory. This is needed because program
+    //needs to load without installation and in different
+    //operating systems.
+    QString themeDir;
+    for (const QString& themesDir : THEME_DIRS)
+    {
+        if (QFileInfo(themesDir).exists())
+        {
+            themeDir = themesDir + "/" + name();
+            qDebug() << "Selected themes dir: " << themesDir;
+        }
+    }
     //Load background image
-    backgroundImage_.load(thisDir + "/" + "background.png");
+    backgroundImage_.load(themeDir + "/" + "background.png");
     //Load button images
     for (auto it = BUTTON_NAMES.begin(); it != BUTTON_NAMES.end(); ++it)
     {
         ButtonType bt = it->first;
-        QString buttonThemeDir = thisDir + "/" + it->second;
+        QString buttonThemeDir = themeDir + "/" + it->second;
         ButtonTheme newTheme;
         newTheme.buttonType = bt;
         newTheme.imagePressed = QPixmap(buttonThemeDir + "/" + PRESSED_FILE);
--- kaukkis-0.1.orig/src/theme.h
+++ kaukkis-0.1/src/theme.h
@@ -29,10 +29,9 @@ private:
     static const QString PRESSED_FILE;
     //File name for given button
     static const QString RELEASED_FILE;
-    //Holds path to the theme directory.
-    //TODO: Replace with themes directory and use file handling to
-    //load all of the themes.
-    static const QString THEME_DIR;
+    //Holds path to the possible themes directories.
+    //TODO: implement theme chooser to allow multiple themes.
+    static const std::vector<QString> THEME_DIRS;
 
     //Determines the background image for the whole remote.
     QPixmap backgroundImage_;
