linux - How do I find the current virtual terminal -
I am working on a problem in Ubuntu 10.04, where after the resume, the mouse cursor is missing goes.
This can be "Fixed" by running However, the X console is not always vt # 7, so code> 7 7 chvt 1;
is wrong in those cases .
What I would like to do is, find the current VT in the fix-up script and make sure that I will revert back to that VT. / P>
How can I get the current VT? (TTI (1) only reports "no TTI")
check that 'fgconsole' is what Does it need Seems to work for me (e.g., return 7 and I'm currently in x)
Comments
Post a Comment