BTW, if somebody cares enough: this bug could be fixed properly now as Kay's patch got merged into .38.
There's now a file "/sys/class/tty/tty0/active" which you can read to get the current VT. And you can poll() for it and will get POLLPRI every time the VT changes. That said, given that CK is being retired anyway sooner or later (merged into systemd) I do wonder if it is really worth working on this for now. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/148454 Title: console-kit-daemon spawns too many threads To manage notifications about this bug go to: https://bugs.launchpad.net/consolekit/+bug/148454/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs