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