[5af3a383] | 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 |
|
---|
[d1920c49] | 8 | <sect1 id="lxqt-post-install" xreflabel="LXQt-Post-Install">
|
---|
[5af3a383] | 9 | <?dbhtml filename="post-install.html"?>
|
---|
| 10 |
|
---|
| 11 |
|
---|
| 12 | <title>LXQt Desktop Final Instructions</title>
|
---|
| 13 |
|
---|
[d1920c49] | 14 | <indexterm zone="lxqt-post-install">
|
---|
| 15 | <primary sortas="g-lxqt-post-install">LXQt-post-install</primary>
|
---|
[5af3a383] | 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">
|
---|
[31be310] | 29 | <xref linkend="openbox"/>, or another window manager, such as
|
---|
[1608f96] | 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
|
---|
[5af3a383] | 33 | </para>
|
---|
| 34 |
|
---|
| 35 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
| 36 | <para role="recommended">
|
---|
[fd42347a] | 37 | <phrase revision="sysv">
|
---|
[31be310] | 38 | <xref linkend="consolekit"/> with
|
---|
| 39 | <xref linkend="pm-utils"/>,
|
---|
[fd42347a] | 40 | </phrase>
|
---|
[c225bfa] | 41 | <xref linkend="lightdm"/> or another Display Manager, e.g.
|
---|
[1608f96] | 42 | <xref role="nodep" linkend="lxdm"/>,
|
---|
[31be310] | 43 | <xref linkend="desktop-file-utils"/>,
|
---|
| 44 | <xref linkend="shared-mime-info"/>,
|
---|
| 45 | <xref linkend="xdg-utils"/>, and
|
---|
| 46 | <xref linkend="xscreensaver"/>
|
---|
[5af3a383] | 47 | </para>
|
---|
| 48 |
|
---|
| 49 | <para condition="html" role="usernotes">
|
---|
| 50 | User Notes: <ulink url="&blfs-wiki;/post-install"/>
|
---|
| 51 | </para>
|
---|
| 52 |
|
---|
| 53 | </sect2>
|
---|
| 54 |
|
---|
[31be310] | 55 | <sect2 role="configuration">
|
---|
| 56 | <title>Final Configuration</title>
|
---|
[5af3a383] | 57 |
|
---|
| 58 | <para>
|
---|
[31be310] | 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.
|
---|
[5af3a383] | 63 | </para>
|
---|
| 64 |
|
---|
[31be310] | 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>
|
---|
[298fee30] | 74 |
|
---|
| 75 | <screen role="root"><userinput>ln -svfn $LXQT_PREFIX/share/lxqt /usr/share/lxqt &&
|
---|
[5af3a383] | 76 |
|
---|
[a5c252d] | 77 | cp -v {$LXQT_PREFIX,/usr}/share/xsessions/lxqt.desktop &&
|
---|
[358258c2] | 78 |
|
---|
[6073ef0] | 79 | for i in $LXQT_PREFIX/share/applications/*
|
---|
[5af3a383] | 80 | do
|
---|
| 81 | ln -svf $i /usr/share/applications/
|
---|
| 82 | done
|
---|
[28370fe] | 83 |
|
---|
| 84 | for i in $LXQT_PREFIX/share/desktop-directories/*
|
---|
| 85 | do
|
---|
| 86 | ln -svf $i /usr/share/desktop-directories/
|
---|
| 87 | done
|
---|
| 88 |
|
---|
[fdb9781] | 89 | unset i
|
---|
| 90 |
|
---|
| 91 | ldconfig</userinput></screen>
|
---|
[5af3a383] | 92 |
|
---|
[31be310] | 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 |
|
---|
[5af3a383] | 110 | </sect2>
|
---|
| 111 |
|
---|
| 112 | <sect2 role="starting">
|
---|
| 113 | <title>Starting LXQt</title>
|
---|
| 114 |
|
---|
[3f460da0] | 115 | <para revision="sysv">
|
---|
[eca7a58] | 116 | You can start <application>LXQt</application> from runlevel 3, using
|
---|
| 117 | <xref linkend="xinit"/>, or from runlevel 5, using a Display Manager,
|
---|
[c225bfa] | 118 | such as <xref linkend="lightdm"/>.
|
---|
[5af3a383] | 119 | </para>
|
---|
| 120 |
|
---|
[3f460da0] | 121 | <para revision="systemd">
|
---|
| 122 | You can start <application>LXQt</application> from a TTY, using
|
---|
[31be310] | 123 | <xref linkend="xinit"/>, or by using a graphical display manager such
|
---|
[c225bfa] | 124 | as <xref linkend="lightdm"/>.
|
---|
[3f460da0] | 125 | </para>
|
---|
| 126 |
|
---|
[5af3a383] | 127 | <para>
|
---|
| 128 | To start <application>LXQt</application> using <xref linkend="xinit"/>,
|
---|
| 129 | run the following commands:
|
---|
| 130 | </para>
|
---|
| 131 |
|
---|
[3f460da0] | 132 | <screen revision="sysv"><userinput>cat > ~/.xinitrc << "EOF"
|
---|
[eca7a58] | 133 | <literal>ck-launch-session dbus-launch --exit-with-session startlxqt</literal>
|
---|
[5af3a383] | 134 | EOF
|
---|
| 135 |
|
---|
[3f460da0] | 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 |
|
---|
[5af3a383] | 142 | startx</userinput></screen>
|
---|
| 143 |
|
---|
[eca7a58] | 144 | <para>
|
---|
| 145 | The X session starts on the first unused virtual terminal, normally vt7.
|
---|
[d09eb9b] | 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:
|
---|
[eca7a58] | 156 | </para>
|
---|
| 157 |
|
---|
| 158 | <screen><userinput>startx &> ~/.x-session-errors</userinput></screen>
|
---|
| 159 |
|
---|
[3f460da0] | 160 | <note revision="sysv">
|
---|
[d09eb9b] | 161 | <para>
|
---|
| 162 | You may wish to drop consolekit and/or dbus-launch, e.g., just using
|
---|
[1bac25ed] | 163 | startlxqt in ~/.xinitrc. However some capabilities such as mounting or
|
---|
[a7035bb] | 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.
|
---|
[d09eb9b] | 166 | </para>
|
---|
| 167 | </note>
|
---|
[eca7a58] | 168 |
|
---|
| 169 | <para>
|
---|
[a7035bb] | 170 | When shutting down or rebooting, the shutdown messages appear on the vt
|
---|
[d09eb9b] | 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).
|
---|
[eca7a58] | 173 | </para>
|
---|
| 174 |
|
---|
[5af3a383] | 175 | </sect2>
|
---|
| 176 |
|
---|
| 177 | </sect1>
|
---|