autokey / autokey

AutoKey, a desktop automation utility for Linux and X11.
https://autokey.github.io/index.html
GNU General Public License v3.0
3.42k stars 191 forks source link

Setting a Keyboard Shortcut is not possible, because no Keyboard signal is recognized. #700

Closed TravisPasta closed 2 years ago

TravisPasta commented 2 years ago

Has this issue already been reported?

Is this a question rather than an issue?

What type of issue is this?

Crash/Hang/Data loss

Which Linux distribution did you use?

Fedora Workstation 36

Which AutoKey GUI did you use?

Both

Which AutoKey version did you use?

I have tried it in the newest (0.96.0), in the newest that the package manager offers (0.95.10) and custom install (0.95.6).

How did you install AutoKey?

Tried everything. Git, pip3 install, using alien to make deb files rpm files and installed through this.

Can you briefly describe the issue?

Screenshot from 2022-06-14 17-31-00

Can the issue be reproduced?

No response

What are the steps to reproduce the issue?

Install in the favourite way. Create new folder/Script or change hotkey of existing one. click "press to set"

What should have happened?

recognize the keyboard input

What actually happened?

error message and the program gets kinda stuck in the loop of wanting an input

Do you have screenshots?

Screenshot from 2022-06-14 17-31-00

Can you provide the output of the AutoKey command?

2022-06-14 17:50:19,158 INFO - root - Initialising application
2022-06-14 17:50:19,161 INFO - root - Initialise global hotkeys
2022-06-14 17:50:19,161 INFO - config-manager - Loading config from existing file: /home/elias/.config/autokey/autokey.json
2022-06-14 17:50:19,161 DEBUG - config-manager - Loading folder at '/home/elias/.config/autokey/data/My Phrases'
2022-06-14 17:50:19,162 DEBUG - config-manager - Loading folder at '/home/elias/.config/autokey/data/Sample Scripts'
2022-06-14 17:50:19,163 DEBUG - config-manager - Loading folder at '/home/elias/.config/autokey/data/hallo'
2022-06-14 17:50:19,163 INFO - config-manager - Configuration changed - rebuilding in-memory structures
2022-06-14 17:50:19,163 DEBUG - inotify - Adding watch for /home/elias/.config/autokey/data/My Phrases
2022-06-14 17:50:19,163 DEBUG - inotify - Adding watch for /home/elias/.config/autokey/data/My Phrases/Addresses
2022-06-14 17:50:19,163 DEBUG - inotify - Adding watch for /home/elias/.config/autokey/data/Sample Scripts
2022-06-14 17:50:19,164 DEBUG - inotify - Adding watch for /home/elias/.config/autokey/data/hallo
2022-06-14 17:50:19,164 INFO - config-manager - Successfully loaded configuration
2022-06-14 17:50:19,164 DEBUG - inotify - Adding watch for /home/elias/.config/autokey/data
2022-06-14 17:50:19,164 DEBUG - inotify - Adding watch for /home/elias/.config/autokey
2022-06-14 17:50:19,164 DEBUG - config-manager - Global settings: {'isFirstRun': True, 'serviceRunning': True, 'menuTakesFocus': False, 'showTrayIcon': True, 'sortByUsageCount': True, 'promptToSave': False, 'enableQT4Workaround': False, 'interfaceType': 'XRecord', 'undoUsingBackspace': True, 'windowDefaultSize': [1920, 1011], 'hPanePosition': 1028, 'columnWidths': [150, 50, 100], 'showToolbar': True, 'notificationIcon': 'autokey-status', 'workAroundApps': '.*VirtualBox.*|krdc.Krdc', 'triggerItemByInitial': False, 'disabledModifiers': [], 'scriptGlobals': {}}
2022-06-14 17:50:19,164 INFO - service - Starting service
2022-06-14 17:50:19,179 DEBUG - interface - Enabling sending using Alt-Grid
2022-06-14 17:50:19,179 DEBUG - interface - Modifier masks: {<Key.SHIFT: '<shift>'>: 1, <Key.CAPSLOCK: '<capslock>'>: 2, <Key.CONTROL: '<ctrl>'>: 4, <Key.ALT: '<alt>'>: 8, <Key.ALT_GR: '<alt_gr>'>: 128, <Key.SUPER: '<super>'>: 64, <Key.HYPER: '<hyper>'>: 64, <Key.META: '<meta>'>: 8, <Key.NUMLOCK: '<numlock>'>: 16}
2022-06-14 17:50:19,200 DEBUG - interface - Alt-Grid: XK_ISO_Level3_Shift, 65027
2022-06-14 17:50:19,200 DEBUG - interface - X Server Keymap, listing unmapped keys.
2022-06-14 17:50:19,201 DEBUG - iomediator - Set modifier Key.CAPSLOCK to False
2022-06-14 17:50:19,201 DEBUG - iomediator - Set modifier Key.NUMLOCK to True
2022-06-14 17:50:19,201 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2022-06-14 17:50:19,202 DEBUG - interface - __flushEvents: Entering event loop.
2022-06-14 17:50:19,202 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2022-06-14 17:50:19,202 INFO - iomediator - Created IoMediator instance, current interface is: <XRecordInterface(XInterface-thread, initial daemon)>
2022-06-14 17:50:19,203 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2022-06-14 17:50:19,203 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2022-06-14 17:50:19,203 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2022-06-14 17:50:19,204 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2022-06-14 17:50:19,206 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2022-06-14 17:50:19,207 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2022-06-14 17:50:19,207 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2022-06-14 17:50:19,207 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2022-06-14 17:50:19,208 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2022-06-14 17:50:19,208 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2022-06-14 17:50:19,209 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2022-06-14 17:50:19,209 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2022-06-14 17:50:19,210 INFO - interface - XRecord interface thread starting
2022-06-14 17:50:19,210 INFO - service - Service now marked as running
2022-06-14 17:50:19,210 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2022-06-14 17:50:19,212 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2022-06-14 17:50:19,212 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2022-06-14 17:50:19,212 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2022-06-14 17:50:19,213 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2022-06-14 17:50:19,213 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2022-06-14 17:50:19,213 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2022-06-14 17:50:19,213 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2022-06-14 17:50:19,213 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2022-06-14 17:50:19,214 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2022-06-14 17:50:19,214 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2022-06-14 17:50:19,214 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2022-06-14 17:50:19,215 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2022-06-14 17:50:19,215 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2022-06-14 17:50:19,215 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2022-06-14 17:50:19,215 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2022-06-14 17:50:19,215 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2022-06-14 17:50:19,216 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2022-06-14 17:50:19,216 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2022-06-14 17:50:19,216 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2022-06-14 17:50:19,216 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2022-06-14 17:50:19,216 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2022-06-14 17:50:19,217 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2022-06-14 17:50:19,217 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2022-06-14 17:50:19,217 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2022-06-14 17:50:19,217 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2022-06-14 17:50:19,217 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2022-06-14 17:50:19,218 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2022-06-14 17:50:19,218 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2022-06-14 17:50:19,218 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2022-06-14 17:50:19,218 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2022-06-14 17:50:19,218 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2022-06-14 17:50:19,219 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2022-06-14 17:50:19,219 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2022-06-14 17:50:19,219 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2022-06-14 17:50:19,219 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2022-06-14 17:50:19,219 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2022-06-14 17:50:19,220 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2022-06-14 17:50:19,220 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2022-06-14 17:50:19,220 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2022-06-14 17:50:19,220 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2022-06-14 17:50:19,221 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2022-06-14 17:50:19,221 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2022-06-14 17:50:19,221 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2022-06-14 17:50:19,221 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2022-06-14 17:50:19,221 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2022-06-14 17:50:19,222 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2022-06-14 17:50:19,222 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2022-06-14 17:50:19,222 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2022-06-14 17:50:19,222 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2022-06-14 17:50:19,222 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2022-06-14 17:50:19,223 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2022-06-14 17:50:19,223 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2022-06-14 17:50:19,223 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2022-06-14 17:50:19,223 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2022-06-14 17:50:19,223 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2022-06-14 17:50:19,223 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2022-06-14 17:50:19,224 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2022-06-14 17:50:19,224 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2022-06-14 17:50:19,224 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2022-06-14 17:50:19,224 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2022-06-14 17:50:19,224 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2022-06-14 17:50:19,225 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2022-06-14 17:50:19,225 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2022-06-14 17:50:19,225 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2022-06-14 17:50:19,225 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2022-06-14 17:50:19,225 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2022-06-14 17:50:19,225 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2022-06-14 17:50:19,226 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2022-06-14 17:50:19,226 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2022-06-14 17:50:19,226 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2022-06-14 17:50:19,226 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2022-06-14 17:50:19,226 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2022-06-14 17:50:19,227 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2022-06-14 17:50:19,227 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2022-06-14 17:50:19,227 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2022-06-14 17:50:19,227 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2022-06-14 17:50:19,227 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2022-06-14 17:50:19,227 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2022-06-14 17:50:19,228 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2022-06-14 17:50:19,228 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2022-06-14 17:50:19,228 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2022-06-14 17:50:19,228 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2022-06-14 17:50:19,228 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2022-06-14 17:50:19,229 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2022-06-14 17:50:19,229 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2022-06-14 17:50:19,229 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2022-06-14 17:50:19,229 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2022-06-14 17:50:19,229 DEBUG - interface - Grabbing hotkey: ['<ctrl>'] '<f7>'
2022-06-14 17:50:19,238 DEBUG - phrase-menu - Sorting phrase menu by usage count
2022-06-14 17:50:19,238 DEBUG - phrase-menu - Triggering menu item by position in list
2022-06-14 17:50:19,240 DEBUG - root - Created DBus service
2022-06-14 17:50:19,240 INFO - root - Entering main()
2022-06-14 17:50:19,245 DEBUG - interface - Recorded keymap change event
2022-06-14 17:50:19,445 DEBUG - interface - Ungrabbing hotkey: ['<super>'] 'k'

(autokey-gtk:12322): Gtk-CRITICAL **: 17:50:19.451: gtk_widget_get_scale_factor: assertion 'GTK_IS_WIDGET (widget)' failed
2022-06-14 17:50:19,456 DEBUG - interface - Ungrabbing hotkey: ['<super>'] 'k'
2022-06-14 17:50:19,456 DEBUG - interface - Ungrabbing hotkey: ['<super>'] 'k'
2022-06-14 17:50:19,457 DEBUG - interface - Ungrabbing hotkey: ['<super>'] 'k'
2022-06-14 17:50:19,457 DEBUG - interface - Ungrabbing hotkey: ['<super>'] 'k'
2022-06-14 17:50:19,457 DEBUG - interface - Ungrabbing hotkey: ['<super>'] 'k'
2022-06-14 17:50:19,457 DEBUG - interface - Ungrabbing hotkey: ['<super>'] 'k'
2022-06-14 17:50:19,458 DEBUG - interface - Ungrabbing hotkey: ['<super>'] 'k'
2022-06-14 17:50:19,458 DEBUG - interface - Ungrabbing hotkey: ['<super>'] 'k'
2022-06-14 17:50:19,458 DEBUG - interface - Ungrabbing hotkey: ['<super>'] 'k'
2022-06-14 17:50:19,458 DEBUG - interface - Ungrabbing hotkey: ['<super>'] 'k'
2022-06-14 17:50:19,458 DEBUG - interface - Ungrabbing hotkey: ['<super>'] 'k'
2022-06-14 17:50:19,458 DEBUG - interface - Ungrabbing hotkey: ['<super>'] 'k'
2022-06-14 17:50:19,459 DEBUG - interface - Ungrabbing hotkey: ['<super>'] 'k'
2022-06-14 17:50:19,459 DEBUG - interface - Ungrabbing hotkey: ['<super>'] 'k'
2022-06-14 17:50:19,459 DEBUG - interface - Ungrabbing hotkey: ['<super>'] 'k'
2022-06-14 17:50:19,459 DEBUG - interface - Ungrabbing hotkey: ['<super>'] 'k'
2022-06-14 17:50:19,459 DEBUG - interface - Ungrabbing hotkey: ['<super>'] 'k'
2022-06-14 17:50:19,459 DEBUG - interface - Ungrabbing hotkey: ['<super>'] 'k'
2022-06-14 17:50:19,460 DEBUG - interface - Ungrabbing hotkey: ['<super>'] 'k'
2022-06-14 17:50:19,460 DEBUG - interface - Ungrabbing hotkey: ['<super>'] 'k'
2022-06-14 17:50:19,460 DEBUG - interface - Ungrabbing hotkey: ['<super>'] 'k'
2022-06-14 17:50:19,460 DEBUG - interface - Ungrabbing hotkey: ['<super>'] 'k'
2022-06-14 17:50:19,460 DEBUG - interface - Ungrabbing hotkey: ['<super>'] 'k'
2022-06-14 17:50:19,460 DEBUG - interface - Ungrabbing hotkey: ['<super>'] 'k'
2022-06-14 17:50:19,461 DEBUG - interface - Ungrabbing hotkey: ['<super>'] 'k'
2022-06-14 17:50:19,461 DEBUG - interface - Ungrabbing hotkey: ['<super>'] 'k'
2022-06-14 17:50:19,461 DEBUG - interface - Ungrabbing hotkey: ['<super>'] 'k'
2022-06-14 17:50:19,461 DEBUG - interface - Ungrabbing hotkey: ['<super>'] 'k'
2022-06-14 17:50:19,461 DEBUG - interface - Ungrabbing hotkey: ['<super>'] 'k'
2022-06-14 17:50:19,461 DEBUG - interface - Ungrabbing hotkey: ['<super>'] 'k'
2022-06-14 17:50:19,462 DEBUG - interface - Ungrabbing hotkey: ['<super>'] 'k'
2022-06-14 17:50:19,462 DEBUG - interface - Ungrabbing hotkey: ['<super>'] 'k'
2022-06-14 17:50:19,462 DEBUG - interface - Ungrabbing hotkey: ['<super>'] 'k'
2022-06-14 17:50:19,462 DEBUG - interface - Ungrabbing hotkey: ['<super>'] 'k'
2022-06-14 17:50:19,462 DEBUG - interface - Ungrabbing hotkey: ['<super>'] 'k'
2022-06-14 17:50:19,462 DEBUG - interface - Ungrabbing hotkey: ['<super>'] 'k'
2022-06-14 17:50:19,463 DEBUG - interface - Ungrabbing hotkey: ['<super>'] 'k'
2022-06-14 17:50:19,463 DEBUG - interface - Ungrabbing hotkey: ['<super>'] 'k'
2022-06-14 17:50:19,463 DEBUG - interface - Ungrabbing hotkey: ['<super>'] 'k'
2022-06-14 17:50:19,463 DEBUG - interface - Ungrabbing hotkey: ['<super>'] 'k'
2022-06-14 17:50:19,463 DEBUG - interface - Ungrabbing hotkey: ['<super>'] 'k'
2022-06-14 17:50:19,464 DEBUG - interface - Ungrabbing hotkey: ['<super>'] 'k'
2022-06-14 17:50:19,464 DEBUG - interface - Ungrabbing hotkey: ['<super>'] 'k'
2022-06-14 17:50:19,464 DEBUG - interface - Ungrabbing hotkey: ['<super>'] 'k'
2022-06-14 17:50:19,464 DEBUG - interface - Ungrabbing hotkey: ['<super>'] 'k'
2022-06-14 17:50:19,464 DEBUG - interface - Ungrabbing hotkey: ['<super>'] 'k'
2022-06-14 17:50:19,465 DEBUG - interface - Ungrabbing hotkey: ['<super>'] 'k'
2022-06-14 17:50:19,465 DEBUG - interface - Ungrabbing hotkey: ['<super>'] 'k'
2022-06-14 17:50:19,465 DEBUG - interface - Ungrabbing hotkey: ['<super>'] 'k'
2022-06-14 17:50:19,465 DEBUG - interface - Ungrabbing hotkey: ['<super>'] 'k'
2022-06-14 17:50:19,465 DEBUG - interface - Ungrabbing hotkey: ['<shift>', '<super>'] 'k'
2022-06-14 17:50:19,476 DEBUG - interface - Ungrabbing hotkey: ['<shift>', '<super>'] 'k'
2022-06-14 17:50:19,476 DEBUG - interface - Ungrabbing hotkey: ['<shift>', '<super>'] 'k'
2022-06-14 17:50:19,476 DEBUG - interface - Ungrabbing hotkey: ['<shift>', '<super>'] 'k'
2022-06-14 17:50:19,476 DEBUG - interface - Ungrabbing hotkey: ['<shift>', '<super>'] 'k'
2022-06-14 17:50:19,477 DEBUG - interface - Ungrabbing hotkey: ['<shift>', '<super>'] 'k'
2022-06-14 17:50:19,477 DEBUG - interface - Ungrabbing hotkey: ['<shift>', '<super>'] 'k'
2022-06-14 17:50:19,477 DEBUG - interface - Ungrabbing hotkey: ['<shift>', '<super>'] 'k'
2022-06-14 17:50:19,477 DEBUG - interface - Ungrabbing hotkey: ['<shift>', '<super>'] 'k'
2022-06-14 17:50:19,477 DEBUG - interface - Ungrabbing hotkey: ['<shift>', '<super>'] 'k'
2022-06-14 17:50:19,477 DEBUG - interface - Ungrabbing hotkey: ['<shift>', '<super>'] 'k'
2022-06-14 17:50:19,478 DEBUG - interface - Ungrabbing hotkey: ['<shift>', '<super>'] 'k'
2022-06-14 17:50:19,478 DEBUG - interface - Ungrabbing hotkey: ['<shift>', '<super>'] 'k'
2022-06-14 17:50:19,478 DEBUG - interface - Ungrabbing hotkey: ['<shift>', '<super>'] 'k'
2022-06-14 17:50:19,478 DEBUG - interface - Ungrabbing hotkey: ['<shift>', '<super>'] 'k'
2022-06-14 17:50:19,478 DEBUG - interface - Ungrabbing hotkey: ['<shift>', '<super>'] 'k'
2022-06-14 17:50:19,479 DEBUG - interface - Ungrabbing hotkey: ['<shift>', '<super>'] 'k'
2022-06-14 17:50:19,479 DEBUG - interface - Ungrabbing hotkey: ['<shift>', '<super>'] 'k'
2022-06-14 17:50:19,479 DEBUG - interface - Ungrabbing hotkey: ['<shift>', '<super>'] 'k'
2022-06-14 17:50:19,479 DEBUG - interface - Ungrabbing hotkey: ['<shift>', '<super>'] 'k'
2022-06-14 17:50:19,479 DEBUG - interface - Ungrabbing hotkey: ['<shift>', '<super>'] 'k'
2022-06-14 17:50:19,480 DEBUG - interface - Ungrabbing hotkey: ['<shift>', '<super>'] 'k'
2022-06-14 17:50:19,480 DEBUG - interface - Ungrabbing hotkey: ['<shift>', '<super>'] 'k'
2022-06-14 17:50:19,480 DEBUG - interface - Ungrabbing hotkey: ['<shift>', '<super>'] 'k'
2022-06-14 17:50:19,480 DEBUG - interface - Ungrabbing hotkey: ['<shift>', '<super>'] 'k'
2022-06-14 17:50:19,480 DEBUG - interface - Ungrabbing hotkey: ['<shift>', '<super>'] 'k'
2022-06-14 17:50:19,480 DEBUG - interface - Ungrabbing hotkey: ['<shift>', '<super>'] 'k'
2022-06-14 17:50:19,481 DEBUG - interface - Ungrabbing hotkey: ['<shift>', '<super>'] 'k'
2022-06-14 17:50:19,481 DEBUG - interface - Ungrabbing hotkey: ['<shift>', '<super>'] 'k'
2022-06-14 17:50:19,481 DEBUG - interface - Ungrabbing hotkey: ['<shift>', '<super>'] 'k'
2022-06-14 17:50:19,481 DEBUG - interface - Ungrabbing hotkey: ['<shift>', '<super>'] 'k'
2022-06-14 17:50:19,481 DEBUG - interface - Ungrabbing hotkey: ['<shift>', '<super>'] 'k'
2022-06-14 17:50:19,482 DEBUG - interface - Ungrabbing hotkey: ['<shift>', '<super>'] 'k'
2022-06-14 17:50:19,482 DEBUG - interface - Ungrabbing hotkey: ['<shift>', '<super>'] 'k'
2022-06-14 17:50:19,482 DEBUG - interface - Ungrabbing hotkey: ['<shift>', '<super>'] 'k'
2022-06-14 17:50:19,482 DEBUG - interface - Ungrabbing hotkey: ['<shift>', '<super>'] 'k'
2022-06-14 17:50:19,482 DEBUG - interface - Ungrabbing hotkey: ['<shift>', '<super>'] 'k'
2022-06-14 17:50:19,482 DEBUG - interface - Ungrabbing hotkey: ['<shift>', '<super>'] 'k'
2022-06-14 17:50:19,483 DEBUG - interface - Ungrabbing hotkey: ['<shift>', '<super>'] 'k'
2022-06-14 17:50:19,483 DEBUG - interface - Ungrabbing hotkey: ['<shift>', '<super>'] 'k'
2022-06-14 17:50:19,483 DEBUG - interface - Ungrabbing hotkey: ['<shift>', '<super>'] 'k'
2022-06-14 17:50:19,483 DEBUG - interface - Ungrabbing hotkey: ['<shift>', '<super>'] 'k'
2022-06-14 17:50:19,483 DEBUG - interface - Ungrabbing hotkey: ['<shift>', '<super>'] 'k'
2022-06-14 17:50:19,483 DEBUG - interface - Ungrabbing hotkey: ['<shift>', '<super>'] 'k'
2022-06-14 17:50:19,484 DEBUG - interface - Ungrabbing hotkey: ['<shift>', '<super>'] 'k'
2022-06-14 17:50:19,484 DEBUG - interface - Ungrabbing hotkey: ['<shift>', '<super>'] 'k'
2022-06-14 17:50:19,484 DEBUG - interface - Ungrabbing hotkey: ['<shift>', '<super>'] 'k'
2022-06-14 17:50:19,484 DEBUG - interface - Ungrabbing hotkey: ['<shift>', '<super>'] 'k'
2022-06-14 17:50:19,484 DEBUG - interface - Ungrabbing hotkey: ['<shift>', '<super>'] 'k'
2022-06-14 17:50:19,484 DEBUG - interface - Ungrabbing hotkey: ['<shift>', '<super>'] 'k'
2022-06-14 17:50:19,485 DEBUG - interface - Ungrabbing hotkey: ['<shift>', '<super>'] 'k'
2022-06-14 17:50:19,485 DEBUG - interface - Ungrabbing hotkey: ['<ctrl>'] '<f7>'
2022-06-14 17:50:19,496 DEBUG - interface - Enabling sending using Alt-Grid
2022-06-14 17:50:19,497 DEBUG - interface - Modifier masks: {<Key.SHIFT: '<shift>'>: 1, <Key.CAPSLOCK: '<capslock>'>: 2, <Key.CONTROL: '<ctrl>'>: 4, <Key.ALT: '<alt>'>: 8, <Key.ALT_GR: '<alt_gr>'>: 128, <Key.SUPER: '<super>'>: 64, <Key.HYPER: '<hyper>'>: 64, <Key.META: '<meta>'>: 8, <Key.NUMLOCK: '<numlock>'>: 16}
2022-06-14 17:50:19,521 DEBUG - interface - Alt-Grid: XK_ISO_Level3_Shift, 65027
2022-06-14 17:50:19,521 DEBUG - interface - X Server Keymap, listing unmapped keys.
2022-06-14 17:50:19,528 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2022-06-14 17:50:19,528 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2022-06-14 17:50:19,528 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2022-06-14 17:50:19,528 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2022-06-14 17:50:19,528 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2022-06-14 17:50:19,529 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2022-06-14 17:50:19,529 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2022-06-14 17:50:19,529 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2022-06-14 17:50:19,529 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2022-06-14 17:50:19,530 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2022-06-14 17:50:19,530 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2022-06-14 17:50:19,530 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2022-06-14 17:50:19,530 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2022-06-14 17:50:19,530 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2022-06-14 17:50:19,531 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2022-06-14 17:50:19,531 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2022-06-14 17:50:19,531 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2022-06-14 17:50:19,531 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2022-06-14 17:50:19,531 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2022-06-14 17:50:19,532 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2022-06-14 17:50:19,532 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2022-06-14 17:50:19,532 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2022-06-14 17:50:19,532 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2022-06-14 17:50:19,532 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2022-06-14 17:50:19,533 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2022-06-14 17:50:19,533 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2022-06-14 17:50:19,533 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2022-06-14 17:50:19,533 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2022-06-14 17:50:19,533 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2022-06-14 17:50:19,534 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2022-06-14 17:50:19,534 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2022-06-14 17:50:19,534 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2022-06-14 17:50:19,534 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2022-06-14 17:50:19,535 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2022-06-14 17:50:19,535 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2022-06-14 17:50:19,535 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2022-06-14 17:50:19,535 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2022-06-14 17:50:19,535 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2022-06-14 17:50:19,536 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2022-06-14 17:50:19,536 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2022-06-14 17:50:19,536 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2022-06-14 17:50:19,537 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2022-06-14 17:50:19,537 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2022-06-14 17:50:19,537 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2022-06-14 17:50:19,537 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2022-06-14 17:50:19,538 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2022-06-14 17:50:19,538 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2022-06-14 17:50:19,538 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2022-06-14 17:50:19,539 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2022-06-14 17:50:19,539 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2022-06-14 17:50:19,539 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2022-06-14 17:50:19,539 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2022-06-14 17:50:19,540 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2022-06-14 17:50:19,540 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2022-06-14 17:50:19,540 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2022-06-14 17:50:19,541 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2022-06-14 17:50:19,541 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2022-06-14 17:50:19,541 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2022-06-14 17:50:19,542 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2022-06-14 17:50:19,542 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2022-06-14 17:50:19,542 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2022-06-14 17:50:19,542 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2022-06-14 17:50:19,543 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2022-06-14 17:50:19,543 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2022-06-14 17:50:19,543 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2022-06-14 17:50:19,544 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2022-06-14 17:50:19,544 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2022-06-14 17:50:19,544 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2022-06-14 17:50:19,544 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2022-06-14 17:50:19,545 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2022-06-14 17:50:19,545 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2022-06-14 17:50:19,545 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2022-06-14 17:50:19,546 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2022-06-14 17:50:19,546 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2022-06-14 17:50:19,546 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2022-06-14 17:50:19,547 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2022-06-14 17:50:19,547 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2022-06-14 17:50:19,547 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2022-06-14 17:50:19,548 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2022-06-14 17:50:19,548 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2022-06-14 17:50:19,548 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2022-06-14 17:50:19,548 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2022-06-14 17:50:19,548 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2022-06-14 17:50:19,549 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2022-06-14 17:50:19,549 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2022-06-14 17:50:19,549 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2022-06-14 17:50:19,549 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2022-06-14 17:50:19,550 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2022-06-14 17:50:19,550 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2022-06-14 17:50:19,550 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2022-06-14 17:50:19,551 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2022-06-14 17:50:19,551 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2022-06-14 17:50:19,551 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2022-06-14 17:50:19,551 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2022-06-14 17:50:19,552 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2022-06-14 17:50:19,552 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2022-06-14 17:50:19,552 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2022-06-14 17:50:19,552 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2022-06-14 17:50:19,553 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2022-06-14 17:50:19,553 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2022-06-14 17:50:19,553 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2022-06-14 17:50:19,553 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2022-06-14 17:50:19,554 DEBUG - interface - Grabbing hotkey: ['<ctrl>'] '<f7>'
2022-06-14 17:50:31,460 INFO - root - Displaying configuration window
2022-06-14 17:50:38,574 ERROR - interface - Error in X event loop thread
Traceback (most recent call last):
  File "/usr/lib/python3.10/site-packages/autokey/interface.py", line 242, in __eventLoop
    method(*args)
  File "/usr/lib/python3.10/site-packages/autokey/interface.py", line 674, in __grab_keyboard
    focus.grab_keyboard(True, X.GrabModeAsync, X.GrabModeAsync, X.CurrentTime)
AttributeError: 'int' object has no attribute 'grab_keyboard'
2022-06-14 17:50:45,320 INFO - config-manager - Configuration changed - rebuilding in-memory structures
2022-06-14 17:50:45,321 INFO - config-manager - Persisting configuration
2022-06-14 17:50:45,322 INFO - config-manager - Backing up existing config file
2022-06-14 17:50:45,322 DEBUG - inotify - Reporting IN_MODIFY event at /home/elias/.config/autokey/autokey.json~
2022-06-14 17:50:45,322 DEBUG - inotify - Reporting IN_MODIFY event at /home/elias/.config/autokey/autokey.json~
2022-06-14 17:50:45,323 INFO - config-manager - Finished persisting configuration - no errors
2022-06-14 17:50:45,323 DEBUG - inotify - Reporting IN_MODIFY event at /home/elias/.config/autokey/autokey.json
2022-06-14 17:50:45,324 DEBUG - phrase-menu - Sorting phrase menu by usage count
2022-06-14 17:50:45,324 DEBUG - phrase-menu - Triggering menu item by position in list
^CTraceback (most recent call last):
  File "/usr/bin/autokey-gtk", line 33, in <module>
    sys.exit(load_entry_point('autokey==0.95.10', 'console_scripts', 'autokey-gtk')())
  File "/usr/lib/python3.10/site-packages/autokey/gtkui/__main__.py", line 9, in main
    a.main()
  File "/usr/lib/python3.10/site-packages/autokey/gtkapp.py", line 273, in main
    Gtk.main()
  File "/usr/lib/python3.10/site-packages/gi/overrides/Gtk.py", line 1687, in main
    with register_sigint_fallback(Gtk.main_quit):
  File "/usr/lib64/python3.10/contextlib.py", line 142, in __exit__
    next(self.gen)
  File "/usr/lib64/python3.10/site-packages/gi/_ossighelper.py", line 237, in register_sigint_fallback
    signal.default_int_handler(signal.SIGINT, None)
KeyboardInterrupt

Anything else?

ive tried it with every versions gtk and qt subversion

Elliria commented 2 years ago

Just curious, but what do you see to the left of the "Press to Set" button when you press a key to make it into a hotkey after you press the "Press to Set" button? Does it say "Key (None) and never change or does it change to something else in response to the keypress?

The above will probably not be of any use, so I'm going to bet that you're using Wayland. Issue 293 seems mighty similar to yours. Wayland and AutoKey don't yet get along because of the sandboxed type of environment that Wayland offers.

TravisPasta commented 2 years ago

Hey, thanks for the fast answer! The only thing that is there and stays there is Screenshot from 2022-06-15 14-55-34

Since afaik Wayland is the main thing used in Fedora to display GUIs, the issue is based on that. Ive tried a live version of Lubuntu and it worked totally fine there. So its not my keyboards either.

Ill try to solve it within the JSON File itself, since its literally just 3 Hotkeys with each beeing one line of keyboard.send_keys(). Thanks for the help again. Ive started my linux migration yesterday and was super desperate to get it done.

Edit: Ive changed the Fedora Windowing System to X11 and now it works fine. Will see which solution I like best.

Elliria commented 2 years ago

I'm glad you found a workable solution, but it's a shame that you had to choose a different desktop to make it happen.

If you're still going to tinker with getting AutoKey to work with Wayland, if you figure out a way, please let us know either in this issue report or in the AutoKey Google group or in the AutoKey Gitter chat.

This topic has come up from time to time and is likely to again, so I'm sure there are at least a few people who would be interested in any progress that you make and there will quite likely eventually be many more.

josephj11 commented 2 years ago

AFAIK, AutoKey does not work with native Wayland. You have to tell your system to use X11 instead.

While Wayland does include some sort of X11 compatibility feature, AFAIK, this option still lacks things that AutoKey needs to function correctly.

We would be very happy to have some developers well versed in Wayland take a look at this to see what could be done to resolve it, but we don't have any at the moment.

600 adds a feature to AutoKey to detect that Wayland is running and issue an error message saying that it won't work. This needs to be implemented. It would save a lot of time and grief in situations like this one.

Elliria commented 2 years ago

Wayland seems to be all about efficiency and security. It combines the compositor, display server, and window manager into one step, which is great for efficiency and doesn't seem like it would have a negative effect on AutoKey. The problem for AutoKey will be Wayland's security measures since Wayland doesn't allow common interfaces that can manipulate or be aware of each other.

My understanding is that the Wayland team doesn't want to forbid users from having such interfaces and will provide protocols for them to do so in specific use-cases. What I haven't found out is how far-reaching those use-cases can be or whether the protocols supporting use-cases have even been designed yet.

I'm not sure if that will mean that the end user will have to either solve individual issues as they arise or prepare for them in advance by thinking them out and creating the specific use-cases from those protocols or have them taken care of by AutoKey or give some of them up entirely. I suspect that at least one of those will be our path forward, but this is all still speculation.

Elliria commented 2 years ago

By the way, as an unrelated aside, I noticed something interesting when @TravisPasta edited one of these messages and I received it in email. If you have GitHub set up to send you emails when there are new issues or new posts to issues, only the original version of a new post will be sent in email. If the person edits the post, that edited version of the post will not be emailed, so those of us who only read these posts in email may be missing some content and will probably want to follow up the email by coming onto GitHub each time and checking for edits.