|
Server : Apache/2.2.17 (Unix) mod_ssl/2.2.17 OpenSSL/0.9.8e-fips-rhel5 DAV/2 PHP/5.2.17 System : Linux localhost 2.6.18-419.el5 #1 SMP Fri Feb 24 22:47:42 UTC 2017 x86_64 User : nobody ( 99) PHP Version : 5.2.17 Disable Function : NONE Directory : /proc/22697/root/usr/lib64/python2.4/site-packages/sabayon/ |
Upload File : |
#!/usr/bin/env python
#
# Copyright (C) 2005 Red Hat, Inc.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
#
import os
import os.path
PACKAGE = "sabayon"
VERSION = "2.12.4"
LOCALEDIR = "/usr/share/locale"
DATADIR = "/usr/share"
SYSCONFDIR = "/etc"
LIBEXECDIR = "/usr/libexec"
SBINDIR = "/usr/sbin"
GLADEDIR = os.path.join (DATADIR, "sabayon", "glade")
PROFILESDIR = os.path.join (SYSCONFDIR, "desktop-profiles")
MONITOR_TOOL_ARGV = [ os.path.join (LIBEXECDIR, "sabayon-monitor") ]
SESSION_TOOL_ARGV = [ os.path.join (LIBEXECDIR, "sabayon-session") ]
APPLY_TOOL_ARGV = [ os.path.join (SBINDIR, "sabayon-apply") ]
# FIXME: this is too big a hammer
CLOBBER_USER_PROCESSES_ARGV = [ "/usr/bin/pkill", "-u" ]
# No. of seconds to wait for USR1 from Xnest before giving up
XNEST_USR1_TIMEOUT = 10
#
# This is the user which we run the prototype sessions
# as. The account should be created as part of the packages
# post installation process
#
PROTOTYPE_USER = "sabayon"
DEFAULT_PATH = "/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin"
DEFAULT_SHELL = "/bin/bash"
NOLOGIN_SHELL = "/sbin/nologin"
SKEL_HOMEDIR = "/etc/skel"
XNEST_ARGV = [ "/usr/bin/Xnest", "-extension", "Composite", "-terminate", "-audit", "0", "-nolisten", "tcp" ]
SESSION_ARGV = [ "/etc/X11/xinit/Xsession", "gnome" ]
USERMOD_ARGV = [ "/usr/sbin/usermod" ]
PANEL_KEY_BASE = "/apps/panel"
# PANEL_KEY_BASE = "/apps/panel/profiles/default"
#
# When starting the prototype session, which environment
# variables should be passed through umodified
#
PASSTHROUGH_ENVIRONMENT = [
"SABAYON_DEBUG",
"LANG",
"LINGUAS",
"LC_CTYPE",
"LC_COLLATE",
"LC_TIME",
"LC_NUMERIC",
"LC_MONETARY",
"LC_MESSAGES",
"METACITY_VERBOSE",
"METACITY_USE_LOGFILE",
"PYTHONPATH"
]
#
# Files which we don't want to see change notifications for
#
FILES_TO_IGNORE = [
".ICEauthority*",
".esd_auth",
".fonts.cache-1*",
".gconf.path.defaults",
".gconf.path.defaults.new",
".gnome/gnome-vfs/.trash_entry_cache",
".gnome2/share/cursor-fonts/fonts.dir",
".gnome2/share/fonts/fonts.dir",
".gtkrc-1.2-gnome2*",
".pulse-cookie",
".recently-used*",
".xsession-errors",
".imsettings.log"
]
#
# Directories which we don't want to add when saving profile.
#
DIRECTORIES_TO_IGNORE_PROFILE = [
".beagle",
".cache",
".ccache",
".dbus",
".fontconfig",
".gconfd",
".gstreamer-0.8",
".gstreamer-0.10",
".local/share/tracker",
".metacity/sessions",
".profile_cache",
".pulse",
".thumbnails",
".wapi",
".Trash",
".evolution/cache"
]
#
# Directories which we don't want to see change notifications for
#
DIRECTORIES_TO_IGNORE = DIRECTORIES_TO_IGNORE_PROFILE + [
".gconf",
".gconf.xml.defaults"
]
#
# GConf keys which we don't want to see change notifications for
#
GCONF_KEYS_TO_IGNORE = [
"/apps/nautilus/preferences_version",
"/apps/nautilus/sound_state",
"/apps/panel/general/profiles_migrated"
"/desktop/gnome/peripherals/keyboard/kbd.sysbackup/*",
]