I think the best solution would be to, rather than trying to use .XClients, .xsession, or .gnomerc, to get rid of those, put a script in ~/bin, and use the Gnome configuration tool to make that script be a startup program.