Closed askmrsinh closed 4 years ago
Are you going to fix this (and possibly other ES6 errors) in the near future so that this useful extension works on Ubuntu 19.04?
Yes, I do intend to fix these (https://github.com/user501254/TouchpadIndicator/issues/35, https://github.com/user501254/TouchpadIndicator/issues/34) issues. The upstream changes provide a good opportunity for at least a partial rewrite of the extension while dropping support for older gnome-shell versions. I also want to adopt some good practices like linting and setting up build configuration for the project. I haven't yet started making the changes but hope to do so in the coming month.
~Until then, you can use the unstable-3.32 branch if you wish to.~ (these issues have been fixed, please use the master branch)
@Destroy666x Please check if the current master works for you. Let me know in case of any issues.
@user501254 I can confirm the latest code works on gnome-shell 3.32.
@mauriziopinotti Thanks! There are still a couple of things that are stopping me from uploading the new version on the GNOME Shell Extensions website (eg: extension will crash if there are no detectable input devices). Once I have them sorted out, I will update with a new release.
I'm totally new with gnome, so I don't know if I did something wrong, however I receive an error with the git version:
The settings of extension touchpad-indicator@orangeshirt had an error:
TypeError: comp[1] is undefined
Stack trace:
_listPointingDevices@/home/totoro/.local/share/gnome-shell/extensions/touchpad-indicator@orangeshirt/xinput.js:60:13
_init@/home/totoro/.local/share/gnome-shell/extensions/touchpad-indicator@orangeshirt/xinput.js:42:32
XInput@/home/totoro/.local/share/gnome-shell/extensions/touchpad-indicator@orangeshirt/xinput.js:37:9
TouchpadIndicatorSettings@/home/totoro/.local/share/gnome-shell/extensions/touchpad-indicator@orangeshirt/prefs.js:44:22
buildPrefsWidget@/home/totoro/.local/share/gnome-shell/extensions/touchpad-indicator@orangeshirt/prefs.js:239:20
_selectExtension@resource:///org/gnome/shell/extensionPrefs/main.js:75:22
_onCommandLine@resource:///org/gnome/shell/extensionPrefs/main.js:320:17
main@resource:///org/gnome/shell/extensionPrefs/main.js:635:5
@<main>:1:43
@Totoro83
Can you please tell me the branch you are currently using? (it must be the master
branch and not unstable-3.32
). If you are already on the master branch, please share the output for the below commands:
xinput --list
egrep -i 'synap|alps|etps|elan' /proc/bus/input/devices
https://github.com/user501254/TouchpadIndicator/blob/6b9489d963137114d7122a390055f60eca987959/extension.js#L69-L87