From michael at cadilhac.name Wed Apr 11 14:01:07 2012 From: michael at cadilhac.name (=?ISO-8859-1?Q?Micha=EBl_Cadilhac?=) Date: Wed, 11 Apr 2012 10:01:07 -0400 Subject: [clfswm-devel] A toolbar displaying CPU usage, date, volume, ... Message-ID: Hi there everyone, I'm contemplating switching from awesome to CLFSWM. Since my days with Ion, I got used to have a toolbar displaying a bunch of infos (most importantly, time), so my question is: what is the way to go to implement such a toolbar within CLFSWM? On a side note, how the hell do you guys do without a time display? Happy hacking, M. From ales.guzik at gmail.com Wed Apr 11 14:43:51 2012 From: ales.guzik at gmail.com (Ales Guzik) Date: Wed, 11 Apr 2012 17:43:51 +0300 Subject: [clfswm-devel] A toolbar displaying CPU usage, date, volume, ... In-Reply-To: References: Message-ID: Hi, Micha?l. Personally I used conky for this kind of things. You may place it somewhere at the top and redefine get-fullscreen-size in your .clfswmrc to match area you want to be used for windows placement (get-fullscreen-size is defined in config.lisp). On Wed, Apr 11, 2012 at 5:01 PM, Micha?l Cadilhac wrote: > Hi there everyone, > > I'm contemplating switching from awesome to CLFSWM. ?Since my days > with Ion, I got used to have a toolbar displaying a bunch of infos > (most importantly, time), so my question is: what is the way to go to > implement such a toolbar within CLFSWM? > > On a side note, how the hell do you guys do without a time display? > > Happy hacking, > M. > > _______________________________________________ > clfswm-devel mailing list > clfswm-devel at common-lisp.net > http://lists.common-lisp.net/cgi-bin/mailman/listinfo/clfswm-devel -- Regards, Ales Guzik ------------------------------------------------------------ e-mail: ales.guzik at gmail.com skype: ales-guzik tel: +375 29 5751103 From ales.guzik at gmail.com Wed Apr 11 14:49:41 2012 From: ales.guzik at gmail.com (Ales Guzik) Date: Wed, 11 Apr 2012 17:49:41 +0300 Subject: [clfswm-devel] A toolbar displaying CPU usage, date, volume, ... In-Reply-To: References: Message-ID: Actually window manager is thing that manages windows. It seems logical to use something that displays information to display information. And about time, I just set my zsh to display current time with every prompt. On Wed, Apr 11, 2012 at 5:43 PM, Ales Guzik wrote: > Hi, Micha?l. > > Personally I used conky for this kind of things. You may place it > somewhere at the top and redefine get-fullscreen-size in your > .clfswmrc to match area you want to be used for windows placement > (get-fullscreen-size is defined in config.lisp). > > On Wed, Apr 11, 2012 at 5:01 PM, Micha?l Cadilhac wrote: >> Hi there everyone, >> >> I'm contemplating switching from awesome to CLFSWM. ?Since my days >> with Ion, I got used to have a toolbar displaying a bunch of infos >> (most importantly, time), so my question is: what is the way to go to >> implement such a toolbar within CLFSWM? >> >> On a side note, how the hell do you guys do without a time display? >> >> Happy hacking, >> M. >> >> _______________________________________________ >> clfswm-devel mailing list >> clfswm-devel at common-lisp.net >> http://lists.common-lisp.net/cgi-bin/mailman/listinfo/clfswm-devel > > > > -- > Regards, > Ales Guzik > ------------------------------------------------------------ > e-mail: ales.guzik at gmail.com > skype: ales-guzik > tel: +375 29 5751103 -- Regards, Ales Guzik ------------------------------------------------------------ e-mail: ales.guzik at gmail.com skype: ales-guzik tel: +375 29 5751103 From michael at cadilhac.name Wed Apr 11 16:26:03 2012 From: michael at cadilhac.name (=?ISO-8859-1?Q?Micha=EBl_Cadilhac?=) Date: Wed, 11 Apr 2012 12:26:03 -0400 Subject: [clfswm-devel] A toolbar displaying CPU usage, date, volume, ... In-Reply-To: References: Message-ID: On Wed, Apr 11, 2012 at 10:49 AM, Ales Guzik wrote: > On Wed, Apr 11, 2012 at 5:01 PM, Micha?l Cadilhac wrote: >> Hi there everyone, >> >> I'm contemplating switching from awesome to CLFSWM. ?Since my days >> with Ion, I got used to have a toolbar displaying a bunch of infos >> (most importantly, time), so my question is: what is the way to go to >> implement such a toolbar within CLFSWM? >> >> On a side note, how the hell do you guys do without a time display? > Personally I used conky for this kind of things. Thanks, I'll give it a try. > Actually window manager is thing that manages windows. It seems logical to > use something that displays information to display information. That's a good point, but it depends. I use the bar to display lots of WM-related informations; for instance, I want to display the list of windows in the current frame, so I hope the communication between conky and CLFSWM? is smooth. > And about time, I just set my zsh to display current time with every prompt. I do have that, and my Emacs has time too, but 1) I want a place where I'm *sure* to find the time (top right corner, say) and 2) I don't want to tweak each and every application I use (say, firefox) so that it displays the time. Thanks again for the input, Ales. M. ?: "CLFSWM" is a *pain* to write using dvorak layout. You win this time, qwerty. From ales.guzik at gmail.com Wed Apr 11 18:37:39 2012 From: ales.guzik at gmail.com (Ales Guzik) Date: Wed, 11 Apr 2012 21:37:39 +0300 Subject: [clfswm-devel] A toolbar displaying CPU usage, date, volume, ... In-Reply-To: References: Message-ID: On Wed, Apr 11, 2012 at 7:26 PM, Micha?l Cadilhac wrote: > On Wed, Apr 11, 2012 at 10:49 AM, Ales Guzik wrote: > >> On Wed, Apr 11, 2012 at 5:01 PM, Micha?l Cadilhac wrote: >>> Hi there everyone, >>> >>> I'm contemplating switching from awesome to CLFSWM. ?Since my days >>> with Ion, I got used to have a toolbar displaying a bunch of infos >>> (most importantly, time), so my question is: what is the way to go to >>> implement such a toolbar within CLFSWM? >>> >>> On a side note, how the hell do you guys do without a time display? > >> Personally I used conky for this kind of things. > > Thanks, I'll give it a try. > >> Actually window manager is thing that manages windows. It seems logical to >> use something that displays information to display information. > > That's a good point, but it depends. ?I use the bar to display lots of > WM-related informations; for instance, I want to display the list of windows > in the current frame, so I hope the communication between conky and CLFSWM? > is smooth. If I understand you correctly, thing you want to see is shown by Shift+F12. To additionnaly see child frames information just setup transparency with xcompmgr. >> And about time, I just set my zsh to display current time with every prompt. > > I do have that, and my Emacs has time too, but 1) I want a place where I'm > *sure* to find the time (top right corner, say) and 2) I don't want to tweak > each and every application I use (say, firefox) so that it displays the time. There is CLFSWM terminal accessed by Ctrl+F12. I found it pretty usual for me to press C-F12 to see time in top left corner, then C-F12 to hide terminal. > Thanks again for the input, Ales. > > M. > > ?: "CLFSWM" is a *pain* to write using dvorak layout. ?You win this time, > ? ? ? ?qwerty. Keeping qwerty really slowers dvorak learning rate. First time I tried to switch I kept both, and after some time found myself not using dvorak at all. Second time I just dropped qwerty and used stickers with letters to have no way back. Two weeks and I found myself as comfort with dvorak as I was using qwerty. > _______________________________________________ > clfswm-devel mailing list > clfswm-devel at common-lisp.net > http://lists.common-lisp.net/cgi-bin/mailman/listinfo/clfswm-devel -- Regards, Ales Guzik ------------------------------------------------------------ e-mail: ales.guzik at gmail.com skype: ales-guzik tel: +375 29 5751103 From pbrochard at common-lisp.net Wed Apr 11 19:59:53 2012 From: pbrochard at common-lisp.net (Philippe Brochard) Date: Wed, 11 Apr 2012 21:59:53 +0200 Subject: [clfswm-devel] A toolbar displaying CPU usage, date, volume, ... In-Reply-To: (=?iso-8859-1?Q?=22Micha=EBl?= Cadilhac"'s message of "Wed, 11 Apr 2012 10:01:07 -0400") References: Message-ID: <87pqbeyr7q.fsf@common-lisp.net> Micha?l Cadilhac writes: > Hi there everyone, > Hi, welcome on this list. > I'm contemplating switching from awesome to CLFSWM. Since my days > with Ion, I got used to have a toolbar displaying a bunch of infos > (most importantly, time), so my question is: what is the way to go to > implement such a toolbar within CLFSWM? > You can have a look at open-notify-window in src/clfswm-util.lisp. It's what you need to create a new window and display something in it. You can then play with timers to update its content. Something like a modeline is very welcome in the contrib directory. I've no time to implement it right now, but this is in my TODO list. Right now, you can play with fbpanel or xmobar for example and adjust the get-fullscreen-size function. > On a side note, how the hell do you guys do without a time display? > I have always an emacs open with its modeline somewhere. And as Ales said, you can use keys like Shift+F12 to show frames status, Control+F12 to show/hide a terminal or Alt+F1+d (to show the current time). We can think to add some information in the frame window accessible with shift+F12 or make windows titles clickable to select them (with control+shift+F12). > Happy hacking, > Happy hacking too, Regards, Philippe From michael at cadilhac.name Thu Apr 12 04:36:06 2012 From: michael at cadilhac.name (=?ISO-8859-1?Q?Micha=EBl_Cadilhac?=) Date: Thu, 12 Apr 2012 00:36:06 -0400 Subject: [clfswm-devel] Bug report: CLFSWM stuck when invoking nonexistent xvkbd. Message-ID: Hi there, When frantically clicking to see what CLFSWM is all about, I came across the following bug: Steps: 1. Make sure you don't have xvkbd (this is the default ;-)) 2. Click on the upper right corner of the screen so as to invoke xvkbd. Expected behavior: Nothing should happen; no side effect should show up. Maybe a dialog complaining about the absence of xvkbd. Actual behavior: The mouse is rendered unusable (no click is sent). The keyboard does not control the WM any longer (e.g., M-t does nothing). System: CLFSWM version 1106 (I would have appreciated being able to get the version with clfswm --version) GNU CLISP 2.49 clisp-clx latest cvs version. Don't hesitate to ask for more info if needed. Sorry for the noise if this has been fixed. M. From pbrochard at common-lisp.net Wed Apr 18 19:53:38 2012 From: pbrochard at common-lisp.net (Philippe Brochard) Date: Wed, 18 Apr 2012 21:53:38 +0200 Subject: [clfswm-devel] Bug report: CLFSWM stuck when invoking nonexistent xvkbd. In-Reply-To: (=?iso-8859-1?Q?=22Micha=EBl?= Cadilhac"'s message of "Thu, 12 Apr 2012 00:36:06 -0400") References: Message-ID: <87pqb4erzx.fsf@common-lisp.net> Hi, thanks a lot for the bug report. It's fixed in the last commit. Please, test. Regards, Philippe Micha?l Cadilhac writes: > Hi there, > > When frantically clicking to see what CLFSWM is all about, I came across the > following bug: > > Steps: > 1. Make sure you don't have xvkbd (this is the default ;-)) > 2. Click on the upper right corner of the screen so as to invoke xvkbd. > > Expected behavior: > Nothing should happen; no side effect should show up. Maybe a dialog > complaining about the absence of xvkbd. > > Actual behavior: > The mouse is rendered unusable (no click is sent). The keyboard does not > control the WM any longer (e.g., M-t does nothing). > > System: > CLFSWM version 1106 (I would have appreciated being able to get the version > with clfswm --version) > GNU CLISP 2.49 > clisp-clx latest cvs version. > > Don't hesitate to ask for more info if needed. Sorry for the noise if this > has been fixed. > > M. > > _______________________________________________ > clfswm-devel mailing list > clfswm-devel at common-lisp.net > http://lists.common-lisp.net/cgi-bin/mailman/listinfo/clfswm-devel From ales.guzik at gmail.com Thu Apr 19 12:01:27 2012 From: ales.guzik at gmail.com (Ales Guzik) Date: Thu, 19 Apr 2012 15:01:27 +0300 Subject: [clfswm-devel] Bug report: freeze, constantly throwing errors Message-ID: Hello, Sometimes (pretty often) CLFSWM freezes, infinitely writing error messages (log attached, you may see 3 such messages at the top) CLFSWM is built via SBCL_HOME='' sbcl --eval "(require 'clfswm)" --eval '(sb-ext:save-lisp-and-die "clfswm.core" :executable t)' and started as clfswm.core --eval "(clfswm:main)" --non-interactive Distro: Archlinux $ uname -a Linux laptop.aguzik.net 3.3.2-1-ARCH #1 SMP PREEMPT Sat Apr 14 09:48:37 CEST 2012 x86_64 Intel(R) Core(TM) i7-2760QM CPU @ 2.40GHz GenuineIntel GNU/Linux $ Xorg -version X.Org X Server 1.12.1 Release Date: 2012-04-13 X Protocol Version 11, Revision 0 Build Operating System: Linux 3.3.1-1-ARCH x86_64 Current Operating System: Linux laptop.aguzik.net 3.3.2-1-ARCH #1 SMP PREEMPT Sat Apr 14 09:48:37 CEST 2012 x86_64 Kernel command line: BOOT_IMAGE=/vmlinuz-linux root=/dev/disk/by-label/ROOT_ARCH rootflags=,relatime,user_xattr,barrier=1,data=ordered rootfstype=ext4 ro add_efi_memmap Build Date: 14 April 2012 07:09:45AM Current version of pixman: 0.24.4 Before reporting problems, check http://wiki.x.org to make sure that you have the latest version. $ ls ~/quicklisp/dists/quicklisp/software/ |grep clx clx-20111203-git $ cat ~/quicklisp/local-projects/clfswm/.git/refs/heads/master 8f23f83012bba1b87afea860370fd5eaed2e869c -- Regards, Ales Guzik ------------------------------------------------------------ e-mail: ales.guzik at gmail.com skype: ales-guzik tel: +375 29 5751103 -------------- next part -------------- A non-text attachment was scrubbed... Name: clfswm-freeze2.log Type: application/octet-stream Size: 2220 bytes Desc: not available URL: From pbrochard at common-lisp.net Sat Apr 21 21:01:31 2012 From: pbrochard at common-lisp.net (Philippe Brochard) Date: Sat, 21 Apr 2012 23:01:31 +0200 Subject: [clfswm-devel] Bug report: freeze, constantly throwing errors In-Reply-To: (Ales Guzik's message of "Thu, 19 Apr 2012 15:01:27 +0300") References: Message-ID: <87sjfw4x5g.fsf@common-lisp.net> Ales Guzik writes: > Hello, > Hi, > Sometimes (pretty often) CLFSWM freezes, infinitely writing error > messages (log attached, you may see 3 such messages at the top) > When does this occurs? With which applications? Do you do something special before the crash? The first thing to try is to use the 'main-unprotected' function to display a more explicit message (and stop after the first error). Start clfswm with: $ clfswm.core --eval "(clfswm::main-unprotected)" --non-interactive And share the output on the list. Regards, Philippe [...Useful infos...] From ales.guzik at gmail.com Thu Apr 26 06:42:41 2012 From: ales.guzik at gmail.com (Ales Guzik) Date: Thu, 26 Apr 2012 09:42:41 +0300 Subject: [clfswm-devel] Bug report: freeze, constantly throwing errors In-Reply-To: References: <87sjfw4x5g.fsf@common-lisp.net> Message-ID: On Sun, Apr 22, 2012 at 12:01 AM, Philippe Brochard wrote: > Ales Guzik writes: > >> Hello, >> > Hi, > >> Sometimes (pretty often) CLFSWM freezes, infinitely writing error >> messages (log attached, you may see 3 such messages at the top) >> > When does this occurs? With which applications? Do you do something > special before the crash? It occurs pretty randomly. Daily I use pretty limited set of gui applications - just firefox, emacs, xterm, skype and thunderbird. In moment of crash everything just slows down and clfswm keys does not work. (running via main-unprotected prevents slowdown, clfswm just terminates) > The first thing to try is to use the 'main-unprotected' function to > display a more explicit message (and stop after the first error). > Start clfswm with: > > $ clfswm.core --eval "(clfswm::main-unprotected)" --non-interactive > > And share the output on the list. Logs attached. > Regards, > > Philippe > > [...Useful infos...] > > > _______________________________________________ > clfswm-devel mailing list > clfswm-devel at common-lisp.net > http://lists.common-lisp.net/cgi-bin/mailman/listinfo/clfswm-devel -- Regards, Ales Guzik ------------------------------------------------------------ e-mail: ales.guzik at gmail.com skype: ales-guzik tel: +375 29 5751103 -------------- next part -------------- A non-text attachment was scrubbed... Name: clfswm-freeze4.log.gz Type: application/x-gzip Size: 1790 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: clfswm-freeze5.log.gz Type: application/x-gzip Size: 1949 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: clfswm-freeze6.log.gz Type: application/x-gzip Size: 2180 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: clfswm-freeze7.log.gz Type: application/x-gzip Size: 907 bytes Desc: not available URL: From michael at cadilhac.name Sat Apr 28 03:07:13 2012 From: michael at cadilhac.name (=?ISO-8859-1?Q?Micha=EBl_Cadilhac?=) Date: Fri, 27 Apr 2012 23:07:13 -0400 Subject: [clfswm-devel] Bug report: freeze, constantly throwing errors In-Reply-To: References: Message-ID: On Thu, Apr 19, 2012 at 8:01 AM, Ales Guzik wrote: > Sometimes (pretty often) CLFSWM freezes, infinitely writing error > messages FWIW, I stopped experimenting with CLFSWM because of those freezes. I'd gladly try out the latest version once a fix has been found. Cheers, M. From pbrochard at common-lisp.net Sat Apr 28 22:25:59 2012 From: pbrochard at common-lisp.net (Philippe Brochard) Date: Sun, 29 Apr 2012 00:25:59 +0200 Subject: [clfswm-devel] Bug report: freeze, constantly throwing errors In-Reply-To: (Ales Guzik's message of "Thu, 26 Apr 2012 09:42:41 +0300") References: <87sjfw4x5g.fsf@common-lisp.net> Message-ID: <87aa1vcx3c.fsf@common-lisp.net> Ales Guzik writes: > On Sun, Apr 22, 2012 at 12:01 AM, Philippe Brochard > wrote: >> Ales Guzik writes: >> >>> Hello, >>> >> Hi, >> >>> Sometimes (pretty often) CLFSWM freezes, infinitely writing error >>> messages (log attached, you may see 3 such messages at the top) >>> >> When does this occurs? With which applications? Do you do something >> special before the crash? > > It occurs pretty randomly. Daily I use pretty limited set of gui > applications - just firefox, emacs, xterm, skype and thunderbird. In > moment of crash everything just slows down and clfswm keys does not > work. (running via main-unprotected prevents slowdown, clfswm just > terminates) > Ok, thanks for those details. >> The first thing to try is to use the 'main-unprotected' function to >> display a more explicit message (and stop after the first error). >> Start clfswm with: >> >> $ clfswm.core --eval "(clfswm::main-unprotected)" --non-interactive >> >> And share the output on the list. > > Logs attached. > Thanks. I suspect an Xlib problem. I test clfswm with sbcl with another (old) xlib version (darcs get http://common-lisp.net/~crhodes/clx). I'll switch to the new git fork for my tests. BTW, I haven't those freeze with clisp/mit or new-clx. >From your side, can you test clfswm with the Christophe Rhodes (old) clx version and see if the freeze appends? From pbrochard at common-lisp.net Sat Apr 28 22:35:25 2012 From: pbrochard at common-lisp.net (Philippe Brochard) Date: Sun, 29 Apr 2012 00:35:25 +0200 Subject: [clfswm-devel] Bug report: freeze, constantly throwing errors In-Reply-To: (=?iso-8859-1?Q?=22Micha=EBl?= Cadilhac"'s message of "Fri, 27 Apr 2012 23:07:13 -0400") References: Message-ID: <8762cjcwnm.fsf@common-lisp.net> Micha?l Cadilhac writes: > On Thu, Apr 19, 2012 at 8:01 AM, Ales Guzik wrote: > >> Sometimes (pretty often) CLFSWM freezes, infinitely writing error >> messages > > FWIW, I stopped experimenting with CLFSWM because of those freezes. > I'd gladly try out the latest version once a fix has been found. > This will not help very much. Can you see what you're doing before those freezes happens? And, like for Ales, can you test clfswm with another Xlib or Lisp version? In particular this old one: darcs get http://common-lisp.net/~crhodes/clx Regards, Philippe From pbrochard at common-lisp.net Mon Apr 30 21:19:31 2012 From: pbrochard at common-lisp.net (Philippe Brochard) Date: Mon, 30 Apr 2012 23:19:31 +0200 Subject: [clfswm-devel] Big change to support multiple screen heads by default. Message-ID: <87r4v4sysc.fsf@common-lisp.net> Hi list, I've made a big change with the 4f9a389cc0 commit to remove the *current-root* variable and support multiple screen heads by default. It's based on xrandr information but will soon use the more general xdpyinfo/xinerama information. The pro: 1) you just have to setup your dual/multi screens with xinerama or xrandr and clfswm will create a root frame for each heads and a frame in this root frame. Then you can navigate as always. 2) This will simplify the modeline code (coming soon). 3) This will ease the navigation on dual/multi screens (new keybindings coming). 4) There will be some new 'with-placement' variable relative to the current root. The cons: /!\ This may brake your .clfswmrc. /!\ In particular the *current-root* variable is still defined but not used. I'll remove it soon. The get-fullscreen-size function is not defined anymore. I'll add soon a way to change the root frame geometry. The expose mode is broken. It needs more work to support multi heads. Please, try it intensively. There may be some new bugs. Regards, Philippe