Saltstack module gnome 详解

gnome.setIdleActivation

Set whether the idle activation is enabled

CLI Example:

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

gnome.getIdleActivation

Get whether the idle activation is enabled

CLI Example:

salt '*' gnome.getIdleActivation user=

gnome.set

Set key in a particular GNOME schema

CLI Example:

salt '*' gnome.set user= 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=

gnome.setIdleDelay

Set the current idle delay setting in seconds

CLI Example:

salt '*' gnome.setIdleDelay user=

gnome.setClockShowDate

Set whether the date is visible in the clock

CLI Example:

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

gnome.getIdleDelay

Return the current idle delay setting in seconds

CLI Example:

salt '*' gnome.getIdleDelay user=

gnome.setClockFormat

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

CLI Example:

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

gnome.get

Get key in a particular GNOME schema

CLI Example:

salt '*' gnome.get user= 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=

gnome.getClockFormat

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

CLI Example:

salt '*' gnome.getClockFormat user=

posted @ 2020-03-28 21:05  random_lee  阅读(150)  评论(0)    收藏  举报