You are not logged in.

#1 2020-12-21 12:15:15

rasat
Forum Fellow
From: Finland, working in Romania
Registered: 2002-12-27
Posts: 2,219
Website

FVWM3 myExt collection

This collection is inspired by the Gnome Extensions that make Gnome multifunctional. This gave the name "FVWN myExtentions". With the new FVWM3, it started as an experiment similar to what I did in 2005 ( ArchWD-FVWM ) which was complex and running on root system files. With myExt, it is easier to work and manage by using the default FVWM3 config as a base and directly in ~/.fvwm. The config is split into folders and runs in the same sequence as the original. The additional extensions are simply added in associated folders.

1. 1Functions
2. 2-3Styles
3. 4Menus
4. 5Bindings
5. 6Decor
6. 7Modules

Besides the fast and low memory usage of FVWM, the aim is to speed up the workflow on common tasks and a clean desk. Access to choices and customization. This structure helps to maintain and create new functions, decors, and modules. Here is the config that runs startup, extensions, and does changes in preloaded settings.

## .fvwm/config
## STARTUP ##

## Load default 1.Functions
Read $[FVWM_USERDIR]/1Functions/MyInitMgr.sys
Read $[FVWM_USERDIR]/1Functions/FVWM-StartFunction.sys

## Load 2-3.Styles
Read $[FVWM_USERDIR]/2-3Styles/FVWM-Page.sys
Read $[FVWM_USERDIR]/2-3Styles/FVWM-Colorsets.sys
Read $[FVWM_USERDIR]/2-3Styles/my-Colorsets.sys
Read $[FVWM_USERDIR]/2-3Styles/Fvwm-Thumbnails.sys
Read $[FVWM_USERDIR]/2-3Styles/my-BorderStyle.sys

## Load 4.Menus
Read $[FVWM_USERDIR]/4Menus/myMenu.conf
# Read $[FVWM_USERDIR]/4Menus/AutoMoveWin.sys

## Load 5.Bindings (min, max, close button, and win focus)
Read $[FVWM_USERDIR]/5Bindings/my-MouseBindings.sys

## Load 6.Decorations
Read $[FVWM_USERDIR]/6Decor/myDecor.sys

## Load 7.Modules
Read $[FVWM_USERDIR]/7Modules/FvwmScript.sys
Read $[FVWM_USERDIR]/7Modules/myRightPanel.sys
# Read $[FVWM_USERDIR]/7Modules/AutoHideList.sys
Read $[FVWM_USERDIR]/7Modules/FvwmPager.sys
Read $[FVWM_USERDIR]/7Modules/FvwmIconMan.sys
Read $[FVWM_USERDIR]/7Modules/DiaryThumbPlace.sys
Read $[FVWM_USERDIR]/7Modules/SimpleButton.sys
Read $[FVWM_USERDIR]/7Modules/ControlPanelBP.sys

######
## Change preloaded settings
######
----
### Colorsets in 2-3Styles/
## Module Default bg #2b4e5e (background pager, buttons, etc.)
Colorset 10 fg #ffffff, bg #2b4e5e, hi #aaaaaa, sh #999999, Plain, NoShape
----
## TouchPad Off
# + I Test (Init) Exec synclient TouchpadOff=1
----
# Style setting
Style Ulauncher* NoTitle
Style QuickEdit* NoTitle #config editor dialog box
----
### Settings and styles in 3Styles/FVWM-Page.sys
## Default Font
DefaultFont "xft:Noto Sans:size=12"

## EdgeScroll will move the view port between the Pages when the mouse
## moves to the edge of the screen.
EdgeScroll 0 0
EdgeResistance 450
EdgeThickness 1
Style * EdgeMoveDelay 500, EdgeMoveResistance 100

# EwmhBaseStruts [left] [right] [top] [bottom]
# Reserves space along the edge(s) of the Screen that will not
# be covered when maximizing or placing windows.

EwmhBaseStruts 40 120 70 0

## Mouse click behaviour
Style * ClickToFocus

## Window Placement
Style * TileCascadePlacement

## Quit location and style
Style ConfirmQuit !Title, PositionPlacement Center, WindowListSkip, Layer 6
Style FvwmIdent WindowListSkip

Last edited by rasat (2021-01-06 10:46:36)


Markku

Offline

#2 2020-12-21 12:20:55

rasat
Forum Fellow
From: Finland, working in Romania
Registered: 2002-12-27
Posts: 2,219
Website

Re: FVWM3 myExt collection

EXTENSIONS

1. SimpleButton - using FvwmButtons as a panel that contains icons to launch applications.

SimpleButton2.png

2. Auto Hiding Windows - allows withdrawing a window to a location where it does not use precious desktop space.

## 7Modules: AutoHideList.sys
# # AutoHidingWindows
#
DestroyFunc autohide
AddToFunc autohide
+ I ThisWindow ($0) Deschedule $[w.id]
+ I ThisWindow ($0) ThisWindow (Shaded) WindowShade off
+ I TestRc (!Match) All ($0, !Shaded) autohide\_hide $1 $2

DestroyFunc autohide_hide
AddToFunc autohide_hide
+ I Schedule $0 $[w.id] WindowShade $1
+ I Schedule $0 $[w.id] Deschedule $[w.id]

# Start FvwmAuto
AddToFunc StartFunction I Module FvwmAuto FvwmAutohide -menter enter_handler

# Add windows you want to autohide
DestroyFunc enter_handler
AddToFunc enter_handler
+ I autohide RightPanel 50 E
+ I autohide SimpleButtons 50 N

3. DiaryDecor and Thumbnails - a borderless-right-side window frame with minimized window thumbnail.

DiaryDecor-thnails.png

4. AutoMoveWindows - moves applications to specific workspaces (pages) when they create windows.

## 4Menus: AutoMoveWin.sys
#
Style Firefox StartsOnPage 0 0 0 #page 0
Style Thunar StartsOnPage 0 1 0 #page 1
Style "Mozilla Thunderbird" StartsOnPage 0 0 1 #page 2
Style Evolution StartsOnPage 0 1 1 #page 3

5. RightPanel - part of FVWM default config

6. myMenu - see below screenshool.

Screenshot with visible extensions:

FVWM-myExt-pkg-thumb1.png

DOWNLOAD version 0.5.2
http://rasatpc.net/download/fvwm/ext/FV … v0.5.2.zip

##########################

MY FVWM3 SETUP:

FVWM-myExt-20dec2020v0.4.5-thumb.png

Last edited by rasat (2020-12-24 22:07:29)


Markku

Offline

#3 2020-12-30 19:35:56

rasat
Forum Fellow
From: Finland, working in Romania
Registered: 2002-12-27
Posts: 2,219
Website

Re: FVWM3 myExt collection

The new extensions improve the workflow without getting distracted by a small minimize, maximize, or close button. Or limiting the feature of resizing or moving a window. On the desk you can do it with a right-click mouse and click anywhere on the window. Or use larger buttons on the control panel. On the pager, you can move a window from one page to another with the mid-click mouse.

The desk looks clean without a fancy title bar and the minimized windows are easily retrieved thumbnails. Cerebro finds applications and websites.

EXTENSIONS

7. ControlPanelBP - Manages the window move, resize, minimize, maximize, and close. And a pager to manage the window page location.

control-panel-bp-v5.png

8. myDecor - Buttonlless title bar (the image shows also the right-click menu).

myDecor-right-click-menu-v3.png


9. myMenu (added configs) - Manages the window move, resize, minimize, maximize, close. and moves windows to a selected page.

## Titlebar right-click
DestroyMenu MenuWindowOps
AddToMenu   MenuWindowOps
+ "Send to " Popup MenuSendTo
+ "Min" Thumbnail
+ "Shade" WindowShade
+ "Close" Close
+ "-" Nop
+ "Quit" Destroy

## Desktop right-click
DestroyMenu MenuWindowOpsLong
AddToMenu   MenuWindowOpsLong
+ " " Nop
+ "Min%$[mimg]/icons/win/iconify.png%" Thumbnail
+ "Move%$[mimg]/icons/win/move.png%" Move
+ "Resize%$[mimg]/icons/win/resize.png%" Resize
+ "Max%$[mimg]/icons/win/max.png%" Maximize
+ "Close%$[mimg]/icons/win/close.png%" Close
+ "---" Nop
+ "Quit%$[mimg]/icons/quit.png%" Module FvwmScript FvwmScript-ConfirmQuit

## Titlebar Right Click >> Send To
DestroyMenu MenuSendTo
AddToMenu MenuSendTo
+ " Page 1" MoveToPage 0 0
+ " Page 2" MoveToPage 1 0
+ " Page 3" MoveToPage 0 1
+ " Page 4" MoveToPage 1 1

10. Ulauncher - a local search engine for Linux distros

ulauncher-action-v2.png

SCREENSHOT OF NEW EXTENSIONS

buttonless-title-bar-action-v3-thumb.png

myDecor-controlpanel-thumbnails-arch-v2-thumb.png

DOWNLOAD version 0.6.2
http://rasatpc.net/download/fvwm/ext/FV … v0.6.2.zip

Last edited by rasat (2021-01-09 20:09:41)


Markku

Offline

#4 2021-01-06 10:34:37

rasat
Forum Fellow
From: Finland, working in Romania
Registered: 2002-12-27
Posts: 2,219
Website

Re: FVWM3 myExt collection

Here is the latest (FVWM myExt v0.7). The snapshot is for users who prefer the classic all-in-one config.
Note: Cerebro search app is replaced by Ulauncher which is lighter and has good preference settings.

Download:
Full version
http://rasatpc.net/download/fvwm/ext/FV … t-v0.7.zip

fvwm-myExt-v0.7-150x.png

Snapshot
http://rasatpc.net/download/fvwm/ext/FV … apshot.zip

fvwm-myExt-v0.7-snapshot-150x.png

Last edited by rasat (2021-01-06 10:43:01)


Markku

Offline

#5 2021-01-06 14:03:50

manyroads
Member
From: Trump's paradise, not
Registered: 2019-12-09
Posts: 7
Website

Re: FVWM3 myExt collection

Nice job @rasat.


Pax vobiscum,
Mark Rabideau - http://many-roads.com
dwm ~ Reg. Linux User #449130
"For every complex problem there is an answer that is clear, simple, and wrong." H. L. Mencken

Offline

#6 2021-01-10 20:56:25

rasat
Forum Fellow
From: Finland, working in Romania
Registered: 2002-12-27
Posts: 2,219
Website

Re: FVWM3 myExt collection

These extensions are new choices to an existing system, such as replacing RightPanel with a separate pager and task panel. Here I am displaying how wallpaper is also part of the extensions.

EXTENSIONS

11. TaskPanelCurve - is similar to the classic windows taskbar. There are choices of round and curve panel end.

taskPanelCurve-v2.png

SetEnv tpc-image $[HOME]/.fvwm/images/TaskPanel
AddToFunc StartFunction
+ I Module FvwmButtons PanelButtons
+ I Module FvwmIconMan

DestroyModuleConfig PanelButtons
*PanelButtons: Colorset 18
*PanelButtons: Geometry 920x30+0+0
*PanelButtons: Columns 920
*PanelButtons: Rows 30
*PanelButtons: Frame 0
*PanelButtons: Padding 0 0
*PanelButtons: (100x25, Icon $[tpc-image]/fvwm.png)
*PanelButtons: (641x20, Swallow "FvwmIconMan")

Test (x stalonetray) *PanelButtons: (110x30, Swallow(NoClose,UseOld) \
    stalonetray 'Exec exec stalonetray --config \
    "$[FVWM_DATADIR]/default-config/.stalonetrayrc"', Frame 0, Colorset 10)

*PanelButtons: (30x30, Colorset 10)
*PanelButtons: (31x30, Icon $[tpc-image]/round1.png)

Style PanelButtons NoTitle, !Handles, WindowListSkip, Sticky, !Borders, NoIcon, StaysOnBottom

12. VPager6pg - a vertical pager with six pages. This is inspired by the Gnome's "Workspace To Dock" extension. Later there will be one app icon launcher on the right side.

verticalPager6pg-v2.png

# Virtual Desktop
DesktopSize "1x6"
Module FvwmPager VPager

DestroyModuleConfig VPager: *
*VPager: Geometry 113x600-0+150
*VPager: Back #d9d9d9
#*VPager: Colorset * 13
*VPager: HilightColorset * 6 #selected page background (original 13)
*VPager: BalloonColorset * 10 # font color
*VPager: WindowColorsets 10 11 # original 10 11 (inactive apps)
*VPager: Font none
*VPager: SolidSeparators
*VPager: WindowBorderWidth 1
*VPager: Balloons All
*VPager: BalloonFont "xft:Sans:Bold:size=10:antialias=True"
*VPager: BallonYOffset +2
*VPager: Window3dBorders
*VPager: MiniIcons

Style "VPager" NoTitle, !Handles, Borders, BorderWidth 5, BorderColorset 6, Sticky, WindowListSkip, FixedSize, !Iconifiable ## BorderColorset 19 (border line)
Module VPager

###############

SCREENSHOT OF NEW EXTENSIONS (action).

pager-taskpanel-action-th.png

DOWNLOAD version 0.7.2
http://rasatpc.net/download/fvwm/ext/FV … v0.7.2.zip

Last edited by rasat (2021-01-11 13:21:22)


Markku

Offline

#7 Today 14:40:58

rasat
Forum Fellow
From: Finland, working in Romania
Registered: 2002-12-27
Posts: 2,219
Website

Re: FVWM3 myExt collection

This collection is directly related to window management as per the acronym WM. In this regard, a WM does much better than a Desktop which is more related to the applications and appearance. The core of FVWM is window management. It does well when dealing with a cluttered desk. In my case, this often happens when working with Gimp images and OpenShot video editing. And a file manager to "drag and drop" between the two.

cluttered-desk-th.png

13. WinListSwitch - a two-button switch to view windows on the current page and all pages. Similar to a taskbar but easier to manage.

WindListSwitch-v2.png

14. New menu update - includes lowering a window (brings hidden windows to appear). And to close windows one after another without clicking on them. Fast way of closing numbers of open windows.

## Titlebar right-click
DestroyMenu MenuWindowOps
AddToMenu   MenuWindowOps
+ "Send to " Popup MenuSendTo
+ "Min" Thumbnail
+ "Shade" WindowShade ## NEW UPDATE
+ "Low" Lower ## NEW UPDATE
+ "Close" Close
+ "-" Nop
+ "Quit" Destroy

## Desktop right-click
DestroyMenu MenuWindowOpsLong
AddToMenu   MenuWindowOpsLong
+ " " Nop
+ "Min%$[mimg]/icons/win/iconify.png%" Thumbnail
+ "Move%$[mimg]/icons/win/move.png%" Move
+ "Resize%$[mimg]/icons/win/resize.png%" Resize
+ "Low%$[mimg]/icons/win/bottom.png%" Lower ## NEW UPDATE
+ "Max%$[mimg]/icons/win/max.png%" Maximize
+ "---" Nop
+ "Done%$[mimg]/icons/win/done.png%" Next (Focused) Close ## NEW UPDATE
+ "---" Nop
+ "Quit%$[mimg]/icons/quit.png%" Module FvwmScript FvwmScript-ConfirmQuit

Last edited by rasat (Today 14:51:32)


Markku

Offline

Board footer

Powered by FluxBB