This section describes how to log out of and exit the desktop, how to lock X display to prevent unauthorized use of your system when you are away from it and have not logged out, how to restart NsCDE, suspend the system into S3 sleep mode (if supported), reboot and shutdown the system.
For more information see SysActionDialog section.
To prevent unauthorized use of the system when you are away from it and have not logged out, click the Lock control in the Front Panel. It is located left from the first Workspace Manager button. The Xscreensaver if enabled and installed will appear. If Xscreensaver is configured to lock the screen, you will have to provide password to unlock it and get the desktop back.
Sometimes, while changing parameters in NsCDE.conf
or upgrading NsCDE,
or because of some problem, it is necessary to restart NsCDE and FVWM. There are two dialogs
and 3 ways to do this.
Restart with System Action Dialog:
Click on the Menu+Menu, that is, Menu key twice. Item can be choosen with the "g" mnemonic, or clicked with the mouse button 1.
icon right bottom of the Workspace Manager, or choose from the bottom of the Workspace Menu. Workspace Menu can be invoked with mouse button 1, or by opening menu by pressingSystem Action dialog appears. From the popup select
with mouse button 1, or Arrow Up and Arrow Down keys.Click Ctrl+Return to confirm. FVWM and NsCDE restarts.
or press
Restart with Restart dialog:
Press Menu+Menu or click with mouse button 3 on the empty space of the backdrop to get Workspace Menu. Choose near the bottom of the Workspace Menu. This can be done with mouse pointer 1, or by pressing the "r" mnemonic.
Restart dialog appears with the question "Restart NsCDE". Click the
button or press Return. FVWM and NsCDE restarts.
Restart from the terminal command line:
From the Front Panel's default fourth button click the icon of the terminal, or from Workspace Menu choose
to open default terminal emulator.Terminal window appears. Type nscde_fvwmclnt Restart and press return. FVWM and NsCDE restarts.
Click on the Menu+Menu, that is, Menu key twice. Item can be choosen with the "g" mnemonic, or clicked with the mouse button 1.
icon right bottom of the Workspace Manager, or choose from the bottom of the Workspace Menu. Workspace Menu can be invoked with mouse button 1, or by opening menu by pressingSystem Action dialog appears. From the popup select
with mouse button 1, or Arrow Up and Arrow Down keys.Click Ctrl+Return to confirm.
or press
Logout from the terminal command line:
From the Front Panel's default fourth button click the icon of the terminal, or from Workspace Menu choose
to open default terminal emulator.Terminal window appears. Type nscde_fvwmclnt Quit and press return. Note that this option will not perform any housekeeping.
Click on the Menu+Menu, that is, Menu key twice. Item can be choosen with the "s" mnemonic, or clicked with the mouse button 1.
icon right bottom of the Workspace Manager, then choose with mouse or Arrow Up/Arrow Down keys, or choose from the bottom of the Workspace Menu. Workspace Menu can be invoked with mouse button 1, or by opening menu by pressingIn the later case, System Action dialog appears. With
menu item already selected. In the former case, it must be selected with keyboard or mouse as described above.Click Ctrl+Return to confirm.
or press
Suspend from the terminal command line can vary across different flavors of Unix and even Linux. NsCDE implements wrapper $NSCDE_LIBDIR/acpimgr for portable way to do system suspend, hiberbate, hybrid suspend, poweroff/shutdown and reboot. Notice however that this wrapper must be called with sudo(8) or pfexec(1) on systems which are not detecting and implementing local user recognition policy like Linux systems with systemd(1).
Generally, one of this should work:
$NSCDE_LIBDIR/acpimgr suspend
or
sudo $NSCDE_LIBDIR/acpimgr suspend
For the second example to work, a proper sudo(1) authorizations for the user or group must be
implemented on the system. For such example, see
$NSCDE_ROOT/share/doc/nscde/examples/sudo/006_PowerManager
.
Click on the Menu+Menu, that is, Menu key twice. Item can be choosen with the "g" mnemonic, or clicked with the mouse button 1.
icon right bottom of the Workspace Manager, or choose from the bottom of the Workspace Menu. Workspace Menu can be invoked with mouse button 1, or by opening menu by pressingSystem Action dialog appears. From the popup select
with mouse button 1, or Arrow Up and Arrow Down keys.Click Ctrl+Return to confirm.
or press
Reboot from the terminal command line can vary across different flavors of Unix and even Linux. NsCDE implements wrapper $NSCDE_LIBDIR/acpimgr for portable way to do system suspend, hiberbate, hybrid suspend, poweroff/shutdown and reboot. Notice however that this wrapper must be called with sudo(8) or pfexec(1) on systems which are not detecting and implementing local user recognition policy like Linux systems with systemd(1).
Calling NsCDE acpimgr directly should work in one or more of this ways:
$NSCDE_LIBDIR/acpimgr reboot
or
sudo $NSCDE_LIBDIR/acpimgr reboot
For the second example to work, a proper sudo(1) authorizations for the user or group must be
implemented on the system. For such example, see
$NSCDE_ROOT/share/doc/nscde/examples/sudo/006_PowerManager
.
Click on the Menu+Menu, that is, Menu key twice. Item can be choosen with the "g" mnemonic, or clicked with the mouse button 1.
icon right bottom of the Workspace Manager, or choose from the bottom of the Workspace Menu. Workspace Menu can be invoked with mouse button 1, or by opening menu by pressingSystem Action dialog appears. From the popup select
with mouse button 1, or Arrow Up and Arrow Down keys.Click Ctrl+Return to confirm.
or press
Shutdown from the terminal command line can vary across different flavors of Unix and even Linux. NsCDE implements wrapper $NSCDE_LIBDIR/acpimgr for portable way to do system suspend, hiberbate, hybrid suspend, poweroff/shutdown and reboot. Notice however that this wrapper must be called with sudo(8) or pfexec(1) on systems which are not detecting and implementing local user recognition policy like Linux systems with systemd(1).
Calling NsCDE acpimgr directly should work in one or more of this ways:
$NSCDE_LIBDIR/acpimgr poweroff
or
sudo $NSCDE_LIBDIR/acpimgr poweroff
For the second example to work, a proper sudo(1) authorizations for the user or group must be
implemented on the system. For such example, see
$NSCDE_ROOT/share/doc/nscde/examples/sudo/006_PowerManager
.