Re: [wmii] How to bind the Pause key (or any other one) to execute a random non-wmii-specific program

2009-04-24 Thread michael_der gulliUser
Thanks so much to the both of you,

that did the trick. I would have never thought of that.

2009/4/23 Kris Maglione 

> On Thu, Apr 23, 2009 at 10:30:34PM +0200, michael_der gulliUser wrote:
>
>> I've tried to add
>> =
>> Key Pause
>>  sh -c "iceweasel"
>> =
>> to the wmiirc. It did not work.
>>
>
> That should work. My guess is that you used spaces instead of tabs to
> indent (I should probably allow spaces, but I've been using make(1) for so
> many years...)
>
> --
> Kris Maglione
>
> A programmer is a person who passes as an exacting expert on the basis
> of being able to turn out, after innumerable punching, an infinite
> series of incomprehensive answers calculated with micrometric
> precisions from vague assumptions based on debatable figures taken
> from inconclusive documents and carried out on instruments of
> problematical accuracy by persons of dubious reliability and
> questionable mentality for the avowed purpose of annoying and
> confounding a hopelessly defenseless department that was unfortunate
> enough to ask for the information in the first place.
>--IEEE Grid newsmagazine
>
>
>


Re: [wmii] How to bind the Pause key (or any other one) to execute a random non-wmii-specific program

2009-04-23 Thread Tobias Brandt
It works here. Make sure you use tabs not spaces for indents.

On Thursday, 23. April 2009 22:30:34 michael_der gulliUser wrote:
> Hi folks,
>
> I've already searched the Internet, but with no success. This far I've only
> found guides on how to change the Meta-Key or keybindings to wmii functions
> (like Meta-p).
> However, I would really like to execute a program just by the push of a
> button and not by means of dmenu.So:
> Is there a way to bind (for example) the Pause key to execute (for example)
> iceweasel?
> I've tried to add
> =
> Key Pause
>sh -c "iceweasel"
> =
> to the wmiirc. It did not work.
>
> Any ideas?
>
> Thanks in advance,
>
> Michael



-- 
Tobias Brandt
GnuPG-ID: DD9E9708



Re: [wmii] How to bind the Pause key (or any other one) to execute a random non-wmii-specific program

2009-04-23 Thread Kris Maglione

On Thu, Apr 23, 2009 at 10:30:34PM +0200, michael_der gulliUser wrote:

I've tried to add
=
Key Pause
  sh -c "iceweasel"
=
to the wmiirc. It did not work.


That should work. My guess is that you used spaces instead of 
tabs to indent (I should probably allow spaces, but I've been 
using make(1) for so many years...)


--
Kris Maglione

A programmer is a person who passes as an exacting expert on the basis
of being able to turn out, after innumerable punching, an infinite
series of incomprehensive answers calculated with micrometric
precisions from vague assumptions based on debatable figures taken
from inconclusive documents and carried out on instruments of
problematical accuracy by persons of dubious reliability and
questionable mentality for the avowed purpose of annoying and
confounding a hopelessly defenseless department that was unfortunate
enough to ask for the information in the first place.
--IEEE Grid newsmagazine