Deprecated: Assigning the return value of new by reference is deprecated in /home/therning/public_html/niklas/wp-settings.php on line 472

Deprecated: Assigning the return value of new by reference is deprecated in /home/therning/public_html/niklas/wp-settings.php on line 487

Deprecated: Assigning the return value of new by reference is deprecated in /home/therning/public_html/niklas/wp-settings.php on line 494

Deprecated: Assigning the return value of new by reference is deprecated in /home/therning/public_html/niklas/wp-settings.php on line 530

Deprecated: Assigning the return value of new by reference is deprecated in /home/therning/public_html/niklas/wp-includes/cache.php on line 103

Deprecated: Assigning the return value of new by reference is deprecated in /home/therning/public_html/niklas/wp-includes/query.php on line 21

Deprecated: Assigning the return value of new by reference is deprecated in /home/therning/public_html/niklas/wp-includes/theme.php on line 623
Niklas blog » Blog Archive » Unchecking “Disable touchpad while typing” doesn’t work in Ubuntu Karmic after upgrade

Niklas blog

Just another WordPress weblog

Unchecking “Disable touchpad while typing” doesn’t work in Ubuntu Karmic after upgrade

December 31st, 2009 in linux

Deprecated: Function split() is deprecated in /home/therning/public_html/niklas/wp-content/plugins/google-analytics-for-wordpress/googleanalytics.php on line 466

After upgrading my system from Ubuntu Jaunty 9.04 to Ubuntu Karmic 9.10 unchecking the “Disable touchpad while typing” option in System > Preferences > Mouse > Touchpad doesn’t work as expected. I don’t want the touchpad to be disabled when typing since that also makes it hard to CTRL-click which I do a lot in Eclipse.

After some digging I found that someone had reported a related bug in Launchpad. Apparently syndaemon, which controls how the touchpad behaves while using the keyboard, can be told not to disable the touchpad when modifier keys like CTRL are pressed using -k switch when started. The syndaemon process is started by the gnome-settings-daemon process. gnome-settings-daemon is a C program which I don’t want to have to modifiy to add the -k switch. Instead I added the following script in /usr/local/bin:

#!/bin/sh

/usr/bin/syndaemon -k $@

By naming this script syndaemon it will be used by gnome-settings-daemon instead of /usr/bin/syndaemon. The script starts the real syndaemon process and adds the -k parameter to any of the parameters specified by gnome-settings-daemon.

Tags: , , , ,

Comments are closed.