Bug 380051 - br-abnt2 keymap unassigned
Summary: br-abnt2 keymap unassigned
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: virt-manager
Version: 8
Hardware: All
OS: Linux
low
high
Target Milestone: ---
Assignee: Daniel Berrangé
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2007-11-13 14:04 UTC by Davidson Paulo
Modified: 2008-03-15 03:47 UTC (History)
1 user (show)

Fixed In Version: 0.5.3
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-03-15 03:47:24 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Davidson Paulo 2007-11-13 14:04:31 UTC
Description of problem:

br-abnt2 keymap is not assigned to any vnc keymap, so when creating a virtual
machine there is no way to use a br-abnt2 (Brazilian ABNT 2) keyboard.

Version-Release number of selected component (if applicable):


How reproducible:

Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

To fix, just insert the following line in
/usr/share/virt-manager/virtManager/keymap.py:

"br-abnt2":"pt-br",

Recompile the file:

# python /usr/lib/python2.5/compileall.py /usr/share/virt-manager/virtManager/

Restart libvirtd:

# service libvirtd restart

Stop the virtual machine:

# virsh shutdown [Domain]

Redefine it:

# virsh define <(virsh dumpxml [Domain] |
  sed "/vnc/s/\(\/>\)/keymap='pt-br'\1/"

Start it again:

# virsh start [Domain]

To get ',' (comma) key working on guest, the 'NumLock' key need to be pressed
three times.

Comment 1 Cole Robinson 2008-03-15 03:47:24 UTC
Hi, this has been upstream for a bit actually:

http://hg.et.redhat.com/virt/applications/virt-manager--devel?fd=4983533b800c;file=src/virtManager/keytable.py

It is in virt-manager 0.5.3, which is in F7 and F8. Closing this as CURRENTRELEASE.


Note You need to log in before you can comment on or make changes to this bug.