FVWM: Icons on FvwmButtons

From: Ray Curtis <ray_at_fred.net>
Date: Fri, 19 Jul 1996 17:41:57 -0400

Hi Dorothy,
        I just answered this question before I saw yours, so try

*FvwmButtons Xemacs gnu.xpm Exec "Xemacs"
/usr/bin/xemacs -geometry 95x41+22+9 &

Where gnu.xpm is an Icon, this is just an example. I am using
fvwm2-2.0.43-1 on Linux and it works fine.

Make sure you have a path like this to your Icons:
IconPath /usr/X11/bitmaps/:/etc/X11/fvwm2/icons

Hope this helps,



>>>>> "DR" == Dorothy Robinson <dorothy_at_analogy.com> writes:

    DR> This is probably a dumb question, and maybe this isn't the right
    DR> place for it, but I can't find the answer in any of the archives. How
    DR> does one get FvwmButtons to display icons? I can only get text on the
    DR> buttons that launch the programs, even if I try tiny pixmaps.

    DR> Also, is there a way to control the geometry of buttons other than by
    DR> specifying the geometry of the whole button bar? It would be nice
    DR> if oclock didn't get squashed into an oval.

    DR> Here's the relevant portion of my .fvwmrc. BTW, I'm on Solaris2.4.
    DR> BTW2, yes, I've tried Tkgoodstuff. It's really cool, but I don't care
    DR> for the way it uses the Pager - tho' maybe I could hack the Pager
    DR> client to do what I want. My Buttons module has great potential, if I
    DR> can only get it to work :-)

    DR> ########################### Buttons ####################################
    DR> *FvwmButtonsBack azure3
    DR> *FvwmButtonsGeometry -1-1
    DR> *FvwmButtonsRows 3
    DR> *FvwmButtonsColumns 10
    DR> # Title Icon Action
    DR> *FvwmButtons (6x3) - whatever Swallow Module "Fvwm Pager" FvwmPager 0 2
    DR> *FvwmButtons (2x2) - - Swallow "xbiff" Exec xbiff -volume 0 -bg azure3 -geom 48x48 &
    DR> *FvwmButtons (2x2) - - Swallow "oclock" Exec oclock -fg red4 -geom 48x48 &
    DR> *FvwmButtons XTerm cli.xpm Exec "xterm" xterm &
    DR> *FvwmButtons Emacs DTP.xpm Exec "Emacs" /net/miller/oem2/licensing/src/netsrc/xemacs/bin/sparc-sun-solaris2.4/xemacs &
    DR> *FvwmButtons Calc calc.next.xpm Exec "calctool" calctool &
    DR> *FvwmButtons TkMan xman3d.xpm Exec "tkman" tkman &

    DR> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
    DR> Dorothy Mokuren Robinson dorothy_at_analogy.com
    DR> Dogbert, I don't think we're in Kansas anymore . . . mokuren_at_teleport.com
    DR> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
    DR> --
    DR> Visit the official FVWM web page at <URL:http://www.hpc.uh.edu/fvwm/>.
    DR> To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
    DR> message to majordomo_at_hpc.uh.edu.
    DR> To report problems, send mail to fvwm-owner_at_hpc.uh.edu.

    DR> --
---------------------------------------------------------------
Linux Host 'RAY'
email: ray_at_fred.net
--
Visit the official FVWM web page at <URL:http://www.hpc.uh.edu/fvwm/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_hpc.uh.edu.
To report problems, send mail to fvwm-owner_at_hpc.uh.edu.
Received on Fri Jul 19 1996 - 16:50:37 BST

This archive was generated by hypermail 2.3.0 : Mon Aug 29 2016 - 19:37:59 BST