From ade10e0b8e5571e45cdd4800927c24597e2f7315 Mon Sep 17 00:00:00 2001 From: necoro <> Date: Sun, 12 Aug 2007 04:21:38 +0000 Subject: added listener/notify --- portato/constants.py | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'portato/constants.py') 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" -- cgit v1.2.3