Changeset 75215bf for gnome/platform/gnome-session.xml
- Timestamp:
- 01/15/2017 12:20:55 AM (7 years ago)
- Branches:
- 10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, lazarus, lxqt, perl-modules, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
- Children:
- c252262
- Parents:
- e0ba182
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
gnome/platform/gnome-session.xml
re0ba182 r75215bf 105 105 <sect2 role="installation"> 106 106 <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} && 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> 107 129 108 130 <para>
Note:
See TracChangeset
for help on using the changeset viewer.