Dear all,
I would like to run a few scritps on log-in (not before). Namely I want to disable my touchpad and open a terminal. Here are the lines I think:
Code:
xinput --set-prop "SynPS/2 Synaptics TouchPad" "Device Enabled" 0
and
Code:
xfce4-terminal --hide-menubar --hide-borders --hide-toolbars
So I added these two lines at the end of ~/.bashrc
Interestingly this is what happen (probably for a well deserved reason...):
- none of the commands are started when I login, however, both commands start once I open a terminal for the first time. At that time my touchpad is disabled (which is OK by me) but also the computer keeps on opening up new terminal (like 10 per seconds) and I have to turn off the computer.
So here are my questions:
- how do I get these commands to start when I log in? and
- how do I get only 1 single terminal opening up?
thanks for your time and help,