Thread: Odds and ends
View Single Post
Addison's Avatar
Posts: 3,811 | Thanked: 1,151 times | Joined on Oct 2007 @ East Lansing, MI
#41
Originally Posted by auouymous View Post
Anything is possible, just depends on if generic code exists to do it or not.

ASUI creates a hidden window that grabs screen events so it can intercept the first tap that wakes up the screen when not locked. You could pull the blank window code (window_open_blank) out of ASUI's window.c file and have it send a dbus message to launch Xkbd and then quit. When Xkbd quits have it relaunch the blank window. You'd also need a way to tell the blank window to quit when you close roxterm.
I think that I mostly understand what you're saying here in theory.

I had it so when I pressed the Enter key, it would run a script to send a Return signal and then close the keyboard.

The thing is, when it sent the Return signal, the script would restart all over again.

Thus giving me the joy of watching a stupid infinite loop of unhappiness.