Changeset 75215bf


Ignore:
Timestamp:
01/15/2017 12:20:55 AM (5 years ago)
Author:
DJ Lucas <dj@…>
Branches:
10.0, 10.1, 11.0, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, ken/refactor-virt, lazarus, perl-modules, qt5new, trunk, xry111/git-date, xry111/git-date-for-trunk, xry111/git-date-test
Children:
c252262
Parents:
e0ba182
Message:

Import system environemnt (/etc/profile) in gnome-session for Wayland session.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@18185 af4574ff-66df-0310-9fd7-8a98e5e911e0

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • gnome/platform/gnome-session.xml

    re0ba182 r75215bf  
    105105  <sect2 role="installation">
    106106    <title>Installation of GNOME Session</title>
     107
     108    <para>
     109      When running Gnome under <xref linkend="wayland"/>, environment settings
     110      are not imported for the user using the system's
     111      <filename>/etc/profile</filename>. The Wayland developers are currently
     112      undecided on a standard method to provide system environment settings for
     113      user sessions. To work around this limitation, execute the following
     114      commands to import the system environment from
     115      <filename>/etc/profile</filename>:
     116    </para>
     117
     118<screen><userinput>mv gnome-session/gnome-session.{in,bak} &amp;&amp;
     119cat &gt; gnome-session/gnome-session.in &lt;&lt; "EOF" &amp;&amp;
     120<literal>#!/bin/sh
     121
     122# Source /etc/profile if running in Xwayland
     123if [ "${XDG_SESSION_TYPE}" == "wayland" ]; then
     124    . /etc/profile
     125fi</literal>
     126EOF
     127sed 's@#!/bin/sh@@' gnome-session/gnome-session.bak >> \
     128    gnome-session/gnome-session.in</userinput></screen>
    107129
    108130    <para>
  • introduction/welcome/changelog.xml

    re0ba182 r75215bf  
    5454          <ulink url="&blfs-ticket-root;8750">#8750</ulink>.</para>
    5555        </listitem>
     56        <listitem>
     57          <para>[dj] - Import system environemnt (/etc/profile) in
     58          gnome-session for Wayland session.</para>
     59        </listitem>
    5660      </itemizedlist>
    5761    </listitem>
Note: See TracChangeset for help on using the changeset viewer.