6

Where do I configure syndaemon default parameters?

By default it is called with -i 2.0 -K -R -t . I have a script that re-runs it with parameters that I need, but how do I do this properly?

I am on ubuntu 12.04

2

Dash -> Startup Applications

enter image description here

  • Add
  • Give it a name and put the command in for the script you need:

enter image description here

Reason for this ... there is not config file and those settings are hard coded.

| improve this answer | |
  • Yes, that's what I do, just running the script from .bash_profile. I was hoping that there is any way to configure it. Thanks anyway – misza222 Mar 20 '13 at 21:39
  • nope sorry. someone believes it is best to hard code something like that :) – Rinzwind Mar 20 '13 at 21:41
  • 1
    If I do this, two syndaemon processes end up getting started. – midopa Dec 12 '17 at 8:04
  • Thank you for this answer ! I tried and failed with other solutions to this problem, this one solves it :D – Olivier Bégassat Jan 10 '19 at 20:09
4

As Rinzwind already pointed out, these settings are hardcoded in unity-settings-daemon:

https://bazaar.launchpad.net/~ubuntu-branches/ubuntu/vivid/unity-settings-daemon/vivid/view/head:/plugins/mouse/gsd-mouse-manager.c

As a workaround, rename syndaemon to syndaemon.orig

mv /usr/bin/syndaemon /usr/bin/syndaemon.orig

and create a script syndaemon that just calls the original binary with the correct parameters:

cat << EOF > /usr/bin/syndaemon
#!/bin/bash
/usr/bin/syndaemon.orig -K -R -i0.5
EOF

Make it executable with

chmod +x /usr/bin/syndaemon
| improve this answer | |
  • 1
    This is kind of wonky, but it works and ensures only one syndaemon process is started at launch. – midopa Dec 12 '17 at 8:05
0

For those using Xubuntu:

http://www.computercorrect.com/2012/operating-systems/linux/xubuntu/configure-disable-touchpad-while-typing-delay/

I've found that making it half a second delay works well for me. The command you need to run at auto start is

syndaemon -i .5 -K -t -R -d
| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.