Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 06 May 2022 22:47:01 +0000
From:      bugzilla-noreply@freebsd.org
To:        doc@FreeBSD.org
Subject:   [Bug 263782] Use sysrc instead of manually editing rc.conf throughout the FreeBSD Handbook for simplicity and consistency
Message-ID:  <bug-263782-9-42UGvoEA2m@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-263782-9@https.bugs.freebsd.org/bugzilla/>
References:  <bug-263782-9@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D263782

--- Comment #2 from PauAmma <pauamma@gundo.com> ---
Comment on attachment 233758
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D233758
X11 section - rc.conf replacement(s)

>diff --git a/documentation/content/en/books/handbook/x11/_index.adoc b/doc=
umentation/content/en/books/handbook/x11/_index.adoc
>index 8a9269cdcf..9aa05ef7a9 100644
>--- a/documentation/content/en/books/handbook/x11/_index.adoc
>+++ b/documentation/content/en/books/handbook/x11/_index.adoc
>@@ -942,11 +942,11 @@ Refer to <<x11-wm-gnome>> for instructions on how to=
 configure the GNOME Display
> =3D=3D=3D Configuring XDM
>=20
> To install XDM, use the package:x11/xdm[] package or port.
>-Once installed, XDM can be configured to run when the machine boots up by=
 adding the following line to [.filename]#/etc/rc.conf#:
>+Once installed, XDM can be configured to run when the machine boots up by=
 using sysrc:

man:sysrc[8] to make it a link to the web-based manual page.

>@@ -1046,28 +1046,28 @@ proc           /proc       procfs  rw  0   0
>=20
> GNOME uses D-Bus for a message bus and hardware abstraction.
> These applications are automatically installed as dependencies of GNOME.
>-Enable them in [.filename]#/etc/rc.conf# so they will be started when the=
 system boots:
>+Enable them with sysrc so they will be started when the system boots:
>=20
> [.programlisting]
> ....
>-dbus_enable=3D"YES"
>+sysrc dbus_enable=3D"YES"

Same.
>=20
> After installation, configure Xorg to start GNOME.
> The easiest way to do this is to enable the GNOME Display Manager, GDM, w=
hich is installed as part of the GNOME package or port.
>-It can be enabled by adding this line to [.filename]#/etc/rc.conf#:
>+It can be enabled by using sysrc:

And again.
>=20
> [.programlisting]
> ....
>-gdm_enable=3D"YES"
>+sysrc gdm_enable=3D"YES"
> ....
>=20
> It is often desirable to also start all GNOME services.
>-To achieve this, add a second line to [.filename]#/etc/rc.conf#:
>+To achieve this, use sysrc:

etc. (You get the idea.)
>=20
> [.programlisting]
> ....
>-gnome_enable=3D"YES"
>+sysrc gnome_enable=3D"YES"
> ....
>=20
> GDM will start automatically when the system boots.
>@@ -1124,11 +1124,11 @@ proc           /proc       procfs  rw  0   0
>=20
> KDE uses D-Bus for a message bus and hardware abstraction.
> These applications are automatically installed as dependencies of KDE.
>-Enable them in [.filename]#/etc/rc.conf# so they will be started when the=
 system boots:
>+Enable them with sysrc so they will be started when the system boots:
>=20
> [.programlisting]
> ....
>-dbus_enable=3D"YES"
>+sysrc dbus_enable=3D"YES"
> ....
>=20
> Since KDE Plasma 5, the KDE Display Manager, KDM is no longer developed.
>@@ -1140,11 +1140,11 @@ To install it, type:
> # pkg install x11/sddm
> ....
>=20
>-Add this line to [.filename]#/etc/rc.conf#:
>+Use sysrc to enable:
>=20
> [.programlisting]
> ....
>-sddm_enable=3D"YES"
>+sysrc sddm_enable=3D"YES"
> ....
>=20
> A second method for launching KDE Plasma is to type `startx` from the com=
mand line.
>@@ -1191,11 +1191,11 @@ Alternatively, to build the port:
>=20
> Xfce uses D-Bus for a message bus.
> This application is automatically installed as dependency of Xfce.
>-Enable it in [.filename]#/etc/rc.conf# so it will be started when the sys=
tem boots:
>+Enable it with sysrc so it will be started when the system boots:
>=20
> [.programlisting]
> ....
>-dbus_enable=3D"YES"
>+sysrc dbus_enable=3D"YES"
> ....
>=20
> Unlike GNOME or KDE, Xfce does not provide its own login manager.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-263782-9-42UGvoEA2m>