Bug 222844

Summary: Update Xfce section in Desktop Environment
Product: Documentation Reporter: Olivier Duchateau <duchateau.olivier>
Component: Books & ArticlesAssignee: Sevan Janiyan <sevan>
Status: Closed FIXED    
Severity: Affects Only Me CC: sevan
Priority: --- Keywords: patch
Version: Latest   
Hardware: Any   
OS: Any   
URL: https://reviews.freebsd.org/D16687
Attachments:
Description Flags
Update Xfce section none

Description Olivier Duchateau 2017-10-07 11:31:13 UTC
Created attachment 186974 [details]
Update Xfce section

This patch updates Xfce section, because this part is outdated. x11-wm/xfce4-session already provides xinitrc and it also adds some variables environment (mainly uses by Xfdesktop).

By default .xinitrc file is able to know if consolekit is used or not, if dbus daemon is running etc. So we must suggest users to use this file. Xfce desktop does not need HAL, but it can be present on system (so it can be omitted in /etc/rc.conf).
Comment 1 commit-hook freebsd_committer freebsd_triage 2018-08-12 08:39:27 UTC
A commit references this bug:

Author: sevan
Date: Sun Aug 12 08:39:17 UTC 2018
New revision: 52111
URL: https://svnweb.freebsd.org/changeset/doc/52111

Log:
  XFCE comes supplied with an xinitrc script, use that instead.
  It turns out that making ~/.xinitrc & ~/.xsession a shell script with a bang
  path & marked executable is a relic of the past. These files are execed by
  the scripts which call them.

  Tested on FreeBSD-CURRENT with rene@
  PR:		222844
  Submitted by:	Olivier Duchateau <duchateau.olivier at gmail>
  Approved by:	bcr (mentor) rene
  Differential Revision:	https://reviews.freebsd.org/D16687

Changes:
  head/en_US.ISO8859-1/books/handbook/x11/chapter.xml
Comment 2 Sevan Janiyan freebsd_committer freebsd_triage 2018-08-12 09:01:40 UTC
Greeting from the Essen Hackathon.
Thank you for the patch, committed with a minor change.