Re: [dev] wmii hardware keyboard shortcut layout at boot problem

2011-03-22 Thread Tom Kazimiers
Hi,

On Mon, Mar 21, 2011 at 09:03:43PM -0400, Eitan Goldshtrom wrote:
 I set the keyboard layout to Dvorak with the KEYBOARD variable in
 rc.conf. When I start wmii though all my keyboard shortcuts are set
 to the hardware keys, which are QWERTY. I'm using Arch Linux and I
 installed xbindkeys, or at least some X package, to get the
 shortcuts to bind to the software layout. It works, but I have to
 run wmiirc through the actions menu in order for it to work. I have
 to do it every single time I start up wmii -- it's kind of annoying.
 Anyone know how to fix this?
 -Eitan

here I run Arch Linux, wmii and Neo2 keyboard layout without such
annoyances. The only thing I've set up (at least its the only one I find
right now) for the keyboard layout is the KEYMAP variable in rc.conf.
I guess for you it would be

  KEYMAP=dvorak

Does invoking

  setxkbmap dvorak

bring any difference for you?

Cheers,
Tom




[dev] [wmii] running script on 'desktop'?

2011-03-22 Thread Benjamin Cathey
Just curious if it is possible to run a script on the background image 
(sort of conky-ish)?  I'm thinking not due to the nature of wmii, 
however I thought it couldn't hurt to ask.


Thanks

Benjamin



Re: [dev] [wmii] running script on 'desktop'?

2011-03-22 Thread Sean Howard
What do you mean by this?

If Conky outputs as text, you can send it's output to a constantly
updating xrootconsole (sorta hackish and not very pretty, and likely
you need to install xrootconsole) (printing out_to_console=yes and
out_to_x=no). I don't use the program myself, but I think I can see
what it does.

If something outputs to the root window of the X display, it will do
what you want.

I personally use mpc|xrootconsole inside my dwm loop (it's not
great, and it's not pretty, but it does the job).

You might simply want to put watch ps -aux|xrootconsole as a script
running in the background to keep a constantly updated mpd readout
available.

So - the answer is - yes, you can, although more information would help a lot.



On 22 March 2011 09:18, Benjamin Cathey benja...@apocalypticfail.com wrote:
 Just curious if it is possible to run a script on the background image (sort
 of conky-ish)?  I'm thinking not due to the nature of wmii, however I
 thought it couldn't hurt to ask.

 Thanks

 Benjamin





Re: [dev] [wmii] running script on 'desktop'?

2011-03-22 Thread Benjamin Cathey

Hey again

Well in wmii, I use terminator set to transparent so that my background 
image shows through (set using 'feh' in my wmiirc).  I was wondering if 
there was a way to have a script running and have the output display 
over the background displayed by feh and under the terminator window (or 
any other window really).


I did not think this would be possible as it seems that all programs 
running need a 'window'.


I looked for xrootconsole using yaourt (arch linux) and didn't find any 
matches.


Thanks

B

On 03/22/2011 10:39 AM, Sean Howard wrote:

What do you mean by this?

If Conky outputs as text, you can send it's output to a constantly
updating xrootconsole (sorta hackish and not very pretty, and likely
you need to install xrootconsole) (printing out_to_console=yes and
out_to_x=no). I don't use the program myself, but I think I can see
what it does.

If something outputs to the root window of the X display, it will do
what you want.

I personally use mpc|xrootconsole inside my dwm loop (it's not
great, and it's not pretty, but it does the job).

You might simply want to put watch ps -aux|xrootconsole as a script
running in the background to keep a constantly updated mpd readout
available.

So - the answer is - yes, you can, although more information would help a lot.



On 22 March 2011 09:18, Benjamin Catheybenja...@apocalypticfail.com  wrote:

Just curious if it is possible to run a script on the background image (sort
of conky-ish)?  I'm thinking not due to the nature of wmii, however I
thought it couldn't hurt to ask.

Thanks

Benjamin








Re: [dev] [wmii] running script on 'desktop'?

2011-03-22 Thread Sean Howard
http://sourceforge.net/projects/xrootconsole/ - I don't know if it's
packaged in arch. I personally use the OpenBSD package, but that has
little bearing on any Linux I know.

The root window is a window, however, it is currently likely being
take up by your background.

On 22 March 2011 10:44, Benjamin Cathey benja...@apocalypticfail.com wrote:
 Hey again

 Well in wmii, I use terminator set to transparent so that my background
 image shows through (set using 'feh' in my wmiirc).  I was wondering if
 there was a way to have a script running and have the output display over
 the background displayed by feh and under the terminator window (or any
 other window really).

 I did not think this would be possible as it seems that all programs running
 need a 'window'.

 I looked for xrootconsole using yaourt (arch linux) and didn't find any
 matches.

 Thanks

 B

 On 03/22/2011 10:39 AM, Sean Howard wrote:

 What do you mean by this?

 If Conky outputs as text, you can send it's output to a constantly
 updating xrootconsole (sorta hackish and not very pretty, and likely
 you need to install xrootconsole) (printing out_to_console=yes and
 out_to_x=no). I don't use the program myself, but I think I can see
 what it does.

 If something outputs to the root window of the X display, it will do
 what you want.

 I personally use mpc|xrootconsole inside my dwm loop (it's not
 great, and it's not pretty, but it does the job).

 You might simply want to put watch ps -aux|xrootconsole as a script
 running in the background to keep a constantly updated mpd readout
 available.

 So - the answer is - yes, you can, although more information would help a
 lot.



 On 22 March 2011 09:18, Benjamin Catheybenja...@apocalypticfail.com
  wrote:

 Just curious if it is possible to run a script on the background image
 (sort
 of conky-ish)?  I'm thinking not due to the nature of wmii, however I
 thought it couldn't hurt to ask.

 Thanks

 Benjamin








Re: [dev] [wmii] running script on 'desktop'?

2011-03-22 Thread Sean Howard
Ah - sorry. Reread the wmiirc. It uses xsetroot to set the background.
Therefore running a program in the root window (examples:
xrootconsole, xmoon, xpenguins, or xfireworks) will happen over top of
that.

On 22 March 2011 11:08, Sean Howard sil...@callysto.com wrote:
 http://sourceforge.net/projects/xrootconsole/ - I don't know if it's
 packaged in arch. I personally use the OpenBSD package, but that has
 little bearing on any Linux I know.

 The root window is a window, however, it is currently likely being
 take up by your background.

 On 22 March 2011 10:44, Benjamin Cathey benja...@apocalypticfail.com wrote:
 Hey again

 Well in wmii, I use terminator set to transparent so that my background
 image shows through (set using 'feh' in my wmiirc).  I was wondering if
 there was a way to have a script running and have the output display over
 the background displayed by feh and under the terminator window (or any
 other window really).

 I did not think this would be possible as it seems that all programs running
 need a 'window'.

 I looked for xrootconsole using yaourt (arch linux) and didn't find any
 matches.

 Thanks

 B

 On 03/22/2011 10:39 AM, Sean Howard wrote:

 What do you mean by this?

 If Conky outputs as text, you can send it's output to a constantly
 updating xrootconsole (sorta hackish and not very pretty, and likely
 you need to install xrootconsole) (printing out_to_console=yes and
 out_to_x=no). I don't use the program myself, but I think I can see
 what it does.

 If something outputs to the root window of the X display, it will do
 what you want.

 I personally use mpc|xrootconsole inside my dwm loop (it's not
 great, and it's not pretty, but it does the job).

 You might simply want to put watch ps -aux|xrootconsole as a script
 running in the background to keep a constantly updated mpd readout
 available.

 So - the answer is - yes, you can, although more information would help a
 lot.



 On 22 March 2011 09:18, Benjamin Catheybenja...@apocalypticfail.com
  wrote:

 Just curious if it is possible to run a script on the background image
 (sort
 of conky-ish)?  I'm thinking not due to the nature of wmii, however I
 thought it couldn't hurt to ask.

 Thanks

 Benjamin









Re: [dev] [wmii] running script on 'desktop'?

2011-03-22 Thread Benjamin R. Haskell

On Tue, 22 Mar 2011, Benjamin Cathey wrote:

Just curious if it is possible to run a script on the background image 
(sort of conky-ish)?  I'm thinking not due to the nature of wmii, 
however I thought it couldn't hurt to ask.


The root window's still there, and you can still draw on it.

I'd never heard of conky (I have GKrellM pegged to tag /./ with 
-geometry -0+0), but trying it, I had to change 'own_window' from 'yes' 
to 'no' in the config, and then it worked fine.


If you want 'real' transparency, you'll need something to do that for 
you, IIRC.


Another stupid example drawing to the 'background':

Under 'zsh' (not sure if other shells have '=(cmd)'):

while {true} {qiv -n -y =(convert -size 120x16 xc:none -gravity NorthWest -pointsize 10 
-fill Red -draw text 0,0 '$(date)' png:-)}

(constantly updates the 'desktop' with the current time tiled.)


Well in wmii, I use terminator set to transparent so that my 
background image shows through (set using 'feh' in my wmiirc).  I was 
wondering if there was a way to have a script running and have the 
output display over the background displayed by feh and under the 
terminator window (or any other window really).


If you want something *between* root and a background, you'll have to 
draw it yourself.  If it's textual, I think xrootconsole[1], as 
mentioned in the other fork of this thread should be useful.  Otherwise 
you'd need to combine whatever images you want and update it that way. 
e.g. my stupid ImageMagick date command from above, overlaid onto your 
background:


while {true} {qiv -n -x =(convert your-normal-background.png \( -size 120x16 xc:none 
-matte -channel A -fx .5 -channel RGBA -gravity NorthWest -pointsize 10 -fill Red -draw 
text 0,0 '$(date)' \) -composite png:-)}

I'm only using 'qiv' because I had it in my zsh history.  Don't really 
know much about qiv vs. feh, except that neither seems to accept an 
image on stdin.


--
Best,
Ben

[1] http://sf.net/projects/xrootconsole