I'm test your rdesktop-9.10 -y, russian and english keyboard layouts works perfect (i mean rus/eng in system and rus/eng in rdp session) thanks. -K still broken, but it is another bug and i do not understand, why it marked as dublicate of this.
About proper way of .deb pathing:
~$ mkdir rdesktop-deb
~$ cd rdesktop-deb
~$ apt-get source rdesktop
~$ cd rdesktop-1.6.0/debian/patches
~$ ls
~$ cat 00list
~$man dpatch
you can add you own patch or replace current 02_raw_keyboard_support.dpatch by yours.
I'm test your rdesktop-9.10 -y, russian and english keyboard layouts works perfect (i mean rus/eng in system and rus/eng in rdp session) thanks. -K still broken, but it is another bug and i do not understand, why it marked as dublicate of this.
About proper way of .deb pathing:
~$ mkdir rdesktop-deb 1.6.0/debian/ patches
~$ cd rdesktop-deb
~$ apt-get source rdesktop
~$ cd rdesktop-
~$ ls
~$ cat 00list
~$man dpatch
you can add you own patch or replace current 02_raw_ keyboard_ support. dpatch by yours.