Saltstack module gnome 详解

gnome.setIdleActivation

Set whether the idle activation is enabled

CLI Example:

    salt '*' gnome.setIdleActivation <True|False> user=<username>

gnome.getIdleActivation

Get whether the idle activation is enabled

CLI Example:

    salt '*' gnome.getIdleActivation user=<username>

gnome.set

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

gnome.getClockShowDate

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

CLI Example:

    salt '*' gnome.getClockShowDate user=<username>

gnome.setIdleDelay

Set the current idle delay setting in seconds

CLI Example:

    salt '*' gnome.setIdleDelay <seconds> user=<username>

gnome.setClockShowDate

Set whether the date is visible in the clock

CLI Example:

    salt '*' gnome.setClockShowDate <True|False> user=<username>

gnome.getIdleDelay

Return the current idle delay setting in seconds

CLI Example:

    salt '*' gnome.getIdleDelay user=<username>

gnome.setClockFormat

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

CLI Example:

    salt '*' gnome.setClockFormat <12h|24h> user=<username>

gnome.get

Get key in a particular GNOME schema

CLI Example:

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

gnome.ping

A test to ensure the GNOME module is loaded

CLI Example:

    salt '*' gnome.ping user=<username>

gnome.getClockFormat

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

CLI Example:

    salt '*' gnome.getClockFormat user=<username>
原文地址:https://www.cnblogs.com/randomlee/p/Saltstack_module_gnome.html