From owner-svn-doc-all@freebsd.org Sun Aug 12 08:39:18 2018 Return-Path: Delivered-To: svn-doc-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id DD2611068FA8; Sun, 12 Aug 2018 08:39:17 +0000 (UTC) (envelope-from sevan@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 865A17E883; Sun, 12 Aug 2018 08:39:17 +0000 (UTC) (envelope-from sevan@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 6425E23A9E; Sun, 12 Aug 2018 08:39:17 +0000 (UTC) (envelope-from sevan@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w7C8dHRZ022545; Sun, 12 Aug 2018 08:39:17 GMT (envelope-from sevan@FreeBSD.org) Received: (from sevan@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w7C8dHwm022544; Sun, 12 Aug 2018 08:39:17 GMT (envelope-from sevan@FreeBSD.org) Message-Id: <201808120839.w7C8dHwm022544@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: sevan set sender to sevan@FreeBSD.org using -f From: Sevan Janiyan Date: Sun, 12 Aug 2018 08:39:17 +0000 (UTC) To: doc-committers@freebsd.org, svn-doc-all@freebsd.org, svn-doc-head@freebsd.org Subject: svn commit: r52111 - head/en_US.ISO8859-1/books/handbook/x11 X-SVN-Group: doc-head X-SVN-Commit-Author: sevan X-SVN-Commit-Paths: head/en_US.ISO8859-1/books/handbook/x11 X-SVN-Commit-Revision: 52111 X-SVN-Commit-Repository: doc MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-doc-all@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: "SVN commit messages for the entire doc trees \(except for " user" , " projects" , and " translations" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 12 Aug 2018 08:39:18 -0000 Author: sevan Date: Sun Aug 12 08:39:16 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 Approved by: bcr (mentor) rene Differential Revision: https://reviews.freebsd.org/D16687 Modified: head/en_US.ISO8859-1/books/handbook/x11/chapter.xml Modified: head/en_US.ISO8859-1/books/handbook/x11/chapter.xml ============================================================================== --- head/en_US.ISO8859-1/books/handbook/x11/chapter.xml Sun Aug 12 03:20:10 2018 (r52110) +++ head/en_US.ISO8859-1/books/handbook/x11/chapter.xml Sun Aug 12 08:39:16 2018 (r52111) @@ -1507,9 +1507,7 @@ hald_enable="YES" the display manager. In this case, create an executable ~/.xsession: - &prompt.user; echo "#!/bin/sh" > ~/.xsession -&prompt.user; echo "exec /usr/local/bin/gnome-session" >> ~/.xsession -&prompt.user; chmod +x ~/.xsession + &prompt.user; echo "exec /usr/local/bin/gnome-session" > ~/.xsession @@ -1586,9 +1584,7 @@ hald_enable="YES" an executable ~/.xsession as follows: - &prompt.user; echo "#!/bin/sh" > ~/.xsession -&prompt.user; echo "exec /usr/local/bin/startkde" >> ~/.xsession -&prompt.user; chmod +x ~/.xsession + &prompt.user; echo "exec /usr/local/bin/startkde" > ~/.xsession Once KDE is started, refer to its built-in help system for more information on how to use @@ -1620,22 +1616,30 @@ hald_enable="YES" &prompt.root; cd /usr/ports/x11-wm/xfce4 &prompt.root; make install clean + Xfce uses + D-Bus for a message bus. This + application is automatically installed as dependency of + Xfce. Enable it in + /etc/rc.conf so it will be started when + the system boots: + + dbus_enable="YES" + Unlike GNOME or KDE, Xfce does not provide its own login manager. In order to start Xfce from the command line by typing startx, - first add its entry to ~/.xinitrc: + first create ~/.xinitrc with this + command: - &prompt.user; echo "exec /usr/local/bin/startxfce4 --with-ck-launch" > ~/.xinitrc + &prompt.user; echo ". /usr/local/etc/xdg/xfce4/xinitrc" > ~/.xinitrc An alternate method is to use XDM. To configure this method, create an executable ~/.xsession: - &prompt.user; echo "#!/bin/sh" > ~/.xsession -&prompt.user; echo "exec /usr/local/bin/startxfce4 --with-ck-launch" >> ~/.xsession -&prompt.user; chmod +x ~/.xsession + &prompt.user; echo ". /usr/local/etc/xdg/xfce4/xinitrc" > ~/.xsession