Re: [dev] [dwm] can't toggle tags with mouse

2010-05-27 Thread Anselm R Garbe
Hi Robert, On Wed, May 26, 2010 at 09:32:21PM +0200, orsch...@googlemail.com wrote: > I'm looking for a possibility to display the used layout (in my case > either de or pl) via xsetroot in the statusbar of dwm. > > Do you have any idea how to achieve that? You could add a one-liner in setlayout

Re: [dev] Fullscreen issue & EWMH

2010-05-27 Thread Anselm R Garbe
On Thu, May 27, 2010 at 07:21:39AM +0200, Sylvain Laurent wrote: > I recently switched from Firefox to Chrome and surprisingly Chrome > weren't able to switch to full screen because of the way GTK handles > full screen. > > So, here is a patch that can be integrated or provided as an auxiliary > p

Re: [dev] [dwm] System unusable after closing foobillard

2010-05-27 Thread pancake
Thats foobillard fault and x11. I recoomend you to use xkill to close the window and dont play billard again. - Original message - > Hi, >     I don't know if it's more a foobillard or a dwm problem but here on my >     FreeBSD laptop, if I start foobillard (tiled) it runs fine but if I t

Re: [dev] [dwm] can't toggle tags with mouse

2010-05-27 Thread orschiro
Oh dear how bad has my english to be since nobody is understanding me right. *g* Well second approach. Currently I'm using the following code to generate my statusbar: #set statusbar while true do if acpi -a | grep off-line > /dev/null; then xsetroot -name "Bat. $( acpi -b | awk '{ prin

Re: [dev] [dwm] can't toggle tags with mouse

2010-05-27 Thread Anselm R Garbe
On 27 May 2010 09:54, wrote: > Oh dear how bad has my english to be since nobody is understanding me right. > *g* > > Well second approach. Currently I'm using the following code to > generate my statusbar: > > #set statusbar > while true > do >   if acpi -a | grep off-line > /dev/null; then >  

Re: [dev] [dwm] can't toggle tags with mouse

2010-05-27 Thread Andreas Amann
> you may missunderstand my question. > > I'm looking for a possibility to display the used layout (in my case > either de or pl) via xsetroot in the statusbar of dwm. > > Do you have any idea how to achieve that? > I also do not know of a direct way to read out the current layout. But here is

Re: [dev] [wmii] problem with wmiir xwrite /client/$client/ctl kill

2010-05-27 Thread Thomas Dean
I ran into the same problem today. The wmiirc script as well as all my status bar scripts die frequently. All of them are run with dash. Switching /bin/sh from dash to bash (and replacing dash with bash in wmiirc) fixes the problem. It seems to be related to the latest update of dash (0.5.5.1-5) in

Re: [dev] [surf] please recheck tip

2010-05-27 Thread Nibble
Hi, I've been working a bit more on the patch and I think the new solution is a quite better, now everything work as spected in the popup menu: "save image as", "download linked file". And when you click a link if it cannot be displayed in surf, a xterm with wget is launched. Furthermore, this way

Re: [dev] [dwm] can't toggle tags with mouse

2010-05-27 Thread Andreas Amann
On Thu, May 27, 2010 at 09:58:55AM +0100, Anselm R Garbe wrote: > On 27 May 2010 09:54, wrote: > > Oh dear how bad has my english to be since nobody is understanding me > > right. *g* > > > > Well second approach. Currently I'm using the following code to > > generate my statusbar: > > > > #set

[dev] [wmii]wmii-hg2647 won't start

2010-05-27 Thread pascal
Hi I updated this morning to the latest hg tip and I now get this error startx wmii: fatal error: Xrequest code=1, Xerror code=8 X Error of failed request: BadMatch (invalid parameter attributes) Major opcode of failed request: 1 (X_CreateWindow) Serial number of failed request: 114 Curr

Re: [dev] [dwm] can't toggle tags with mouse

2010-05-27 Thread orschiro
Thanks for the hint Andreas. xset -q shows a difference between both values. I tried to implement it into my statusbar but as I'm not familiar with bash scripting it doesn't work. This is my trial: #set statusbar while true do #define keyboard layout if [ "$(xset -q | grep "LED mask:" | aw

Re: [dev] [wmii] problem with wmiir xwrite /client/$client/ctl kill

2010-05-27 Thread Thomas Dean
On Thu, May 27, 2010 at 11:22:25 +0200, Thomas Dean wrote: > I ran into the same problem today. The wmiirc script as well as all my > status bar scripts die frequently. All of them are run with dash. > Switching /bin/sh from dash to bash (and replacing dash with bash in > wmiirc) fixes the problem.

Re: [dev] [dwm] can't toggle tags with mouse

2010-05-27 Thread Andreas Amann
On Thu, May 27, 2010 at 12:49:59PM +0200, orsch...@googlemail.com wrote: > Thanks for the hint Andreas. xset -q shows a difference between both > values. I tried to implement it into my statusbar but as I'm not > familiar with bash scripting it doesn't work. This is my trial: > > #set statusbar >

Re: [dev] [dwm] can't toggle tags with mouse

2010-05-27 Thread orschiro
Hello Andreas, your solution is almost working. The only thing that doesn't fit is the length of the output. de/pl should only by two letters but in the output there are a plenty of blanks before. I assume this happens because the eight digits were substituted by only two letters? Better understa

[dev] Re: [dwm] can't toggle tags with mouse

2010-05-27 Thread pascal
Le Thu, 27 May 2010 15:25:32 +0200 orsch...@googlemail.com a écrit: > Hello Andreas, > > your solution is almost working. The only thing that doesn't fit is > the length of the output. de/pl should only by two letters but in the > output there are a plenty of blanks before. I assume this happens

Re: [dev] Re: [dwm] can't toggle tags with mouse

2010-05-27 Thread orschiro
I tried your code but this always just displays 'de'. There is no change while toggling between the layouts. 2010/5/27 pascal : > Le Thu, 27 May 2010 15:25:32 +0200 > orsch...@googlemail.com a écrit: > >> Hello Andreas, >> >> your solution is almost working. The only thing that doesn't fit is >> t

Re: [dev] Re: [dwm] can't toggle tags with mouse

2010-05-27 Thread orschiro
I just discovered that this only happens when I change the layout via evdev. When changing manually via setxkbmap de or pl the xkb_symbols line changes and your code would work. 2010/5/27 : > I tried your code but this always just displays 'de'. There is no > change while toggling between the la

Re: [dev] Re: [dwm] can't toggle tags with mouse

2010-05-27 Thread Steven Blatchford
while xsetroot -name "$(setxkbmap -print | awk -F"+" '/xkb_symbols/ {print $2}' | $(date +"%a, %b %d %Y | %H:%M")"; do sleep 2s done -steve On 15:42 Thu 27 May, pascal wrote: >Le Thu, 27 May 2010 15:25:32 +0200 >orsch...@googlemail.com a écrit: > >> Hello Andreas, >> >> your solution is alm

Re: [dev] [dwm] can't toggle tags with mouse

2010-05-27 Thread Andreas Amann
On Thu, May 27, 2010 at 03:25:32PM +0200, orsch...@googlemail.com wrote: > Hello Andreas, > > your solution is almost working. The only thing that doesn't fit is > the length of the output. de/pl should only by two letters but in the > output there are a plenty of blanks before. I assume this happ

Re: [dev] [surf] please recheck tip

2010-05-27 Thread Nibble
This patch fix a minor bug with download addresses containing special characters like '&'. Sorry for the noise. On Thu, 27 May 2010 12:09:12 +0200 Nibble wrote: > Hi, > > I've been working a bit more on the patch and I think the new solution > is a quite better, now everything work as spected i

Re: [dev] [dwm] can't toggle tags with mouse

2010-05-27 Thread orschiro
Ah sorry my fault, accidentally I broke the line down with \. Nice your solution is working. :) But do you have any idea why toggling via evdev doesn't affect the xkb_symbols line? 2010/5/27 Andreas Amann : > On Thu, May 27, 2010 at 03:25:32PM +0200, orsch...@googlemail.com wrote: >> Hello Andre

Re: [dev] [wmii] problem with wmiir xwrite /client/$client/ctl kill

2010-05-27 Thread Kris Maglione
On Thu, 27 May 2010 11:22:25 +0200 Thomas Dean <78...@web.de> wrote: > I ran into the same problem today. The wmiirc script as well as all my > status bar scripts die frequently. All of them are run with dash. > Switching /bin/sh from dash to bash (and replacing dash with bash in > wmiirc) fixes t

Re: [dev] [wmii]wmii-hg2647 won't start

2010-05-27 Thread Kris Maglione
On Thu, 27 May 2010 12:23:51 +0200 pascal wrote: > Hi > > I updated this morning to the latest hg tip and I now get this error > startx > wmii: fatal error: Xrequest code=1, Xerror code=8 > X Error of failed request: BadMatch (invalid parameter attributes) > Major opcode of failed request:

Re: [dev] [wmii] problem with wmiir xwrite /client/$client/ctl kill

2010-05-27 Thread Thomas Dean
On Thu, May 27, 2010 at 11:32:06 -0400, Kris Maglione wrote: > Ok, so that suggests that dash has a problem when its backgrounded > children die. Can you try running them with ‘wmiir setsid’ and see if > it helps? Hmm, I'm not sure what I should do. Should I place "wmiir setsid" as a command somew

Re: [dev] [wmii] problem with wmiir xwrite /client/$client/ctl kill

2010-05-27 Thread Kris Maglione
On Thu, 27 May 2010 17:47:53 +0200 Thomas Dean <78...@web.de> wrote: > On Thu, May 27, 2010 at 11:32:06 -0400, Kris Maglione wrote: > > Ok, so that suggests that dash has a problem when its backgrounded > > children die. Can you try running them with ‘wmiir setsid’ and see > > if it helps? > > Hm

Re: [dev] [wmii] problem with wmiir xwrite /client/$client/ctl kill

2010-05-27 Thread Thomas Dean
On Thu, May 27, 2010 at 11:55:38 -0400, Kris Maglione wrote: > Oh, sorry, I thought it was in the man page. Just add ‘wmiir setsid’ to > the front of the lines that start fetchmail and x-terminal-emulator. Ok, I just did that, but it did not change anything. Nor is there any further output when th

[dev] Re: [wmii]wmii-hg2647 won't start

2010-05-27 Thread pascal
Le Thu, 27 May 2010 11:35:31 -0400 Kris Maglione a écrit: > > Yes, uname -a would help, along with any custom build flags. > uname -a: Linux shanti 2.6.34-ARCH #1 SMP PREEMPT Mon May 17 08:36:58 UTC 2010 i686 Intel(R) Pentium(R) M processor 1.73GHz GenuineIntel GNU/Linux I don't use any custom

Re: [dev] [wmii] problem with wmiir xwrite /client/$client/ctl kill

2010-05-27 Thread Kris Maglione
On Thu, 27 May 2010 18:12:57 +0200 Thomas Dean <78...@web.de> wrote: > On Thu, May 27, 2010 at 11:55:38 -0400, Kris Maglione wrote: > > Oh, sorry, I thought it was in the man page. Just add ‘wmiir > > setsid’ to the front of the lines that start fetchmail and > > x-terminal-emulator. > > Ok, I ju

Re: [dev] [wmii] problem with wmiir xwrite /client/$client/ctl kill

2010-05-27 Thread Thomas Dean
On Thu, May 27, 2010 at 12:31:42 -0400, Kris Maglione wrote: > It's not supposed to have any output. It just basically disassociates a > process from its parent. You should generally use it when launching > programs from wmiirc so they don't catch any signals if you kill wmiirc. > This would be eas

Re: [dev] [dwm] can't toggle tags with mouse

2010-05-27 Thread Andreas Amann
On Thu, May 27, 2010 at 04:35:29PM +0200, orsch...@googlemail.com wrote: > Ah sorry my fault, accidentally I broke the line down with \. > > Nice your solution is working. :) > > But do you have any idea why toggling via evdev doesn't affect the > xkb_symbols line? simply because "xkb_symbols" d

Re: [dev] [wmii] problem with wmiir xwrite /client/$client/ctl kill

2010-05-27 Thread Kris Maglione
On Thu, 27 May 2010 19:18:40 +0200 Thomas Dean <78...@web.de> wrote: > On Thu, May 27, 2010 at 12:31:42 -0400, Kris Maglione wrote: > > It's not supposed to have any output. It just basically > > disassociates a process from its parent. You should generally use > > it when launching programs from

Re: [dev] [wmii] problem with wmiir xwrite /client/$client/ctl kill

2010-05-27 Thread Thomas Dean
On Thu, May 27, 2010 at 14:22:27 -0400, Kris Maglione wrote: > > With that the script already dies as soon as the fetchmaillog window > > opens :-) Given that this seems to be a problem of dash, maybe I > > should file a Debian bug report... > > That would probably be a good idea, if you can come

Re: [dev] [wmii] problem with wmiir xwrite /client/$client/ctl kill

2010-05-27 Thread Kris Maglione
On Thu, 27 May 2010 20:33:42 +0200 Thomas Dean <78...@web.de> wrote: > On Thu, May 27, 2010 at 14:22:27 -0400, Kris Maglione wrote: > > > With that the script already dies as soon as the fetchmaillog > > > window opens :-) Given that this seems to be a problem of dash, > > > maybe I should file a

Re: [dev] [wmii] problem with wmiir xwrite /client/$client/ctl kill

2010-05-27 Thread Robert Ransom
On Thu, 27 May 2010 19:18:40 +0200 Thomas Dean <78...@web.de> wrote: > With that the script already dies as soon as the fetchmaillog window > opens :-) Given that this seems to be a problem of dash, maybe I > should file a Debian bug report... The Arch developers just pushed out an update of dash

Re: [dev] [wmii] problem with wmiir xwrite /client/$client/ctl kill

2010-05-27 Thread Kris Maglione
On Thu, 27 May 2010 20:33:42 +0200 Thomas Dean <78...@web.de> wrote: > On Thu, May 27, 2010 at 14:22:27 -0400, Kris Maglione wrote: > > > With that the script already dies as soon as the fetchmaillog > > > window opens :-) Given that this seems to be a problem of dash, > > > maybe I should file a