At last, pipe menus are working

It took me forever to figure out, but I finally have working pipe menus in Openbox. For some reason every script I wrote failed utterly, and to be honest, I still am not 100 percent sure why.

However, my original goal of setting the wallpaper with a pipe menu works now, thanks to a thread on the Gentoo forums that has a sample that’s easily modified. (Note that the script uses gawk to trim the file name to an acceptable size; I had to download it for my Ubuntu machine. Arch had installed it already.)

I also commandeered the script to trigger my xscreensaver-wallpaper gimmick. Check my Arch blog for details on that. :mrgreen:

My only points to suggest are to

  1. make sure the script file is executable :roll:
  2. make sure the output is acceptable to Openbox (apparently item labels can’t have certain characters in them)
  3. and make sure the syntax is clean

As far as I can tell, my worst problems stemmed from those issues, or a combination. Once I had a clean script that Openbox liked, it worked fine.

About these ads

0 Responses to “At last, pipe menus are working”



  1. Leave a Comment

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s




Welcome!



Visit the Wiki!

Some recent desktops


May 6, 2011
Musca 0.9.24 on Crux Linux
150Mhz Pentium 96Mb 8Gb CF
 


May 14, 2011
IceWM 1.2.37 and Arch Linux
L2300 core duo 3Gb 320Gb

Some recent games


Apr. 21, 2011
Oolite on Xubuntu 11.04
L2300 core duo 3Gb 320Gb

Enter your email address to subscribe to this blog and receive notifications of new posts.

Join 405 other followers

License

This work is licensed under the GNU Free Documentation License. Please see the About page for details.

Blog Stats

  • 3,960,988 hits

Archives


Follow

Get every new post delivered to your Inbox.

Join 405 other followers

%d bloggers like this: