What is xfce session




















Your display manager should allow you to select the appropriate desktop before logging in. To install the full Xfce desktop environment and utilities, install the xfce4 package. It's a suggested package for standard users that want a complete Xfce desktop experience, however you may have a more "minimal" installation by only installing the specific packages that you want from the list below. You can search for packages using the xfce4 search term.

Most display managers will detect Xfce automatically. To provide a complete user experience, it includes a window manager, a file manager, desktop and panel. Install the xfce4 group. You may also wish to install the xfce4-goodies group which includes extra plugins and a number of useful utilities such as the mousepad editor. Xfce uses the Xfwm window manager by default.

Choose Xfce Session from the menu in a display manager of choice, or add exec startxfce4 to Xinitrc. Xfce stores configuration options in Xfconf. There are several ways to modify these options:.

See Xdg-menu for more info on using the Free Desktop menu system. It shows a list of favorites, browses through all installed applications through category buttons, and supports fuzzy searching. See the example configuration below:. Here we excluded some Xfce default shortcuts, but you can exclude firefox.

The applications can be organized in folders or however we wish. For more details see the Xfce wiki. You can also make changes to the Xfce menu by editing the. To hide entries, see Desktop entries Hide desktop entries. With xorg-xkill , use xkill to interactively kill a window. For the currently active window, use xdotool :. You will see a list of programs that get launched on startup. To add an entry, click the Add button and fill out the form, specifying the path to an executable you want to run.

Autostart applications are stored as name. Alternatively, add the commands you wish to run including setting environment variables to xinitrc or xprofile when a display manager is being used. It tries to lock the screen with either xfce4-screensaver also part of xfce4-goodies , xscreensaver , gnome-screensaver AUR , slock or xlockmore.

It consecutively looks for the corresponding binary or exits with return code 1 if it fails to find any of these. There is in this list an alternative locker, light-locker , which integrates particularly well with xfce4-power-manager.

Once it is installed, Xfce Power Manager's setting gains an additional Security tab to configure light-locker and the existing Lock screen when system is going for sleep setting is relocated under this tab. In this new GUI it is possible to set whether the session should be locked upon screensaver activity or whenever the system goes to sleep. To have xflock4 run light-locker or any custom session locker, not among the five cited above, one must set LockCommand in the session's xfconf channel to the command line to be used the command inside the quotes in the following example can be adapted accordingly for other screen lockers :.

It should work as expected as long as xflock4 is functioning i. Whenever asked to suspend, Xfce executes the xfce4-session-logout 1 command with the suspend option:. Whether or not the session is systematically locked on suspend can be configured through the xfconf properties or from the GUI.

To control this state using the CLI: there are two settings that are used, LockScreen and lock-screen-suspend-hibernate , in respectively the session and the power manager xfconf channels. To prevent locking on suspend, turn them to false :.

Whenever the suspend keyboard button is pressed, it can be handled by either Xfce's power manager or by systemd-logind. To give precedence to logind, the following xfconf setting must be set to true :. Alternatively, Xfce kiosk mode can be used to disable the saving of sessions systemwide.

This will prevent Xfce from saving any sessions despite any configuration that specifies otherwise. If you need more command line options, simply add more -t string and -s --wm-option arguments to the command.

Be aware though that this method does not truly change the default manager, it merely replaces it at login. Note that if you are using the autostart facility, you should disable saved sessions as this could lead to the new window manager being started twice after the default window manager. XFCE themes are available at xfce-look.

There are no major "apparent" differences aside from branding options. However using Xubuntu implies the ubuntu core files and packages are standard. You could run Xubuntu with different file managers etc but essentially then you are really just modifying XFCE.

Ubuntu Community Ask! Sign up to join this community. The best answers are voted up and rise to the top. Stack Overflow for Teams — Collaborate and share knowledge with a private group. Create a free Team What is Teams? Learn more. Ask Question. Asked 8 years, 6 months ago.

Active 8 years ago. The vt where the command startx was executed will display many messages, including X starting messages, applications automatically started with the session, and eventually, some warning and error messages.

You may prefer to redirect those messages to a log file, which not only will keep the initial vt uncluttered, but can also be used for debugging purposes.

This can be done starting X with:. You may wish to drop dbus-launch, e. However some capabilities such as mounting or umounting file systems from a file manager will not be possible, or the reboot option will be absent or inoperative, among other problems. When shutting down or rebooting, the shutdown messages appear on the vt where X was running.



0コメント

  • 1000 / 1000