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