On Wed, 2009-10-21 at 16:00 -0400, Kris Maglione wrote: > On Wed, Oct 21, 2009 at 11:35:26AM -0800, Roger wrote: > >1) Start DWM > >2) After start of DWM, execute DMenu -cache (to cache/scan all bin > >folders into $HOME/.dmenu). > >3) Somebody finally executes DMenu to choose an application immediately > >vs. waiting for DMenu to also cache (all bin folders). > > Start dwm from a script.
Already done via .xinitrc. > >VS. Currently, > > > >1) Start DWM > >2) Wait for DMenu to be executed by somebody, then somebody has to sit > >and wait for DMenu to cache bin folders before choosing their > >application. > > It takes a few miliseconds. ... depending on size of bin folders. /bin $ du -kh --max-depth=0 7.9M /sbin $ du -kh --max-depth=0 21M /usr/bin $ du -kh --max-depth=0 551M /usr/sbin $ du -kh --max-depth=0 43M ... of course, rm -f /usr/bin/* would speed things up. ;-) -- Roger http://rogerx.freeshell.org