Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse

Veyon Community Forum

  1. Home
  2. General Discussion
  3. Set value in config via command line

Set value in config via command line

Scheduled Pinned Locked Moved General Discussion
2 Posts 2 Posters 471 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    SID SBD
    wrote on last edited by
    #1

    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
    0
    • T Offline
      T Offline
      tobydox
      wrote on last edited by
      #2

      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
      0

      Powered by NodeBB | Contributors
      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups