1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
2 | <!DOCTYPE chapter 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-post-install" xreflabel="LXQt-Post-Install">
|
---|
9 | <?dbhtml filename="post-install.html"?>
|
---|
10 |
|
---|
11 |
|
---|
12 | <title>LXQt Desktop Final Instructions</title>
|
---|
13 |
|
---|
14 | <indexterm zone="lxqt-post-install">
|
---|
15 | <primary sortas="g-lxqt-post-install">LXQt-post-install</primary>
|
---|
16 | </indexterm>
|
---|
17 |
|
---|
18 | <sect2 role="package">
|
---|
19 | <title>Post-Install Instructions</title>
|
---|
20 |
|
---|
21 | <para>
|
---|
22 | Final steps, before starting <application>LXQt</application>.
|
---|
23 | </para>
|
---|
24 |
|
---|
25 | <bridgehead renderas="sect3">Dependencies to Start LXQt</bridgehead>
|
---|
26 |
|
---|
27 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
28 | <para role="required">
|
---|
29 | <xref linkend="openbox"/>, or another window manager, such as
|
---|
30 | <xref role="nodep" linkend="xfwm4"/>, or
|
---|
31 | kwin from <xref role="nodep" linkend="plasma5-build"/>.
|
---|
32 | Note that <xref role="nodep" linkend="icewm"/> is not suitable for LXQt
|
---|
33 | </para>
|
---|
34 |
|
---|
35 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
36 | <para role="recommended">
|
---|
37 | <phrase revision="sysv">
|
---|
38 | <xref linkend="consolekit"/> with
|
---|
39 | <xref linkend="pm-utils"/>,
|
---|
40 | </phrase>
|
---|
41 | <xref linkend="lightdm"/> or another Display Manager, e.g.
|
---|
42 | <xref role="nodep" linkend="lxdm"/>,
|
---|
43 | <xref linkend="desktop-file-utils"/>,
|
---|
44 | <xref linkend="shared-mime-info"/>,
|
---|
45 | <xref linkend="xdg-utils"/>, and
|
---|
46 | <xref linkend="xscreensaver"/>
|
---|
47 | </para>
|
---|
48 |
|
---|
49 | <para condition="html" role="usernotes">
|
---|
50 | User Notes: <ulink url="&blfs-wiki;/post-install"/>
|
---|
51 | </para>
|
---|
52 |
|
---|
53 | </sect2>
|
---|
54 |
|
---|
55 | <sect2 role="configuration">
|
---|
56 | <title>Final Configuration</title>
|
---|
57 |
|
---|
58 | <para>
|
---|
59 | If <application>LXQt</application> is installed in <filename
|
---|
60 | class="directory">/usr</filename>, jump directly to <xref
|
---|
61 | linkend="lxqt-final-updates"/>, otherwise run the commands in the
|
---|
62 | next section.
|
---|
63 | </para>
|
---|
64 |
|
---|
65 | <sect3>
|
---|
66 | <title>Configuration needed only if installing into /opt</title>
|
---|
67 | <para>
|
---|
68 | If <application>LXQt</application> is installed into <filename
|
---|
69 | class="directory">/opt</filename>, some files have to be copied to
|
---|
70 | <filename class="directory">/usr/share</filename>, so that the system
|
---|
71 | can find them. Run the following commands, as the <systemitem
|
---|
72 | class="username">root</systemitem> user:
|
---|
73 | </para>
|
---|
74 |
|
---|
75 | <screen role="root"><userinput>ln -svfn $LXQT_PREFIX/share/lxqt /usr/share/lxqt &&
|
---|
76 |
|
---|
77 | cp -v {$LXQT_PREFIX,/usr}/share/xsessions/lxqt.desktop &&
|
---|
78 |
|
---|
79 | for i in $LXQT_PREFIX/share/applications/*
|
---|
80 | do
|
---|
81 | ln -svf $i /usr/share/applications/
|
---|
82 | done
|
---|
83 |
|
---|
84 | for i in $LXQT_PREFIX/share/desktop-directories/*
|
---|
85 | do
|
---|
86 | ln -svf $i /usr/share/desktop-directories/
|
---|
87 | done
|
---|
88 |
|
---|
89 | unset i
|
---|
90 |
|
---|
91 | ldconfig</userinput></screen>
|
---|
92 |
|
---|
93 | </sect3>
|
---|
94 |
|
---|
95 | <sect3 id="lxqt-final-updates" xreflabel="LXQt Final Updates">
|
---|
96 | <title>LXQt Final Updates</title>
|
---|
97 |
|
---|
98 | <para>
|
---|
99 | The desktop databases have to be created or updated at this point.
|
---|
100 | Run the following commands as the <systemitem
|
---|
101 | class="username">root</systemitem> user:
|
---|
102 | </para>
|
---|
103 |
|
---|
104 | <screen role="root"><userinput>update-mime-database /usr/share/mime &&
|
---|
105 | xdg-icon-resource forceupdate --theme hicolor &&
|
---|
106 | update-desktop-database -q</userinput></screen>
|
---|
107 |
|
---|
108 | </sect3>
|
---|
109 |
|
---|
110 | </sect2>
|
---|
111 |
|
---|
112 | <sect2 role="starting">
|
---|
113 | <title>Starting LXQt</title>
|
---|
114 |
|
---|
115 | <para revision="sysv">
|
---|
116 | You can start <application>LXQt</application> from runlevel 3, using
|
---|
117 | <xref linkend="xinit"/>, or from runlevel 5, using a Display Manager,
|
---|
118 | such as <xref linkend="lightdm"/>.
|
---|
119 | </para>
|
---|
120 |
|
---|
121 | <para revision="systemd">
|
---|
122 | You can start <application>LXQt</application> from a TTY, using
|
---|
123 | <xref linkend="xinit"/>, or by using a graphical display manager such
|
---|
124 | as <xref linkend="lightdm"/>.
|
---|
125 | </para>
|
---|
126 |
|
---|
127 | <para>
|
---|
128 | To start <application>LXQt</application> using <xref linkend="xinit"/>,
|
---|
129 | run the following commands:
|
---|
130 | </para>
|
---|
131 |
|
---|
132 | <screen revision="sysv"><userinput>cat > ~/.xinitrc << "EOF"
|
---|
133 | <literal>ck-launch-session dbus-launch --exit-with-session startlxqt</literal>
|
---|
134 | EOF
|
---|
135 |
|
---|
136 | startx</userinput></screen>
|
---|
137 |
|
---|
138 | <screen revision="systemd"><userinput>cat > ~/.xinitrc << "EOF"
|
---|
139 | <literal>dbus-launch --exit-with-session startlxqt</literal>
|
---|
140 | EOF
|
---|
141 |
|
---|
142 | startx</userinput></screen>
|
---|
143 |
|
---|
144 | <para>
|
---|
145 | The X session starts on the first unused virtual terminal, normally vt7.
|
---|
146 | You can switch to another vt<emphasis>n</emphasis> simultaneously
|
---|
147 | pressing the keys Ctrl-Alt-F<emphasis>n</emphasis>
|
---|
148 | (<emphasis>n</emphasis>=1, 2, ...). To switch back to the X session,
|
---|
149 | normally started at vt7, use Ctrl-Alt-F7. The vt where the command
|
---|
150 | <command>startx</command> was executed will display many messages,
|
---|
151 | including X starting messages, applications automatically started with
|
---|
152 | the session, and eventually, some warning and error messages. You may
|
---|
153 | prefer to redirect those messages to a log file, which not only will keep
|
---|
154 | the initial vt uncluttered, but can also be used for debug purposes. This
|
---|
155 | can be done starting X with:
|
---|
156 | </para>
|
---|
157 |
|
---|
158 | <screen><userinput>startx &> ~/.x-session-errors</userinput></screen>
|
---|
159 |
|
---|
160 | <note revision="sysv">
|
---|
161 | <para>
|
---|
162 | You may wish to drop consolekit and/or dbus-launch, e.g., just using
|
---|
163 | startlxqt in ~/.xinitrc. However some capabilities such as mounting or
|
---|
164 | umounting file systems from a file manager will not be possible, or the
|
---|
165 | reboot option will be absent or inoperative, among other problems.
|
---|
166 | </para>
|
---|
167 | </note>
|
---|
168 |
|
---|
169 | <para>
|
---|
170 | When shutting down or rebooting, the shutdown messages appear on the vt
|
---|
171 | where X was running. If you wish to see those messages, simultaneously
|
---|
172 | press keys Alt-F7 (assuming that X was running on vt7).
|
---|
173 | </para>
|
---|
174 |
|
---|
175 | </sect2>
|
---|
176 |
|
---|
177 | </sect1>
|
---|