Veyon Community Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups

    Set value in config via command line

    General Discussion
    2
    2
    407
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S
      SID SBD last edited by

      Hi anybody

      Can I update the configuration key "DesktopServices/PredefinedPrograms" from command line?

      I have tried with the command :

       # veyon-ctl consig set DesktopServices/PredefinedPrograms '[{"Name":"Desactivar ahorro de energia","Path":"/usr/bin/xset -dpms","Type":1,"Uid":"{01c5c7e5-dcb4-46d2-85a2-7ac5f625a2d2}"},{"Name":"Activar ahorro de energia","Path":"/usr/bin/xset +dpms","Type":1,"Uid":"{847e4c62-e9a9-43da-8e54-cec4b45eb09f}"}]'
      

      the values are from the command

      # veyon-ctl config list
      

      but dont work

      Can anybody help me

      Thanks a lot

      1 Reply Last reply Reply Quote 0
      • tobydox
        tobydox last edited by

        Setting configuration keys containing JSON data requires the data type to be specified as the last argument:

        veyon-ctl config set DesktopServices/PredefinedPrograms '[{......}]' json

        1 Reply Last reply Reply Quote 0
        • First post
          Last post
        Powered by NodeBB | Contributors