Changeset 86324838


Ignore:
Timestamp:
02/26/2023 09:02:44 PM (14 months ago)
Author:
Pierre Labastie <pierre.labastie@…>
Branches:
11.3, 12.0, 12.1, kea, ken/TL2024, ken/tuningfonts, lazarus, lxqt, plabs/newcss, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, trunk, xry111/llvm18, xry111/xf86-video-removal
Children:
60244f7
Parents:
8fdbeef
Message:

Tweak /usr/share/{x,wayland-}sessions files

Don't create a "deprecated directory, just remove spurious files
also fix starting gnome-wayland from lightdm

Files:
4 edited

Legend:

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

    r8fdbeef r86324838  
    154154
    155155
    156   <para>This package creates two Xorg based .desktop files in the
    157   /usr/share/xsessions/ directory.  Only one is needed in a
    158   BLFS system, so prevent the extra file showing up as an option
    159   in a window manager.  Also differentiate the X11 and Wayland versions
    160   of Gnome.  As the &root; user:</para>
    161 
    162 <screen role="root"><userinput>mkdir -p /usr/share/xsessions/deprecated                                      &amp;&amp;
    163 mv -v /usr/share/xsessions/gnome-xorg.desktop /usr/share/xsessions/deprecated &amp;&amp;
    164 sed -i '/Name/s/$/ (X11)/' /usr/share/xsessions/gnome.desktop
    165 </userinput></screen>
     156    <para>
     157      This package creates two Xorg based <filename>.desktop</filename> files
     158      in the <filename class="directory">/usr/share/xsessions/</filename>
     159      directory, and two Wayland based <filename>.desktop</filename> files in
     160      the <filename class="directory">/usr/share/wayland-sessions/</filename>
     161      directory.  Only one is needed in each directory on a BLFS system, so
     162      prevent the extra files showing up as options in a display manager.  As
     163      the &root; user:
     164    </para>
     165
     166<screen role="root"><userinput>rm -v /usr/share/xsessions/gnome.desktop &amp;&amp;
     167rm -v /usr/share/wayland-sessions/gnome.desktop</userinput></screen>
    166168
    167169    <para revision="sysv">
     
    171173
    172174<screen role="root" revision="sysv"><userinput>rm -rv /tmp/{*.d,*.target,*.service}</userinput></screen>
     175
     176<!-- this part is not needed on systemd, since the dbus session is created
     177by systemd-user.-->
     178    <para revision="sysv">
     179      The startup sequence of gnome-wayland needs to create a dbus session.
     180      On SysV, this has to be added to the shipped
     181      <filename>gnome-wayland.desktop</filename> file, which is written for
     182      systemd. As the &root; user:
     183    </para>
     184
     185<screen role="root" revision="sysv"><userinput>sed -e 's@^Exec=@&amp;/usr/bin/dbus-run-session @' \
     186    -i /usr/share/wayland-sessions/gnome-wayland.desktop</userinput></screen>
    173187
    174188  </sect2>
  • x/wm/icewm.xml

    r8fdbeef r86324838  
    136136<screen role="root"><userinput>make install</userinput></screen>
    137137
    138   <para>This package creates two .desktop files in the
    139   /usr/share/xsessions/ directory.  Both are not needed in a
    140   BLFS system, so prevent the extra file showing up as an option
    141   in a window manager.  As the &root; user:</para>
    142 
    143 <screen role="root"><userinput>mkdir -p /usr/share/xsessions/deprecated &amp;&amp;
    144 mv -v /usr/share/xsessions/icewm.desktop /usr/share/xsessions/deprecated</userinput></screen>
     138    <para>
     139      This package creates two <filename>.desktop</filename> files in the
     140      <filename class="directory">/usr/share/xsessions/</filename> directory.
     141      Both are not needed in a BLFS system, so prevent the extra file showing
     142      up as an option in a display manager.  As the &root; user:
     143    </para>
     144
     145<screen role="root"><userinput>rm -v /usr/share/xsessions/icewm.desktop</userinput></screen>
    145146
    146147  </sect2>
  • x/wm/openbox.xml

    r8fdbeef r86324838  
    130130<screen role="root"><userinput>make install</userinput></screen>
    131131
    132   <para>This package creates three .desktop files in the
    133   /usr/share/xsessions/ directory.  Two of these are not appropriate in a
    134   BLFS system, so prevent the extra files showing up as options
    135   in a window manager.  As the &root; user:</para>
    136 
    137 <screen role="root"><userinput>mkdir -p /usr/share/xsessions/deprecated &amp;&amp;
    138 mv -v /usr/share/xsessions/openbox-{gnome,kde}.desktop /usr/share/xsessions/deprecated</userinput></screen>
     132    <para>
     133      This package creates three <filename>.desktop</filename> files in the
     134      <filename class="directory">/usr/share/xsessions/</filename> directory.
     135      Two of these are not appropriate in a BLFS system, so prevent the extra
     136      files showing up as options in a display manager.  As the &root; user:
     137    </para>
     138
     139<screen role="root"><userinput>rm -v /usr/share/xsessions/openbox-{gnome,kde}.desktop</userinput></screen>
    139140
    140141</sect2>
  • x/wm/sawfish.xml

    r8fdbeef r86324838  
    129129<screen role="root"><userinput>make install</userinput></screen>
    130130
    131   <para>This package creates six .desktop files in the
    132   /usr/share/xsessions/ directory.  All but one are needed in a
    133   BLFS system, so prevent the extra files showing up as options
    134   in a window manager.  As the &root; user:</para>
    135 
    136 <screen role="root"><userinput>mkdir -p /usr/share/xsessions/deprecated &amp;&amp;
    137 mv -v /usr/share/xsessions/sawfish-*.desktop /usr/share/xsessions/deprecated</userinput></screen>
     131    <para>
     132      This package creates six <filename>.desktop</filename> files in the
     133      <filename class="directory">/usr/share/xsessions/</filename> directory.
     134      All but one are needed in a BLFS system, so prevent the extra files
     135      showing up as options in a display manager.  As the &root; user:
     136    </para>
     137
     138<screen role="root"><userinput>rm -v /usr/share/xsessions/sawfish-*.desktop</userinput></screen>
    138139
    139140  </sect2>
Note: See TracChangeset for help on using the changeset viewer.