Changeset 881bfdc for gnome/platform


Ignore:
Timestamp:
03/08/2017 02:25:27 AM (5 years ago)
Author:
DJ Lucas <dj@…>
Branches:
10.0, 10.1, 11.0, 11.1, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, lazarus, perl-modules, qt5new, trunk, upgradedb, xry111/intltool, xry111/test-20220226
Children:
2ec7beca
Parents:
6f36554
Message:

Start gnome-session with a login shell.

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

File:
1 edited

Legend:

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

    r6f36554 r881bfdc  
    108108    <para>
    109109      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;
    119 cat &gt; gnome-session/gnome-session.in &lt;&lt; "EOF" &amp;&amp;
    120 <literal>#!/bin/sh
    121 
    122 # Source /etc/profile if running in Xwayland
    123 if [ "${XDG_SESSION_TYPE}" == "wayland" ]; then
    124     . /etc/profile
    125 fi</literal>
    126 EOF
    127 sed 's@#!/bin/sh@@' gnome-session/gnome-session.bak >> \
    128     gnome-session/gnome-session.in</userinput></screen>
     110      are not imported for the user using the system profile. The Wayland
     111      developers are currently undecided on a standard method to provide system
     112      environment settings for user sessions. To work around this limitation,
     113      execute the following command to start make
     114      <command>gnome-session</command> use a login shell:
     115    </para>
     116
     117<screen><userinput>sed 's@/bin/sh@/bin/sh -l@' -i gnome-session/gnome-session.in</userinput></screen>
    129118
    130119    <para>
Note: See TracChangeset for help on using the changeset viewer.