Changeset 881bfdc
- Timestamp:
- 03/08/2017 02:25:27 AM (6 years ago)
- Branches:
- 10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, ken/inkscape-core-mods, lazarus, perl-modules, plabs/python-mods, qt5new, trunk, upgradedb, xry111/intltool, xry111/soup3, xry111/test-20220226
- Children:
- 2ec7beca
- Parents:
- 6f36554
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
gnome/platform/gnome-session.xml
r6f36554 r881bfdc 108 108 <para> 109 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} && 119 cat > gnome-session/gnome-session.in << "EOF" && 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> 129 118 130 119 <para> -
introduction/welcome/changelog.xml
r6f36554 r881bfdc 49 49 <para>[dj] - Add ~/.profile to bash shell startup files.</para> 50 50 </listitem> 51 <listitem> 52 <para>[dj] - Start gnome-session with a login shell so that 53 environment settings are imported in 54 <application>Wayland</application> sessions.</para> 55 </listitem> 51 56 </itemizedlist> 52 57 </listitem>
Note:
See TracChangeset
for help on using the changeset viewer.