Joined: July 2005
||Posted: May 25 2008,23:35
|Quote (roberts @ May 24 2008,09:06)|
|Quote (curaga @ May 24 2008,15:11)|
|As alih posted in here, his second point is something that ought to be already in DSL.|
The use of exec startx instead of startx saves ram by chopping one bash process, and comes with no negative effects since when X dies bash is restarted by init.
Except instead of putting it into an alias I'd just change it in /etc/skel/.bash_profile to not have manually using startx crap someones work out unexpectedly.
Posting here in case Robert's busy and doesn't read all the threads.
You are right in that I am not able to read all threads. You may need to "ping me" to get my attention.
In regards to this suggestion...
While we gain memory from one less bash shell, we lose the option to "exit to prompt". This was something I had suggested when I first joined this project, however, I was told that "exit to prompt" was needed for properly setting up video (X) parameters and/or changing keyboard parameters. Maybe such is no longer the case? I am all for reducing memory demands.
This may have been the case when the boot options were either to level 2 (root user console) or X as user DSL. Now that there is an option to boot to level 3 (DSL user console) perhaps having the level 5 boot option go straight to X withe 'exec startx' is a viable option. For the first run, or the xsetup boot code obviously booting to console first would need to be retained to run xsetup prior to staring X.