Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
Skins
  • Light
  • Brite
  • 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 750 Views
  • 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 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

      Hello! It looks like you're interested in this conversation, but you don't have an account yet.

      Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

      With your input, this post could be even better 💗

      Register Login
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      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