VirtualBox

17 年 前 建立

14 年 前 結束

#1891 closed defect (duplicate)

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

回報者: ruben vestergaard 負責人:
元件: other 版本: VirtualBox 1.6.2
關鍵字: keyboard input xmodmap 副本:
Guest type: other Host type: Linux

描述

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.

附加檔案 (5)

VBox.log (35.1 KB ) - 17 年 前, 由 ruben vestergaard 新增
xmodmaprc (9.4 KB ) - 17 年 前, 由 ruben vestergaard 新增
X11 keyboard layout
VBox.2.log (36.3 KB ) - 17 年 前, 由 ruben vestergaard 新增
1.6.4 log file
VBox.3.log (34.2 KB ) - 17 年 前, 由 ruben vestergaard 新增
1.6.4 log file, no xmodmap
.Xmodmap (924 位元組 ) - 15 年 前, 由 Jon Strømme 新增
xmodmap, causes malfunction on Ubuntu Karmic 64bit

下載所有附檔: .zip

更動歷史 (25)

17 年 前ruben vestergaard 編輯

附檔: 新增 VBox.log

17 年 前ruben vestergaard 編輯

附檔: 新增 xmodmaprc

X11 keyboard layout

comment:1 17 年 前Michael Thayer 編輯

Please retry with VirtualBox 1.6.4.

回覆:  1 comment:2 17 年 前ruben vestergaard 編輯

Replying to michael:

The problem persists in 1.6.4.

comment:3 17 年 前Michael Thayer 編輯

Could you include a log file from 1.6 please?

17 年 前ruben vestergaard 編輯

附檔: 新增 VBox.2.log

1.6.4 log file

回覆:  3 comment:4 17 年 前ruben vestergaard 編輯

Replying to michael:

Could you include a log file from 1.6 please?

I certainly can. Log attached.

comment:5 17 年 前Michael Thayer 編輯

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!

回覆:  5 comment:6 17 年 前ruben vestergaard 編輯

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.

17 年 前ruben vestergaard 編輯

附檔: 新增 VBox.3.log

1.6.4 log file, no xmodmap

comment:7 17 年 前ruben vestergaard 編輯

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 17 年 前Michael Thayer 編輯

摘要: VB doesn't handle custom keyboard layouts (xmodmap)VB doesn't handle custom keyboard layouts (xmodmap) => fixed in next version
狀態: newclosed
處理結果: fixed

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

回覆:  8 comment:9 17 年 前ruben vestergaard 編輯

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 17 年 前Jon 編輯

狀態: closedreopened
處理結果: fixed

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 17 年 前Robert Mitchell 編輯

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 16 年 前MrX1980 編輯

Please try it with v3.0.0 again.

comment:13 15 年 前Frank Mehnert 編輯

No response, closing.

comment:14 15 年 前Frank Mehnert 編輯

狀態: reopenedclosed
處理結果: fixed

comment:15 15 年 前schmir 編輯

狀態: closedreopened
處理結果: fixed

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 15 年 前Frank Mehnert 編輯

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

comment:17 15 年 前invsblduck 編輯

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.

15 年 前Jon Strømme 編輯

附檔: 新增 .Xmodmap

xmodmap, causes malfunction on Ubuntu Karmic 64bit

comment:18 15 年 前Jon Strømme 編輯

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 15 年 前Technologov 編輯

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

comment:20 14 年 前Michael Thayer 編輯

摘要: VB doesn't handle custom keyboard layouts (xmodmap)VB doesn't handle custom keyboard layouts (xmodmap) -> duplicate of #2595
狀態: reopenedclosed
處理結果: duplicate

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.

注意: 瀏覽 TracTickets 來幫助您使用待辦事項功能

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette