Bug 380051

Summary: br-abnt2 keymap unassigned
Product: [Fedora] Fedora Reporter: Davidson Paulo <davidsonpaulo>
Component: virt-managerAssignee: Daniel Berrangé <berrange>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: low    
Version: 8CC: hbrock
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: 0.5.3 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-03-15 03:47:24 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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.