Welcome to SparkyLinux forums
Zapraszamy również na polsko-języczne Forum

how to run a simple script automatically at login

Started by thelynx, January 21, 2015, 06:28:06 AM

Previous topic - Next topic


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):

synclient TapButton1=1
syndaemon -i 1 -t -d

The file is named 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!


I'm a bit lazy today, so I'll just provide a link to a similar post on the ArchLinux BBS.

The usage should be the same, so no need to rewrite everything here.
There's no such thing as "impossible". :)


View the most recent posts on the forum