|
__init__(self,
config_files=_X2GO_SESSIONPROFILES_CONFIGFILES,
defaults=None,
session_profile_defaults=None,
logger=None,
loglevel=log.loglevel_DEFAULT)
Retrieve X2Go session profiles from a file, typically
~/.x2goclient/sessions . |
source code
|
|
dict
|
__call__(self,
profile_id_or_name)
Retrieve the session profile configuration for a given session
profile ID (or name) |
source code
|
|
str
|
get_profile_metatype(self,
profile_id_or_name,
force=False)
Detect a human readable session profile type from the session profile
configuration. |
source code
|
|
bool
|
write(self)
Write the ini file modifications (SafeConfigParser object) from RAM
to disk. |
source code
|
|
type
|
|
type
|
get_type(self,
section,
key)
Override the parent class's get_type method due to the special layout
of this class. |
source code
|
|
dict
|
get_profile_config(self,
profile_id_or_name=None,
parameter=None,
profile_id=None)
The configuration options for a single session profile. |
source code
|
|
dict
|
|
bool
|
has_profile(self,
profile_id_or_name)
Does a session profile of a given profile ID or profile name exist? |
source code
|
|
|
profile_ids(self)
Renders a list of all profile IDs found in the session profile
configuration file. |
source code
|
|
bool
|
|
|
|
bool
|
|
str
|
|
str
|
|
str
|
|
|
|
|
|
str
|
|
dict
|
|
depends on the session profile option requested
|
|
Inherited from inifiles.X2GoIniFile :
__repr__ ,
get ,
get_value ,
load ,
printable_config_file
Inherited from object :
__delattr__ ,
__format__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__setattr__ ,
__sizeof__ ,
__str__ ,
__subclasshook__
|