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>
posted @   random_lee  阅读(135)  评论(0编辑  收藏  举报
编辑推荐:
· Java 中堆内存和栈内存上的数据分布和特点
· 开发中对象命名的一点思考
· .NET Core内存结构体系(Windows环境)底层原理浅谈
· C# 深度学习:对抗生成网络(GAN)训练头像生成模型
· .NET 适配 HarmonyOS 进展
阅读排行:
· 本地部署 DeepSeek:小白也能轻松搞定!
· 如何给本地部署的DeepSeek投喂数据,让他更懂你
· 从 Windows Forms 到微服务的经验教训
· 李飞飞的50美金比肩DeepSeek把CEO忽悠瘸了,倒霉的却是程序员
· 超详细,DeepSeek 接入PyCharm实现AI编程!(支持本地部署DeepSeek及官方Dee
点击右上角即可分享
微信分享提示