Saturday, May 18, 2024
 Popular · Latest · Hot · Upcoming
1
rated 0 times [  1] [ 0]  / answers: 1 / hits: 842  / 1 Year ago, sun, january 29, 2023, 8:32:42

I use xbindkeys to copy and paste using mouse 8 and mouse 9 buttons.


It worked with ubuntu 20.10 but since I upgraded to 21.04, it stopped working in some applications.


The issue seems to be coming from xte


If I run sleep 4; xte 'key v' in the terminal And



  • switch to nautilus it doesn't print a v

  • switch to terminal it doesn't print a v

  • switch to firefox it doesn't print a v





  • switch to chrome it does print a v

  • switch to signal it does print a v

  • switch to slack it does print a v

  • switch to discord it does print a v


How come it stopped working in some applications but not others ?
How can I debug this ?


More From » upgrade

 Answers
2

Very simple. After installing Ubuntu 21.04, you are now on the more modern Wayland graphical system rather than the venerable Xorg server. Extremely usefull automation tools such as xbindkeys, xvt, wmctrl, xdotool, ... do not work on Wayland.


In addition, many screen recording programs do not work on Wayland, although major player OBS Studio now supports Wayland.


Why does it work on some applications? Probably because these applications run on XWayland, an Xorg emulation layer for Wayland to support applications that do not run on native Wayland.


What to do? Switch back to Xorg for the time being, or attempt to get the very young replacing tools for Wayland to work.


[#1347] Monday, January 30, 2023, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
earxcept

Total Points: 310
Total Questions: 115
Total Answers: 111

Location: Japan
Member since Sat, Oct 2, 2021
3 Years ago
;