LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices


Reply
  Search this Thread
Old 06-05-2018, 01:00 PM   #1
Lysander666
Senior Member
 
Registered: Apr 2017
Location: The Underearth
Distribution: Ubuntu, Debian, Slackware
Posts: 2,178
Blog Entries: 6

Rep: Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470
Disabling touchpad while typing - how to make it permanently enabled?


I've been using this netbook for a few months now and I use it a lot of the time for typing documentation. The main problem I had was that the cursor would jump all over the screen while typing and I sometimes couldn't control where it would go and what it would do.

Code:
syndaemon -i 0.5 -K -R
Now, with this simple line from the Xfce documentation, my mobile computer use has been revolutionised. The cursor stays where it should be all the time and I can type comfortably without worrying that the cursor might jump to somewhere else on the page, delete a line or a paragraph or end up closing a window while I type.

This runs in the background when entered into the terminal until disabled by ctrl-c. But is there a way to make it permanent so it's always enabled even on restart?
 
Old 06-05-2018, 01:29 PM   #2
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,998

Rep: Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629
Depending on distro/level you can add scripts to start up. Usually one of the .rc

It could be possible too that the user environment could have that script added on logon.
 
1 members found this post helpful.
Old 06-05-2018, 01:58 PM   #3
Lysander666
Senior Member
 
Registered: Apr 2017
Location: The Underearth
Distribution: Ubuntu, Debian, Slackware
Posts: 2,178

Original Poster
Blog Entries: 6

Rep: Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470
This is for Slackware. So do I just create an executable .sh file with the line included:

Code:
syndaemon -i 0.5 -K -R
and put it in /etc/rc.d/rc4.d?

Reference:

https://www.linuxquestions.org/quest...cripts-644585/

EDIT: it may just be a case of putting it in /etc/rc.d/rc.local

Last edited by Lysander666; 06-05-2018 at 02:22 PM.
 
Old 06-06-2018, 02:20 PM   #4
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
i think it would be wiser to put this in the user session startup.
what DE/wm are you using?
 
Old 06-07-2018, 05:47 AM   #5
Lysander666
Senior Member
 
Registered: Apr 2017
Location: The Underearth
Distribution: Ubuntu, Debian, Slackware
Posts: 2,178

Original Poster
Blog Entries: 6

Rep: Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470
Quote:
Originally Posted by ondoho View Post
i think it would be wiser to put this in the user session startup.
what DE/wm are you using?
I haven't done this yet, don't want to mess it up even though it's probably a very simple thing.

I'm using LXDE. Should I add it somewhere in .config/lxsession/LXDE/autostart or desktop.conf?

Last edited by Lysander666; 06-07-2018 at 06:50 AM.
 
Old 06-07-2018, 01:05 PM   #6
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
i think LXDE has a GUI thingymajick to add autostart (or startup) commands/applications.
 
1 members found this post helpful.
Old 06-08-2018, 03:52 AM   #7
Lysander666
Senior Member
 
Registered: Apr 2017
Location: The Underearth
Distribution: Ubuntu, Debian, Slackware
Posts: 2,178

Original Poster
Blog Entries: 6

Rep: Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470
Quote:
Originally Posted by ondoho View Post
i think LXDE has a GUI thingymajick to add autostart (or startup) commands/applications.
Couldn't find a GUI thingymajick but this was helpful:

https://askubuntu.com/questions/3911...n-lxde-starts?

You just add the command to the end of the file in /home/<user>/.config/lxsession/LXDE/autostart

Thank you very much for your help.

Last edited by Lysander666; 06-08-2018 at 09:50 AM. Reason: misspelled "thingymajick"
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] How to save xinput touchpad configuration (libinput Left Handed Enabled) permanently? Chripcikas Linux - Newbie 5 12-12-2019 09:13 PM
[SOLVED] syndaemon and disabling touchpad while typing stormtracknole Slackware 5 06-02-2018 01:09 PM
Touchpad active while typing joboy Debian 5 07-14-2017 01:36 AM
Touchpad disable button permanently disables touchpad until reboot William (Dthdealer) Linux - Hardware 12 08-01-2009 10:51 PM
Disabling Touchpad while typing. nardz Linux - Desktop 4 01-24-2008 04:33 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook

All times are GMT -5. The time now is 06:22 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration