Open peter-lyons-kehl opened 4 years ago
Please try installing the xorg-xinput
package on your system.
It seems that the extension fails when trying to log to the system journal. This should not be happening. Try changing global.log(LOG_PREFIX + message);
to log(LOG_PREFIX + message);
in lib.js
file and see if that helps.
Hi Ashesh,
Thank you for Touchpad Indicator, and for a quick response. Confirming
xorg-xinput
fixed it - the extension worked immediately. However, I'm surprised that this package is needed, since (for me) it uses GSettings.global.log
to log
fixed the error and I can manage its all settings.It would help the users if you put a note to README.md about installing xorg-xinput
- if it will stay as mandatory.
Technically, the extension should work even without xinput
command being present. However, the functionality would be limited.
There was an enhancement for pre-checking xinput
(issue https://github.com/user501254/TouchpadIndicator/issues/48). I think the second edit (ie. changing global.log
to log
) was necessary in your case for the extension to work.
It would be great if you could verify by uninstalling the xorg-xinput
package and restarting the gnome shell. In that case I can make the required changes permanent.
Thank you for the feedback and the direction. I've uninstalled xorg-xinput
, re-logged in, but it failed. Logs:
2020-04-19T19:13:45.344Z Failed to execute child process “synclient” (No such file or directory)
2020-04-19T19:13:45.349Z Failed to execute child process “xinput” (No such file or directory)
2020-04-19T19:13:45.355Z Failed to execute child process “xinput” (No such file or directory)
And an error in Touchpad Indicator's settings:
TypeError: comp[1] is undefined
Stack trace:
_listPointingDevices@/home/pkehl/.local/share/gnome-shell/extensions/touchpad-indicator@orangeshirt/xinput.js:76:30
_init@/home/pkehl/.local/share/gnome-shell/extensions/touchpad-indicator@orangeshirt/xinput.js:46:37
XInput@/home/pkehl/.local/share/gnome-shell/extensions/touchpad-indicator@orangeshirt/xinput.js:40:14
TouchpadIndicatorSettings@/home/pkehl/.local/share/gnome-shell/extensions/touchpad-indicator@orangeshirt/prefs.js:44:22
buildPrefsWidget@/home/pkehl/.local/share/gnome-shell/extensions/touchpad-indicator@orangeshirt/prefs.js:242:20
_init@resource:///org/gnome/Shell/Extensions/js/extensionsService.js:207:40
OpenExtensionPrefsAsync/<@resource:///org/gnome/Shell/Extensions/js/extensionsService.js:122:28
asyncCallback@resource:///org/gnome/gjs/modules/core/overrides/Gio.js:132:13
run@resource:///org/gnome/Shell/Extensions/js/dbusService.js:175:20
main@resource:///org/gnome/Shell/Extensions/js/main.js:19:13
run@resource:///org/gnome/gjs/modules/script/package.js:222:19
start@resource:///org/gnome/gjs/modules/script/package.js:206:5
@/usr/share/gnome-shell/org.gnome.Shell.Extensions:1:17
Touchpad Indicator fails with:
I do have many other GNOME extensions, but I've turned them all off, I rebooted, and still the same error. That error shows up in "Extensions" application > locate "Touchpad Indicator" > wheel next to it:![image](https://user-images.githubusercontent.com/4270240/79644907-c75fa880-8160-11ea-8a04-f1d14cf0de22.png)
Touchpad Indicator has always been failing for me since I've installed it at least a year ago. My system is current Manjaro, GNOME version 3.36.1, X11.
Operating System: Manjaro (current - Manjaro does not have a version, since it's a rolling release)
Touchpad Indicator extension version: 35
Gnome Shell version: GNOME Shell 3.36.1+31+ga6783692c-1 (the most recent that came with Manjaro, but the same problem exists for over a year)
Display server: X11
Switching method: GSetting or Xinput or Synclient - No idea. Can this be "gsettings-desktop-schemas 3.36.0-1"? Otherwise, if you need this, please elaborate.
Installation source: extensions.gnome.org
Input Devices (ie. output for
cat /proc/bus/input/devices
)X input devices (ie. output for
xinput list
) - I have noxinput
commandLog file (you can enable logging within the extension settings, "Debug" tab)
Please upload the log file
$HOME/.local/share/gnome-shell/extensions/touchpad-indicator@orangeshirt/touchpad-indicator.log
- below and also attached touchpad-indicator.logThank you in advance.