Re: Wmaker (hamm) and menu pkg.
Hi,
As a sidenote, this is my first reply to debian-user in nearly 2 months
now. Last wednesday I finaly finished my PhD studies, and I'm _FREE_ now.
Free to continue to work on my debian packages again.
Or to read debian-user:
> I'm having a bit of a problem with the 'automagically' generated menus
> for the WindowMaker in hamm dist. I'd like to have slrn and mutt running
> under rxvt rather than default xterm window. My /etc/X11/wmaker/menu.hook
> starts with the warning :"Do not edit this file..", so my question is:
> will I break something (like future updates) if I change xterm's with rxvt
> entries for mutt, slrn and ftp and telnet?
Well, you won't break anything, but your changes will be lost right
after you upgrade/install a package that includes a menufile.
So, you don't want to do it anyway.
What you do want to do is to edit the /etc/menu-methods/ file for
you window manager ("WindowMaker-- what's that? Is that a new window
manager I didn't hear about, but does include a Menu-method? Fab!)
You need to go to the "supported" section, and change the line that
starts with "text=".
For the fvwm2 window manager, you would change the lines
text= "+ \"" escfirst($title,$hotkey,"&") \
cond_surr($icon,"%","%") "\"" \
" Exec /usr/bin/X11/xterm -T \"" $title "\" -e " $command "\n"
to
text= "+ \"" escfirst($title,$hotkey,"&") \
cond_surr($icon,"%","%") "\"" \
" Exec /usr/bin/X11/xrvt -T \"" $title "\" -e " $command "\n"
Note, that the really new menu-method files will include "menu.h", so
that you only need to change the indicated lines in /etc/menu-methods/menu.h,
and every sufficiently new window manager will atumatically use rxvt for
all "text" entries. (after one run of "update-menus").
>
> Thanks
Was a pleasure!
--
joost witteveen, joostje@debian.org
Potentially offensive files, part 5: /dev/random.
`head -c 4 /dev/random` may print 4-letter words (once every approx 4e8 tries).
--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-user-request@lists.debian.org .
Trouble? e-mail to templin@bucknell.edu .
Reply to: