On Wed, Feb 5, 2025 at 12:14 PM Subbareddy Alamuru <
[email protected]> wrote:

>
> Hi Team,
>
> I would like to inquire if there is a setting within Guacamole that allows
> for automatic detection of a user's keyboard layout during an RDP
> connection, without the need for explicit configuration.
>
>
No, there is no way that I know of to accomplish this - Guacamole cannot
automatically detect it, mostly because there's no method within JavaScript
to return this information. The Keyboard API within JavaScript can pull the
current layout map, but it doesn't give you the information you'd need to
actually map this over to the RDP client setting.


> Currently, we are managing separate Guacamole connections for each
> keyboard layout type, and we're interested in exploring more efficient
> approaches if available.
>
>
The thing that occurs to me that would help ease this is if the keyboard
layout for users was tracked, either as a preference (stored in the
browser's local storage) or in the database and associated with the user
object. Then, we could have a connection option for the layout that,
instead of explicitly mapping to a specific layout, could pull the
preference from the user object, local storage, etc. While this doesn't
eliminate all of the administration, it makes it so that the user would
only have to set it once, you could apply the setting to all connections,
and you wouldn't have to maintain separate connections per-keyboard layout.

-Nick

Reply via email to