nightmorph 09/02/17 07:19:23 Modified: openrc-migration.xml Log: ~arch xinit no longer provides /etc/env.d/90xsession. users have to create the env file manually. updated openrc guide, bug 229769.
Revision Changes Path 1.15 xml/htdocs/doc/en/openrc-migration.xml file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/openrc-migration.xml?rev=1.15&view=markup plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/openrc-migration.xml?rev=1.15&content-type=text/plain diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/openrc-migration.xml?r1=1.14&r2=1.15 Index: openrc-migration.xml =================================================================== RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/openrc-migration.xml,v retrieving revision 1.14 retrieving revision 1.15 diff -u -r1.14 -r1.15 --- openrc-migration.xml 12 Feb 2009 00:59:32 -0000 1.14 +++ openrc-migration.xml 17 Feb 2009 07:19:23 -0000 1.15 @@ -1,6 +1,6 @@ <?xml version='1.0' encoding='UTF-8'?> <!DOCTYPE guide SYSTEM "/dtd/guide.dtd"> -<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/openrc-migration.xml,v 1.14 2009/02/12 00:59:32 nightmorph Exp $ --> +<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/openrc-migration.xml,v 1.15 2009/02/17 07:19:23 nightmorph Exp $ --> <guide link="/doc/en/openrc-migration.xml"> <title>Baselayout and OpenRC Migration Guide</title> @@ -24,8 +24,8 @@ <!-- See http://creativecommons.org/licenses/by-sa/2.5 --> <license/> -<version>1.8</version> -<date>2009-02-11</date> +<version>1.9</version> +<date>2009-02-16</date> <chapter> <title>Background</title> @@ -348,25 +348,30 @@ <body> <p> -The XSESSION variable is no longer found in <path>/etc/rc.conf</path>. The -<c>x11-apps/xinit</c> package now provides <path>/etc/env.d/90xsession</path>, -which can be used to set the XSESSION variable. +The XSESSION variable is no longer found in <path>/etc/rc.conf</path>. Instead, +you can set the XSESSION variable per-user in <path>~/.bashrc</path> (or +equivalent), or system-wide in <path>/etc/env.d/</path>. </p> <p> -This variable will <b>NOT</b> be migrated for you by default, so you will need -to edit <path>/etc/env.d/90xsession</path>. +Here's an example of setting XSESSION for the whole system: </p> +<pre caption="Setting XSESSION system-wide"> +# <i>echo 'XSESSION="Xfce4"' > /etc/env.d/90xsession</i> +</pre> + <impo> You must run <c>env-update</c> after creating a file in <path>/etc/env.d</path>, -and then logout and login for it to take effect. +and then logout and login for it to take effect. If you set the variable in +<path>~/.bashrc</path>, you can re-source the file with <c>source +~/.bashrc</c>. </impo> </body> </section> <section> -<title>EDITOR / PAGER</title> +<title>EDITOR and PAGER</title> <body> <p>
