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

share|improve this question
up vote 1 down vote accepted

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.

share|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
    
If I do this, two syndaemon processes end up getting started. – midopa Dec 12 '17 at 8:04

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
share|improve this answer
    
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

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
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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