See https://forum.xfce.org/viewtopic.php?id=13926 and upstream issue https://gitlab.xfce.org/xfce/xfce4-settings/-/issues/168
There is a partial fix which apparently fixes the desktop shortcuts being locked, but not the multiple calls to xmodmap: https://gitlab.xfce.org/atomsymbol/libxfce4ui/-/commit/85d8d390f9f2265613da4291992523937a7a2519 XFCE desktop shortcuts are unusable for about 30-40 seconds after switching from tty to Xorg if there exists a .Xmodmap file in $HOME. Without a .Xmodmap file, the delay is about 10 seconds. Similar behavior gets triggered when a keyboard is reconnected to an USB port. With this patch, desktop shortcuts are usable immediately (likely in less than 0.25 seconds after switching from tty to Xorg). An issue not fixed by this patch is that /usr/bin/xmodmap can be executed about 30 times after switching to Xorg. However, on the tested machine with a relatively small .Xmodmap this does not pose a performance issue which would be noticeable by the user. ** Bug watch added: gitlab.xfce.org/xfce/xfce4-settings/-/issues #168 https://gitlab.xfce.org/xfce/xfce4-settings/-/issues/168 ** Also affects: linux via https://gitlab.xfce.org/xfce/xfce4-settings/-/issues/168 Importance: Unknown Status: Unknown ** Project changed: linux => xfce4-settings ** Package changed: linux (Ubuntu) => xfce4-settings (Ubuntu) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/998310 Title: .Xmodmap file makes xorg temporarily reach high cpu usage (90%-100%) after resume or when coming back from tty to X session To manage notifications about this bug go to: https://bugs.launchpad.net/xfce4-settings/+bug/998310/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs