houmain / keymapper

A cross-platform context-aware key remapper.
GNU General Public License v3.0
295 stars 25 forks source link

Fedora 39 Linux KDE Wayland Applications Not Being Recognized #98

Closed smetroid closed 8 months ago

smetroid commented 8 months ago

Hello,

I was wondering if I could get some advice, I am currently trying to run keymapper on a KDE Wayland Fedora system, and for the most part, keymapper seems to be working for Google Chrome, Vivaldi, VS Code, however the terminals windows are not being recognized by the keymapper service

Loading configuration file '/home/RETRACTED/keymapper.conf'                                                                                                                                                                                                      
Connecting to keymapperd                                                                                                                                                                                                                                    
Sending configuration                                                                                                                                                                                                                                       
Initializing focused window detection:                                                                                                                                                                                                                      
  X11 support: initialized                                                                                                                                                                                                                                  
  D-BUS support: initialized                                                                                                                                                                                                                                
  wlroots support: not available                                                                                                                                                                                                                            
Entering update loop                                                                                                                                                                                                                                        
Connection to keymapperd lost                                                                                                                                                                                                                               
---------------                                                                                                                                                                                                                                             
Connecting to keymapperd                                                                                                                                                                                                                                    
Sending configuration                                                                                                                                                                                                                                       
Initializing focused window detection:                                                                                                                                                                                                                      
  X11 support: initialized                                                                                                                                                                                                                                  
  D-BUS support: initialized                                                                                                                                                                                                                                
  wlroots support: not available                                                                                                                                                                                                                            
Entering update loop                                                                                                                                                                                                                                        
Detected focused window changed:                                                                                                                                                                                                                            
  class = 'vivaldi-stable'                                                                                                                                                                                                                                  
  title = 'KDE Wayland: not detecting window attributes · Issue #80 · houmain/keymapper - Vivaldi'                                                                                                                                                          
  path = ''                                                                                                                                                                                                                                                 
Detected focused window changed:                                                                                                                                                                                                                            
  class = 'vivaldi-stable'                                                                                                                                                                                                                                  
  title = 'New Issue · houmain/keymapper - Vivaldi'                                                                                                                                                                                                         
  path = ''                                                                                                                                                                                                                                                 
Detected focused window changed:

I did run into this error below when installing the RPM

Error: nothing provides libudev.so.0()(64bit) needed by app

I installed the following dependencies, to see if I could get the RPM to install without errors, but it would not work

sudo dnf install libudev-devel
sudo dnf install libudev

So I ran the install with --nodeps

sudo rpm -Uvh --nodeps keymapper-3.4.0-Linux.rpm 

It works for the most part at least for my main applications VS Code, Vivaldi, and Google Chrome. If I could get it to work with the terminal (Konsole) that would be great.

Any advice is appreciated.

smetroid commented 8 months ago

Just in case someone else runs into this issue, I had to enable the keymapper Kwin script image