Re: [dev] [dwm] scrot -s fails

2011-08-19 Thread anonymous
On Fri, Aug 19, 2011 at 10:34:28PM +, Bjartur Thorlacius wrote: > Þann fös 19.ágú 2011 21:51, skrifaði anonymous: > >I have tried to do the same thing. Bound scrot to MODKEY+g, pressed > >it and switched to first TTY. It says "giblib error: couldn't grab > >keyboard: Resource temporarily unav

Re: [dev] [dwm] scrot -s fails

2011-08-19 Thread Connor Lane Smith
Hey, On 19 August 2011 22:51, anonymous wrote: > I have tried to do the same thing.  Bound scrot to MODKEY+g, pressed > it and switched to first TTY.  It says "giblib error: couldn't grab > keyboard: Resource temporarily unavailable".  Don't know how to fix it, > but i think it is a problem in dw

Re: [dev] [dwm] scrot -s fails

2011-08-19 Thread Bjartur Thorlacius
Þann fös 19.ágú 2011 21:51, skrifaði anonymous: I have tried to do the same thing. Bound scrot to MODKEY+g, pressed it and switched to first TTY. It says "giblib error: couldn't grab keyboard: Resource temporarily unavailable". Don't know how to fix it, but i think it is a problem in dwm. I w

Re: [dev] [dwm] scrot -s fails

2011-08-19 Thread Steven Blatchford
On 20:22 Fri 19 Aug, Bastien Dejean wrote: >Hi, > >The following command don't work (i.e. I can't select the region of the >screen I'm willing to capture) when it's spawn from dwm: > >static const char *partialshotcmd[] = { "scrot", "-s", NULL }; > >Any idea why? ...which is part of the imagemagi

Re: [dev] [dwm] scrot -s fails

2011-08-19 Thread Steven Blatchford
On 20:22 Fri 19 Aug, Bastien Dejean wrote: >Hi, > >The following command don't work (i.e. I can't select the region of the >screen I'm willing to capture) when it's spawn from dwm: > >static const char *partialshotcmd[] = { "scrot", "-s", NULL }; > >Any idea why? An IRC discussion on Jul 03, 2011

Re: [dev] [dwm] scrot -s fails

2011-08-19 Thread anonymous
On Fri, Aug 19, 2011 at 07:30:08PM +, Bjartur Thorlacius wrote: > Þann fös 19.ágú 2011 18:22, skrifaði Bastien Dejean: > >static const char *partialshotcmd[] = { "scrot", "-s", NULL }; > > > I'd guess that the argument is never passed, as the string is > terminated by the NUL after scrot. > >

Re: [dev] [dwm] scrot -s fails

2011-08-19 Thread anonymous
On Fri, Aug 19, 2011 at 08:22:12PM +0200, Bastien Dejean wrote: > Hi, > > The following command don't work (i.e. I can't select the region of the > screen I'm willing to capture) when it's spawn from dwm: > > static const char *partialshotcmd[] = { "scrot", "-s", NULL }; > > Any idea why? > >

Re: [dev] [dwm] scrot -s fails

2011-08-19 Thread Bjartur Thorlacius
Þann fös 19.ágú 2011 19:30, skrifaði Bjartur Thorlacius: Pure batshit to be ignored, it seems.

Re: [dev] [dwm] scrot -s fails

2011-08-19 Thread Bjartur Thorlacius
Þann fös 19.ágú 2011 18:22, skrifaði Bastien Dejean: static const char *partialshotcmd[] = { "scrot", "-s", NULL }; I'd guess that the argument is never passed, as the string is terminated by the NUL after scrot. If I read your code correctly, the array contains: s, c, r, o, t, NUL, -, s, NU

[dev] [dwm] scrot -s fails

2011-08-19 Thread Bastien Dejean
Hi, The following command don't work (i.e. I can't select the region of the screen I'm willing to capture) when it's spawn from dwm: static const char *partialshotcmd[] = { "scrot", "-s", NULL }; Any idea why? -- Bastien