zoukankan      html  css  js  c++  java
  • 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>
  • 相关阅读:
    python获取当前路径
    python的StringIO
    python判断两个文件是否相同
    Linux查找文件内容
    python日志syslog运用
    python获取当前运行程序的名字
    python连接Linux命令行
    python预编译函数compile,exec,eval
    python日志模块
    Scala安装教程
  • 原文地址:https://www.cnblogs.com/randomlee/p/Saltstack_module_gnome.html
Copyright © 2011-2022 走看看