Re: FVWM: Expand Stalonetray in Right Panel

Brian <[email protected]>
Newsgroups gmane.comp.window-managers.fvwm
Organization Home
Message-ID <[email protected]>
On Thu, 17 May 2018 22:08:39 -0600
Jaimos Skriletz <[email protected]> wrote:
...
> On Thu, May 17, 2018 at 9:31 PM, Brian <[email protected]> wrote:
> > I sometimes have more than seven items which want to place an icon
> > image in the stalonetray.  However the tray will only show seven
> > icons in the 120 column width of the right panel. Using the standard
> > Right-panel how would one change the stalonetray to a second row of
> > icons?  Is it simply a matter of changing
> > $[FVWM_DATADIR]/default-config/.stalonetrayrc
> > Max geometry to 6 x 2 or is it more complicated?
> >  
> 
> You would need to add space for stalonetray in FvwmButtons and take
> away space from another piece, such as FvwmIconMan. So you would have
> to change the geometry from 120x20 to 120x40 for the stalonetray
> button. But then you'll have to take 20 pixels way from FvwmIconMan
> button, so you would need to change the dynamic computation from
> 120x$(($[vp.height]-205)) to 120x$(($[vp.height]-225)).
> 
> Next I wouldn't edit the installed version of .stalonetrayrc, instead
> copy the .stalonetrayrc to $HOME, update the RightPanel config to use
> your custom configuration file.
> 
> Here is some more info that may help you if you want to edit the
> RightPanel some more than just that.
> 
> http://fvwmforums.org/wiki/Panels/RightPanel/
> 
> jaimos
...
------------------------------------------------------------------------------
Thank you for the suggestion.  I'm trying to understand the "x" and
"x!" commands.  I'm using the DEFAULT dynamic configuration.  My
configuration is actually a 1280x720 screen on left with a 960x960
screen on the right.  The RightPanel config is showing on the 1280x720
screen, which is just where I want it desplayed.  But for some reason
the the $[vp.height] is not properly calculating the height.  I'll try
the hard static config with 720.  What I'm not understanding is that
both the static and dynamic configs have both the -225 and -205
lines. So I'm not clear which line you are suggesting should be
modified? I do understand the static config can be calculated against
the 720, but I believe the calculation is against the bottom right, so
having two different size screens is confusing the calculation in the
dynamic setup.  

BrianA_MN
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.