Am Monday 08 March 2004 23:29 schrieb Kim Woelders: > Did you consider simply using different directories using -econfdir, as > I previously suggested?
I did, but for this I would need to know the resolution before e is started, and then call it from a wrapper script. After an automatic restart by the epplet to be, the new resolution would be known, but I don't know how to probe this from the command line on first startup. And e does this probe anyway, so why not use it? And is there a way to tell e to restart with a different confdir? > Maybe the only things that need to differ are the saved window settings > (...e_session-XXXXXX.snapshots.*)? maybe, this remains to be seen. When I simply restarted e after a resolution change, the backgrounds also weren't quite right. I don't know if that information is stored in the same file. > - When the resolution is changed using xrandr E detects this and > restarts (or maybe just reconfigures?). > I'm not familiar with RandR but I assume this requires handling of some > new X events. > Or did you intend to tell E to change the screen resolution and restart? The latter. There's a command-line program for xrandr, it's quite simple to use. I was thinking of converting this into an epplet that restarts e whenever it changes the resolution. This nicely circumvents the event-handling. (Which is probably way over my head, as I said.) > A few pointers: > Start out from current CVS. > Start in: � � � � � �main() :) > Screen size: � � � � SetupX() > Load saved settings: LoadSnapInfo() > Load configuration: �LoadEConfig() That will get me started. I will probably tinker with it a little over the next weekend. Thanks, Felix ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=click _______________________________________________ enlightenment-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
