nrvr.distros.el.gnome
index
/usr/lib/python2.7/site-packages/nrvr/distros/el/gnome.py

nrvr.distros.el.gnome - Manipulate Enterprise Linux GNOME
 
Class provided by this module is Gnome.
 
Idea and first implementation - Leo Baschy <srguiwiz12 AT nrvr DOT com>
 
Public repository - https://github.com/srguiwiz/nrvr-commander
 
Copyright (c) Nirvana Research 2006-2015.
Simplified BSD License

 
Modules
       
nrvr
re

 
Classes
       
nrvr.distros.common.gnome.Gnome
ElGnome

 
class ElGnome(nrvr.distros.common.gnome.Gnome)
    Utilities for manipulating a Gnome installation.
 
  Class methods defined here:
elCommandToAddSystemMonitorPanel(cls) from __builtin__.classobj
Build command to add System Monitor to Panel of GNOME.
 
Must be user to succeed.
Also, GUI must be available to succeed.
 
As implemented doesn't prevent multiple additions.
 
Return command to add System Monitor to Panel of GNOME.
elCommandToDisableAutoLogin(cls) from __builtin__.classobj
Build command to disable auto-login into GNOME.
 
Must be root to succeed.
 
Return command to disable auto-login into GNOME.
elCommandToDisableScreenSaver(cls) from __builtin__.classobj
Build command to disable screen saver of GNOME.
 
Must be user to succeed.
 
Return command to disable screen saver of GNOME.
elCommandToDisableUpdateNotifications(cls) from __builtin__.classobj
Build command to disable software update notifications of GNOME.
 
Must be user to succeed.
 
Return command to disable software update notifications of GNOME.
elCommandToEnableAutoLogin(cls, username=None) from __builtin__.classobj
Build command to enable auto-login into GNOME.
 
Must be root to succeed.
 
username
    defaults to None, which effects disabling auto-login.
 
Return command to enable auto-login into GNOME.
elCommandToEnableScreenSaver(cls) from __builtin__.classobj
Build command to enable screen saver of GNOME.
 
Must be user to succeed.
 
Return command to enable screen saver of GNOME.
elCommandToSetSolidColorBackground(cls, color='#2f4f6f') from __builtin__.classobj
Build command to set solid color background of GNOME.
 
Must be user to succeed.
 
Return command to set solid color background of GNOME.

Methods inherited from nrvr.distros.common.gnome.Gnome:
exportDD = 'export DISPLAY=:0.0 ; if test -z "$DBUS_SESSION_...N_BUS_ADDRESS && export DBUS_SESSION_BUS_PID ; fi' exportDbus = 'if test -z "$DBUS_SESSION_BUS_ADDRESS" ; then ev...N_BUS_ADDRESS && export DBUS_SESSION_BUS_PID ; fi' exportDisplay = 'export DISPLAY=:0.0'
Class methods inherited from nrvr.distros.common.gnome.Gnome:
commandToStartApplicationInGui(cls, application) from __builtin__.classobj
Build command to start application in GNOME.
 
Must be user to succeed.
Also, GUI must be available to succeed.
 
Puts application into background and returns.
 
application
    e.g. "firefox about:blank".
 
Return command to start application in GNOME.
commandToTellWhetherGuiIsAvailable(cls) from __builtin__.classobj
Build command to tell whether GUI of GNOME is available.
 
Should be user to be meaningful.
 
Command output first word is "available" or with "unavailable".
 
Return command to tell whether GUI of GNOME is available.