[jira] [Commented] (GUACAMOLE-925) Add Russian keyboard support for RDP

2024-04-16 Thread Nick Stepin (Jira)


[ 
https://issues.apache.org/jira/browse/GUACAMOLE-925?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17837581#comment-17837581
 ] 

Nick Stepin commented on GUACAMOLE-925:
---

[~vnick] 

Pull request on Github [https://github.com/apache/guacamole-server/pull/507] 
for server

and [https://github.com/apache/guacamole-client/pull/975] for client

> Add Russian keyboard support for RDP
> 
>
> Key: GUACAMOLE-925
> URL: https://issues.apache.org/jira/browse/GUACAMOLE-925
> Project: Guacamole
>  Issue Type: Improvement
>  Components: RDP
>Affects Versions: 1.0.0
>Reporter: Roman Adyev
>Priority: Minor
> Attachments: SCREEN.jpg, apache_guacamole_Russian_layouts.txt, 
> image-2021-01-04-14-42-50-393.png, ru_ru_qwerty-2.keymap, ru_ru_qwerty.keymap
>
>
> Hello, dear support team!
> I'm using Unicode layout because Russian layout isn't presented there, but 
> with Unicode layout I can't send keyboard shortcuts to remote RDP machine 
> (CTRL + C for example).
> If I switch Unicode to English layout in connection settings, I can do 
> keyboard shortcuts but unfortunately some signs doesn't match when I use RU 
> layout, for example instead of period sign I got Russian letter "ю". 
> The keyboard layouts on remote and local machine are identical, that's 100%, 
> tested many times on different clean windows 10 installs, on work, on VMs, on 
> friend's PCs, etc. The issue always the same.
> As I can see Russian layout isn't presented in Guacamole connection settings 
> by itself so it would be highly appreciated if you can suggest any workaround 
> for Russian users.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (GUACAMOLE-925) Add Russian keyboard support for RDP

2024-04-15 Thread Nick Couchman (Jira)


[ 
https://issues.apache.org/jira/browse/GUACAMOLE-925?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17837337#comment-17837337
 ] 

Nick Couchman commented on GUACAMOLE-925:
-

[~nickstep]: Thanks for the information this. In regard to your feedback:
* The transmission of Unicde in absence of the proper scancodes is an intended 
feature - as you mention, the solution is to make sure the scancodes are being 
sent, which means having a correct, up-to-date keymap.
* Thank you for providing the updated keymap - it would be great if you could 
open a pull request on Github with this information and we can get it merged 
into the code.

> Add Russian keyboard support for RDP
> 
>
> Key: GUACAMOLE-925
> URL: https://issues.apache.org/jira/browse/GUACAMOLE-925
> Project: Guacamole
>  Issue Type: Improvement
>  Components: RDP
>Affects Versions: 1.0.0
>Reporter: Roman Adyev
>Priority: Minor
> Attachments: SCREEN.jpg, apache_guacamole_Russian_layouts.txt, 
> image-2021-01-04-14-42-50-393.png, ru_ru_qwerty-2.keymap, ru_ru_qwerty.keymap
>
>
> Hello, dear support team!
> I'm using Unicode layout because Russian layout isn't presented there, but 
> with Unicode layout I can't send keyboard shortcuts to remote RDP machine 
> (CTRL + C for example).
> If I switch Unicode to English layout in connection settings, I can do 
> keyboard shortcuts but unfortunately some signs doesn't match when I use RU 
> layout, for example instead of period sign I got Russian letter "ю". 
> The keyboard layouts on remote and local machine are identical, that's 100%, 
> tested many times on different clean windows 10 installs, on work, on VMs, on 
> friend's PCs, etc. The issue always the same.
> As I can see Russian layout isn't presented in Guacamole connection settings 
> by itself so it would be highly appreciated if you can suggest any workaround 
> for Russian users.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (GUACAMOLE-925) Add Russian keyboard support for RDP

2024-04-09 Thread Nick Stepin (Jira)


[ 
https://issues.apache.org/jira/browse/GUACAMOLE-925?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17835601#comment-17835601
 ] 

Nick Stepin commented on GUACAMOLE-925:
---

Может кому интересно, но я решил эту проблему.
Анализ проблемы показал, что когда мы указываем раскладку где есть таблица 
замен, то сервер при получении от клиента unicode нажатой клавиши, находит в 
этой таблице и подставляет скан-код. Если не находит, то отдает unicode.
Соответственно, когда мы выбираем раскладку en_us_qwerty, то при нажатии на "." 
в любой раскладке будет подмена на скан-код клавиши "ю". Что приводит к 
эффекту, когда в en у нас ".", а в ru - вместо "." всегда "ю".
Если же мы используем раскладку unicode (а у нее просто нет таблицы замен), то 
всегда передается unicode, но Windows не понимает сочетаний Ctrl+unicode.
Второй момент связан с выбором раскладки для freerdp - в нашем случае там 
должен быть KBD_US, т.к. у нас идет переключение не раскладки, а языка.

Основная идея решения состоит в следующем - надо сделать так, чтобы латинские 
буквы передавались скан-кодами (тогда работает сочетание с Ctrl), а русские и 
прочие знаки в Unicode.

Соответственно таблица замен ru_ru_qwerty,keymap должна выглядеть по-другому 
([^ru_ru_qwerty.keymap])
Мероприятия по интеграции раскладки в сервер и клиент не описываю, т.к. это 
описано другими.

Нюанс. Чтобы всё работало как надо важно, чтобы выбор языка на хостовой и 
удаленной машине совпадали, иначе будете получать эффекты типа "вместо хъ - [], 
бю - ,."

> Add Russian keyboard support for RDP
> 
>
> Key: GUACAMOLE-925
> URL: https://issues.apache.org/jira/browse/GUACAMOLE-925
> Project: Guacamole
>  Issue Type: Improvement
>  Components: RDP
>Affects Versions: 1.0.0
>Reporter: Roman Adyev
>Priority: Minor
> Attachments: SCREEN.jpg, apache_guacamole_Russian_layouts.txt, 
> image-2021-01-04-14-42-50-393.png, ru_ru_qwerty-1.keymap, ru_ru_qwerty.keymap
>
>
> Hello, dear support team!
> I'm using Unicode layout because Russian layout isn't presented there, but 
> with Unicode layout I can't send keyboard shortcuts to remote RDP machine 
> (CTRL + C for example).
> If I switch Unicode to English layout in connection settings, I can do 
> keyboard shortcuts but unfortunately some signs doesn't match when I use RU 
> layout, for example instead of period sign I got Russian letter "ю". 
> The keyboard layouts on remote and local machine are identical, that's 100%, 
> tested many times on different clean windows 10 installs, on work, on VMs, on 
> friend's PCs, etc. The issue always the same.
> As I can see Russian layout isn't presented in Guacamole connection settings 
> by itself so it would be highly appreciated if you can suggest any workaround 
> for Russian users.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (GUACAMOLE-925) Add Russian keyboard support for RDP

2021-10-11 Thread Roman Adyev (Jira)


[ 
https://issues.apache.org/jira/browse/GUACAMOLE-925?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17427182#comment-17427182
 ] 

Roman Adyev commented on GUACAMOLE-925:
---

Thank you very much for detailed explanation.

RU keyboard layout works pretty fine in Unicode mode, but "Crtl+" combinations 
don't work.

And "Crtl+" combination works fine when I use English layout in non-Unicode 
mode.

So I suppose the only way to make "Crtl+" combinations work with Russian layout 
is to add Russian keyboard support for RDP in Guacamole, according to the topic 
name : )

Am I correct?

 

> Add Russian keyboard support for RDP
> 
>
> Key: GUACAMOLE-925
> URL: https://issues.apache.org/jira/browse/GUACAMOLE-925
> Project: Guacamole
>  Issue Type: Improvement
>  Components: RDP
>Affects Versions: 1.0.0
>Reporter: Roman Adyev
>Priority: Minor
> Attachments: SCREEN.jpg, apache_guacamole_Russian_layouts.txt, 
> image-2021-01-04-14-42-50-393.png, ru_ru_qwerty.keymap
>
>
> Hello, dear support team!
> I'm using Unicode layout because Russian layout isn't presented there, but 
> with Unicode layout I can't send keyboard shortcuts to remote RDP machine 
> (CTRL + C for example).
> If I switch Unicode to English layout in connection settings, I can do 
> keyboard shortcuts but unfortunately some signs doesn't match when I use RU 
> layout, for example instead of period sign I got Russian letter "ю". 
> The keyboard layouts on remote and local machine are identical, that's 100%, 
> tested many times on different clean windows 10 installs, on work, on VMs, on 
> friend's PCs, etc. The issue always the same.
> As I can see Russian layout isn't presented in Guacamole connection settings 
> by itself so it would be highly appreciated if you can suggest any workaround 
> for Russian users.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (GUACAMOLE-925) Add Russian keyboard support for RDP

2021-08-18 Thread Mike Jumper (Jira)


[ 
https://issues.apache.org/jira/browse/GUACAMOLE-925?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17401405#comment-17401405
 ] 

Mike Jumper commented on GUACAMOLE-925:
---

{quote}
Since all systems are now Unicode-compatible, I think there's no need to add 
more layouts explicitly. Just [Ctrl]-sequences should be fixed for 
Unicode-layout. 
{quote}

This is not possible - it's just not how Unicode events work within Windows. 
The reason that pure Unicode events cannot be used with Ctrl for keyboard 
shortcuts is that Windows simply does not process keyboard shortcuts from 
Unicode events. It cannot work that way. There is no way for it to work.

Keyboard shortcuts can only with traditional key events, which requires that 
the configured keyboard layout (within the Guacamole connection) matches the 
keyboard layout configured within the RDP session. This should happen 
automatically if the keyboard layout selected within Guacamole is supported by 
the installation of Windows. That said, if a user later changes the keyboard 
layout within the session, the identities of remote keys will suddenly not 
match up with what Guacamole has been configured to expect, and the wrong 
events will be sent.

>From the relevant section of the FAQ 
>([https://guacamole.apache.org/faq/#does-guacamole-support-my-keyboard-layout]),
> the absolute ultimate solution to providing perfect key events is to 
>specifically support the keyboard layout in question, _but this is not usually 
>necessary_. As long as _any_ supported keyboard layout is selected, the keys 
>within that keyboard layout will be usable with keyboard shortcuts involving 
>Ctrl, etc., and Unicode will be used automatically and only for keys that are 
>absent from that keyboard layout.

>From the above:

"... **This does not mean that your RDP server must have the same keyboard 
layout as the client machine.** It only means that Guacamole must have a 
keyboard layout definition for the layout used by the RDP server. If a user 
attempts to use a keyboard with a different layout, Guacamole will translate 
pressed keys as necessary to match the layout of the RDP server. If the user 
attempts to press keys which are not present in the keyboard layout of the RDP 
server, Guacamole will send those keys in the form of Unicode events. ..."

For example, if you are using a Russian keyboard locally and have configured 
Guacamole and Windows to us a US English layout, the following would happen for 
various key combinations:


||Local Keys||Remote Events||
| Ctrl+C | Traditional key press and release events for "Ctrl" and "C" |
| ю | Unicode event "ю" |

The only Ctrl shortcuts that would not work in this sort of configuration would 
be things like "Ctrl+ю".

{quote}
I recently upgraded version from 1.0 to 1.3 and the problem remains exactly as 
it was
{quote}

Specific support for Russian keyboard layout has not been implemented, hence 
this JIRA issue for adding that layout. You won't find it in any past release 
nor in current git. If this issue is closed as completed, you build the version 
noted in "Fix Version" or from git,  and you don't see support for Russian 
layouts, _then_ something is wrong.

To all happening across this JIRA issue because they are looking to use a 
Russian keyboard, things really should already work:

# Don't modify the source (unless you are intending to test the contributed 
keyboard layout)
# Configure your Guacamole connection to use a supported keyboard layout like 
US English (the default). **The layout does not need to match your local users' 
layouts.** It only needs to match the layout of the RDP server, and that much 
should happen automatically as long as the layout is supported by the server 
(which it should be).
# Type whatever you wish. Ctrl shortcuts that use keys defined on the US 
English keyboard will use traditional keyboard events and work as expected. 
Typing Russian/Cyrillic characters will leverage Unicode events and work as 
expected.

If there is something specific to the Russian layout that means the above 
actually cannot work for users leveraging Russian keyboards locally, please let 
us know.

> Add Russian keyboard support for RDP
> 
>
> Key: GUACAMOLE-925
> URL: https://issues.apache.org/jira/browse/GUACAMOLE-925
> Project: Guacamole
>  Issue Type: Improvement
>  Components: RDP
>Affects Versions: 1.0.0
>Reporter: Roman Adyev
>Priority: Minor
> Attachments: SCREEN.jpg, apache_guacamole_Russian_layouts.txt, 
> image-2021-01-04-14-42-50-393.png, ru_ru_qwerty.keymap
>
>
> Hello, dear support team!
> I'm using Unicode layout because Russian layout isn't presented there, but 
> with Unicode layout I can't send keyboard shortcuts to remote RDP machine 
> (CTRL + C for example).
> If I switch Unicode to English layout 

[jira] [Commented] (GUACAMOLE-925) Add Russian keyboard support for RDP

2021-08-18 Thread Roman Adyev (Jira)


[ 
https://issues.apache.org/jira/browse/GUACAMOLE-925?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17401369#comment-17401369
 ] 

Roman Adyev commented on GUACAMOLE-925:
---

FYI

I recently upgraded version from 1.0 to 1.3 and the problem remains exactly as 
it was :P

> Add Russian keyboard support for RDP
> 
>
> Key: GUACAMOLE-925
> URL: https://issues.apache.org/jira/browse/GUACAMOLE-925
> Project: Guacamole
>  Issue Type: Improvement
>  Components: RDP
>Affects Versions: 1.0.0
>Reporter: Roman Adyev
>Priority: Minor
> Attachments: SCREEN.jpg, apache_guacamole_Russian_layouts.txt, 
> image-2021-01-04-14-42-50-393.png, ru_ru_qwerty.keymap
>
>
> Hello, dear support team!
> I'm using Unicode layout because Russian layout isn't presented there, but 
> with Unicode layout I can't send keyboard shortcuts to remote RDP machine 
> (CTRL + C for example).
> If I switch Unicode to English layout in connection settings, I can do 
> keyboard shortcuts but unfortunately some signs doesn't match when I use RU 
> layout, for example instead of period sign I got Russian letter "ю". 
> The keyboard layouts on remote and local machine are identical, that's 100%, 
> tested many times on different clean windows 10 installs, on work, on VMs, on 
> friend's PCs, etc. The issue always the same.
> As I can see Russian layout isn't presented in Guacamole connection settings 
> by itself so it would be highly appreciated if you can suggest any workaround 
> for Russian users.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (GUACAMOLE-925) Add Russian keyboard support for RDP

2021-01-04 Thread NFisher (Jira)


[ 
https://issues.apache.org/jira/browse/GUACAMOLE-925?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17258171#comment-17258171
 ] 

NFisher commented on GUACAMOLE-925:
---

[~mjumper] It looks like we're treading water ;)
I have 2 layouts and 2 languages installed on local Windows 10 and on remote 
Windows 2016 - ENG (English United States with US keyboard) and RUS (Russian 
with Russian keyboard).
On both systems I have [Ctrl]+[Shift] combination to switch between input 
languages and no combination to switch keyboard layouts explicitly (in terms of 
standard Windows "Change key sequence" form).
!image-2021-01-04-14-42-50-393.png!


Now let's go back to the start post.
1. If I set Unicode layout - both Russian and English keyboards work ok but 
[Ctrl]+ combinations don't. Like [Ctrl]+[F], [Ctrl]+[C], etc...
2. When I added Russian keymap to guacamole-server and guacamole-client, 
Russian keyboard worked ok along with [Ctrl]+ sequences. But English 
layout was broken for some keys and [Ctrl]-sequences as well.

That's all I know. 

Since all systems are now Unicode-compatible, I think there's no need to add 
more layouts explicitly. Just [Ctrl]-sequences should be fixed for 
Unicode-layout. 
I guess the trouble is that the [Ctrl]-sequences are treated literally when 
should be treated via scan-codes.

Also keep in mind that the bug is 1 year (and 3 releases) old ;) 

> Add Russian keyboard support for RDP
> 
>
> Key: GUACAMOLE-925
> URL: https://issues.apache.org/jira/browse/GUACAMOLE-925
> Project: Guacamole
>  Issue Type: Improvement
>  Components: RDP
>Affects Versions: 1.0.0
>Reporter: Roman Adyev
>Priority: Minor
> Attachments: SCREEN.jpg, apache_guacamole_Russian_layouts.txt, 
> image-2021-01-04-14-42-50-393.png, ru_ru_qwerty.keymap
>
>
> Hello, dear support team!
> I'm using Unicode layout because Russian layout isn't presented there, but 
> with Unicode layout I can't send keyboard shortcuts to remote RDP machine 
> (CTRL + C for example).
> If I switch Unicode to English layout in connection settings, I can do 
> keyboard shortcuts but unfortunately some signs doesn't match when I use RU 
> layout, for example instead of period sign I got Russian letter "ю". 
> The keyboard layouts on remote and local machine are identical, that's 100%, 
> tested many times on different clean windows 10 installs, on work, on VMs, on 
> friend's PCs, etc. The issue always the same.
> As I can see Russian layout isn't presented in Guacamole connection settings 
> by itself so it would be highly appreciated if you can suggest any workaround 
> for Russian users.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (GUACAMOLE-925) Add Russian keyboard support for RDP

2021-01-01 Thread Mike Jumper (Jira)


[ 
https://issues.apache.org/jira/browse/GUACAMOLE-925?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17257253#comment-17257253
 ] 

Mike Jumper commented on GUACAMOLE-925:
---

The English layout is definitely correct, and adding a new keyboard layout 
cannot have an impact on existing layouts. What you are seeing is probably due 
to the layout selected in Guacamole not matching the layout selected in Windows.

> Add Russian keyboard support for RDP
> 
>
> Key: GUACAMOLE-925
> URL: https://issues.apache.org/jira/browse/GUACAMOLE-925
> Project: Guacamole
>  Issue Type: Improvement
>  Components: RDP
>Affects Versions: 1.0.0
>Reporter: Roman Adyev
>Priority: Minor
> Attachments: SCREEN.jpg, apache_guacamole_Russian_layouts.txt, 
> ru_ru_qwerty.keymap
>
>
> Hello, dear support team!
> I'm using Unicode layout because Russian layout isn't presented there, but 
> with Unicode layout I can't send keyboard shortcuts to remote RDP machine 
> (CTRL + C for example).
> If I switch Unicode to English layout in connection settings, I can do 
> keyboard shortcuts but unfortunately some signs doesn't match when I use RU 
> layout, for example instead of period sign I got Russian letter "ю". 
> The keyboard layouts on remote and local machine are identical, that's 100%, 
> tested many times on different clean windows 10 installs, on work, on VMs, on 
> friend's PCs, etc. The issue always the same.
> As I can see Russian layout isn't presented in Guacamole connection settings 
> by itself so it would be highly appreciated if you can suggest any workaround 
> for Russian users.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (GUACAMOLE-925) Add Russian keyboard support for RDP

2020-12-31 Thread NFisher (Jira)


[ 
https://issues.apache.org/jira/browse/GUACAMOLE-925?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17256873#comment-17256873
 ] 

NFisher commented on GUACAMOLE-925:
---

[~mjumper]: I've added 'ru-ru' layout to rdp.json in guacamole-ext.jar and menu 
option to translations/en.json
Now Russian layout works ok, but English layout is broken:

asdfghjkl$

zxcvbnm?/|

ASDFGHJKL^@

ZXCVBNM<>&

 

Also [Ctrl]+ combinations in English layout are broken.

I guess some extra mappings should be added.

 

> Add Russian keyboard support for RDP
> 
>
> Key: GUACAMOLE-925
> URL: https://issues.apache.org/jira/browse/GUACAMOLE-925
> Project: Guacamole
>  Issue Type: Improvement
>  Components: RDP
>Affects Versions: 1.0.0
>Reporter: Roman Adyev
>Priority: Minor
> Attachments: SCREEN.jpg, apache_guacamole_Russian_layouts.txt, 
> ru_ru_qwerty.keymap
>
>
> Hello, dear support team!
> I'm using Unicode layout because Russian layout isn't presented there, but 
> with Unicode layout I can't send keyboard shortcuts to remote RDP machine 
> (CTRL + C for example).
> If I switch Unicode to English layout in connection settings, I can do 
> keyboard shortcuts but unfortunately some signs doesn't match when I use RU 
> layout, for example instead of period sign I got Russian letter "ю". 
> The keyboard layouts on remote and local machine are identical, that's 100%, 
> tested many times on different clean windows 10 installs, on work, on VMs, on 
> friend's PCs, etc. The issue always the same.
> As I can see Russian layout isn't presented in Guacamole connection settings 
> by itself so it would be highly appreciated if you can suggest any workaround 
> for Russian users.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (GUACAMOLE-925) Add Russian keyboard support for RDP

2020-12-30 Thread NFisher (Jira)


[ 
https://issues.apache.org/jira/browse/GUACAMOLE-925?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17256846#comment-17256846
 ] 

NFisher commented on GUACAMOLE-925:
---

Thanks. I'll rebuilt the client app and let you know.
So can I hope that ru_ru keymap will be added to the next release?

> Add Russian keyboard support for RDP
> 
>
> Key: GUACAMOLE-925
> URL: https://issues.apache.org/jira/browse/GUACAMOLE-925
> Project: Guacamole
>  Issue Type: Improvement
>  Components: RDP
>Affects Versions: 1.0.0
>Reporter: Roman Adyev
>Priority: Minor
> Attachments: SCREEN.jpg, apache_guacamole_Russian_layouts.txt, 
> ru_ru_qwerty.keymap
>
>
> Hello, dear support team!
> I'm using Unicode layout because Russian layout isn't presented there, but 
> with Unicode layout I can't send keyboard shortcuts to remote RDP machine 
> (CTRL + C for example).
> If I switch Unicode to English layout in connection settings, I can do 
> keyboard shortcuts but unfortunately some signs doesn't match when I use RU 
> layout, for example instead of period sign I got Russian letter "ю". 
> The keyboard layouts on remote and local machine are identical, that's 100%, 
> tested many times on different clean windows 10 installs, on work, on VMs, on 
> friend's PCs, etc. The issue always the same.
> As I can see Russian layout isn't presented in Guacamole connection settings 
> by itself so it would be highly appreciated if you can suggest any workaround 
> for Russian users.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (GUACAMOLE-925) Add Russian keyboard support for RDP

2020-12-30 Thread Mike Jumper (Jira)


[ 
https://issues.apache.org/jira/browse/GUACAMOLE-925?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17256841#comment-17256841
 ] 

Mike Jumper commented on GUACAMOLE-925:
---

{quote}
If I switch Unicode to English layout in connection settings, I can do keyboard 
shortcuts but unfortunately some signs doesn't match when I use RU layout, for 
example instead of period sign I got Russian letter "ю".
{quote}

This shouldn't be happening, even without a Russian layout definition. The only 
case where it might occur is if you switch the _server_ layout to Russian, but 
tell Guacamole that the server layout is English. I'll try to clarify:

* When you type a character that isn't defined for the *server layout* (not 
local keyboard layout, but the _server_ keyboard layout), Guacamole will fall 
back to sending a Unicode event.
* When you select the Unicode keyboard layout, what you are actually doing is 
_selecting a keymap that has zero keys defined_. This has the effect of forcing 
all typed characters to use Unicode events, because Guacamole has to use its 
Unicode event fallback for everything. The option exists, but really should 
never need to be used.
* If you tell Guacamole that the server layout is X but actually set the server 
layout to Y, Guacamole cannot send the correct key events. It will believe that 
a particular sequence of scancodes will produce a particular character, but 
will be incorrect because the layout on the server does not match the 
definition selected for the connection.

So, breaking down what likely happened when you typed "." but got "ю":

# Guacamole has been told that the RDP server uses the English keyboard layout 
via the connection configuration.
# The Windows machine in question has actually been configured to use Russian, 
or has been switched from English to Russian after connecting.
# You attempt to type "."
# Guacamole checks the keyboard layout it's been configured to use and says 
"Great! I know exactly what scancode to send for _that_!" and sends the 
scancode used for "." on the English keyboard.
# But nope - Windows has actually been configured to assume a Russian keyboard 
layout. The English "." key has the same scancode as the Russian "ю" key. The 
scancode it receives, though correct for English, will actually produce "ю" - 
the key that has that scancode in the Russian layout.

If Guacamole is set to English and Windows is set to English, then "." would 
produce "." via traditional scancodes and "ю" would produce "ю" via Unicode. 
Characters common to both keyboards would be typed using scancodes, while 
characters unique to Russian would use Unicode.

To be clear, a Russian keyboard layout is a welcome contribution and 
beneficial. It's necessary for any RDP server that does not support Unicode 
events and for any case where the Windows keyboard layout cannot be changed 
from Russian. For most cases, however, you really should be able to type 
without any trouble. All that's needed is for the setting in Guacamole to match 
reality. If reality differs from what you told Guacamole, then that's when 
things fall apart.

> Add Russian keyboard support for RDP
> 
>
> Key: GUACAMOLE-925
> URL: https://issues.apache.org/jira/browse/GUACAMOLE-925
> Project: Guacamole
>  Issue Type: Improvement
>  Components: RDP
>Affects Versions: 1.0.0
>Reporter: Roman Adyev
>Priority: Minor
> Attachments: SCREEN.jpg, apache_guacamole_Russian_layouts.txt, 
> ru_ru_qwerty.keymap
>
>
> Hello, dear support team!
> I'm using Unicode layout because Russian layout isn't presented there, but 
> with Unicode layout I can't send keyboard shortcuts to remote RDP machine 
> (CTRL + C for example).
> If I switch Unicode to English layout in connection settings, I can do 
> keyboard shortcuts but unfortunately some signs doesn't match when I use RU 
> layout, for example instead of period sign I got Russian letter "ю". 
> The keyboard layouts on remote and local machine are identical, that's 100%, 
> tested many times on different clean windows 10 installs, on work, on VMs, on 
> friend's PCs, etc. The issue always the same.
> As I can see Russian layout isn't presented in Guacamole connection settings 
> by itself so it would be highly appreciated if you can suggest any workaround 
> for Russian users.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (GUACAMOLE-925) Add Russian keyboard support for RDP

2020-12-30 Thread Mike Jumper (Jira)


[ 
https://issues.apache.org/jira/browse/GUACAMOLE-925?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17256834#comment-17256834
 ] 

Mike Jumper commented on GUACAMOLE-925:
---

{quote}
During the "make" process i saw that ru_ru_qwerty.keymap was catched up to the 
build. But there's no option in "Keyboard layout" anyway.
{quote}

If you're referring to the user interface within the webapp, the available 
parameters, value, etc. are not driven by guacd but by parameter definitions 
and corresponding translations that are part of the webapp:

https://github.com/apache/guacamole-client/blob/156a19967ae64bc0a74480db94624b01cefc17c6/guacamole/src/main/webapp/translations/en.json#L550-L567
https://github.com/apache/guacamole-client/blob/156a19967ae64bc0a74480db94624b01cefc17c6/guacamole-ext/src/main/resources/org/apache/guacamole/protocols/rdp.json#L89-L112

When a new possible value is added to a parameter (or when a new parameter is 
added entirely), the client-side parameter definitions and at least the English 
translation need to be updated for that to be visible in the UI.

> Add Russian keyboard support for RDP
> 
>
> Key: GUACAMOLE-925
> URL: https://issues.apache.org/jira/browse/GUACAMOLE-925
> Project: Guacamole
>  Issue Type: Improvement
>  Components: RDP
>Affects Versions: 1.0.0
>Reporter: Roman Adyev
>Priority: Minor
> Attachments: SCREEN.jpg, apache_guacamole_Russian_layouts.txt, 
> ru_ru_qwerty.keymap
>
>
> Hello, dear support team!
> I'm using Unicode layout because Russian layout isn't presented there, but 
> with Unicode layout I can't send keyboard shortcuts to remote RDP machine 
> (CTRL + C for example).
> If I switch Unicode to English layout in connection settings, I can do 
> keyboard shortcuts but unfortunately some signs doesn't match when I use RU 
> layout, for example instead of period sign I got Russian letter "ю". 
> The keyboard layouts on remote and local machine are identical, that's 100%, 
> tested many times on different clean windows 10 installs, on work, on VMs, on 
> friend's PCs, etc. The issue always the same.
> As I can see Russian layout isn't presented in Guacamole connection settings 
> by itself so it would be highly appreciated if you can suggest any workaround 
> for Russian users.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (GUACAMOLE-925) Add Russian keyboard support for RDP

2020-12-29 Thread NFisher (Jira)


[ 
https://issues.apache.org/jira/browse/GUACAMOLE-925?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17256088#comment-17256088
 ] 

NFisher commented on GUACAMOLE-925:
---

I've also edited Makefiles in protocols/rdp and rebuilt and reinstalled "guacd".
During the "make" process i saw that ru_ru_qwerty.keymap was catched up to the 
build. But there's no option in "Keyboard layout" anyway. 


> Add Russian keyboard support for RDP
> 
>
> Key: GUACAMOLE-925
> URL: https://issues.apache.org/jira/browse/GUACAMOLE-925
> Project: Guacamole
>  Issue Type: Improvement
>  Components: RDP
>Affects Versions: 1.0.0
>Reporter: Roman Adyev
>Priority: Minor
> Attachments: SCREEN.jpg, apache_guacamole_Russian_layouts.txt, 
> ru_ru_qwerty.keymap
>
>
> Hello, dear support team!
> I'm using Unicode layout because Russian layout isn't presented there, but 
> with Unicode layout I can't send keyboard shortcuts to remote RDP machine 
> (CTRL + C for example).
> If I switch Unicode to English layout in connection settings, I can do 
> keyboard shortcuts but unfortunately some signs doesn't match when I use RU 
> layout, for example instead of period sign I got Russian letter "ю". 
> The keyboard layouts on remote and local machine are identical, that's 100%, 
> tested many times on different clean windows 10 installs, on work, on VMs, on 
> friend's PCs, etc. The issue always the same.
> As I can see Russian layout isn't presented in Guacamole connection settings 
> by itself so it would be highly appreciated if you can suggest any workaround 
> for Russian users.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (GUACAMOLE-925) Add Russian keyboard support for RDP

2020-12-29 Thread NFisher (Jira)


[ 
https://issues.apache.org/jira/browse/GUACAMOLE-925?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17255868#comment-17255868
 ] 

NFisher commented on GUACAMOLE-925:
---

I've added "ru_ru_qwerty.keymap" to attachments.
It is made on the basis of 
"guacamole-server-1.2.0/src/protocols/rdp/keymaps/en_us_qwerty.keymap"

I'm unaware if double quotes (") and backslash (\) should be escaped.
In "en_us" keymap they are not. I didn't escape them in "ru_ru" too.

To whom who can - please submit a pull request.

> Add Russian keyboard support for RDP
> 
>
> Key: GUACAMOLE-925
> URL: https://issues.apache.org/jira/browse/GUACAMOLE-925
> Project: Guacamole
>  Issue Type: Improvement
>  Components: RDP
>Affects Versions: 1.0.0
>Reporter: Roman Adyev
>Priority: Minor
> Attachments: SCREEN.jpg, apache_guacamole_Russian_layouts.txt, 
> ru_ru_qwerty.keymap
>
>
> Hello, dear support team!
> I'm using Unicode layout because Russian layout isn't presented there, but 
> with Unicode layout I can't send keyboard shortcuts to remote RDP machine 
> (CTRL + C for example).
> If I switch Unicode to English layout in connection settings, I can do 
> keyboard shortcuts but unfortunately some signs doesn't match when I use RU 
> layout, for example instead of period sign I got Russian letter "ю". 
> The keyboard layouts on remote and local machine are identical, that's 100%, 
> tested many times on different clean windows 10 installs, on work, on VMs, on 
> friend's PCs, etc. The issue always the same.
> As I can see Russian layout isn't presented in Guacamole connection settings 
> by itself so it would be highly appreciated if you can suggest any workaround 
> for Russian users.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (GUACAMOLE-925) Add Russian keyboard support for RDP

2020-12-28 Thread NFisher (Jira)


[ 
https://issues.apache.org/jira/browse/GUACAMOLE-925?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17255826#comment-17255826
 ] 

NFisher commented on GUACAMOLE-925:
---

I'm unable to submit it by myself (or need detailed instructions), but you feel 
free to use it.

> Add Russian keyboard support for RDP
> 
>
> Key: GUACAMOLE-925
> URL: https://issues.apache.org/jira/browse/GUACAMOLE-925
> Project: Guacamole
>  Issue Type: Improvement
>  Components: RDP
>Affects Versions: 1.0.0
>Reporter: Roman Adyev
>Priority: Minor
> Attachments: SCREEN.jpg, apache_guacamole_Russian_layouts.txt
>
>
> Hello, dear support team!
> I'm using Unicode layout because Russian layout isn't presented there, but 
> with Unicode layout I can't send keyboard shortcuts to remote RDP machine 
> (CTRL + C for example).
> If I switch Unicode to English layout in connection settings, I can do 
> keyboard shortcuts but unfortunately some signs doesn't match when I use RU 
> layout, for example instead of period sign I got Russian letter "ю". 
> The keyboard layouts on remote and local machine are identical, that's 100%, 
> tested many times on different clean windows 10 installs, on work, on VMs, on 
> friend's PCs, etc. The issue always the same.
> As I can see Russian layout isn't presented in Guacamole connection settings 
> by itself so it would be highly appreciated if you can suggest any workaround 
> for Russian users.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (GUACAMOLE-925) Add Russian keyboard support for RDP

2020-12-28 Thread Nick Couchman (Jira)


[ 
https://issues.apache.org/jira/browse/GUACAMOLE-925?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17255801#comment-17255801
 ] 

Nick Couchman commented on GUACAMOLE-925:
-

[~NFisher]: It would be great to have this code submitted in a pull request so 
that it could be included in the RDP code for Guacamole Server. Would you be 
able to do that?

> Add Russian keyboard support for RDP
> 
>
> Key: GUACAMOLE-925
> URL: https://issues.apache.org/jira/browse/GUACAMOLE-925
> Project: Guacamole
>  Issue Type: Improvement
>  Components: RDP
>Affects Versions: 1.0.0
>Reporter: Roman Adyev
>Priority: Minor
> Attachments: SCREEN.jpg, apache_guacamole_Russian_layouts.txt
>
>
> Hello, dear support team!
> I'm using Unicode layout because Russian layout isn't presented there, but 
> with Unicode layout I can't send keyboard shortcuts to remote RDP machine 
> (CTRL + C for example).
> If I switch Unicode to English layout in connection settings, I can do 
> keyboard shortcuts but unfortunately some signs doesn't match when I use RU 
> layout, for example instead of period sign I got Russian letter "ю". 
> The keyboard layouts on remote and local machine are identical, that's 100%, 
> tested many times on different clean windows 10 installs, on work, on VMs, on 
> friend's PCs, etc. The issue always the same.
> As I can see Russian layout isn't presented in Guacamole connection settings 
> by itself so it would be highly appreciated if you can suggest any workaround 
> for Russian users.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (GUACAMOLE-925) Add Russian keyboard support for RDP

2020-09-17 Thread NFisher (Jira)


[ 
https://issues.apache.org/jira/browse/GUACAMOLE-925?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17198103#comment-17198103
 ] 

NFisher commented on GUACAMOLE-925:
---

The issue is actual for v.1.2.0 as well.
In the same time the Russian layout is ok on SSH connections.

See attachment for correct layout.

> Add Russian keyboard support for RDP
> 
>
> Key: GUACAMOLE-925
> URL: https://issues.apache.org/jira/browse/GUACAMOLE-925
> Project: Guacamole
>  Issue Type: Improvement
>  Components: RDP
>Affects Versions: 1.0.0
>Reporter: Roman Adyev
>Priority: Minor
> Attachments: SCREEN.jpg, apache_guacamole_Russian_layouts.txt
>
>
> Hello, dear support team!
> I'm using Unicode layout because Russian layout isn't presented there, but 
> with Unicode layout I can't send keyboard shortcuts to remote RDP machine 
> (CTRL + C for example).
> If I switch Unicode to English layout in connection settings, I can do 
> keyboard shortcuts but unfortunately some signs doesn't match when I use RU 
> layout, for example instead of period sign I got Russian letter "ю". 
> The keyboard layouts on remote and local machine are identical, that's 100%, 
> tested many times on different clean windows 10 installs, on work, on VMs, on 
> friend's PCs, etc. The issue always the same.
> As I can see Russian layout isn't presented in Guacamole connection settings 
> by itself so it would be highly appreciated if you can suggest any workaround 
> for Russian users.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)