Ylianst / MeshCentral

A complete web-based remote monitoring and management web site. Once setup you can install agents and perform remote desktop session to devices on the local network or over the Internet.
https://meshcentral.com
Apache License 2.0
3.66k stars 510 forks source link

Setting Desktop Keyboard Shortcuts in config file #5990

Open takuy opened 3 months ago

takuy commented 3 months ago

Is your feature request related to a problem? Please describe. I'd like to set a few default keyboard cuts for the desktop remote control. I know users can set them for themselves but it'd be great if we could pre-set them globally in the config file.

Describe the solution you'd like A config like the existing preConfiguredRemoteInput but for shortcut keys.

Describe alternatives you've considered Having each user add the hot keys themselves.

takuy commented 3 months ago

Looks like the default set of keys is a hardcoded string in 3 different views.

Maybe setting of the default string should be moved, with the addition of reading from the config file, to https://github.com/Ylianst/MeshCentral/blob/afc61658277868b8c57f92265fc937749bfe6d2c/webserver.js#L8721