Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allows use the xkb options that for example allows you to specify a key combination to change the layouts. #364

Merged
merged 1 commit into from Aug 30, 2016

Conversation

laigor
Copy link
Contributor

@laigor laigor commented Apr 14, 2016

Example of xrdp_keyboard.ini for russian keyboard (Please add this to wiki)

[default_rdp_layouts]
rdp_layout_us=0x00000409
rdp_layout_de=0x00000407
rdp_layout_fr=0x0000040C
rdp_layout_it=0x00000410
rdp_layout_jp=0x00000411
rdp_layout_jp2=0xe0010411
rdp_layout_jp3=0xe0200411
rdp_layout_jp4=0xe0210411
rdp_layout_ru=0x00000419
rdp_layout_se=0x0000041D
rdp_layout_pt=0x00000816
rdp_layout_br=0x00000416
rdp_layout_pl=0x00000415

[rdp_keyboard_ru]
keyboard_type=4
keyboard_subtype=1
model=pc105
options=grp:alt_shift_toggle
rdp_layouts=default_rdp_layouts
layouts_map=layouts_map_ru

[layouts_map_ru]
rdp_layout_us=us,ru
rdp_layout_ru=us,ru

…ey combination to change the layouts.

Example of xrdp_keyboard.ini for russian keyboard

[default_rdp_layouts]
rdp_layout_us=0x00000409
rdp_layout_de=0x00000407
rdp_layout_fr=0x0000040C
rdp_layout_it=0x00000410
rdp_layout_jp=0x00000411
rdp_layout_jp2=0xe0010411
rdp_layout_jp3=0xe0200411
rdp_layout_jp4=0xe0210411
rdp_layout_ru=0x00000419
rdp_layout_se=0x0000041D
rdp_layout_pt=0x00000816
rdp_layout_br=0x00000416
rdp_layout_pl=0x00000415

[rdp_keyboard_ru]
keyboard_type=4
keyboard_subtype=1
model=pc105
options=grp:alt_shift_toggle
rdp_layouts=default_rdp_layouts
layouts_map=layouts_map_ru

[layouts_map_ru]
rdp_layout_us=us,ru
rdp_layout_ru=us,ru
@metalefty
Copy link
Member

Please add this to wiki

You also can do it. If your configuration is common among Russian users, consider changing xrdp_keyboard.ini in the repository.

@metalefty
Copy link
Member

Merge as Jay +1-ed to #363. The difference between #363 and #364 is the branch.

@metalefty metalefty merged commit b934e55 into neutrinolabs:devel Aug 30, 2016
@coolemza
Copy link

don't work in debian 8.5, build with X11rdp-o-matic, added entries from above, options not passed:

lc@debdev:~$ setxkbmap -print -verbose
Trying to build keymap using the following components:
keycodes: xfree86+aliases(qwerty)
types: complete
compat: complete
symbols: pc+us+inet(pc105)+ru:2
geometry: pc(pc105)
xkb_keymap {
xkb_keycodes { include "xfree86+aliases(qwerty)" };
xkb_types { include "complete" };
xkb_compat { include "complete" };
xkb_symbols { include "pc+us+inet(pc105)+ru:2" };
xkb_geometry { include "pc(pc105)" };
};

@metalefty
Copy link
Member

Some more works needed to apply keyboard options. Please wait for a while.

@metalefty
Copy link
Member

@coolemza I did it #417. Can you try?

@coolemza
Copy link

coolemza commented Sep 3, 2016

sure, what is the way to build this pull request with xrdp-o-matic? i tried "xrdp-o-matic --branch devel --justdoit" then applied pull request to xrdp_0.9.0+devel source dir, than again "xrdp-o-matic --branch devel --justdoit" but got errors like:
dpkg-source: error: cannot represent change to xorg/X11R7.6/build_dir/xorg-server-1.9.3/xfixes/.libs/libxfixes.a: binary file contents changed

@metalefty
Copy link
Member

Edit X11rdp-o-matic.sh, s/neutrinolabs/metalefty/g.
And then do with --branch apply-keyboard-options.

@metalefty
Copy link
Member

@coolemza The fix has been merged into devel branch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants