How can I autostart a program after X starts? To be more specific I want to have some things executed as if I had done it manually using a console.
I am using KDM and almost always KDE but if it is possible I want things to run on all window managers.
The following are the ones I want to run:
imwheel -p -b "67"
xmodmap -e "pointer = 1 2 3 6 7 4 5"
I think there is some file (script) inside my home, which is executed everytime I login but I don't know which and how to insert things there.
PS1. Please tell me the exact way with as much as possible info because I'm newbie in linux.
PS2. I know the KDE way of drag 'n droping shortcuts in ~/.kde/Autostart/ folder but it's not what I am looking for.