[dev] [dwm] terminating the status loop

2011-04-27 Thread Thomas Dahms
Hi list, using something like while true; do xsetroot -name ... sleep 1 done & exec dwm in .xsession (I have to use KDM at work) as advertised in dwm's README leaves the background loop running even after logout, which has some ugly side effects: While not logged in, xsetr

Re: [dev] [st] cleanup patch

2011-04-27 Thread Hiltjo Posthuma
This is a pretty off-topic question, but I wonder will st implement text-scrolling eventually ? This and the performance is one of the few reasons I'm still using xterm, but I'm hoping to replace it with st :) (Im aware running st with tmux provides text-scrolling I guess, but having it without mi

Re: [dev] [dwm] terminating the status loop

2011-04-27 Thread Kurt Van Dijck
On Wed, Apr 27, 2011 at 01:20:13PM +0200, Thomas Dahms wrote: > Hi list, > > The following fixes the problem: > > while true; do > xsetroot -name ... > sleep 1 > done & statuspid=$! > dwm & > wait $! > kill $statuspid why not just: dwm kill $statuspid I see

Re: [dev] [dwm] terminating the status loop

2011-04-27 Thread Thomas Dahms
On Wed, 27 Apr 2011 13:55:08 +0200, Kurt Van Dijck wrote: why not just: dwm kill $statuspid I see no use in backgrounding dwm, and then waiting for it. What did I miss? Nothing; backgrounding dwm was left from trying a few other ways to do it. Thank you. Then it can be s

Re: [dev] st patch for draw() etc.

2011-04-27 Thread anonymous
On Sat, Apr 23, 2011 at 03:48:46PM +0400, anonymous wrote: > On Fri, Apr 22, 2011 at 12:31:37AM +0200, Aurélien Aptel wrote: > > On Wed, Apr 20, 2011 at 5:46 PM, Magnus Leuthner > > wrote: > > > Please note that the drawing for the selection while selecting only works > > > if > > > the -Os optio

Re: [dev] [dwm] terminating the status loop

2011-04-27 Thread amann
> On Wed, 27 Apr 2011 13:55:08 +0200, Kurt Van Dijck > wrote: > >> why not just: >> dwm >> kill $statuspid >> >> I see no use in backgrounding dwm, and then waiting for it. >> What did I miss? > > Nothing; backgrounding dwm was left from trying a few other ways to do it. > Thank you. > T

Re: [dev] [dwm] terminating the status loop

2011-04-27 Thread Petr Sabata
On Wed, Apr 27, 2011 at 05:24:55PM +0200, am...@physik.tu-berlin.de wrote: > > On Wed, 27 Apr 2011 13:55:08 +0200, Kurt Van Dijck > > wrote: > > > >> why not just: > >>dwm > >>kill $statuspid > >> > >> I see no use in backgrounding dwm, and then waiting for it. > >> What did I miss? > > >

Re: [dev] [dwm] terminating the status loop

2011-04-27 Thread Thomas Dahms
Hi Andreas, while xsetroot -name "$(date +"%a, %b %d %Y | %H:%M")" do sleep 20 done & exec dwm This is even nicer as the original instance of .xsession is not kept running. -- Thomas Dahms

[dev] [wmii][rumai] Error using default wmiirc

2011-04-27 Thread Aurélien Aptel
Hi, I wanted to try the ruby wmiirc, so I followed the steps in the README, installed latest wmii/libixp from the repo, installed rumai 3.3.1 (since wmiirc require < 4), checkout the strict branch (default config.yaml) and when I startx, I get this on the xmessage-thingy: #, #, #, #>, @counter=ni

[dev] [surf] can't compile on debian sid

2011-04-27 Thread thuban
I tried to compile surf recently, but it returns an error (see attached file). I'm running on debian sid, so I suppose it's because of an error in libX11-dev package? What do you think? CC = cc CC -o surf /usr/bin/ld: surf.o: undefined reference to symbol 'XSync' /usr/bin/ld: note: 'XSync' i

Re: [dev] [wmii][rumai] Error using default wmiirc

2011-04-27 Thread Suraj Kurapati
On Wed, Apr 27, 2011 at 11:21 AM, Aurélien Aptel wrote: > I wanted to try the ruby wmiirc, so I followed the steps in the > README, installed latest wmii/libixp from the repo, installed > rumai 3.3.1 (since wmiirc require < 4), checkout the strict branch It seems you are using the ruby wmiirc tha

[dev] [surf] Animated GIF support

2011-04-27 Thread Maciej Sobkowski
Hi I use default surf package on archlinux, and animated GIFs don't work. they blink or show only first frame. Is it possible to fix it? maciejjo

Re: [dev] [surf] Animated GIF support

2011-04-27 Thread Ramil Farkhshatov
Maciej Sobkowski wrote: > Hi > I use default surf package on archlinux, and animated GIFs don't work. they > blink or show only first frame. Is it possible to fix it? It's a bug in webkit-1.2.7. It is fixed in unstable webkit version (1.3.x).

[dev] [dwm] terminating the status loop

2011-04-27 Thread Kurt Van Dijck
On Wed, Apr 27, 2011 at 05:51:27PM +0200, Thomas Dahms wrote: > Hi Andreas, > > >while xsetroot -name "$(date +"%a, %b %d %Y | %H:%M")" > >do > >sleep 20 > >done & > >exec dwm > > This is even nicer as the original instance of .xsession is not kept > running. I don't understand how the while

Re: [dev] [wmii][rumai] Error using default wmiirc

2011-04-27 Thread Aurélien Aptel
On Wed, Apr 27, 2011 at 9:00 PM, Suraj Kurapati wrote: > It seems you are using the ruby wmiirc that was shipped with wmii > (which is ancient!) because the current ruby wmiirc on GitHub[1] no > longer maintains the "strict" branch and requires Rumai 4.1.2, so > try [1] instead. Yep, works better

Re: [dev] [dwm] terminating the status loop

2011-04-27 Thread Robert Ransom
On Wed, 27 Apr 2011 22:15:11 +0200 Kurt Van Dijck wrote: > On Wed, Apr 27, 2011 at 05:51:27PM +0200, Thomas Dahms wrote: > > Hi Andreas, > > > > >while xsetroot -name "$(date +"%a, %b %d %Y | %H:%M")" > > >do > > >sleep 20 > > >done & > > >exec dwm > > > > This is even nicer as the original

Re: [dev] [dwm] terminating the status loop

2011-04-27 Thread Kurt H Maier
On Wed, Apr 27, 2011 at 4:15 PM, Kurt Van Dijck wrote: > I don't understand how the while loop terminates then when dwm terminates. xsetroot will return a nonzero exit code because the xserver is no longer running. -- # Kurt H Maier

Re: [dev] [surf] Animated GIF support

2011-04-27 Thread Emmanuel Benisty
On Thu, Apr 28, 2011 at 2:47 AM, Maciej Sobkowski wrote: > Hi > I use default surf package on archlinux, and animated GIFs don't work. they > blink or show only first frame. Is it possible to fix it? > maciejjo here's the fix for 1.2.7: http://gitorious.org/webkitgtk/stable/commit/1c3ae92649aa57a