On 09/30/22 09:55, Daniel P. Berrangé wrote: > 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.
Commit 5f3aee85771c ("p2v: Remove GDK thread synchronization.", 2016-06-03) covered this, I think. > >> 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 Wow that seems really flexible! Laszlo _______________________________________________ Libguestfs mailing list Libguestfs@redhat.com https://listman.redhat.com/mailman/listinfo/libguestfs