If you start X by calling startx you might want to try $HOME/.xinitrc (note the dot before xinitrc).
If you start X by logging in using GDM or any other display manager (the simple graphical login screen) you might want to try $HOME/.xsession (also, dot-xsession). This one I have not tested yet myself.
Both files should have the eXecute bit set (chmod +x $HOME/.whatever)
Make sure the script is actually being run: use something like "touch file" inside the script and check if "file" gets created when starting your session.
This should allow you to execute any command right after X or the DE has been initialized.
If this doesn't work, please report it here. I'm thinking on a way to add a delay to Superkb initalization if getting keybord geometry fails and retry. I'd rather not do this because this actually looks more like a bug in GNOME.
If you start X by calling startx you might want to try $HOME/.xinitrc (note the dot before xinitrc).
If you start X by logging in using GDM or any other display manager (the simple graphical login screen) you might want to try $HOME/.xsession (also, dot-xsession). This one I have not tested yet myself.
Both files should have the eXecute bit set (chmod +x $HOME/.whatever)
Make sure the script is actually being run: use something like "touch file" inside the script and check if "file" gets created when starting your session.
This should allow you to execute any command right after X or the DE has been initialized.
If this doesn't work, please report it here. I'm thinking on a way to add a delay to Superkb initalization if getting keybord geometry fails and retry. I'd rather not do this because this actually looks more like a bug in GNOME.