What file is sourced/executed when logging in?

Asked by Kenneth Koontz

I'd like to add a command to startup of a user session. Specifically, I'm trying to disable my touchpad. The command is 'xinput set-prop 11 "Device Enabled" 0'. Does anyone know which file I need to add this too?

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu linux Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

run:

gksudo gedit /etc/rc.local

Add the command ABOVE the exit 0 line and it will run at boot

Can you help with this problem?

Provide an answer of your own, or ask Kenneth Koontz for more information if necessary.

To post a message you must log in.