/[gentoo]/xml/htdocs/doc/en/openrc-migration.xml
Gentoo

Diff of /xml/htdocs/doc/en/openrc-migration.xml

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.14 Revision 1.15
1<?xml version='1.0' encoding='UTF-8'?> 1<?xml version='1.0' encoding='UTF-8'?>
2<!DOCTYPE guide SYSTEM "/dtd/guide.dtd"> 2<!DOCTYPE guide SYSTEM "/dtd/guide.dtd">
3<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/openrc-migration.xml,v 1.14 2009/02/12 00:59:32 nightmorph Exp $ --> 3<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/openrc-migration.xml,v 1.15 2009/02/17 07:19:23 nightmorph Exp $ -->
4 4
5<guide link="/doc/en/openrc-migration.xml"> 5<guide link="/doc/en/openrc-migration.xml">
6<title>Baselayout and OpenRC Migration Guide</title> 6<title>Baselayout and OpenRC Migration Guide</title>
7 7
8<author title="Author"> 8<author title="Author">
22 22
23<!-- The content of this document is licensed under the CC-BY-SA license --> 23<!-- The content of this document is licensed under the CC-BY-SA license -->
24<!-- See http://creativecommons.org/licenses/by-sa/2.5 --> 24<!-- See http://creativecommons.org/licenses/by-sa/2.5 -->
25<license/> 25<license/>
26 26
27<version>1.8</version> 27<version>1.9</version>
28<date>2009-02-11</date> 28<date>2009-02-16</date>
29 29
30<chapter> 30<chapter>
31<title>Background</title> 31<title>Background</title>
32<section> 32<section>
33<title>What's baselayout?</title> 33<title>What's baselayout?</title>
346<section> 346<section>
347<title>XSESSION</title> 347<title>XSESSION</title>
348<body> 348<body>
349 349
350<p> 350<p>
351The XSESSION variable is no longer found in <path>/etc/rc.conf</path>. The 351The XSESSION variable is no longer found in <path>/etc/rc.conf</path>. Instead,
352<c>x11-apps/xinit</c> package now provides <path>/etc/env.d/90xsession</path>, 352you can set the XSESSION variable per-user in <path>~/.bashrc</path> (or
353which can be used to set the XSESSION variable. 353equivalent), or system-wide in <path>/etc/env.d/</path>.
354</p>
355
356<p> 354</p>
357This variable will <b>NOT</b> be migrated for you by default, so you will need 355
358to edit <path>/etc/env.d/90xsession</path>.
359</p> 356<p>
360 357Here's an example of setting XSESSION for the whole system:
361<impo>
362You must run <c>env-update</c> after creating a file in <path>/etc/env.d</path>,
363and then logout and login for it to take effect.
364</impo>
365
366</body>
367</section>
368<section>
369<title>EDITOR / PAGER</title>
370<body>
371
372<p> 358</p>
373The EDITOR variable is no longer found in <path>/etc/rc.conf</path>. Both 359
374EDITOR and PAGER are set by default in <path>/etc/profile</path>. You should 360<pre caption="Setting XSESSION system-wide">
375change this as needed in your <path>~/.bashrc</path> (or equivalent) file or 361# <i>echo 'XSESSION="Xfce4"' > /etc/env.d/90xsession</i>
376create <path>/etc/env.d/99editor</path> and set the system default there.
377</p> 362</pre>
378 363
379<impo> 364<impo>
380You must run <c>env-update</c> after creating a file in <path>/etc/env.d</path>, 365You must run <c>env-update</c> after creating a file in <path>/etc/env.d</path>,
381and then logout and login for it to take effect. If you set the variable in 366and then logout and login for it to take effect. If you set the variable in
382<path>~/.bashrc</path>, you can re-source the file with <c>source 367<path>~/.bashrc</path>, you can re-source the file with <c>source
384</impo> 369</impo>
385 370
386</body> 371</body>
387</section> 372</section>
388<section> 373<section>
374<title>EDITOR and PAGER</title>
375<body>
376
377<p>
378The EDITOR variable is no longer found in <path>/etc/rc.conf</path>. Both
379EDITOR and PAGER are set by default in <path>/etc/profile</path>. You should
380change this as needed in your <path>~/.bashrc</path> (or equivalent) file or
381create <path>/etc/env.d/99editor</path> and set the system default there.
382</p>
383
384<impo>
385You must run <c>env-update</c> after creating a file in <path>/etc/env.d</path>,
386and then logout and login for it to take effect. If you set the variable in
387<path>~/.bashrc</path>, you can re-source the file with <c>source
388~/.bashrc</c>.
389</impo>
390
391</body>
392</section>
393<section>
389<title>Boot log</title> 394<title>Boot log</title>
390<body> 395<body>
391 396
392<p> 397<p>
393Previously, you could log the boot process by using 398Previously, you could log the boot process by using

Legend:
Removed from v.1.14  
changed lines
  Added in v.1.15

  ViewVC Help
Powered by ViewVC 1.1.20