On Thu, Sep 29, 2022 at 04:47:34PM +0200, Laszlo Ersek wrote:> http://lacos.interhost.hu/livecd-p2v-202209291608-gitc213ae00a337.iso > > (built at c213ae00a337) > > sha256: f3a149aeab0179213d74bb1eac30d5d6f807d4c9cf3a548667903d5434d5699aNo spinner! While I remember, an annoying virt-p2v bug is that the keymap is always set to the US locale (try XTerm -> localctl status). I wonder if it's easy to add a way to change the keyboard layout? In particular it doesn't work well if your password contains some punctuation character which is mapped differently on US vs local keyboards. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com virt-builder quickly builds VMs from scratch http://libguestfs.org/virt-builder.1.html
On 09/29/22 20:12, Richard W.M. Jones wrote:> On Thu, Sep 29, 2022 at 04:47:34PM +0200, Laszlo Ersek wrote: >> http://lacos.interhost.hu/livecd-p2v-202209291608-gitc213ae00a337.iso >> >> (built at c213ae00a337) >> >> sha256: f3a149aeab0179213d74bb1eac30d5d6f807d4c9cf3a548667903d5434d5699a > > No spinner!Thanks. I'll try to update my envs and/or investigate further.> While I remember, an annoying virt-p2v bug is that the keymap is > always set to the US locale (try XTerm -> localctl status). I wonder > if it's easy to add a way to change the keyboard layout? In > particular it doesn't work well if your password contains some > punctuation character which is mapped differently on US vs local > keyboards.This is something for later :) I can keep it tagged for a while; if it's important, a BZ would probably be better. Laszlo
On Thu, Sep 29, 2022 at 07:12:15PM +0100, Richard W.M. Jones wrote:> On Thu, Sep 29, 2022 at 04:47:34PM +0200, Laszlo Ersek wrote: > > http://lacos.interhost.hu/livecd-p2v-202209291608-gitc213ae00a337.iso > > > > (built at c213ae00a337) > > > > sha256: f3a149aeab0179213d74bb1eac30d5d6f807d4c9cf3a548667903d5434d5699a > > No spinner!BTW, is there any possibility your code is invoking GTK3 APIs from a thread != main GTK event loop thread ? If so, that is a sure way to get non-deterministic wierd behaviour with GTK.> While I remember, an annoying virt-p2v bug is that the keymap is > always set to the US locale (try XTerm -> localctl status). I wonder > if it's easy to add a way to change the keyboard layout? In > particular it doesn't work well if your password contains some > punctuation character which is mapped differently on US vs local > keyboards.Assuming GTK3, you can use gsettings to change layout for apps gsettings set org.gnome.desktop.input-sources sources "[('"xkb"','"us"'),('"xkb"','"fr"'),('"xkb"','"it"')]" gsettings set org.gnome.desktop.input-sources current 1 this can be done dynamically on the fly too With regards, Daniel -- |: https://berrange.com -o- https://www.flickr.com/photos/dberrange :| |: https://libvirt.org -o- https://fstop138.berrange.com :| |: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|