[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">
|
---|
[f1ce80b] | 40 | <phrase revision="sysv"><xref linkend="consolekit"/> alone or with</phrase>
|
---|
[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 |
|
---|
[fdb9781] | 82 | unset i
|
---|
| 83 |
|
---|
| 84 | ldconfig</userinput></screen>
|
---|
[5af3a383] | 85 |
|
---|
| 86 | </sect2>
|
---|
| 87 |
|
---|
| 88 | <sect2 role="starting">
|
---|
| 89 | <title>Starting LXQt</title>
|
---|
| 90 |
|
---|
[3f460da0] | 91 | <para revision="sysv">
|
---|
[eca7a58] | 92 | You can start <application>LXQt</application> from runlevel 3, using
|
---|
| 93 | <xref linkend="xinit"/>, or from runlevel 5, using a Display Manager,
|
---|
[358258c2] | 94 | such as <xref linkend="sddm"/>. The <filename>lxqt.desktop</filename>
|
---|
| 95 | file needs to be fixed, or will not be listed in <xref linkend="sddm"/>
|
---|
| 96 | and <xref linkend="lxdm"/>:
|
---|
[5af3a383] | 97 | </para>
|
---|
| 98 |
|
---|
[3f460da0] | 99 | <para revision="systemd">
|
---|
| 100 | You can start <application>LXQt</application> from a TTY, using
|
---|
| 101 | <xref linkend="xinit"/>, or by using a graphical display manager such
|
---|
| 102 | as <xref linkend="sddm"/>. The <filename>lxqt.desktop</filename>
|
---|
| 103 | file needs to be fixed, or it will not be listed in <xref linkend="sddm"/>
|
---|
| 104 | and <xref linkend="lxdm"/>
|
---|
| 105 | </para>
|
---|
| 106 |
|
---|
[358258c2] | 107 | <screen role="root"><userinput>sed -e '/TryExec/d' \
|
---|
| 108 | -i /usr/share/xsessions/lxqt.desktop</userinput></screen>
|
---|
| 109 |
|
---|
[5af3a383] | 110 | <para>
|
---|
| 111 | To start <application>LXQt</application> using <xref linkend="xinit"/>,
|
---|
| 112 | run the following commands:
|
---|
| 113 | </para>
|
---|
| 114 |
|
---|
[3f460da0] | 115 | <screen revision="sysv"><userinput>cat > ~/.xinitrc << "EOF"
|
---|
[eca7a58] | 116 | <literal>ck-launch-session dbus-launch --exit-with-session startlxqt</literal>
|
---|
[5af3a383] | 117 | EOF
|
---|
| 118 |
|
---|
[3f460da0] | 119 | startx</userinput></screen>
|
---|
| 120 |
|
---|
| 121 | <screen revision="systemd"><userinput>cat > ~/.xinitrc << "EOF"
|
---|
| 122 | <literal>dbus-launch --exit-with-session startlxqt</literal>
|
---|
| 123 | EOF
|
---|
| 124 |
|
---|
[5af3a383] | 125 | startx</userinput></screen>
|
---|
| 126 |
|
---|
[eca7a58] | 127 | <para>
|
---|
| 128 | The X session starts on the first unused virtual terminal, normally vt7.
|
---|
[d09eb9b] | 129 | You can switch to another vt<emphasis>n</emphasis> simultaneously
|
---|
| 130 | pressing the keys Ctrl-Alt-F<emphasis>n</emphasis>
|
---|
| 131 | (<emphasis>n</emphasis>=1, 2, ...). To switch back to the X session,
|
---|
| 132 | normally started at vt7, use Ctrl-Alt-F7. The vt where the command
|
---|
| 133 | <command>startx</command> was executed will display many messages,
|
---|
| 134 | including X starting messages, applications automatically started with
|
---|
| 135 | the session, and eventually, some warning and error messages. You may
|
---|
| 136 | prefer to redirect those messages to a log file, which not only will keep
|
---|
| 137 | the initial vt uncluttered, but can also be used for debug purposes. This
|
---|
| 138 | can be done starting X with:
|
---|
[eca7a58] | 139 | </para>
|
---|
| 140 |
|
---|
| 141 | <screen><userinput>startx &> ~/.x-session-errors</userinput></screen>
|
---|
| 142 |
|
---|
[3f460da0] | 143 | <note revision="sysv">
|
---|
[d09eb9b] | 144 | <para>
|
---|
| 145 | You may wish to drop consolekit and/or dbus-launch, e.g., just using
|
---|
[1bac25ed] | 146 | startlxqt in ~/.xinitrc. However some capabilities such as mounting or
|
---|
[a7035bb] | 147 | umounting file systems from a file manager will not be possible, or the
|
---|
| 148 | reboot option will be absent or inoperative, among other problems.
|
---|
[d09eb9b] | 149 | </para>
|
---|
| 150 | </note>
|
---|
[eca7a58] | 151 |
|
---|
| 152 | <para>
|
---|
[a7035bb] | 153 | When shutting down or rebooting, the shutdown messages appear on the vt
|
---|
[d09eb9b] | 154 | where X was running. If you wish to see those messages, simultaneously
|
---|
| 155 | press keys Alt-F7 (assuming that X was running on vt7).
|
---|
[eca7a58] | 156 | </para>
|
---|
| 157 |
|
---|
[5af3a383] | 158 | </sect2>
|
---|
| 159 |
|
---|
| 160 | </sect1>
|
---|