salt.modules.gnomedesktop

GNOME implementations

salt.modules.gnomedesktop.get(schema=None, key=None, user=None, **kwargs)

Get key in a particular GNOME schema

CLI Example:

salt '*' gnome.get user=<username> schema=org.gnome.desktop.screensaver key=idle-activation-enabled
salt.modules.gnomedesktop.getClockFormat(**kwargs)

Return the current clock format, either 12h or 24h format.

CLI Example:

salt '*' gnome.getClockFormat user=<username>
salt.modules.gnomedesktop.getClockShowDate(**kwargs)

Return the current setting, if the date is shown in the clock

CLI Example:

salt '*' gnome.getClockShowDate user=<username>
salt.modules.gnomedesktop.getIdleActivation(**kwargs)

Get whether the idle activation is enabled

CLI Example:

salt '*' gnome.getIdleActivation user=<username>
salt.modules.gnomedesktop.getIdleDelay(**kwargs)

Return the current idle delay setting in seconds

CLI Example:

salt '*' gnome.getIdleDelay user=<username>
salt.modules.gnomedesktop.ping(**kwargs)

A test to ensure the GNOME module is loaded

CLI Example:

salt '*' gnome.ping user=<username>
salt.modules.gnomedesktop.setClockFormat(clockFormat, **kwargs)

Set the clock format, either 12h or 24h format.

CLI Example:

salt '*' gnome.setClockFormat <12h|24h> user=<username>
salt.modules.gnomedesktop.setClockShowDate(kvalue, **kwargs)

Set whether the date is visible in the clock

CLI Example:

salt '*' gnome.setClockShowDate <True|False> user=<username>
salt.modules.gnomedesktop.setIdleActivation(kvalue, **kwargs)

Set whether the idle activation is enabled

CLI Example:

salt '*' gnome.setIdleActivation <True|False> user=<username>
salt.modules.gnomedesktop.setIdleDelay(delaySeconds, **kwargs)

Set the current idle delay setting in seconds

CLI Example:

salt '*' gnome.setIdleDelay <seconds> user=<username>
salt.modules.gnomedesktop.set(schema=None, key=None, user=None, value=None, **kwargs)

Set key in a particular GNOME schema

CLI Example:

salt '*' gnome.set user=<username> schema=org.gnome.desktop.screensaver key=idle-activation-enabled value=False