stumpwm-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [STUMP] couldn't create pipe: "Too many open files"


From: David Cohen
Subject: Re: [STUMP] couldn't create pipe: "Too many open files"
Date: Mon, 19 Dec 2011 20:25:26 -0800

Thanks everyone for the help.

I like the %d tip, and now I'm using this in my .stumpwmrc...

;; modeline format
(setf *time-modeline-string* "%a %b %e %k:%M")

(setf *screen-mode-line-format*
      (list "[^B%d^b]"
            " | %B"
            " | [^B%n^b] %W"))

Working great so far.

I used lsof to learn that stumpwm had opened quite a few files, but firefox had 
even more!

-Dave

On Mon, Dec 19, 2011, at 11:43 AM, Shawn Betts wrote:
> > When I start up, everything works right.  But eventually, after I'm not 
> > sure how long, the date and time disappears from the mode line.  I copied 
> > my mode line settings from a .stumpwmrc I found online (sorry I don't 
> > remember exactly who originally posted it):
> >
> > ;; modeline format
> >  (setf *screen-mode-line-format*
> >       (list "[^B" '(:eval (run-shell-command "date '+%R, %F %a'|tr -d 
> > [:cntrl:]" t)) "^b]"
> >             " | %B"
> >             " | [^B%n^b] %W"))
> 
> Obviously the problem should be fixed but I should note that running a
> shell command to format the date is not the best way to format the
> date. Just use %d and customize *time-modeline-string*. See time.lisp
> for details. Someone please correct me if I got that wrong!
> 
> -Shawn
> 
> _______________________________________________
> Stumpwm-devel mailing list
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/stumpwm-devel
> 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]