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

nrvr.distros.common.gnome - Manipulate Linux distribution 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
       
re

 
Classes
       
Gnome

 
class Gnome
    Utilities for manipulating a Gnome installation.
 
  Methods defined here:
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 defined here:
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.