I am running Ubuntu with a few scripts on .xprofile and some on startup applications, and I noticed that either today or a few days ago those scripts stopped working.
Well they didn't. They actually do run for about 5 to 10 minutes and they they get reversed. My scripts in .xprofile are to allow touchegg to run:
synclient TapButton2=0
synclient ClickFinger2=0
synclient TapButton3=0
synclient ClickFinger3=0
synclient HorizTwoFingerScroll=0
synclient VertTwoFingerScroll=0
touchegg &
And in startup applications I have things like:
sleep 20 && setxkbmap -layout us -option ctrl:swapcaps
Then, when I turn on the computer, touchegg is working, the caps and control keys are swapped. But only for a few minutes. Then suddenly everything gets reverted. The caps is back in its place, and touchegg is not working anymore. Usually happens a within 5 to 10 minutes after the computer is on. Any ideas??
Thank you!
ps: I had installed gnome-pomodoro app which I think downloaded a bunch of gnome stuff and I read online that gnome-session could be overwriting my scripts. So I uninstalled most of the gnome-session packages (I accidentally also deleted unity 7, so i had to reinstall it). But my problem remained the same..