source: lxqt/desktop/pre-install.xml@ 7add59a9

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 12.2 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gimp3 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk upgradedb xry111/for-12.3 xry111/intltool xry111/llvm18 xry111/soup3 xry111/spidermonkey128 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 7add59a9 was ece8268a, checked in by Pierre Labastie <pieere@…>, 8 years ago

Fixes for LXQt

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

  • Property mode set to 100644
File size: 5.3 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6]>
7
8<sect1 id="lxqt-pre-install" xreflabel="LXQt Pre-Install">
9 <?dbhtml filename="pre-install.html"?>
10
11 <sect1info>
12 <othername>$LastChangedBy$</othername>
13 <date>$Date$</date>
14 </sect1info>
15
16 <title>LXQt Desktop Pre-Install Instructions</title>
17
18 <indexterm zone="lxqt-pre-install">
19 <primary sortas="g-lxqt-pre-install">LXQt Pre-Install</primary>
20 </indexterm>
21
22 <caution>
23 <para>
24 Due to recent changes in <command>grep</command> it is essential that
25 the installing system be set to a UTF-8 locale. An example
26 is <command>export LANG=en_US.utf8</command>, but any UTF-8 locale is
27 sufficient. Failure to do this will result in a faulty installation.
28 </para>
29 </caution>
30
31 <para>
32 LXQt can be installed in /usr or /opt/lxqt.
33 </para>
34
35 <sect2>
36 <title>Installing in /usr</title>
37
38 <para>
39 Installing in <filename class="directory">/usr</filename> creates
40 a simpler setup. Run:
41 </para>
42
43<screen><userinput>export LXQT_PREFIX=/usr</userinput></screen>
44
45 <para>
46 Either add that to your own <filename>.bash_profile</filename>
47 so that it will still be set if you build the packages over a
48 period of time, or else add it to the system profile as the
49 <systemitem class="username">root</systemitem> user:
50 </para>
51
52<screen role="root"><userinput>cat &gt; /etc/profile.d/lxqt.sh &lt;&lt; "EOF"
53<literal># Begin LXQt profile
54
55export LXQT_PREFIX=/usr
56
57# End LXQt profile</literal>
58EOF</userinput></screen>
59
60 <para>
61 There is no other configuration needed to install LXQt in
62 <filename class="directory">/usr</filename>.
63 </para>
64
65 </sect2>
66
67 <sect2>
68 <title>Installing in /opt/lxqt</title>
69
70 <para>
71 Installing in <filename class="directory">/opt/lxqt</filename> may
72 simplify upgrading to a later version of LXQt.
73 </para>
74
75 <para>
76 Some variables need to be defined in your system profile, as the
77 <systemitem class="username">root</systemitem> user:
78 </para>
79
80<screen role="root"><userinput>install -vdm755 /opt/lxqt/{bin,lib,share/man}
81
82cat &gt; /etc/profile.d/lxqt.sh &lt;&lt; "EOF"
83<literal># Begin LXQt profile
84
85export LXQT_PREFIX=/opt/lxqt
86
87pathappend /opt/lxqt/bin PATH
88pathappend /opt/lxqt/share/man/ MANPATH
89pathappend /opt/lxqt/lib/pkgconfig PKG_CONFIG_PATH
90pathappend /opt/lxqt/lib/plugins QT_PLUGIN_PATH
91
92# End LXQt profile</literal>
93EOF
94
95cat &gt;&gt; /etc/profile.d/qt5.sh &lt;&lt; "EOF"
96<literal>
97# Begin Qt5 changes for LXQt
98
99pathappend $QT5DIR/plugins QT_PLUGIN_PATH
100
101# End Qt5 changes for LXQt</literal>
102EOF</userinput></screen>
103
104 <para>
105 Expand your <filename>/etc/ld.so.conf</filename> file:
106 </para>
107
108<screen role="root"><userinput>cat &gt;&gt; /etc/ld.so.conf &lt;&lt; "EOF"
109<literal>
110# Begin LXQt addition
111
112/opt/lxqt/lib
113
114# End LXQt addition
115</literal>
116EOF</userinput></screen>
117
118 <para>
119 Before starting to install the packages in the following pages, remember
120 to execute:
121 </para>
122
123<screen><userinput>source /etc/profile</userinput></screen>
124
125 <para>
126 Some packages from the KDE Frameworks 5 bundle install files into D-Bus
127 directories. In order to have D-Bus find those files, the easiest
128 way is to create the following symlink (as the <systemitem
129 class="username">root</systemitem> user):
130 </para>
131
132<screen role="root"><userinput>ln -sfv /usr/share/dbus-1 $LXQT_PREFIX/share</userinput></screen>
133
134 <para>
135 Some packages may also install icons from the <quote>hicolor</quote>
136 icon set. Since that icon set is used by many packages, it is a good
137 idea to create a symlink to the one in <filename
138 class="directory">/usr/share</filename> to avoid having multiple
139 installations of <xref linkend="hicolor-icon-theme"/>. Run the
140 following commands as the <systemitem class="username">root</systemitem>
141 user:
142 </para>
143
144<screen role="root"><userinput>source /etc/profile &amp;&amp;
145install -v -dm755 $LXQT_PREFIX/share/icons &amp;&amp;
146ln -sfv /usr/share/icons/hicolor $LXQT_PREFIX/share/icons</userinput></screen>
147
148
149 <tip>
150 <para>
151 Sometimes, the installation paths are hardcoded into installed files.
152 This is the reason why <filename class="directory">/opt/lxqt</filename>
153 is used as installation prefix instead of <filename
154 class="directory">/opt/lxqt-&lxqt-version;</filename>. After installing
155 <application>LXQt Desktop</application>, you may rename the directory
156 and create a symlink:
157 </para>
158
159<screen role="root"><userinput>mv /opt/lxqt{,-&lxqt-version;}
160ln -sfv lxqt-&lxqt-version; /opt/lxqt</userinput></screen>
161
162 <para>
163 Later on, you may want to install other versions of <application>LXQt
164 Desktop</application>. To do that, just remove the symlink and use
165 <filename class="directory">/opt/lxqt</filename> as the prefix again.
166 Which version of <application>LXQt Desktop</application> you use
167 depends only on where the symlink points. No other reconfiguration will
168 be needed.
169 </para>
170 </tip>
171
172 </sect2>
173
174</sect1>
Note: See TracBrowser for help on using the repository browser.