No.
$ set | grep -i ELECTRON
$
No environment variables for electron.
Still, Agent just works when I run it:
$ ~/AppImages/UHK.Agent-5.0.2-linux-x86_64_ee864eea394dd09f8e746c5bb8828406.AppImage
Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
22:12:52.405 › [Electron Main] command line arguments {}
22:12:52.410 › [Electron Main] init services.
22:12:52.410 › [Electron Main] packagesDir: /tmp/.mount_UHK.Ag0M3aJ1/resources
22:12:52.687 › [Electron Main] Create new window.
22:12:52.687 › [WindowState] load settings
22:12:52.688 › [WindowState] loaded settings { width: 1024, height: 768, isMaximized: true, isFullScreen: false }
22:12:52.688 › [WindowState] loaded settings is visible false
22:12:52.689 › [WindowState] return with default settings
22:12:52.689 › [SmartMacroService] starting...
22:12:52.690 › [SmartMacroCopy] start
22:12:52.780 › [SmartMacroCopy] copy {
destination: '/home/max/.config/uhk-agent/smart-macro-docs/UltimateHackingKeyboard/firmware/v12.2.0',
smartMacroDocFirmwarePath: '/tmp/.mount_UHK.Ag0M3aJ1/resources/packages/firmware/doc'
}
22:12:52.809 › [SmartMacroCopy] done
22:12:52.809 › [SmartMacroCopy] start copy loading.html
22:12:52.811 › [SmartMacroCopy] end copy loading.html
22:12:52.823 › [SmartMacroService] get free TCP port
22:12:52.827 › [SmartMacroService] acquired TCP port: 33651
22:12:52.845 › [SmartMacroService] started on 33651.
22:12:53.057 › [DeviceService] init success
22:12:53.058 › [AppUpdateService] init success
22:12:53.058 › [AppService] init success
22:12:53.058 › [SudoService] App root dir: /tmp/.mount_UHK.Ag0M3aJ1/resources
22:12:53.101 › [DeviceService] Udev info: Ok
22:12:53.473 › [AppService] get-config: application-settings
22:12:53.475 › [AppService] get-config of "application-settings": {"errorPanelHeight":32.69230769230769,"checkForUpdateOnStartUp":false,"everAttemptedSavingToKeyboard":true,"animationEnabled":false,"appTheme":"system","backlightingColorPalette":[{"r":255,"g":0,"b":0},{"r":0,"g":255,"b":0},{"r":0,"g":0,"b":255},{"r":0,"g":0,"b":0,"a":1}],"keyboardHalvesAlwaysJoined":false,"smartMacroPanelWidth":41}
22:12:53.731 › [DeviceRendererService] init success
22:12:53.735 › [AppRendererService] init success
22:12:53.739 › [MonacoEditorCompletionItemProvider] initialized.
22:12:53.740 › [SmartMacroDocRendererService] init success
22:12:53.742 › Renderer appStart effect start
22:12:53.742 › [AppRendererService] getAppStartInfo
22:12:53.743 › [SmartMacroService] getAppStartInfo
22:12:53.743 › [AppService] getAppStartInfo
22:12:53.742 › Renderer appStart effect end
22:12:53.743 › [AppService] get-config: application-settings
22:12:53.744 › [AppUpdateService] check for update at startup: { checkForUpdateOnStartUp: false }
22:12:53.745 › [AppService] getAppStartInfo response: {
commandLineArgs: { 'disable-agent-update-protection': false },
platform: 'linux',
osVersion: '6.9.3-76060903-generic',
udevFileContent: '# Ultimate Hacking Keyboard rules\n' +
'# These are the udev rules for accessing the USB interfaces of the UHK as non-root users.\n' +
'# Copy this file to /etc/udev/rules.d and physically reconnect the UHK afterwards.\n' +
'SUBSYSTEM=="input", ATTRS{idVendor}=="1d50", ATTRS{idProduct}=="612[0-7]", GROUP="input", MODE="0660"\n' +
'SUBSYSTEMS=="usb", ATTRS{idVendor}=="1d50", ATTRS{idProduct}=="612[0-7]", TAG+="uaccess"\n' +
'KERNEL=="hidraw*", ATTRS{idVendor}=="1d50", ATTRS{idProduct}=="612[0-7]", TAG+="uaccess"\n' +
'\n' +
'SUBSYSTEM=="input", ATTRS{idVendor}=="37a8", ATTRS{idProduct}=="*", GROUP="input", MODE="0660"\n' +
'SUBSYSTEMS=="usb", ATTRS{idVendor}=="37a8", ATTRS{idProduct}=="*", TAG+="uaccess"\n' +
'KERNEL=="hidraw*", ATTRS{idVendor}=="37a8", ATTRS{idProduct}=="*", TAG+="uaccess"\n'
}
22:12:53.745 › [AppService] get-config of "application-settings": {"errorPanelHeight":32.69230769230769,"checkForUpdateOnStartUp":false,"everAttemptedSavingToKeyboard":true,"animationEnabled":false,"appTheme":"system","backlightingColorPalette":[{"r":255,"g":0,"b":0},{"r":0,"g":255,"b":0},{"r":0,"g":0,"b":255},{"r":0,"g":0,"b":0,"a":1}],"keyboardHalvesAlwaysJoined":false,"smartMacroPanelWidth":41}
22:12:53.841 › [SmartMacroDocRendererService] dispatch action: [smart-macro-doc] service listening
22:12:53.842 › [AppRendererService] dispatch action: [app] process start info
22:12:53.842 › [AppEffect][processStartInfo] payload: {
commandLineArgs: { 'disable-agent-update-protection': false },
platform: 'linux',
osVersion: '6.9.3-76060903-generic',
udevFileContent: '# Ultimate Hacking Keyboard rules\n' +
'# These are the udev rules for accessing the USB interfaces of the UHK as non-root users.\n' +
'# Copy this file to /etc/udev/rules.d and physically reconnect the UHK afterwards.\n' +
'SUBSYSTEM=="input", ATTRS{idVendor}=="1d50", ATTRS{idProduct}=="612[0-7]", GROUP="input", MODE="0660"\n' +
'SUBSYSTEMS=="usb", ATTRS{idVendor}=="1d50", ATTRS{idProduct}=="612[0-7]", TAG+="uaccess"\n' +
'KERNEL=="hidraw*", ATTRS{idVendor}=="1d50", ATTRS{idProduct}=="612[0-7]", TAG+="uaccess"\n' +
'\n' +
'SUBSYSTEM=="input", ATTRS{idVendor}=="37a8", ATTRS{idProduct}=="*", GROUP="input", MODE="0660"\n' +
'SUBSYSTEMS=="usb", ATTRS{idVendor}=="37a8", ATTRS{idProduct}=="*", TAG+="uaccess"\n' +
'KERNEL=="hidraw*", ATTRS{idVendor}=="37a8", ATTRS{idProduct}=="*", TAG+="uaccess"\n'
}
22:12:53.844 › [DeviceService] start poll UHK Device
22:12:54.067 › [UhkHidDevice] Devices before checking permission:
22:12:54.068 › [UhkHidDevice] Available devices unchanged
22:12:54.130 › [DeviceService] Device connection state changed to: {
"bootloaderActive": false,
"bleDeviceConnected": false,
"communicationInterfaceAvailable": false,
"dongle": {
"bootloaderActive": false,
"multiDevice": false,
"serialNumber": ""
},
"leftHalfBootloaderActive": false,
"hasPermission": true,
"halvesInfo": {
"areHalvesMerged": true,
"leftModuleSlot": 0,
"isLeftHalfConnected": true,
"rightModuleSlot": 0
},
"hardwareModules": {
"moduleInfos": [],
"rightModuleInfo": {
"modules": {}
}
},
"isMacroStatusDirty": false,
"leftHalfDetected": false,
"multiDevice": false,
"udevRulesInfo": "Ok"
}
22:12:54.130 › [DeviceRendererService] dispatch action [device] connection state changed
22:12:54.134 › [SmartMacroDocRendererService] downloadDocumentation
22:12:54.135 › [SmartMacroService] skip download firmware documentation because git repo or tag missing { firmwareGitRepo: '', firmwareGitTag: '' }
22:12:54.383 › [UhkHidDevice] Devices before checking permission:
22:12:54.386 › [UhkHidDevice] Available devices unchanged
22:12:56.276 › [UhkHidDevice] Devices before checking permission:
22:12:56.280 › [UhkHidDevice] Available devices unchanged
22:12:56.298 › [WindowState] load settings
22:12:56.298 › [WindowState] loaded settings { width: 1024, height: 768, isMaximized: true, isFullScreen: false }
22:12:56.299 › [WindowState] loaded settings is visible false
22:12:56.299 › [WindowState] return with default settings
22:12:56.299 › [WindowState] save settings: { width: 1024, height: 768, isMaximized: true, isFullScreen: false }
22:12:56.307 › [WindowState] save settings success
22:12:56.314 › [Electron Main] win closed
22:12:56.314 › [DeviceService] stop poll UHK Device
(This was started without any UHK connected. The main window opened anyway and displayed the message “Cannot find your UHK. Please plug it in!”.)
Do you have Xwayland
running on your system?
$ ps -ef | grep Xwayland
max 1713 1390 0 Jän09 ? 01:34:35 /usr/bin/Xwayland :0 -rootless -noreset -accessx -core -auth /run/user/1000/.mutter-Xwaylandauth.T1BRZ2 -listen 4 -listen 5 -displayfd 6 -initfd 7