9.7. NsCDE.conf
Prev | 9. Configuration files explained | Next

### 9.7. NsCDE.conf

This file defines various FVWM and NsCDE defaults. NsCDE.conf can be considered as the main user's configuration file. System wide configuration are static defaults which can be loaded by Window Style Manager or by erasing user's copy of the file. User's copy of the `NsCDE.conf` contains all options (minus FvwmAnimate) from Window Style Manager's set of options, but it has some options such as FVWM infostore variables for default terminal and file manager applications, graphical editor, and such. Infostore variables `desknum`, `pagematrixX` and `pagematrixY` are managed by the Workspace and Pages Manager while `menudclicktm` infostore variable is managed by the Pointer Style Manager. In `NsCDE.conf`, defaults for page edges, focus, icons, and such are defined. See Section 5.19, “Window Style Manager” and fvwm(1) for details. Since this is read by FVWM, user can set in this file local variables and additional configuration options if needful, which are not covered in other parts of the configuration. While applications are taking great care with long regexp lines to parse and write this file, if edited manually, user is advised to keep it clean: use proper capitalization as it is described in fvwm(1), without line breaks and if possible, surplus spaces and tabs. Comments are allowed as usual: as lines which begins with # sign.

Some of the important FVWM Infostore variables which can be set in the `NsCDE.conf` are:

- InfoStoreAdd filemgr `file manager of choice`

- InfoStoreAdd xeditor `GUI text editor of choice`

- InfoStoreAdd calculator `GUI calculator of choice`

- InfoStoreAdd taskmgr `Task manager of choice`

- InfoStoreAdd printmgr `Printer manager of choice`

- InfoStoreAdd browser `WWW Browser of choice`

- InfoStoreAdd docsbrowser `Documentation Browser of choice - xdg-open or defaults to browser`

- InfoStoreAdd mailreader `Mail application of choice`

- InfoStoreAdd terminal `terminal` - emulator app of choice by default commented out and figured out by the list of known terminals. It can be set here.

- InfoStoreAdd sandboxmode 0|1 - reduced NsCDE for embedded Xephyr X jails

- InfoStoreAdd desklastpage 0|1 - remember last visited page on desk

- InfoStoreAdd wsmcolored 0|1 - additional menu color around Workspace Manager like in some versions of CDE

- InfoStoreAdd nscde_use_xscreensaver 0|1

- InfoStoreAdd nscde_use_stalonetray 0|1

- InfoStoreAdd nscde_use_dunst 0|1

- InfoStoreAdd nscde_use_rofi 0|1

- InfoStoreAdd nscde_use_xsettingsd 0|1

- InfoStoreAdd wsm.eco 0|1

- InfoStoreAdd frontpanel.pos.placement `screen c 50-50w -0p ewmhiwa`

- InfoStoreAdd stalonetray.pos.placement `-0 -0 ewmhiwa`

- InfoStoreAdd gkrellm.pos.placement `-0 +0 ewmhiwa`

- InfoStoreAdd polkit.agent `Path of the choosen PolicyKit Agent`

- InfoStoreAdd loc_pg.desk_scale `Zoom factor of the Local Pager`

- InfoStoreAdd glob_pg.desk_scale `Zoom factor of the Global Pager`

- InfoStoreAdd windowlist.fontsize `small | medium | large`

- InfoStoreAdd windowlist.title.fontsize `small | medium | large`

- InfoStoreAdd fvwm3_default_logging `0|1` weather to log FVWM3 messages by default from the startup

- InfoStoreAdd xlogcmd `custom-command` if `$HOME/.xsession-errors` is not in use, for example `"journalctl -u gdm -n 300 -f"`

- InfoStoreAdd rootpagerposition `"screen c 50-50w +10p"` - where to put local pager on page change if enabled

- InfoStoreAdd desktopconfiguration global|per-monitor|shared - for FVWM3

Further, common system environment variables are provided already set, or for optional uncommenting if needed or desirable:

- `QT_QPA_PLATFORMTHEME` - set to "qt5ct"

- `HAS_WINDOWNAME 1` - uncomment and set it to 1 if FVWM is patched with additional FvwmButtons NsCDE patches. On FVWM3, this is default

- `GTK_OVERLAY_SCROLLING 0` - handy to turn off irritating blinking of scrollbar area in GTK3 applications

- `SetEnv GTK_CSD 0` - if you have misfortune to must use some of the GNOME 3 applications and have gtk3-nocsd installed

- `f_VarAppend : LD_PRELOAD /usr/local/lib/libgtk3-nocsd.so.0` - if you have misfortune to must use some of the GNOME 3 applications and have gtk3-nocsd installed

- `SetEnv NSCDE_REDRAW_WORKAROUND 1` - Uncomment this if you are having problems with FvwmScript PopupMenu widgets under compton, compton-ng or picom in the form of not refreshing their part of the screen.

Prev | Up | Next
9.6. Colorset.fvwmgen | Home | 9.8. Event.fvwmconf