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