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

nrvr.distros.ub.rel1404.gnome - Manipulate Ubuntu 14.04 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
Ub1404Gnome

 
class Ub1404Gnome(nrvr.distros.common.gnome.Gnome)
    Utilities for manipulating a Gnome installation.
 
  Class methods defined here:
ubCommandToAddSystemMonitorPanel(cls) from __builtin__.classobj
Build command to add System Load Indicator 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 Load Indicator to Panel of GNOME.
ubCommandToDisableScreenSaver(cls) from __builtin__.classobj
Build command to disable screen saver of GNOME.
 
Must be user to succeed.
Also, GUI must be available to succeed.
 
Return command to disable screen saver of GNOME.
ubCommandToEnableScreenSaver(cls, idleDelaySeconds=300) from __builtin__.classobj
Build command to enable screen saver of GNOME.
 
Must be user to succeed.
Also, GUI must be available to succeed.
 
Return command to enable screen saver of GNOME.
ubCommandToInstallSystemMonitorPanel(cls) from __builtin__.classobj
Build command to install System Load Indicator for Panel of GNOME.
 
Must be root to succeed.
Then, as user must invoke ubCommandToAddSystemMonitorPanel().
 
Return command to install System Load Indicator for Panel of GNOME.
ubCommandToLimitCompizGpuUse(cls) from __builtin__.classobj
Build command to limit Compiz GPU use.
 
Must be user to succeed.
 
Return command to limit Compiz GPU use.
ubCommandToSetSolidColorBackground(cls, color='#2f4f6f') from __builtin__.classobj
Build command to set solid color background of GNOME.
 
Must be user to succeed.
Also, GUI must be available 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.