summaryrefslogtreecommitdiff
path: root/portato/constants.py
diff options
context:
space:
mode:
authornecoro <>2007-08-12 04:21:38 +0000
committernecoro <>2007-08-12 04:21:38 +0000
commitade10e0b8e5571e45cdd4800927c24597e2f7315 (patch)
treeff2d39f0366a7238366abd3c77b739996ed8937a /portato/constants.py
parenta6a5cace4864c37b7a820c89540f85069d842521 (diff)
downloadportato-ade10e0b8e5571e45cdd4800927c24597e2f7315.tar.gz
portato-ade10e0b8e5571e45cdd4800927c24597e2f7315.tar.bz2
portato-ade10e0b8e5571e45cdd4800927c24597e2f7315.zip
added listener/notify
Diffstat (limited to 'portato/constants.py')
-rw-r--r--portato/constants.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/portato/constants.py b/portato/constants.py
index c21b0a5..309b774 100644
--- a/portato/constants.py
+++ b/portato/constants.py
@@ -38,6 +38,10 @@ These should be set during the installation.
@type FRONTENDS: string[]
@var STD_FRONTEND: the frontend uses as the default, i.e. if no other one is given on the cmdline
@type STD_FRONTEND: string
+@var SU_COMMAND: command to execute to "su"
+@type SU_COMMAND: string
+@var SOCKET: path to socket for communication between listener and GUI
+@type SOCKET: string
"""
from os.path import join as pjoin
@@ -60,3 +64,6 @@ LOCALE_DIR = "i18n/"
FRONTENDS = ["gtk" ,"qt"]
STD_FRONTEND = "gtk"
+
+SU_COMMAND = "gksu -D 'Portato'"
+SOCKET = "/tmp/portato.socket"