VirtualBox

Opened 16 years ago

Closed 14 years ago

#1891 closed defect (duplicate)

VB doesn't handle custom keyboard layouts (xmodmap) -> duplicate of #2595

Reported by: ruben vestergaard Owned by:
Component: other Version: VirtualBox 1.6.2
Keywords: keyboard input xmodmap Cc:
Guest type: other Host type: Linux

Description

VirtualBox cannot handle a custom keyboard layout by xmodmap. When entering characters, "abcde..." becomes "anihd...". Attached is the VBox log and the xmodmaprc I'm using. If xmodmap is not invoked, everything is peachy.

Attachments (5)

VBox.log (35.1 KB ) - added by ruben vestergaard 16 years ago.
xmodmaprc (9.4 KB ) - added by ruben vestergaard 16 years ago.
X11 keyboard layout
VBox.2.log (36.3 KB ) - added by ruben vestergaard 16 years ago.
1.6.4 log file
VBox.3.log (34.2 KB ) - added by ruben vestergaard 16 years ago.
1.6.4 log file, no xmodmap
.Xmodmap (924 bytes ) - added by Jon Strømme 14 years ago.
xmodmap, causes malfunction on Ubuntu Karmic 64bit

Download all attachments as: .zip

Change History (25)

by ruben vestergaard, 16 years ago

Attachment: VBox.log added

by ruben vestergaard, 16 years ago

Attachment: xmodmaprc added

X11 keyboard layout

comment:1 by Michael Thayer, 16 years ago

Please retry with VirtualBox 1.6.4.

in reply to:  1 comment:2 by ruben vestergaard, 16 years ago

Replying to michael:

The problem persists in 1.6.4.

comment:3 by Michael Thayer, 16 years ago

Could you include a log file from 1.6 please?

by ruben vestergaard, 16 years ago

Attachment: VBox.2.log added

1.6.4 log file

in reply to:  3 comment:4 by ruben vestergaard, 16 years ago

Replying to michael:

Could you include a log file from 1.6 please?

I certainly can. Log attached.

comment:5 by Michael Thayer, 16 years ago

Are you using any non-standard keyboard setup? In this case, non-standard means anything other than a PC keyboard used locally on a PC compatible machine. And was the log you posted with or without your custom layout? If it was with it, could you please post a log taken using your normal layout? Thanks very much!

in reply to:  5 comment:6 by ruben vestergaard, 16 years ago

Replying to michael:

Are you using any non-standard keyboard setup?

No, it's a pretty standard Logitech USB cordless something on a regular PC.

And was the log you posted with or without your custom layout?

With custom layout. Clean log coming up.

by ruben vestergaard, 16 years ago

Attachment: VBox.3.log added

1.6.4 log file, no xmodmap

comment:7 by ruben vestergaard, 16 years ago

Btw, does it only happen to me ? I figured, as this is new software (at least it is to me) that there were some kinks that wasn't quite ironed out yet ..... but is that actually the case ?

comment:8 by Michael Thayer, 16 years ago

Resolution: fixed
Status: newclosed
Summary: VB doesn't handle custom keyboard layouts (xmodmap)VB doesn't handle custom keyboard layouts (xmodmap) => fixed in next version

Your layout reversed Ctrl and Caps. This should be fixed in the next version.

in reply to:  8 comment:9 by ruben vestergaard, 16 years ago

Replying to michael:

Your layout reversed Ctrl and Caps. This should be fixed in the next version.

That is awesome, I'll be looking forward to that ! Thanks a lot for your attention !

comment:10 by Jon, 16 years ago

Resolution: fixed
Status: closedreopened

After updating to VirtualBox 2.0 this is not working for me anymore. I have a the Ctrl and Caps key switched on my keyboard using xmodmap on Ubuntu 8.04-Host, the behavior in VirtualBox now is that both, Caps-lock and Ctrl are placed at the Ctrl-key. I assume the Caps-lock function is taken from the Host OS, which is there placed at the Ctrl key, and the Guest (Windows XP) is interpreting the Ctrl-key itself, with it's original meaning, ignoring the layout set in xmodmap.

comment:11 by Robert Mitchell, 16 years ago

I'm not sure if this is related or not, but I have a similar problem in 2.0 when using setxkbmap and a custom dvorak-style layout. I added my log file and the keymap at #2052

comment:12 by MrX1980, 15 years ago

Please try it with v3.0.0 again.

comment:13 by Frank Mehnert, 15 years ago

No response, closing.

comment:14 by Frank Mehnert, 15 years ago

Resolution: fixed
Status: reopenedclosed

comment:15 by schmir, 14 years ago

Resolution: fixed
Status: closedreopened

It does *not* work with 3.0.12 on a 64 bit linux host with w2k.

here's my xmodmap

clear Shift
clear Lock
clear Control
clear Mod1

!keycode 117= Multi_key

keysym semicolon = colon semicolon colon semicolon colon semicolon
keysym quotedbl = quotedbl apostrophe quotedbl apostrophe quotedbl apostrophe
keycode  49 = asciitilde grave asciitilde grave asciitilde grave
keycode  65 = space space space NoSymbol space

!keysym Caps_Lock = Escape
keycode 66 = nabla
add Shift = Shift_L
add Shift = Shift_R

add Mod1 = Alt_L
add Mod1 = Alt_R

add Control = Control_R
add Control = Control_L

colon, semicolon, apostrophe and quotedbl do not work.

comment:16 by Frank Mehnert, 14 years ago

Summary: VB doesn't handle custom keyboard layouts (xmodmap) => fixed in next versionVB doesn't handle custom keyboard layouts (xmodmap)

comment:17 by invsblduck, 14 years ago

I also experience this behavior on 3.1 (3.1.2-56127_Ubuntu_karmic to be exact). I xmodmap my us-dvorak layout in Xorg and it affects the vanilla QWERTY layout in my Windows 7 guest. :)

Thank you. I love this software.

by Jon Strømme, 14 years ago

Attachment: .Xmodmap added

xmodmap, causes malfunction on Ubuntu Karmic 64bit

comment:18 by Jon Strømme, 14 years ago

Confirmed a very similar malfunction on Ubuntu Karmic 64bit. Virtualbox Version 3.1.4 r57640 installed from development repository. Without xmodmap the keyboard maps perfectly. With xmodmap all characters are mismapped except the letter 'a'. uname -a Linux nn.uninett.no 2.6.31-19-generic #56-Ubuntu SMP Thu Jan 28 02:39:34 UTC 2010 x86_64 GNU/Linux

Apart from this virtualbox is excellent. Running in a separate login without keyboard remapping and doing precisely what I need.

comment:19 by Technologov, 14 years ago

If this is Ubuntu bug, then it is worth closing here...

comment:20 by Michael Thayer, 14 years ago

Resolution: duplicate
Status: reopenedclosed
Summary: VB doesn't handle custom keyboard layouts (xmodmap)VB doesn't handle custom keyboard layouts (xmodmap) -> duplicate of #2595

This is not an Ubuntu bug, it is a genuine issue in VirtualBox. This is now fixed in our development repository. I will close this as a duplicate of ticket #2595 since I handled the issue there.

Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use