Difference between revisions of "Package:Xfce4-meta"

From Funtoo
Jump to navigation Jump to search
(More formatting and wording changes. Began adding a section called "XFCE configuration and XFCE applications" that will link to other pages related to XFCE.)
m (Made commands more readable)
 
(14 intermediate revisions by 5 users not shown)
Line 2: Line 2:
|Summary=Meta package for XFCE desktop
|Summary=Meta package for XFCE desktop
|CatPkg=xfce-base/xfce4-meta
|CatPkg=xfce-base/xfce4-meta
|Maintainer=Oleg
}}
}}
== About Xfce ==
<languages/>
<translate>
== About Xfce == <!--T:1-->
<blockquote>
<blockquote>
Xfce is a lightweight desktop environment for UNIX-like operating systems. It aims to be fast and low on system resources, while still being visually appealing and user friendly.
Xfce is a lightweight desktop environment for UNIX-like operating systems. It aims to be fast and low on system resources, while still being visually appealing and user friendly.


<!--T:2-->
Xfce embodies the traditional UNIX philosophy of modularity and re-usability. It consists of a number of components that provide the full functionality one can expect of a modern desktop environment. They are packaged separately and you can pick among the available packages to create the optimal personal working environment.
Xfce embodies the traditional UNIX philosophy of modularity and re-usability. It consists of a number of components that provide the full functionality one can expect of a modern desktop environment. They are packaged separately and you can pick among the available packages to create the optimal personal working environment.


Another priority of Xfce is adhereance to standards, specifically those defined at [http://freedesktop.org/ freedesktop.org]. [[http://www.xfce.org/about/ About XFCE]]
Another priority of Xfce is adherence to standards, specifically those defined at [http://freedesktop.org/ freedesktop.org]. [[http://www.xfce.org/about/ About XFCE]]
</blockquote>
</blockquote>
== Installation ==
== Installation == <!--T:3-->


<!--T:4-->
Before emerging Xfce you need to:
Before emerging Xfce you need to:


<!--T:5-->
Check that you have enabled the USE flags necessary for a XFCE desktop environment. Set your profile to "xfce" via [[Funtoo_Linux_First_Steps#Changing_profile|mix-ins]], as follows:
Check that you have enabled the USE flags necessary for a XFCE desktop environment. Set your profile to "xfce" via [[Funtoo_Linux_First_Steps#Changing_profile|mix-ins]], as follows:
{{console|body=
{{console|body=
###i## epro mix-ins +xfce
###i## epro mix-ins +xfce
}}
}}
Then, verify that you have the [[Funtoo_Linux_First_Steps#X.Org|X.Org Server]] configured properly. If X.Org is installed on your system, you are now ready to install Xfce. Install the meta-package, which pulls in all of the components you need for a minimal Xfce installation:
Then, verify that you have the [[X_Window_System]] configured properly. If X.Org is installed on your system, you are now ready to install Xfce. Install the meta-package, which pulls in all of the components you need for a minimal Xfce installation:


{{console|body=
{{console|body=
###i## emerge -auDN @world
###i## emerge xfce4-meta
###i## emerge xfce4-meta
}}
}}
== Running Xfce ==


You can also enable elogind - a daemon that manages user logins and seats in various ways, offers multiseat improvements and replaces ConsoleKit, which is no longer maintained - by executing the following command as root:
<!--T:6-->
{{console|body=
###i## rc-update add elogind
###i## rc
}}
== Running Xfce == <!--T:7-->
<!--T:8-->
There are several different ways to start Xfce:
There are several different ways to start Xfce:


Line 32: Line 46:
* Using a display manager (e.g. SLiM, GDM, and KDM).
* Using a display manager (e.g. SLiM, GDM, and KDM).
* Configuring your shell profile to automatically start Xfce upon a successful login.
* Configuring your shell profile to automatically start Xfce upon a successful login.
=== .xinitrc ===
=== .xinitrc === <!--T:8-->


The most common way to start the environment is to configure {{c|~/.xinitrc}} to launch an Xfce session. The proper way to launch Xfce from the terminal is by using {{c|startxfce4}} combined with {{c|ck-launch-session}}.
<!--T:9-->
The most common way to start the environment is to configure {{c|~/.xinitrc}} to launch an Xfce session. The proper way to launch Xfce from the terminal is by using {{c|startxfce4}}.


<!--T:10-->
{{console|body=
{{console|body=
$##i## echo "exec startxfce4 --with-ck-launch" > ~/.xinitrc
$##i## echo "exec startxfce4" > ~/.xinitrc
}}
}}
Note that {{c|--with-ck-launch}} (from ConsoleKit) is required by Xfce for important tasks such as shutting down, suspending, and automatically mounting removable storage media. Some applications will not work properly without it. Also, configuring the GTK+ theme and other forms of theming through {{Package|Xfce4-settings}} do not often work without the {{c|--with-ck-launch}} command line option. Because we are launching XFCE with a consolekit command line option, we need to add ConsoleKit to the {{c|default}} runlevel, executing the following command as root:


{{console|body=
###i## rc-update add consolekit default
###i## rc
}}
Finally, to start the graphical environment, run {{c|startx}} from a login shell:
Finally, to start the graphical environment, run {{c|startx}} from a login shell:


Line 51: Line 62:
}}
}}
After running this command, you should be greeted by your shiny new XFCE desktop. For more information about configuring XFCE and some of the default applications that come with it, consider looking at [[Package:xfce4-meta#XFCE configuration and XFCE applications|XFCE configuration and XFCE applications]].
After running this command, you should be greeted by your shiny new XFCE desktop. For more information about configuring XFCE and some of the default applications that come with it, consider looking at [[Package:xfce4-meta#XFCE configuration and XFCE applications|XFCE configuration and XFCE applications]].
== Display Manager ==
== Display Manager == <!--T:11-->


<!--T:12-->
A display manager is a program that manages sessions and acts as a login screen. Here's a short list of a few of the display managers available from the Funtoo repositories:
A display manager is a program that manages sessions and acts as a login screen. Here's a short list of a few of the display managers available from the Funtoo repositories:
* XDM ({{c|x11-apps/xdm}}): X.Org's standard display manager.
* XDM ({{c|x11-apps/xdm}}): X.Org's standard display manager.
Line 59: Line 71:




<!--T:13-->
Any of these would make a fine choice. After you've chosen which display manager to use, install it:
Any of these would make a fine choice. After you've chosen which display manager to use, install it:


<!--T:14-->
{{console|body=###i## emerge <display manager of choice>}}
{{console|body=###i## emerge <display manager of choice>}}
All that's left to do now is to add the name of the display manager to {{c|/etc/conf.d/xdm}}, add the {{c|xdm}} service and the {{c|dbus}} service to the {{c|default}} runlevel, and start the services:
All that's left to do now is to add the name of the display manager to {{c|/etc/conf.d/xdm}}, add the {{c|xdm}} service and the {{c|dbus}} service to the {{c|default}} runlevel, and start the services:


<!--T:15-->
{{file|name=/etc/conf.d/xdm|desc=|body=
{{file|name=/etc/conf.d/xdm|desc=|body=
DISPLAYMANAGER="<display manager name>"
DISPLAYMANAGER="<display manager name>"
Line 70: Line 85:
{{console|body=
{{console|body=
###i## rc-update add xdm default
###i## rc-update add xdm default
###i## /etc/init.d/xdm start
###i## rc-update add dbus default
###i## rc-update add dbus default
###i## /etc/init.d/dbus start}}
###i## rc
==Power Group==
}}
==Power Group== <!--T:16-->
If you wish to be able to shutdown/reboot/suspend/hibernate using xfce4-logout-session then you will need to add yourself or the user to the power group by:
If you wish to be able to shutdown/reboot/suspend/hibernate using xfce4-logout-session then you will need to add yourself or the user to the power group by:


<!--T:17-->
{{console|body=
{{console|body=
###i## gpasswd -a <username> power
###i## gpasswd -a <username> power
Line 83: Line 99:
{{console|body=
{{console|body=
###i## groupadd power}}
###i## groupadd power}}
== XFCE configuration and XFCE applications ==
== XFCE configuration and XFCE applications == <!--T:18-->
For more information on configuring XFCE and the default applications provided by XFCE, such as {{c|xfce4-terminal}}, consider following some of the below listed links:
For more information on configuring XFCE and the default applications provided by XFCE, such as {{c|xfce4-terminal}}, consider following some of the below listed links:
* [[Package:Xfce4-settings|GUI settings configuration for XFCE]]
* [[Package:Xfce4-settings|GUI settings configuration for XFCE ({{c|xfce4-settings}})]]
* [[Package:Xfce4-terminal|The default terminal emulator for XFCE]]
* [[Package:Xfce4-terminal|The default terminal emulator for XFCE ({{c|xfce4-terminal}})]]
 
* [[XFCE Panel Plugins|A list of the various plugins available for {{c|xfce4-panel}}]]
== Plugins for Thunar and XFCE ==
* [[Thunar Plugins|A list of the plugins available for the Thunar file manager ]]
There are a lot of plugins available for Thunar and XFCE. Here is a table that contains the name of the plugin and a description of what it does. To install one of the plugins, run
</translate>
{{console|body=###i## emerge [name of plugin]}}
 
{{TableStart}}
<tr class="info"><th>Name</th><th>Description</th></tr>
<tr><td>xfce-extra/tumbler</td><td>A thumbnail service for the filemanager of Xfce desktop environment. Installed by default in Funtoo</td></tr>
<tr><td>xfce-extra/thunar-volman</td><td>Daemon that enforces volume-related policies. Installed by default Funtoo</td></tr>
<tr><td>xfce-extra/thunar-vcs-plugin </td><td>Adds Subversion and GIT actions to the context menu of thunar </td></tr>
<tr><td>xfce-extra/thunar-shares-plugin</td><td>Thunar plugin to share files using Samba </td></tr>
<tr><td>xfce-extra/thunar-archive-plugin</td><td>Archive plug-in for the Thunar filemanager</td></tr>
<tr><td>xfce-extra/xfce4-volumed</td><td>Daemon to control volume up/down and mute keys</td></tr>
<tr><td>xfce-extra/xfce4-volumed-pulse</td><td>Daemon to control volume keys for pulseaudio</td></tr>
<tr><td>xfce-extra/xfce4-screenshooter</td><td>Xfce4 screenshooter application and panel plugin</td></tr>
<tr><td>xfce-extra/xfce4-notifyd</td><td>Notification daemon for the Xfce desktop environment</td></tr>
<tr><td>xfce-extra/xfce4-mixer</td><td>A volume control application (and panel plug-in) for the Xfce desktop environment. Installed by default in Funtoo</td></tr>
<tr><td>xfce-extra/xfce4-mount-plugin</td><td>A mount plug-in for the Xfce panel</td></tr>
<tr><td>xfce-extra/xfce4-clipman-plugin</td><td>A clipboard manager plug-in for the Xfce panel</td></tr>
<tr><td>xfce-extra/xfce4-battery-plugin</td><td>A battery monitor panel plugin for the Xfce desktop environment</td></tr>
<tr><td>media-gfx/ristretto</td><td>A image viewer by Xfce project. Installed by default in Funtoo</td></tr>
{{TableEnd}}
 
[[Category:Desktop]]
[[Category:Desktop]]
[[Category:First Steps]]
[[Category:First Steps]]
[[Category:Official Documentation]]
[[Category:Official Documentation]]
{{EbuildFooter}}
{{EbuildFooter}}

Latest revision as of 14:55, December 14, 2020

Xfce4-meta

   Tip

We welcome improvements to this page. To edit this page, Create a Funtoo account. Then log in and then click here to edit this page. See our editing guidelines to becoming a wiki-editing pro.

Other languages:
English • ‎español • ‎português do Brasil

About Xfce

Xfce is a lightweight desktop environment for UNIX-like operating systems. It aims to be fast and low on system resources, while still being visually appealing and user friendly.

Xfce embodies the traditional UNIX philosophy of modularity and re-usability. It consists of a number of components that provide the full functionality one can expect of a modern desktop environment. They are packaged separately and you can pick among the available packages to create the optimal personal working environment.

Another priority of Xfce is adherence to standards, specifically those defined at freedesktop.org. [About XFCE]

Installation

Before emerging Xfce you need to:

Check that you have enabled the USE flags necessary for a XFCE desktop environment. Set your profile to "xfce" via mix-ins, as follows:

root # epro mix-ins +xfce

Then, verify that you have the X_Window_System configured properly. If X.Org is installed on your system, you are now ready to install Xfce. Install the meta-package, which pulls in all of the components you need for a minimal Xfce installation:

root # emerge -auDN @world
root # emerge xfce4-meta

You can also enable elogind - a daemon that manages user logins and seats in various ways, offers multiseat improvements and replaces ConsoleKit, which is no longer maintained - by executing the following command as root:

root # rc-update add elogind
root # rc

Running Xfce

There are several different ways to start Xfce:

  • Editing the .xinitrc file in your user's home directory and using startx from a text console.
  • Using a display manager (e.g. SLiM, GDM, and KDM).
  • Configuring your shell profile to automatically start Xfce upon a successful login.

.xinitrc

The most common way to start the environment is to configure ~/.xinitrc to launch an Xfce session. The proper way to launch Xfce from the terminal is by using startxfce4.

user $ echo "exec startxfce4" > ~/.xinitrc

Finally, to start the graphical environment, run startx from a login shell:

user $ startx

After running this command, you should be greeted by your shiny new XFCE desktop. For more information about configuring XFCE and some of the default applications that come with it, consider looking at XFCE configuration and XFCE applications.

Display Manager

A display manager is a program that manages sessions and acts as a login screen. Here's a short list of a few of the display managers available from the Funtoo repositories:

  • XDM (x11-apps/xdm): X.Org's standard display manager.
  • LightDM (x11-misc/lightdm): A lightweight, but highly configurable display manager.
  • SLiM (x11-misc/slim): Simple Login Manager -- a lightweight display manager. Not very configurable.


Any of these would make a fine choice. After you've chosen which display manager to use, install it:

root # emerge <display manager of choice>

All that's left to do now is to add the name of the display manager to /etc/conf.d/xdm, add the xdm service and the dbus service to the default runlevel, and start the services:

   /etc/conf.d/xdm
DISPLAYMANAGER="<display manager name>"
root # rc-update add xdm default
root # rc-update add dbus default
root # rc

Power Group

If you wish to be able to shutdown/reboot/suspend/hibernate using xfce4-logout-session then you will need to add yourself or the user to the power group by:

root # gpasswd -a <username> power

If the group does not exist then execute the following and try again:

root # groupadd power

XFCE configuration and XFCE applications

For more information on configuring XFCE and the default applications provided by XFCE, such as xfce4-terminal, consider following some of the below listed links: