Discussion:
FVWM: Fixing and Docking
Tim Johnson
2016-06-28 22:29:21 UTC
Permalink
I would like to do the two following things with taskbar (as invoked
by FvwmTaskbar) :

1)Render taskbar as fixed (no autohide) so that when windows are
maximized, they do not overlap taskbar (or vice versa).
Currently, there is overlapping and the windows have to be resized
manually so that they "fit".

2)"Dock" apps in the taskbar as per gnome or my fluxbox config.

I'm having some difficulty googling this subject. I'm finding that
there may be issues with taskbar and that there may be alternatives
including FvwmIconMan.

My FvwmTaskbar is available upon request. I'm up to "rolling my
own" taskbar if I had pointers to a starting point.

thanks
--
Tim
http://www.akwebsoft.com, http://www.tj49.com
Jaimos Skriletz
2016-06-28 22:49:44 UTC
Permalink
Post by Tim Johnson
I would like to do the two following things with taskbar (as invoked
​FvwmTaskBar has been removed, use FvwmButtons + FvwmIconMan instead. This
gives you more flexibility to swallow different launchers, buttons, apps,
etc.
​
Post by Tim Johnson
1)Render taskbar as fixed (no autohide) so that when windows are
maximized, they do not overlap taskbar (or vice versa).
Currently, there is overlapping and the windows have to be resized
manually so that they "fit".
​You can use ​EwmhBaseStruts to reserve area of the screen that is used
when maximizing windows and placing windows. This can be used to keep
windows from covering the panel when maximizing.
Post by Tim Johnson
2)"Dock" apps in the taskbar as per gnome or my fluxbox config.
​I'm unsure what you mean by Dock apps. If you want to make a launcher use
FvwmButtons and you can make your own custom launchers. If you mean
something like a system tray you'll have to use a third party app, such as
stalonetray (which I swallow inside of FvwmButtons).
​
jaimos
Tim Johnson
2016-06-28 23:23:11 UTC
Permalink
Post by Tim Johnson
I would like to do the two following things with taskbar (as invoked
​FvwmTaskBar has been removed, use FvwmButtons + FvwmIconMan instead. This
gives you more flexibility to swallow different launchers, buttons, apps,
etc.

Post by Tim Johnson
1)Render taskbar as fixed (no autohide) so that when windows are
maximized, they do not overlap taskbar (or vice versa).
Currently, there is overlapping and the windows have to be resized
manually so that they "fit".
​You can use ​EwmhBaseStruts to reserve area of the screen that is used
when maximizing windows and placing windows. This can be used to keep
windows from covering the panel when maximizing.
Post by Tim Johnson
2)"Dock" apps in the taskbar as per gnome or my fluxbox config.
​I'm unsure what you mean by Dock apps. If you want to make a launcher use
FvwmButtons and you can make your own custom launchers. If you mean
something like a system tray you'll have to use a third party app, such as
stalonetray (which I swallow inside of FvwmButtons).
I can _launch_ apps easily by constructing menus and keymapping.
It's very similar in fluxbox.

You are correct in that I am looking for "something like a system
tray".

You have given me names of modules necessary to meet my ends and
for that I now have a better footing or starting point.

Every system has it's own idiomatic syntax. The one I'm just
beginning to grok is 'swallow'.

Do I understand that 'swallow' means to put one object inside of
another?

With that question answered and the module names, I can procede to
"roll my own". :) But I wouldn't reject any further tips ...

Thanks, Jaimos
--
Tim
http://www.akwebsoft.com, http://www.tj49.com
Jaimos Skriletz
2016-06-28 23:31:39 UTC
Permalink
Post by Tim Johnson
Every system has it's own idiomatic syntax. The one I'm just
beginning to grok is 'swallow'.
Do I understand that 'swallow' means to put one object inside of
another?
​Yes, Swallow means to take a window and put it inside of FvwmButtons.

For example here is my FvwmButtons (it doesn't contain FvwmIconMan which
gives a list of running windows, but I just use WindowList for that).

Here is the config I use

--- Start Config ---

​
#####
# SensorDock
###########
Style "SensorDock" !Title, Sticky, WindowListSkip, CirculateSkip, \
FixedSize, !Handles, BorderWidth 5

DestroyModuleConfig SensorDock: *
*SensorDock: Geometry 120x205-5+5
*SensorDock: Colorset 6
*SensorDock: Rows 41
*SensorDock: Columns 24
*SensorDock: Frame 0
*SensorDock: (7x7, Icon "debian.svg:28x28", Frame 0)
*SensorDock: (17x7, Swallow DateTime 'Module FvwmScript
$[FVWM_USERDIR]/scripts/DateTime', Frame 0)
*SensorDock: (2x12, Frame 0)
*SensorDock: (20x12, Swallow FvwmPager 'Module FvwmPager', Frame 0)
*SensorDock: (2x12, Frame 0)
*SensorDock: (12x1, Frame 0)
*SensorDock: (12x18, Swallow Sensors 'Module FvwmScript
$[FVWM_USERDIR]/scripts/Sensors', Frame 2)
*SensorDock: (1x16, Frame 0)
*SensorDock: (10x10, Swallow(UseOld) "cpumon" `Exec exec xosview -title
cpumon +cpu`, Frame 0)
*SensorDock: (1x16, Frame 0)
*SensorDock: (10x2, Swallow(UseOld) "memmon" `Exec exec xosview -title
memmon +mem`, Frame 0)
*SensorDock: (10x2, Swallow(UseOld) "netmon" `Exec exec xosview -title
netmon +net`, Frame 0)
*SensorDock: (10x2, Swallow(UseOld) "hdmon" `Exec exec xosview -title hdmon
+disk`, Frame 0)
*SensorDock: (2x4, Frame 0)
*SensorDock: (20x4, Swallow(NoClose,UseOld) "stalonetray" 'Exec exec
stalonetray', Frame 0)
*SensorDock: (2x4, Frame 0)

#####
# FvwmPager
###########
Style "FvwmPager" !Title, !Handles, Sticky, WindowListSkip, \
CirculateSkip, BorderWidth 5

DestroyModuleConfig FvwmPager: *
*FvwmPager: Colorset 0 6
*FvwmPager: HilightColorset 0 7
*FvwmPager: BalloonColorset 0 8
*FvwmPager: WindowColorsets 8 9
*FvwmPager: Font none
*FvwmPager: Balloons All
*FvwmPager: BalloonFont "xft:Bitstream Vera Sans:Bold:size=8:antialias=True"
*FvwmPager: BallonYOffset +2
*FvwmPager: Window3dBorders
*FvwmPager: MiniIcons

​--- End Config ---
​
​I swallow FvwmPager inside of FvwmButtons along with many other apps
include scripts, xosview (monintors), and the system tray. I launch this
with

Module FvwmButtons SensorDock

I have attached a screenshot.

jaimos​
Tim Johnson
2016-06-29 00:42:24 UTC
Permalink
* Jaimos Skriletz <***@boisestate.edu> [160628 15:43]:
<...>
​Yes, Swallow means to take a window and put it inside of FvwmButtons.
For example here is my FvwmButtons (it doesn't contain FvwmIconMan which
gives a list of running windows, but I just use WindowList for that).
Here is the config I use
This is great and will prove to be very informative : Thanks a
lot!
--
Tim
http://www.akwebsoft.com, http://www.tj49.com
Loading...