[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">
|
---|
[6073ef0] | 33 | <xref linkend="openbox"/> (runtime) - this may be replaced by
|
---|
| 34 | another WM, see the Configuring instructions in <xref
|
---|
| 35 | linkend="lxqt-session"/>.
|
---|
[5af3a383] | 36 | </para>
|
---|
| 37 |
|
---|
| 38 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
| 39 | <para role="recommended">
|
---|
[fd42347a] | 40 | <phrase revision="sysv">
|
---|
| 41 | <xref linkend="consolekit"/> alone or with
|
---|
| 42 | <xref linkend="sddm"/> (this has been
|
---|
| 43 | reported as the <quote>recommended <application>LXQt</application>
|
---|
| 44 | display manager</quote>) or another Display Manager, e.g.
|
---|
| 45 | </phrase>
|
---|
[d09eb9b] | 46 | <xref linkend="lxdm"/>, and
|
---|
| 47 | <xref linkend="dbus"/>
|
---|
[5af3a383] | 48 | </para>
|
---|
| 49 |
|
---|
| 50 | <para condition="html" role="usernotes">
|
---|
| 51 | User Notes: <ulink url="&blfs-wiki;/post-install"/>
|
---|
| 52 | </para>
|
---|
| 53 |
|
---|
| 54 | </sect2>
|
---|
| 55 |
|
---|
| 56 | <sect2 role="final-config">
|
---|
| 57 | <title>Final configuration</title>
|
---|
| 58 |
|
---|
| 59 | <para>
|
---|
[298fee30] | 60 | If installed in /usr, you do not need final configuration. Jump to
|
---|
| 61 | <quote>Starting LXQt</quote>, below.
|
---|
[5af3a383] | 62 | </para>
|
---|
| 63 |
|
---|
[298fee30] | 64 | <para>
|
---|
[472a89e3] | 65 | If installed in /opt, in order for the system to find some files, run the
|
---|
| 66 | following commands, as the <systemitem class="username">root</systemitem>
|
---|
| 67 | user:
|
---|
[298fee30] | 68 | </para>
|
---|
| 69 |
|
---|
| 70 | <screen role="root"><userinput>ln -svfn $LXQT_PREFIX/share/lxqt /usr/share/lxqt &&
|
---|
[5af3a383] | 71 |
|
---|
[a5c252d] | 72 | cp -v {$LXQT_PREFIX,/usr}/share/xsessions/lxqt.desktop &&
|
---|
[358258c2] | 73 |
|
---|
[6073ef0] | 74 | for i in $LXQT_PREFIX/share/applications/*
|
---|
[5af3a383] | 75 | do
|
---|
| 76 | ln -svf $i /usr/share/applications/
|
---|
| 77 | done
|
---|
[28370fe] | 78 |
|
---|
| 79 | for i in $LXQT_PREFIX/share/desktop-directories/*
|
---|
| 80 | do
|
---|
| 81 | ln -svf $i /usr/share/desktop-directories/
|
---|
| 82 | done
|
---|
| 83 |
|
---|
[fdb9781] | 84 | unset i
|
---|
| 85 |
|
---|
| 86 | ldconfig</userinput></screen>
|
---|
[5af3a383] | 87 |
|
---|
| 88 | </sect2>
|
---|
| 89 |
|
---|
| 90 | <sect2 role="starting">
|
---|
| 91 | <title>Starting LXQt</title>
|
---|
| 92 |
|
---|
[3f460da0] | 93 | <para revision="sysv">
|
---|
[eca7a58] | 94 | You can start <application>LXQt</application> from runlevel 3, using
|
---|
| 95 | <xref linkend="xinit"/>, or from runlevel 5, using a Display Manager,
|
---|
[358258c2] | 96 | such as <xref linkend="sddm"/>. The <filename>lxqt.desktop</filename>
|
---|
| 97 | file needs to be fixed, or will not be listed in <xref linkend="sddm"/>
|
---|
| 98 | and <xref linkend="lxdm"/>:
|
---|
[5af3a383] | 99 | </para>
|
---|
| 100 |
|
---|
[3f460da0] | 101 | <para revision="systemd">
|
---|
| 102 | You can start <application>LXQt</application> from a TTY, using
|
---|
[fd42347a] | 103 | <xref linkend="xinit"/><!--, or by using a graphical display manager such
|
---|
[3f460da0] | 104 | as <xref linkend="sddm"/>. The <filename>lxqt.desktop</filename>
|
---|
| 105 | file needs to be fixed, or it will not be listed in <xref linkend="sddm"/>
|
---|
[fd42347a] | 106 | and <xref linkend="lxdm"/>-->.
|
---|
[3f460da0] | 107 | </para>
|
---|
| 108 |
|
---|
[358258c2] | 109 | <screen role="root"><userinput>sed -e '/TryExec/d' \
|
---|
| 110 | -i /usr/share/xsessions/lxqt.desktop</userinput></screen>
|
---|
| 111 |
|
---|
[5af3a383] | 112 | <para>
|
---|
| 113 | To start <application>LXQt</application> using <xref linkend="xinit"/>,
|
---|
| 114 | run the following commands:
|
---|
| 115 | </para>
|
---|
| 116 |
|
---|
[3f460da0] | 117 | <screen revision="sysv"><userinput>cat > ~/.xinitrc << "EOF"
|
---|
[eca7a58] | 118 | <literal>ck-launch-session dbus-launch --exit-with-session startlxqt</literal>
|
---|
[5af3a383] | 119 | EOF
|
---|
| 120 |
|
---|
[3f460da0] | 121 | startx</userinput></screen>
|
---|
| 122 |
|
---|
| 123 | <screen revision="systemd"><userinput>cat > ~/.xinitrc << "EOF"
|
---|
| 124 | <literal>dbus-launch --exit-with-session startlxqt</literal>
|
---|
| 125 | EOF
|
---|
| 126 |
|
---|
[5af3a383] | 127 | startx</userinput></screen>
|
---|
| 128 |
|
---|
[eca7a58] | 129 | <para>
|
---|
| 130 | The X session starts on the first unused virtual terminal, normally vt7.
|
---|
[d09eb9b] | 131 | You can switch to another vt<emphasis>n</emphasis> simultaneously
|
---|
| 132 | pressing the keys Ctrl-Alt-F<emphasis>n</emphasis>
|
---|
| 133 | (<emphasis>n</emphasis>=1, 2, ...). To switch back to the X session,
|
---|
| 134 | normally started at vt7, use Ctrl-Alt-F7. The vt where the command
|
---|
| 135 | <command>startx</command> was executed will display many messages,
|
---|
| 136 | including X starting messages, applications automatically started with
|
---|
| 137 | the session, and eventually, some warning and error messages. You may
|
---|
| 138 | prefer to redirect those messages to a log file, which not only will keep
|
---|
| 139 | the initial vt uncluttered, but can also be used for debug purposes. This
|
---|
| 140 | can be done starting X with:
|
---|
[eca7a58] | 141 | </para>
|
---|
| 142 |
|
---|
| 143 | <screen><userinput>startx &> ~/.x-session-errors</userinput></screen>
|
---|
| 144 |
|
---|
[3f460da0] | 145 | <note revision="sysv">
|
---|
[d09eb9b] | 146 | <para>
|
---|
| 147 | You may wish to drop consolekit and/or dbus-launch, e.g., just using
|
---|
[1bac25ed] | 148 | startlxqt in ~/.xinitrc. However some capabilities such as mounting or
|
---|
[a7035bb] | 149 | umounting file systems from a file manager will not be possible, or the
|
---|
| 150 | reboot option will be absent or inoperative, among other problems.
|
---|
[d09eb9b] | 151 | </para>
|
---|
| 152 | </note>
|
---|
[eca7a58] | 153 |
|
---|
| 154 | <para>
|
---|
[a7035bb] | 155 | When shutting down or rebooting, the shutdown messages appear on the vt
|
---|
[d09eb9b] | 156 | where X was running. If you wish to see those messages, simultaneously
|
---|
| 157 | press keys Alt-F7 (assuming that X was running on vt7).
|
---|
[eca7a58] | 158 | </para>
|
---|
| 159 |
|
---|
[5af3a383] | 160 | </sect2>
|
---|
| 161 |
|
---|
| 162 | </sect1>
|
---|