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