FvwmSaveDesk(1)

πŸŽ€ FvwmSaveDesk(1), General Commands Manual πŸŽ€

Hey bestie πŸ’– okay so this is the manual for FvwmSaveDesk, and it's giving main character energy πŸ‘‘ Let's get into it ✨


✨ NAME ✨

FvwmSaveDesk, another FVWM desktop-layout saving module πŸ¦‹

πŸ’… SYNOPSIS πŸ’…

Okay so FvwmSaveDesk gets spawned by fvwm, which means you literally cannot run it from the command line πŸ’€ No command line invocation will work, so don't even try, bestie πŸ™ˆ

🌸 DESCRIPTION 🌸

When it gets called, this module tries to save your current desktop layout as a fvwm function definition into the file .fvwmdesk in your home directory 🏑 The function is named StartupFunction ✨ You can call this function inside Function InitFunction to start up all Programs on all Workspaces, which is so iconic πŸ”₯ If fvwm is compiled with the M4 option, you can include this file in .fvmrc. Otherwise, you have to insert the file by hand 🫢 Your applications have to supply certain hints to the X window system, and ngl, that's not a given. Emacs, for example, does not, so FvwmSaveDesk can't get any info from it 😭

Also, FvwmSaveDesk assumes that certain command line options are globally accepted by applications, which may not be the case.

🚨 Heads up, bestie: FvwmSaveDesk assumes that certain command line options are globally accepted by applications, and that may not be true for every app. Don't say I didn't warn you πŸ’…

🧚 SETUP IF FVWM IS COMPILED WITH THE M4 OPTION 🧚

Okay this part is lowkey tricky, so pay attention πŸ€“ First, fvwm has to be called with this option:

-m4opt -I$HOME.

Then the first line in .fvwmrc should be:

undefine(`include`),

This avoids problems πŸ™ˆ Then you can include the .fvwmdesk file with:

sinclude(`.fvwmdesk') .

Insert the following line into the Function InitFunction:

Function "I"    StartupFunction

If you have GNU's m4, another possibility is to compile fvwm with GNU_M4_OPTION_P and use:

m4_include(`.fvwmdesk')m4_dnl

So you don't need to undefine include πŸ’–

πŸ¦‹ INVOCATION πŸ¦‹

FvwmSaveDesk can be invoked by inserting the line Module FvwmSaveDesk into the .fvwmrc file ✨ You should bind it to a menu, a mouse button, or a keystroke so you can invoke it later πŸ–±οΈ Fvwm will search the directory specified in the ModulePath configuration option to try to locate FvwmSaveDesk πŸ”

πŸ‘‘ AUTHOR πŸ‘‘

Carsten Paeth (calle@calle.in-berlin.de) πŸ’œ

Based on FvwmSave, written by Robert Nation and Mr. Per Persson <pp@solace.mh.se> (Omnion on IRC) 🌈


That's the whole tea, bestie 🫢 This page comes from the 3rd Berkeley Distribution, dated Jul 20 1995, and it's all about FvwmSaveDesk(1) πŸŽ€ Stay iconic πŸ’…βœ¨