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