mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-01-24 15:12:11 +08:00
• sddm-0.11.0: Discuss changes for Xorg in /opt.
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@16353 af4574ff-66df-0310-9fd7-8a98e5e911e0
This commit is contained in:
parent
6a71920c88
commit
6bb5b3b1dc
@ -1,12 +1,12 @@
|
||||
<!-- $LastChangedBy$ $Date$ -->
|
||||
|
||||
<!ENTITY day "20"> <!-- Always 2 digits -->
|
||||
<!ENTITY day "21"> <!-- Always 2 digits -->
|
||||
<!ENTITY month "08"> <!-- Always 2 digits -->
|
||||
<!ENTITY year "2015">
|
||||
<!ENTITY copyrightdate "2001-&year;">
|
||||
<!ENTITY copyholder "The BLFS Development Team">
|
||||
<!ENTITY version "&year;-&month;-&day;">
|
||||
<!ENTITY releasedate "August 20th &year;">
|
||||
<!ENTITY releasedate "August 21th &year;">
|
||||
<!ENTITY pubdate "&year;-&month;-&day;"> <!-- metadata req. by TLDP -->
|
||||
<!ENTITY blfs-version "svn"> <!-- svn|[release #] -->
|
||||
<!ENTITY lfs-version "development"> <!-- x.y|development] -->
|
||||
|
@ -193,6 +193,32 @@ install -v -dm755 -o sddm -g sddm /var/lib/sddm</userinput></screen>
|
||||
<primary sortas="e-sddm.conf">/etc/sddm.conf</primary>
|
||||
</indexterm>
|
||||
|
||||
<para>
|
||||
This file is not installed with the build instructions, and
|
||||
default values are used by sddm. In order to generate the default
|
||||
<filename>/etc/sddm.conf</filename>, issue, as the <systemitem
|
||||
class="username">root</systemitem> user:
|
||||
</para>
|
||||
|
||||
<screen role="root"><userinput>sddm --example-config > /etc/sddm.conf</userinput></screen>
|
||||
|
||||
<para>
|
||||
You need to edit this file, if your system has any unconventional
|
||||
characteristics. For example, if Xorg is installed in /opt, use your
|
||||
preferred editor as the <systemitem class="username">root</systemitem>
|
||||
user to replace the <emphasis>ServerPath</emphasis> default value by
|
||||
<emphasis>/opt/xorg/bin/X</emphasis>. Or, as the <systemitem
|
||||
class="username">root</systemitem> user, issue
|
||||
</para>
|
||||
|
||||
<screen role="root"><userinput>sed -e 's|/usr/bin/X|/opt/xorg/bin/X|' \
|
||||
-i.orig /etc/sddm.conf</userinput></screen>
|
||||
|
||||
<para>
|
||||
This command will do the substitution and create a copy of the original
|
||||
file with name <filename>/etc/sddm.conf.orig</filename>.
|
||||
</para>
|
||||
|
||||
</sect3>
|
||||
|
||||
<sect3 id="sddm-bootscript">
|
||||
@ -334,19 +360,11 @@ sed -i '/initdefault/ s/3/5/' /etc/inittab</userinput></screen>
|
||||
maui.
|
||||
The default theme is <quote>maui</quote>. You can install other themes
|
||||
in that directory. In order to change the theme, you need to edit
|
||||
<filename>/etc/sddm.conf</filename>, which is not installed by default.
|
||||
Before proceeding, make a backup of this file, if there is one already
|
||||
installed. In order to generate <filename>/etc/sddm.conf</filename>,
|
||||
issue, as the <systemitem class="username">root</systemitem> user:
|
||||
</para>
|
||||
|
||||
<screen role="root"><userinput>sddm --example-config > /etc/sddm.conf</userinput></screen>
|
||||
|
||||
<para>
|
||||
Now, using your preferred text editor, change the default
|
||||
<quote>maui</quote> theme, replacing <quote>Current=maui</quote> by
|
||||
<quote>Current=<replaceable><insert new theme name here></replaceable></quote>,
|
||||
e.g. <quote>Current=maldives</quote>.
|
||||
<filename>/etc/sddm.conf</filename>, using your preferred text editor,
|
||||
to change the default <quote>maui</quote> theme, replacing
|
||||
<quote>Current=maui</quote> by <quote>Current=<replaceable><insert
|
||||
new theme name here></replaceable></quote>, e.g.
|
||||
<quote>Current=maldives</quote>.
|
||||
</para>
|
||||
|
||||
<para>
|
||||
|
Loading…
Reference in New Issue
Block a user