You are not logged in.

#1 2012-04-20 21:17:44

tmhedberg
Member
Registered: 2010-10-20
Posts: 10

xinput properties reset when switching virtual terminals

I have a ThinkPad and I don't like to use the "trackpoint" device in the middle of the keyboard. Since my fingers sometimes bump it while I'm typing, I disable it in my ~/.xinitrc with:

xinput set-prop 'TPPS/2 IBM TrackPoint' 'Device Enabled' 0

This works fine, but I find that if I switch to another virtual terminal (say, <Ctrl+Alt+F2>) and then back, the trackpoint gets enabled again.

It seems that xinput properties are simply reset on console switch. Does anyone know how to prevent this, or alternatively, to automatically re-apply my xinput settings when I return the the console running X?

Offline

Board footer

Powered by FluxBB