Index: gvrng/gvrng.py
===================================================================
--- gvrng.orig/gvrng.py	2011-02-25 10:13:47.029096894 +0100
+++ gvrng/gvrng.py	2011-02-25 10:26:44.596097570 +0100
@@ -102,7 +102,7 @@
 Text.set_Intro(LocaleMesg[1])# and the intro text
 
 # when the frontend is not in sitepackages, as is the case for the org install
-sys.path.append('gui-gtk')
+sys.path.append('/usr/share/GvRng/gui-gtk')
 
 import gvr_gtk # the frontend to use
 
Index: gvrng/utils.py
===================================================================
--- gvrng.orig/utils.py	2011-02-25 10:13:47.021095371 +0100
+++ gvrng/utils.py	2011-02-25 10:29:44.107678446 +0100
@@ -42,7 +42,8 @@
             print sys.path[0]
             return os.path.dirname(sys.path[0])
         else:
-            return sys.path[0]
+            # For Debian return base of shared files
+            return os.path.join('/','usr','share','GvRng')
 
 if platform == 'XO':
     RCFILE = os.path.join(os.environ['SUGAR_ACTIVITY_ROOT'],'data','gvrngrc')
@@ -65,7 +66,7 @@
 # Intended to make packaging easier 
 FRONTENDDIR = os.path.join(get_rootdir(),'gui-gtk')
 PIXMAPSDIR = os.path.join(get_rootdir(),'gui-gtk','pixmaps')
-LOCALEDIR = os.path.join(get_rootdir(),'locale')
+LOCALEDIR = os.path.join('/','usr','share','locale')
 
 module_logger.debug("Constant paths:")
 module_logger.debug("RCFILE %s" % RCFILE)
Index: gvrng/gui-gtk/gvr_gtk.py
===================================================================
--- gvrng.orig/gui-gtk/gvr_gtk.py	2011-02-25 10:27:00.212095388 +0100
+++ gvrng/gui-gtk/gvr_gtk.py	2011-02-25 10:30:36.287595024 +0100
@@ -77,7 +77,7 @@
             self.parentGUI = self.window_main
             self.windowtitle = "GvRng"
             self.parentGUI.set_title(self.windowtitle)
-            file = os.path.join(os.getcwd(),'gui-gtk','pixmaps','gvrIcon.bmp')
+            file = os.path.join(utils.get_rootdir(),'gui-gtk','pixmaps','gvrIcon.bmp')
             try:
                 self.parentGUI.set_icon_from_file(file)
             except gobject.GError:
