yogan@snowflake ~ > at 0720 warning: commands will be executed using /bin/sh at> DISPLAY=:0.0 gvim at> <EOT> job 125 at Tue Aug 8 07:20:00 2006
I guess I missed the fact that 'at' still worked with non graphical applications, and the above solution for X applications now works too! I wonder why the DISPLAY is not set while 'at' executes, I thought it inherited environment of the current shell. But I guess writing DISPLAY=:0.0 is not too bad. Thank you for your help!