>>>>> Chris Taylor writes:
C> .................................................... Could FVWM be changed so
C> that, at the right edge of the display, a submenu appears to the left of its
C> parent?
seconded.
C> My second question addresses a long-existing problem: the method by which
C> FvwmButtons arranges buttons of various sizes. In this instance, I place a menu
C> button, an xload, an xclock, and several "switch to desk X" buttons in one
C> FvwmButtons window. Here's my setup:
C> *FvwmButtons Browse2 - desk 0 3
C> *FvwmButtons Notes - desk 0 4
C> *FvwmButtons Post-Its - desk 0 5
put xclock here!!!!
C> *FvwmButtons WebLog - desk 0 6
C> *FvwmButtons PrxyLog - desk 0 7
C> *FvwmButtons Misc1 - desk 0 8
C> *FvwmButtons Misc2 - desk 0 9
C> *FvwmButtons Misc3 - desk 0 10
C> *FvwmButtons Mail - desk 0 11
C> Here's the problem: I want to put xclock at the right side of the window, so it
C> all looks like this:
C> +------+-----------+----+----+----+----+----+----+------+
C> |menu |xload xload|desk|desk|desk|desk|desk|desk|xclock|
C> | |xload xload+----+----+----+----+----+----+xclock|
C> |button|xload xload|desk|desk|desk|desk|desk|desk|xclock|
C> +------+-----------+----+----+----+----+----+----+------+
C> I've had no success yet. If I take the logical approach, i.e., move the line
C> referencing "xclockFvwm" to the end of the FvwmButtons list, I end up with this
C> arrangement:
C> +------+-----------+----+----+----+----+----+-----+----+
C> |menu |xload xload|desk|desk|desk|desk|desk|desk |desk|
C> | |xload xload+----+----+----+----+----+-----+----+
C> |button|xload xload|desk|desk|desk|desk|desk|clock| |
C> +------+-----------+----+----+----+----+----+-----+----+
C> Nothing exists in the lower-right corner. FvwmButtons ignores the size
C> specification for xclock, "(1x2)". I've tried using silly sizes like "(10x2)",
C> but FvwmButtons just puts more "desk" buttons in the top row, and leaves xclock
C> at the bottom in a 10x1 size button.
fvwmbutton uses left to right placement (at least for *FvwmButtonsRows 2)
:
when fvwmbutton gets to swallowing the clock, there's only one row left, so
the "silly" size 1x2 is ignored.
I got tired of shuffling all the icons 'till everything fits again,
so I use a symbolic link FvwmSwallow (points to FvwmButton)
FvwmButton declares the small buttons, FvwmSwallow swallows my console,
Fvwm Buttons and the pager. (just some more depth added to the 3d look)
see my .fvwm2rc below (sorry, had to break some lines):
###################### FvwmSwallow button-bar ################################
*FvwmSwallowFore Black
*FvwmSwallowBack #908090
*FvwmSwallowFont -adobe-helvetica-bold-r-*-*-10-*-*-*-*-*-*-*
# Geometry - really likes to pick its own size, but giving a position is OK
# -- never mind I use a fixed size for my toolbar.
*FvwmSwallowGeometry 900x74-0-0
# Layout: specify rows or columns, not both
*FvwmSwallowRows 2
*FvwmSwallow(10x2) - whatever Swallow "Console" exec console -display $HOSTDISPLAY
-geometry 70x5-1500-1500 # real console on sun's, rsh sun-xterm on hp's
*FvwmSwallow(4x2) - whatever SwallowModule "FvwmButtons" FvwmButtons
*FvwmSwallow(4x2) - whatever SwallowModule "FvwmPager" FvwmPager 0 0
###################### FvwmButtons button-bar ################################
*FvwmButtonsFore Black
*FvwmButtonsBack Grey
*FvwmButtonsFont -adobe-helvetica-bold-r-*-*-10-*-*-*-*-*-*-*
# Geometry - really likes to pick its own size, but giving a position is OK
# out of my eyes - you're to be swallowed!
*FvwmButtonsGeometry -1500-1500
# Layout: specify rows or columns, not both
*FvwmButtonsRows 2
#*FvwmButtons xxx unknown Function xxx
*FvwmButtons - Door.bmp Function DoorQuit # dooropener on single click
# quit on doubleclick
*FvwmButtons - xterm.xpm Menu Xterms Exec xterm -title $HOST
-display $HOSTDISPLAY &
*FvwmButtons - toolbox.xpm Menu Tools Exec exec xlock -allowroot
#*FvwmButtons - page.xpm Menu Window_Ops TogglePage
*FvwmButtons - whatever Swallow "xbiff" exec exec xbiff
-geometry -1500-1500 -bg Grey -fg Black
#*FvwmButtons(2x1) - whatever Swallow "xload" exec exec xload
-geometry -1500-1500 -bg Grey -fg Black -nolabel -hl grey50
*FvwmButtons(3x1) - whatever Swallow "perfmeter" exec
set LD_LIBRARY_PATH $OPENWINHOME/lib; export LD_LIBRARY_PATH;
exec $OPENWINHOME/bin/perfmeter -geometry -1500-1500 -bg Grey -fg Black
*FvwmButtons - whatever Swallow "xclock" exec
exec xclock -geometry -1500-1500 -bg Grey -fg Black -padding 0
#*FvwmButtons - whatever Swallow "clock" exec
exec $OPENWINHOME/bin/clock -digital -24 -geometry -1500-1500 -bg Grey
-fg Black
cheers,
albrecht
--
In the Beijing area, the water table has dropped from 14 feet in 1955
to 160 feet in 1995 and is still falling while water is increasingly
demanded for domestic, industrial and tourist use. A Chinese
scientific report predicted that unless the present decline is
reversed - not merely arrested - Beijing would be unhabitable by the
year 2015. -- (Z Magazine, December 1995, Henry Rosemont,Jr.).
--
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 Thu Feb 22 1996 - 10:58:41 GMT