SparkyLinux Forums

Software & hardware support => Newbie questions => Topic started by: thelynx on January 21, 2015, 06:28:06 AM

Title: how to run a simple script automatically at login
Post by: thelynx on January 21, 2015, 06:28:06 AM
I am running the latest version of Sparky 64-bit XFCE, but I'm using the Enlightenment Window Manager instead.

I've been researching for far too long now on how to run the following simple bash script on successful login (I'm the only user):


#!/bin/bash
synclient TapButton1=1
syndaemon -i 1 -t -d


The file is named touchpad.sh and I have already added permission to execute.  But where do I save the script so that it will run automatically at login? Is there anything else I need to do?

I've tried a number of options on the net, but can't seem to get it working except by manually running it every time I log in, which is a bit of a pain.  I managed to make it run on Bodhi Linux a year or so ago, but unfortunately, I can't for the life of me remember how, though I do remember it was something quite simple.

Any help would be much appreciated. Thanks in advance.

Incidentally, I am very impressed with Sparky. Thanks to all those involved in its development!






Title: Re: how to run a simple script automatically at login
Post by: MoroS on January 21, 2015, 12:36:59 PM
I'm a bit lazy today, so I'll just provide a link to a similar post on the ArchLinux BBS.
https://bbs.archlinux.org/viewtopic.php?id=65194

The usage should be the same, so no need to rewrite everything here.
Title: Re: how to run a simple script automatically at login
Post by: one23 on February 01, 2015, 11:30:30 AM
If you're having trouble with configuring touchpad have a look here

https://bbs.archlinux.org/viewtopic.php?id=65194