Showing posts with label Touchpad. Show all posts
Showing posts with label Touchpad. Show all posts

Monday, November 30, 2015

Slow shutdown/reboot when mounting CIFS/SMB shares on Ubuntu and derivatives

My laptop with Linux Mint 17.2 suddenly started taking full minutes for every reboot/shutdown. What might have caused it?

I then remembered I had previously placed some new entries in the fstab, since I needed to mount some remote CIFS shares. Could this be the culprit?

Well, it seems it was exactly that: there is a bug in Network Manager which shuts down before unmounting the network shares. This will cause CIFS to hang and wait for 60 seconds or so for every share.

Even though the Ubuntu Wiki says that this bug has been solved since version 12.04, I have applied the suggested solution and it worked.
Now the shutdowns/reboots happen in an instant!

So, is the bug back? I don't know, but what I know is that this is how to fix this problem:
sudo ln -s /etc/init.d/umountnfs.sh /etc/rc0.d/K14umountnfs.sh
sudo ln -s /etc/init.d/umountnfs.sh /etc/rc6.d/K14umountnfs.sh

Thursday, November 26, 2015

Disable touchpad while writing

I'm now running Linux Mint 17.2 "Rafaela" on my Amilo SI1520, but even though there is a specific option to disable the touchpad while writing (you can find it in Preferences > Mouse & Touchpad) this solution wouldn't work.

The workaround is easy though, and can be accomplished by using the command syndaemon:

syndaemon -d -i 1
This disable the touchpad while typing on the keyboard, and will enable it again 1 second after the last key has been pressed. The -d option makes the command run as a daemon.

If you only want to disable tapping and scrolling (but not the mouse movements) when you type, just add the -t option:

syndaemon -d -t -i 1
To avoid having to type the command every time you logon, simply put the command above as a new entry in System > Preferences > Startup Applications

Thursday, April 26, 2007

Ubuntu Tip: Disable Synaptics touchpad while typing

Finally!!
If you are like me, and can't help but involuntarily touch the touchpad while typing on the keyboard, here is the solution (thanks to ubuntugeek.com):
  1. Open a terminal and type: sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf_synbackup
  2. Type gksudo gedit /etc/X11/xorg.conf
  3. Look for the section called: Section “InputDevice” / Identifier “Synaptics Touchpad”
  4. Just above the line that says "End Section" type this line: Option “SHMConfig” “on”
  5. Save, close all the windows and restart Gnome (Ctrl-Alt-Backspace)
  6. Open the sessions manager: System -> Preferences -> Sessions
  7. In the Startup Programs tab click the "New" button
  8. Type "Syndaemon" in the name field and "syndaemon -i 1 -d" in the command field
  9. Close and restart Gnome (Ctrl-Alt-Backspace)
  10. Voila!

Monday, April 16, 2007

Touchpad finally working again after a Suspend/Resume in Feisty

As suggested by fellow user skipper (who I thank very much) there is a way to make the touchpad work after a suspend/resume.

The solution is a downgrade of the BIOS of the laptop to version 1.10. The problem, in fact, seems to be related to the two latest versions of the BIOS (v1.19 and v1.20). Anyone who does not necessarily need one of these two later BIOS versions, should downgrade to v1.10 to make suspend work.

If your SI1520 does not mount an Intel Core Duo (Yonah) D0 stepping processor (which means mainly those CPUs coded T2x00) you can downgrade to version 1.10. Otherwise you'll have to stick with a BIOS version >= 1.17 and with no touchpad after resume. :-(

v1.19 is officially the initial BIOS for Windows Vista 32bit, so downgrading could bring up problems with Vista. I couldn't find anything wrong in my brief test, but I don't plan to be using Vista much, so that's not so important to me.

Please leave a comment with your experiences with this matter, as it can help other fellow SI1520 owners. Thanks.

Necessary legal disclaimer:

Reasonable effort is made to ensure that the information provided on this blog is accurate, however, no guarantees for the currency or accuracy of information are made. This blog's information is provided "as is", without warranty of any kind, whether expressed or implied.

This blog and its author make no guarantee and hold no responsibility for any damage, injury, loss of property, loss of data, loss of any and all resources, or any negative influence what-so-ever, that may result from any and all usage of the information found on this blog, or linked from this blog.

Negative consequences of your usage of this blog are solely your problem and your responsibility. All consequences of the usage of this blog do not involve this blog and its author, at all, ever. You hold full responsibility for your actions.

Use this blog's information resources at your own risk.