[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Recommendations for a small, light, app-launcher button bar



On Wed, Apr 07, 2004 at 10:58:41PM -0700, William Ballard wrote:
> On Wed, Apr 07, 2004 at 10:11:00PM -0700, Kenward Vaughan wrote:
> > where the fixMenu is a simple shell script to update things when new
> > apps are installed.
> > 
> > This gives me a list of my common apps at the top of the main menu. 
> > 
> > Don't know if this is what you really want, though. HTH.
> 
> That's exactly what I want.  I'd never thought of the "fixMenu" trick 
> which is probably why I didn't think it was a good idea to edit the 
> menu.  I'll do this.  Thanks!
...

I like Stephen's suggestion too (I use currently that for xscreensaver
only).  Only thing about it is remembering which key goes with which
app.  :-)

The fixMenu script is a bad hack of mine (I'm not really geeky, so
don't have a smooth approach to this stuff--I'd love to grok the sed 
approach to this...).  

My menu is drawn out of fluxbox's system-wide menu:

---------------
daddy:~# cat ~/bin/fixMenu
#!/bin/bash

# This updates the fluxbox menu, inserting my own common items 
# (text file personalStuff) at the beginning of the menu.  
# That includes an item to update the menu using this script.

# This script must be placed in the path (in this case $HOME/bin) 
# for that line item to work.  See personalStuff.

cd $HOME/.fluxbox

cp /etc/X11/fluxbox/fluxbox-menu fmenu

# The numbers 8 and 9 are chosen based on the standard format of the 
# menu generated in /etc/X11/fluxbox.

# LOOK OUT FOR CHANGES TO THAT FILE!

head -8 fmenu > H
tail --lines=+9 fmenu > T
cat H personalStuff T > menu
rm T H fmenu

07:39:18
daddy:~# 
---------------

where personalStuff is in ~/.fluxbox/ and contains the added lines for
the menu.


Kenward
-- 
In a completely rational society, the best of us would aspire to be 
_teachers_ and the rest of us would have to settle for something less, 
because passing civilization along from one generation to the next 
ought to be the highest honor and the highest responsibility anyone 
could have.     - Lee Iacocca



Reply to: