Touchpad Indicator Classic 0.98 Beta

UUID: TouchpadIndicatorClassic@lusito.info
Score: 12

Website  Download



Touchpad Indicator Applet.

Note: This is a beta version, not sure how stable this all works yet.
Please report bugs here.

Original:
https://launchpad.net/touchpad-indicator

Some parts from the Gnome 3 Extension used:
https://extensions.gnome.org/extension/131/touchpad-indicator/

Features:

  • Toggle touchpad status manually
  • Disable touchpad on mouse-connect
    • Notifications
  • Enable or disable on exit
  • Disable on start
  • Everything optional and quick to configure
  • DBus interface to toggle touchpad
  • Mark a device as trackpoint, so that it won't interfere with the mouse plug detection.

Installation:

  1. Extract to ~/.local/share/cinnamon/applets
  2. Enable the applet in cinnamon settings.

Keyboard shortcut for toggling the touchpad:

  1. Open the keyboard settings, switch to the shortcuts tab.
  2. Go to custom shortcuts, click on "add custom shortcut"
  3. Enter a name and enter the following as command line:
  4. qdbus info.Lusito.TouchpadIndicatorClassic /info/Lusito/TouchpadIndicatorClassic info.Lusito.TouchpadIndicatorClassic.Toggle
  5. Change the keybinding to whatever you like.

If your mouse or touchpad does not get detected correctly, please follow these steps:

  1. Plug in all your mouse/etc. devices you want to work with.
  2. Rightclick the applet icon
  3. Click on "copy xinput info to clipboard"
  4. go to http://pastebin.com/ (or any other pastebin site of your liking)
  5. paste your clipboard there and submit.
  6. You'll receive a link in return, please post that link here.
  7. Also write in which devices are pluggable.
    1. If you can not identify the pluggable devices in the xinput list, please make another dump with your devices unplugged.

Thanks.

About The Author

Lusito



39 Comments

  1. mikefreeman says:

    4 days ago

    Also, as a temporary solution on Mint/Ubuntu, add this PPA and install touchpad-touchpad: ppa:atareao/atareao It's not as well-integrated into Cinnamon, and it's got some minor flaws (like not always keeping the touchpad turned off after waking up from suspend). But at least it's something.

  2. mikefreeman says:

    4 days ago

    Well, since @Lusito hasn't made a comment here in about a year, anyone up to forking this applet? I tried to take a look at it, but with my severe lack of programming experience (haven't done any since the 90's), I'm just not up to the task nor do I have the time. But if someone who is up to it and is willing would like to jump in, this is definitely a needed thing. I also sent in a feature request to the Cinnamon Github (https://github.com/linuxmint/Cinnamon/issues/3721), because this is something that could (should?) be handled from the Cinnamon Mouse/Touchpad settings. No response there yet, either.

  3. enemymaker says:

    1 week ago

    Same issue here. :( glass.log shows: error t=2014-12-09T14:34:14.366Z No JS module 'dbus' found in search path trace t=2014-12-09T14:34:14.366Z <---------------- @/home/daniel/.local/share/cinnamon/applets/TouchpadIndicatorClassic@lusito.info/applet.js:26 Extension.prototype._init@/usr/share/cinnamon/js/ui/extension.js:152 Extension@/usr/share/cinnamon/js/ui/extension.js:119 loadExtension@/usr/share/cinnamon/js/ui/extension.js:383 init@/usr/share/cinnamon/js/ui/appletManager.js:43 start@/usr/share/cinnamon/js/ui/main.js:433 @

    :1 ----------------> error t=2014-12-09T14:34:14.366Z [Applet "TouchpadIndicatorClassic@lusito.info"]: Error importing applet.js from TouchpadIndicatorClassic@lusito.info error t=2014-12-09T14:34:14.366Z Could not load applet TouchpadIndicatorClassic@lusito.info Please provide a fix for Cinnamint 2.4

  4. agnotek says:

    1 week ago

    Please update this applet

  5. PascalAnimateur says:

    2 weeks ago

    The reason this applet doesn't work in Cinnamon 2.4 is because cjs was replaced by gjs. For more details, see http://segfault.linuxmint.com/2014/08/attention-applet-desklet-extension-developers/

  6. coldcanadian says:

    2 weeks ago

    Touchpad App does not work in Cinnamon 2.4. Can you kindly update. Tks.

  7. mikefreeman says:

    1 month ago

    Is this applet going to get updated to work with the newest Cinnamon version, or no? I really NEED this applet!

  8. 4everfinding says:

    1 month ago

    I agree with previous comment. After the update to Cinnamon 2.4 applet can't add to the panel. Please, fix this bug!

  9. mikefreeman says:

    1 month ago

    I love this applet! It's the only one that automatically disables the touchpad when my wireless mouse is plugged in, and disables it when it's unplugged. I use that feature ALL THE TIME! However, this isn't working with the new Cinnamon 2.4. Please make sure you update! I don't know what I'll do without this! :)

  10. toGGiX says:

    1 year ago

    usb-Logitech_USB_Receiver is the external http://pastebin.com/S5RA9tL6 Thanks!¡!

  11. pharmville says:

    1 year ago

    Please ignore my last comment. I just needed to realize that you updated the applet itself. It works perfectly now; thanks!

  12. pharmville says:

    1 year ago

    I'm not sure that I understand. How do I mark my device as a trackpoint and not a mouse?

  13. mflopez says:

    1 year ago

    I had the "original" touchpad-indicator by elatareao, and in some way the shortcut was still registered to its command (besides I removed it and created yours). But now works! Great job, keep it on

  14. Lusito says:

    1 year ago

    That's weird, the icon changes for me when I use the dbus shortcut. It does not change when I use the FN + Touchpad hotkey of my keyboard, since that works on a different level. Does the switch/checkbox in the applet menu reflect the changes ? If so, maybe your system doesn't have the icon required to show a disabled touchpad.

  15. mflopez says:

    1 year ago

    Sorry, the DBUS shortcut mentioned on the instructions

  16. Lusito says:

    1 year ago

    are you talking about the dbus shortcut or the shortcut that is supplied by your keyboard ?

  17. mflopez says:

    1 year ago

    This is exactly what I was looking for. The only "bug" I found is that, whenever you enable or disable the touchpad with the keyboard shortcut, the icon doesn't reflect the change. Maybe creating a python script that switch enable/disable and changes icon? Then it can be configured as the command for the keyboard shortcut.

  18. Lusito says:

    1 year ago

    Thanks for the data. It seems trackpoints count as mice to xinput, so I've added the possibility to mark a device as trackpoint. This should account for all trackpoints.

  19. pharmville says:

    1 year ago

    http://pastebin.com/PvwEEUk9 (No usb mouse)

  20. pharmville says:

    1 year ago

    http://pastebin.com/fRAN7rRX (Logitech USB is the external mouse)

  21. pharmville says:

    1 year ago

    Thanks for your willingness to look into the problem, even though it doesn't affect your hardware. I think the problem is my laptop having a touchpad PLUS a built-in touch stick. Your applet thinks that I always have a mouse plugged in, even when I don't. So I suspect the applet is confusing my touch stick for a mouse. I will put the pastebin links below. 1st paste is a usb mouse plugged. Second pastebin is nothing plugged in.

  22. Lusito says:

    1 year ago

    I've added a dbus interface which allows shortcuts for toggling the touchpad. I've also created a python script which runs silently in the background, simply waiting for a log out. This is necessary because there seems to be no other stable way to detect a log out / shutdown. It's really lightweight tho, so no worries. This fixes the touchpad being enabled at seemingly random times.

  23. Lusito says:

    1 year ago

    I'll see what I can do

  24. Saphieron says:

    1 year ago

    Same wish here as darkling3100: Could some kind of option be added to set a custom keyboard shortcut for en/disabling? Just exactly the thing which is still missing for me to be perfect!

  25. Lusito says:

    1 year ago

    I'm sorry, It is hard to find an error which does not happen on my system. To help us with the issue, I added a context menu entry to dump some xinput info that should help me find out the problem. Please follow the steps as shown in the description above. Thanks.

  26. aten says:

    1 year ago

    2 pharmville same here,

  27. pharmville says:

    1 year ago

    Downloaded and tested today (2/2/13) on my Dell e6400 Laptop. I just want to say thanks for making this, and also report an issue. The applet disables the touchpad when I plug in a usb mouse, but it does not re-enable the touchpad when the mouse is unplugged. Manually turning the touchpad off and on seems to work fine though.

  28. aten says:

    1 year ago

    ha ha... this comment engine does not support any formatting.

  29. aten says:

    1 year ago

    the other touchpad indicator applet (http://cinnamon-spices.linuxmint.com/applets/view/44) actually can toggle the state of the touchpad on my thinkpad x230t (even though it does not have any automation), while this one does not to a damn thing, regardless whether you plug unplug a mouse or click the switch. I think if you guys have joined the efforts you would produce something functional. Too bad you both are focusing solely on the touchpads and trackpoints, while there are a bunch of other things that quickly need to be enabled/disabled occasionally. Say on my system $ xinput ? Virtual core pointer id=2 [master pointer (3)] ? ? Virtual core XTEST pointer id=4 [slave pointer (2)] ? ? Wacom ISDv4 E6 Pen stylus id=11 [slave pointer (2)] ? ? Wacom ISDv4 E6 Finger touch id=12 [slave pointer (2)] ? ? TPPS/2 IBM TrackPoint id=15 [slave pointer (2)] ? ? Wacom ISDv4 E6 Pen eraser id=17 [slave pointer (2)] ? ? Logitech USB Optical Mouse id=9 [slave pointer (2)] ? ? SynPS/2 Synaptics TouchPad id=14 [slave pointer (2)] ? Virtual core keyboard id=3 [master keyboard (2)] good luck

  30. darkling3100 says:

    1 year ago

    If you could add keyboard toggling to this also that would be amazing

  31. praveenp says:

    2 years ago

    Touchpad come in action when waking up a suspended computer even with mouse connected. It need to enable first and disable then to overcome this problem. Touchpad was disabled (by applet) before suspending. Nice extension though.

  32. Lusito says:

    2 years ago

    No actually, I've noticed this a couple of times now as well, it seems to ignore the mouse sometimes. I'm going to investigate this.

  33. jsjsin says:

    2 years ago

    Actually ignore the previous comment. It works! Apparently restarting cinnamon was not enough, had to restart the applet also.

  34. jsjsin says:

    2 years ago

    I downloaded it again and restarted cinnamon. Thanks for the fast work! The touchscreen don't seem to trigger anything now, but neither does plugging in or unplugging the mouse ^^

  35. Lusito says:

    2 years ago

    Thanks. I have completely rewritten the input detection to use something more like the original indicator. This should now detect touchscreens correctly. Hope it works now.

  36. jsjsin says:

    2 years ago

    I believe this is the touch: I: Bus=0003 Vendor=056a Product=00e2 Version=1223 N: Name="Wacom ISDv4 E2 Finger" P: Phys= S: Sysfs=/devices/pci0000:00/0000:00:12.0/usb4/4-2/4-2:1.0/input/input4 U: Uniq= H: Handlers=mouse0 event4 B: PROP=2 B: EV=b B: KEY=400 0 0 0 0 0 0 0 0 0 0 B: ABS=2e08000 3

  37. Lusito says:

    2 years ago

    could you execute this command and show me the paragraph that mentions your touch device ? cat /proc/bus/input/devices. Thanks

  38. jsjsin says:

    2 years ago

    To elaborate a little. If touthpad is on and mouse is connected then the touchpad is disabled correctly. Unplugging the mouse do not r\enable the touchpad. On a fresh login the mousepad is disabled. My laptop has a touch sensitive screen that I think is causing the issue, however it did work fine before using the original touchpad-indicator.

  39. jsjsin says:

    2 years ago

    This is great! However, there is a small problem for me, as my laptop has a touch sensitive screen it seem to mistake it for the mouse and always disables the touchpad.