I can't tell you for sure if disabling via synclient would work, because 
manually I didn't try it and I am quite busy lately.
Though I've tried gnome shell touchpad indicator extension 
(https://extensions.gnome.org/extension/131/touchpad-indicator/) in ubuntu 
gnome 13.10 as this is what I am using right now and neither options work 
correctly (neither synclient method).
But I can help you in another way: I kind of fixed the bug with 2 scripts I 
made. 
The ideea to successfully disable touchpad is to execute these lines: 

gsettings set org.gnome.settings-daemon.peripherals.touchpad touchpad-enabled 
'false'
sleep 1s
gsettings set org.gnome.settings-daemon.peripherals.touchpad touchpad-enabled 
'false'

As you you can see,running the first command  twice (at an interval of 1
sec) just does the job correctly.

https://www.dropbox.com/s/3z1jt4zltwsrhpb/touchpadscript.zip

The scripts in the archive work as follows: 
- touchpad status is 1 when touchpad is enabled
-  0 when touchpad disabled
- touchpad-select is used to change ~/.touchpad/touchpad-status from 0 to 1 and 
from 1 to 0, also to assure that syndaemon will be deactivated or activated 
with my settings, and easystroke loads the touchpadmode/mousemode settings.
- touchpad-scan is started by default from startup applications and it assures 
that the touchpad settings and mouse settings are accordingly to 
touchpad-status value ( because when unplugging mouse, when switching to and 
from tty consoles, or when ressuming from suspend touchpad is enabled 
automatically)
- touchpad-scan will also kill touchpad-select, as touchpad select will have 
easystroke as a child process, and I don't want that.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to xorg in Ubuntu.
https://bugs.launchpad.net/bugs/1245412

Title:
  Enable/Disable Touchpad not working correctly

Status in “xorg” package in Ubuntu:
  Incomplete

Bug description:
  I am on Ubuntu 13.10 amd64 and from the begining I noticed that every time 
the distro boots and, after login, the touchpad is active, even if before 
shutting it down I have had disabled it.
  This was not a problem in 13.04, if the laptop was shutt down with touchpad 
disabled it would have started with it disabled. Now of course I loved that, so 
I decided to make a tweak based on gsettings. I mean reading  
'org.gnome.settings-daemon.peripherals.touchpad touchpad-enabled' value at log 
out, saving it in a file, then, at login reading that value with a startup 
script and writing it to the same location.

  I didn't test it all the way, because when playing with 'gsettings
  set',  'gsettings get', and the Fn touchpad key I've noticed
  discrepancies in the settings read with dconf and the actual results
  of disabling/enabling touchpad with the Fn key.

  Disabling touchpad with keyboard, doesn't necessary change 'org.gnome
  .settings-daemon.peripherals.touchpad touchpad-enabled' value and the
  same way arround (at least not immedeatly). The syncronization is
  faulty.

  This is mostly likely the reason why Touchpad Indicator Extension
  (https://extensions.gnome.org/extension/131/touchpad-indicator/)  does
  not work well (It is not able to reenable touchpad after mouse being
  unplugged).

  ProblemType: Bug
  DistroRelease: Ubuntu 13.10
  Package: xorg 1:7.7+1ubuntu6
  ProcVersionSignature: Ubuntu 3.11.0-12.19-generic 3.11.3
  Uname: Linux 3.11.0-12-generic x86_64
  ApportVersion: 2.12.5-0ubuntu2.1
  Architecture: amd64
  CompizPlugins: No value set for 
`/apps/compiz-1/general/screen0/options/active_plugins'
  CompositorRunning: None
  Date: Mon Oct 28 11:51:25 2013
  DistUpgraded: Fresh install
  DistroCodename: saucy
  DistroVariant: ubuntu
  DkmsStatus:
   acpi-call, 20130623, 3.11.0-12-generic, x86_64: installed
   bbswitch, 0.7, 3.11.0-12-generic, x86_64: installed
   nvidia-304, 304.88, 3.11.0-12-generic, x86_64: installed
   tp-smapi, 0.41, 3.11.0-12-generic, x86_64: installed
   vboxhost, 4.3.0, 3.11.0-12-generic, x86_64: installed
  ExtraDebuggingInterest: Yes, including running git bisection searches
  GraphicsCard:
   Intel Corporation 3rd Gen Core processor Graphics Controller [8086:0166] 
(rev 09) (prog-if 00 [VGA controller])
     Subsystem: ASUSTeK Computer Inc. Device [1043:1457]
   NVIDIA Corporation GF119M [GeForce 610M] [10de:1058] (rev ff) (prog-if ff)
  InstallationDate: Installed on 2013-10-17 (10 days ago)
  InstallationMedia: Ubuntu-GNOME 13.10 "Saucy Salamander" - Release amd64 
(20131017)
  MachineType: ASUSTeK COMPUTER INC. K55VD
  MarkForUpload: True
  ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-3.11.0-12-generic 
root=UUID=8bc18e61-3e17-496d-9cad-c098160e0e98 ro splash quiet 
"acpi_osi=!Windows 2012"
  SourcePackage: xorg
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 03/11/2013
  dmi.bios.vendor: American Megatrends Inc.
  dmi.bios.version: K55VD.411
  dmi.board.asset.tag: ATN12345678901234567
  dmi.board.name: K55VD
  dmi.board.vendor: ASUSTeK COMPUTER INC.
  dmi.board.version: 1.0
  dmi.chassis.asset.tag: No Asset Tag
  dmi.chassis.type: 10
  dmi.chassis.vendor: ASUSTeK COMPUTER INC.
  dmi.chassis.version: 1.0
  dmi.modalias: 
dmi:bvnAmericanMegatrendsInc.:bvrK55VD.411:bd03/11/2013:svnASUSTeKCOMPUTERINC.:pnK55VD:pvr1.0:rvnASUSTeKCOMPUTERINC.:rnK55VD:rvr1.0:cvnASUSTeKCOMPUTERINC.:ct10:cvr1.0:
  dmi.product.name: K55VD
  dmi.product.version: 1.0
  dmi.sys.vendor: ASUSTeK COMPUTER INC.
  version.compiz: compiz N/A
  version.ia32-libs: ia32-libs N/A
  version.libdrm2: libdrm2 2.4.46-1
  version.libgl1-mesa-dri: libgl1-mesa-dri 9.2.1-1ubuntu3
  version.libgl1-mesa-dri-experimental: libgl1-mesa-dri-experimental N/A
  version.libgl1-mesa-glx: libgl1-mesa-glx 9.2.1-1ubuntu3
  version.xserver-xorg-core: xserver-xorg-core 2:1.14.3-3ubuntu2
  version.xserver-xorg-input-evdev: xserver-xorg-input-evdev 1:2.7.3-0ubuntu3.1
  version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:7.2.0-0ubuntu10
  version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.99.904-0ubuntu2
  version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 
1:1.0.9-2ubuntu1
  xserver.bootTime: Mon Oct 28 09:36:14 2013
  xserver.configfile: default
  xserver.errors:
   
  xserver.logfile: /var/log/Xorg.0.log
  xserver.outputs:
   product id                                9964 
   vendor                                     AUO
  xserver.version: 2:1.14.3-3ubuntu2

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/xorg/+bug/1245412/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to