Changeset 5ecd157 for lxqt/desktop
- Timestamp:
- 07/11/2023 01:14:57 AM (11 months ago)
- Branches:
- 12.0, 12.1, ken/TL2024, ken/tuningfonts, lazarus, lxqt, plabs/newcss, python3.11, rahul/power-profiles-daemon, renodr/vulkan-addition, trunk, xry111/llvm18
- Children:
- 32936bc
- Parents:
- a16dff43
- Location:
- lxqt/desktop
- Files:
-
- 29 edited
Legend:
- Unmodified
- Added
- Removed
-
lxqt/desktop/libfm-qt.xml
ra16dff43 r5ecd157 76 76 <xref linkend="qt5"/> 77 77 </para> 78 <!--79 <bridgehead renderas="sect4">Optional</bridgehead>80 <para role="optional">81 <xref linkend="git"/>(to download translation files) or82 <xref linkend="lxqt-l10n"/> (to add localization files)83 </para>84 -->85 <!--86 <para condition="html" role="usernotes">87 User Notes: <ulink url="&blfs-wiki;/libfm-qt"/>88 </para>89 -->90 78 </sect2> 91 79 … … 102 90 103 91 cmake -DCMAKE_INSTALL_PREFIX=/usr \ 104 -DCMAKE_BUILD_TYPE=Release 105 .. 92 -DCMAKE_BUILD_TYPE=Release \ 93 .. && 106 94 make</userinput></screen> 107 95 … … 111 99 112 100 <para> 113 Now, as the <systemitem class="username">root</systemitem>user:101 Now, as the &root; user: 114 102 </para> 115 103 … … 117 105 118 106 </sect2> 119 <!--120 <sect2 role="commands">121 <title>Command Explanations</title>122 107 123 <para>124 <parameter>-DPULL_TRANSLATIONS=no</parameter>: Remove the need for125 <xref linkend="git"/>, which would otherwise be requested to download126 the translation files.127 </para>128 129 </sect2>130 -->131 108 <sect2 role="content"> 132 109 <title>Contents</title> -
lxqt/desktop/liblxqt.xml
ra16dff43 r5ecd157 96 96 97 97 cmake -DCMAKE_INSTALL_PREFIX=/usr \ 98 -DCMAKE_BUILD_TYPE=Release 99 .. 98 -DCMAKE_BUILD_TYPE=Release \ 99 .. && 100 100 make</userinput></screen> 101 101 … … 105 105 106 106 <para> 107 Now, as the <systemitem class="username">root</systemitem>user:107 Now, as the &root; user: 108 108 </para> 109 109 -
lxqt/desktop/libqtxdg.xml
ra16dff43 r5ecd157 98 98 cd build && 99 99 100 cmake -DCMAKE_BUILD_TYPE=Release 100 cmake -DCMAKE_BUILD_TYPE=Release \ 101 101 -DCMAKE_INSTALL_PREFIX=/usr \ 102 -DCMAKE_INSTALL_LIBDIR=lib 102 -DCMAKE_INSTALL_LIBDIR=lib \ 103 103 .. && 104 104 … … 110 110 111 111 <para> 112 Now, as the <systemitem class="username">root</systemitem>user:112 Now, as the &root; user: 113 113 </para> 114 114 -
lxqt/desktop/libsysstat.xml
ra16dff43 r5ecd157 92 92 cd build && 93 93 94 cmake -DCMAKE_BUILD_TYPE=Release 94 cmake -DCMAKE_BUILD_TYPE=Release \ 95 95 -DCMAKE_INSTALL_PREFIX=/usr \ 96 .. &&96 .. && 97 97 98 98 make</userinput></screen> … … 103 103 104 104 <para> 105 Now, as the <systemitem class="username">root</systemitem>user:105 Now, as the &root; user: 106 106 </para> 107 107 -
lxqt/desktop/lxqt-about.xml
ra16dff43 r5ecd157 87 87 cd build && 88 88 89 cmake -DCMAKE_BUILD_TYPE=Release 89 cmake -DCMAKE_BUILD_TYPE=Release \ 90 90 -DCMAKE_INSTALL_PREFIX=/usr \ 91 91 .. && … … 97 97 98 98 <para> 99 Now, as the <systemitem class="username">root</systemitem>user:99 Now, as the &root; user: 100 100 </para> 101 101 … … 103 103 104 104 </sect2> 105 <!--106 <sect2 role="commands">107 <title>Command Explanations</title>108 105 109 <para>110 <parameter>-DPULL_TRANSLATIONS=no</parameter>: Removes the need for111 <xref linkend="git"/>, which would otherwise be requested to download112 the translation files.113 </para>114 115 </sect2>116 -->117 106 <sect2 role="content"> 118 107 <title>Contents</title> -
lxqt/desktop/lxqt-admin.xml
ra16dff43 r5ecd157 89 89 cd build && 90 90 91 cmake -DCMAKE_BUILD_TYPE=Release 91 cmake -DCMAKE_BUILD_TYPE=Release \ 92 92 -DCMAKE_INSTALL_PREFIX=/usr \ 93 93 .. && … … 100 100 101 101 <para> 102 Now, as the <systemitem class="username">root</systemitem>user:102 Now, as the &root; user: 103 103 </para> 104 104 … … 106 106 107 107 </sect2> 108 <!--109 <sect2 role="commands">110 <title>Command Explanations</title>111 108 112 <para>113 <parameter>-DPULL_TRANSLATIONS=no</parameter>: Removes the need for114 <xref linkend="git"/>, which would otherwise be requested to download115 the translation files.116 </para>117 118 </sect2>119 -->120 109 <sect2 role="content"> 121 110 <title>Contents</title> -
lxqt/desktop/lxqt-build-tools.xml
ra16dff43 r5ecd157 103 103 104 104 <para> 105 Now, as the <systemitem class="username">root</systemitem>user:105 Now, as the &root; user: 106 106 </para> 107 107 -
lxqt/desktop/lxqt-config.xml
ra16dff43 r5ecd157 75 75 <xref linkend="lxqt-libkscreen"/>) or 76 76 <xref role="nodep" linkend="plasma5-build"/> 77 <!-- role="nodep" implies that jhalfs users will not depend on the whole78 kf5/plasma stack. If they have built plasma, it is easy to remove the79 lxqt-libkscreen and lxqt-kconfig scripts.-->80 77 </para> 81 78 … … 94 91 95 92 cmake -DCMAKE_INSTALL_PREFIX=/usr \ 96 -DCMAKE_BUILD_TYPE=Release 97 .. 93 -DCMAKE_BUILD_TYPE=Release \ 94 .. && 98 95 make</userinput></screen> 99 96 … … 103 100 104 101 <para> 105 Now, as the <systemitem class="username">root</systemitem>user:102 Now, as the &root; user: 106 103 </para> 107 104 … … 109 106 110 107 </sect2> 111 <!-- 112 <sect2 role="commands"> 113 <title>Command Explanations</title> 114 115 <para> 116 <parameter>-DPULL_TRANSLATIONS=no</parameter>: Removes the need for 117 <xref linkend="git"/>, which would otherwise be requested to download 118 the translation files. 119 </para> 120 121 </sect2> 122 --> 108 123 109 <sect2 role="content"> 124 110 <title>Contents</title> -
lxqt/desktop/lxqt-globalkeys.xml
ra16dff43 r5ecd157 87 87 cd build && 88 88 89 cmake -DCMAKE_BUILD_TYPE=Release 89 cmake -DCMAKE_BUILD_TYPE=Release \ 90 90 -DCMAKE_INSTALL_PREFIX=/usr \ 91 .. &&91 .. && 92 92 93 93 make</userinput></screen> … … 98 98 99 99 <para> 100 Now, as the <systemitem class="username">root</systemitem>user:100 Now, as the &root; user: 101 101 </para> 102 102 … … 104 104 105 105 </sect2> 106 <!--107 <sect2 role="commands">108 <title>Command Explanations</title>109 106 110 <para>111 <parameter>-DPULL_TRANSLATIONS=no</parameter>: Removes the need for112 <xref linkend="git"/>, which would otherwise be requested to download113 the translation files.114 </para>115 116 </sect2>117 -->118 107 <sect2 role="content"> 119 108 <title>Contents</title> -
lxqt/desktop/lxqt-kconfig.xml
ra16dff43 r5ecd157 97 97 98 98 cmake -DCMAKE_INSTALL_PREFIX=/usr \ 99 -DCMAKE_BUILD_TYPE=Release 100 -DCMAKE_INSTALL_LIBDIR=lib 101 -DBUILD_TESTING=OFF 102 -Wno-dev .. 99 -DCMAKE_BUILD_TYPE=Release \ 100 -DCMAKE_INSTALL_LIBDIR=lib \ 101 -DBUILD_TESTING=OFF \ 102 -Wno-dev .. && 103 103 make</userinput></screen> 104 104 … … 108 108 109 109 <para> 110 Now, as the <systemitem class="username">root</systemitem>user:110 Now, as the &root; user: 111 111 </para> 112 112 -
lxqt/desktop/lxqt-kidletime.xml
ra16dff43 r5ecd157 94 94 95 95 cmake -DCMAKE_INSTALL_PREFIX=/usr \ 96 -DCMAKE_BUILD_TYPE=Release 97 -DBUILD_TESTING=OFF 98 -Wno-dev .. 96 -DCMAKE_BUILD_TYPE=Release \ 97 -DBUILD_TESTING=OFF \ 98 -Wno-dev .. && 99 99 make</userinput></screen> 100 100 … … 104 104 105 105 <para> 106 Now, as the <systemitem class="username">root</systemitem>user:106 Now, as the &root; user: 107 107 </para> 108 108 -
lxqt/desktop/lxqt-kwayland.xml
ra16dff43 r5ecd157 98 98 cd build && 99 99 100 cmake -DCMAKE_INSTALL_PREFIX=/usr 101 -DCMAKE_BUILD_TYPE=Release 102 -DBUILD_TESTING=OFF 100 cmake -DCMAKE_INSTALL_PREFIX=/usr \ 101 -DCMAKE_BUILD_TYPE=Release \ 102 -DBUILD_TESTING=OFF \ 103 103 -DECM_MKSPECS_INSTALL_DIR=/usr/share/mkspecs/modules \ 104 -Wno-dev .. 104 -Wno-dev .. && 105 105 make</userinput></screen> 106 106 … … 110 110 111 111 <para> 112 Now, as the <systemitem class="username">root</systemitem>user:112 Now, as the &root; user: 113 113 </para> 114 114 -
lxqt/desktop/lxqt-kwindowsystem.xml
ra16dff43 r5ecd157 99 99 100 100 cmake -DCMAKE_INSTALL_PREFIX=/usr \ 101 -DCMAKE_BUILD_TYPE=Release 102 -DBUILD_TESTING=OFF 103 -Wno-dev .. 101 -DCMAKE_BUILD_TYPE=Release \ 102 -DBUILD_TESTING=OFF \ 103 -Wno-dev .. && 104 104 make</userinput></screen> 105 105 … … 109 109 110 110 <para> 111 Now, as the <systemitem class="username">root</systemitem>user:111 Now, as the &root; user: 112 112 </para> 113 113 -
lxqt/desktop/lxqt-libkscreen.xml
ra16dff43 r5ecd157 96 96 97 97 cmake -DCMAKE_INSTALL_PREFIX=/usr \ 98 -DCMAKE_BUILD_TYPE=Release 99 -DCMAKE_INSTALL_LIBDIR=lib 100 -DBUILD_TESTING=OFF 101 -Wno-dev .. 98 -DCMAKE_BUILD_TYPE=Release \ 99 -DCMAKE_INSTALL_LIBDIR=lib \ 100 -DBUILD_TESTING=OFF \ 101 -Wno-dev .. && 102 102 make</userinput></screen> 103 103 … … 107 107 108 108 <para> 109 Now, as the <systemitem class="username">root</systemitem>user:109 Now, as the &root; user: 110 110 </para> 111 111 -
lxqt/desktop/lxqt-menu-data.xml
ra16dff43 r5ecd157 103 103 104 104 <para> 105 Now, as the <systemitem class="username">root</systemitem>user:105 Now, as the &root; user: 106 106 </para> 107 107 … … 127 127 <seg> 128 128 /etc/xdg/menus and 129 usr/share/cmake/lxqt-menu-data129 /usr/share/cmake/lxqt-menu-data 130 130 </seg> 131 131 </seglistitem> -
lxqt/desktop/lxqt-openssh-askpass.xml
ra16dff43 r5ecd157 87 87 cd build && 88 88 89 cmake -DCMAKE_BUILD_TYPE=Release 89 cmake -DCMAKE_BUILD_TYPE=Release \ 90 90 -DCMAKE_INSTALL_PREFIX=/usr \ 91 91 .. && … … 98 98 99 99 <para> 100 Now, as the <systemitem class="username">root</systemitem>user:100 Now, as the &root; user: 101 101 </para> 102 102 … … 104 104 105 105 </sect2> 106 <!--107 <sect2 role="commands">108 <title>Command Explanations</title>109 106 110 <para>111 <parameter>-DPULL_TRANSLATIONS=no</parameter>: Removes the need for112 <xref linkend="git"/>, which would otherwise be requested to download113 the translation files.114 </para>115 116 </sect2>117 -->118 107 <sect2 role="content"> 119 108 <title>Contents</title> -
lxqt/desktop/lxqt-panel.xml
ra16dff43 r5ecd157 105 105 106 106 cmake -DCMAKE_INSTALL_PREFIX=/usr \ 107 -DCMAKE_BUILD_TYPE=Release 108 .. 107 -DCMAKE_BUILD_TYPE=Release \ 108 .. && 109 109 make</userinput></screen> 110 110 … … 114 114 115 115 <para> 116 Now, as the <systemitem class="username">root</systemitem>user:116 Now, as the &root; user: 117 117 </para> 118 118 … … 123 123 <sect2 role="commands"> 124 124 <title>Command Explanations</title> 125 <!--126 <para>127 <command>sed ... plugin-taskbar/lxqttaskgroup.{h,cpp}</command>:128 Removes a hard coded directory from an include file and allows129 the system to find it when the KDE Framework dependencies are not130 installed in <envar>/usr</envar>.131 </para>132 125 133 <para>134 <parameter>-DPULL_TRANSLATIONS=no</parameter>: Removes the need for135 <xref linkend="git"/>, which would otherwise be requested to download136 the translation files.137 </para>138 -->139 126 <para> 140 127 <option>-D<plugin>_PLUGIN=no</option>: Disable <plugin>, -
lxqt/desktop/lxqt-policykit.xml
ra16dff43 r5ecd157 89 89 90 90 cmake -DCMAKE_INSTALL_PREFIX=/usr \ 91 -DCMAKE_BUILD_TYPE=Release \ 92 .. && 93 91 -DCMAKE_BUILD_TYPE=Release \ 92 .. && 94 93 make</userinput></screen> 95 94 … … 99 98 100 99 <para> 101 Now, as the <systemitem class="username">root</systemitem>user:100 Now, as the &root; user: 102 101 </para> 103 102 … … 105 104 106 105 </sect2> 107 <!--108 <sect2 role="commands">109 <title>Command Explanations</title>110 106 111 <para>112 <parameter>-DPULL_TRANSLATIONS=no</parameter>: Removes the need for113 <xref linkend="git"/>, which would otherwise be requested to download114 the translation files.115 </para>116 117 </sect2>118 -->119 107 <sect2 role="content"> 120 108 <title>Contents</title> -
lxqt/desktop/lxqt-powermanagement.xml
ra16dff43 r5ecd157 92 92 93 93 cmake -DCMAKE_INSTALL_PREFIX=/usr \ 94 -DCMAKE_BUILD_TYPE=Release \ 95 -DPULL_TRANSLATIONS=no \ 96 .. && 94 -DCMAKE_BUILD_TYPE=Release \ 95 .. && 97 96 make</userinput></screen> 98 97 … … 102 101 103 102 <para> 104 Now, as the <systemitem class="username">root</systemitem>user:103 Now, as the &root; user: 105 104 </para> 106 105 … … 108 107 109 108 </sect2> 110 <!--111 <sect2 role="commands">112 <title>Command Explanations</title>113 109 114 <para>115 <parameter>-DPULL_TRANSLATIONS=no</parameter>: Remove the need for116 <xref linkend="git"/>, which would otherwise be requested to download117 the translation files.118 </para>119 120 </sect2>121 -->122 110 <sect2 role="content"> 123 111 <title>Contents</title> -
lxqt/desktop/lxqt-qtplugin.xml
ra16dff43 r5ecd157 75 75 <xref linkend="libdbusmenu-qt"/> 76 76 </para> 77 <!--78 <para condition="html" role="usernotes">79 User Notes: <ulink url="&blfs-wiki;/lxqt-qtplugin"/>80 </para>81 -->82 77 </sect2> 83 78 … … 93 88 cd build && 94 89 95 cmake -DCMAKE_BUILD_TYPE=Release 90 cmake -DCMAKE_BUILD_TYPE=Release \ 96 91 -DCMAKE_INSTALL_PREFIX=/usr \ 97 92 .. && … … 104 99 105 100 <para> 106 Now, as the <systemitem class="username">root</systemitem>user:101 Now, as the &root; user: 107 102 </para> 108 103 … … 119 114 To use the plugin in Qt 5, the environment variable 120 115 <envar>QT_QPA_PLATFORMTHEME</envar> must be set to <quote>lxqt</quote>. 121 One way to do that is to issue as the <systemitem 122 class="username">root</systemitem> user: 116 One way to do that is to issue as the &root; user: 123 117 </para> 124 118 … … 151 145 </seg> 152 146 <seg> 153 $QT5DIR/plugins/platformthemes (if a minimal Qt5 has been built 154 as explained in <xref linkend="lxqt-pre-install"/> 147 $QT5DIR/plugins/platformthemes 155 148 </seg> 156 149 </seglistitem> … … 166 159 <listitem> 167 160 <para> 168 contains the LXQt QT plugin .161 contains the LXQt QT plugin loader. 169 162 </para> 170 163 <indexterm zone="lxqt-qtplugin libqtlxqt-lib"> -
lxqt/desktop/lxqt-runner.xml
ra16dff43 r5ecd157 89 89 90 90 cmake -DCMAKE_INSTALL_PREFIX=/usr \ 91 -DCMAKE_BUILD_TYPE=Release 92 .. &&91 -DCMAKE_BUILD_TYPE=Release \ 92 .. && 93 93 make</userinput></screen> 94 94 … … 98 98 99 99 <para> 100 Now, as the <systemitem class="username">root</systemitem>user:100 Now, as the &root; user: 101 101 </para> 102 102 -
lxqt/desktop/lxqt-session.xml
ra16dff43 r5ecd157 94 94 cd build && 95 95 96 cmake -DCMAKE_BUILD_TYPE=Release 96 cmake -DCMAKE_BUILD_TYPE=Release \ 97 97 -DCMAKE_INSTALL_PREFIX=/usr \ 98 98 .. && … … 105 105 106 106 <para> 107 Now, as the <systemitem class="username">root</systemitem>user:107 Now, as the &root; user: 108 108 </para> 109 109 … … 121 121 desktop will appear in the sessions list. 122 122 </para> 123 <!--124 <para>125 <parameter>-DPULL_TRANSLATIONS=no</parameter>: Removes the need for126 <xref linkend="git"/>, which would otherwise be requested to download127 the translation files.128 </para>129 -->130 123 </sect2> 131 124 -
lxqt/desktop/lxqt-solid.xml
ra16dff43 r5ecd157 103 103 104 104 cmake -DCMAKE_INSTALL_PREFIX=/usr \ 105 -DCMAKE_BUILD_TYPE=Release 106 -DBUILD_TESTING=OFF 107 -Wno-dev .. 105 -DCMAKE_BUILD_TYPE=Release \ 106 -DBUILD_TESTING=OFF \ 107 -Wno-dev .. && 108 108 make</userinput></screen> 109 109 … … 113 113 114 114 <para> 115 Now, as the <systemitem class="username">root</systemitem>user:115 Now, as the &root; user: 116 116 </para> 117 117 -
lxqt/desktop/lxqt-sudo.xml
ra16dff43 r5ecd157 88 88 cd build && 89 89 90 cmake -DCMAKE_BUILD_TYPE=Release 90 cmake -DCMAKE_BUILD_TYPE=Release \ 91 91 -DCMAKE_INSTALL_PREFIX=/usr \ 92 92 .. && … … 99 99 100 100 <para> 101 Now, as the <systemitem class="username">root</systemitem>user:101 Now, as the &root; user: 102 102 </para> 103 103 … … 105 105 106 106 </sect2> 107 <!--108 <sect2 role="commands">109 <title>Command Explanations</title>110 107 111 <para>112 <parameter>-DPULL_TRANSLATIONS=no</parameter>: Removes the need for113 <xref linkend="git"/>, which would otherwise be requested to download114 the translation files.115 </para>116 117 </sect2>118 -->119 108 <sect2 role="content"> 120 109 <title>Contents</title> -
lxqt/desktop/lxqt-themes.xml
ra16dff43 r5ecd157 100 100 101 101 <para> 102 Now, as the <systemitem class="username">root</systemitem>user:102 Now, as the &root; user: 103 103 </para> 104 104 … … 107 107 </sect2> 108 108 109 <!-- <sect2 role="commands">110 <title>Command Explanations</title>111 112 </sect2>113 -->114 109 <sect2 role="content"> 115 110 <title>Contents</title> -
lxqt/desktop/muparser.xml
ra16dff43 r5ecd157 87 87 88 88 cmake -DCMAKE_INSTALL_PREFIX=/usr \ 89 -DCMAKE_BUILD_TYPE=Release 90 .. 89 -DCMAKE_BUILD_TYPE=Release \ 90 .. && 91 91 make</userinput></screen> 92 92 … … 96 96 97 97 <para> 98 Now, as the <systemitem class="username">root</systemitem>user:98 Now, as the &root; user: 99 99 </para> 100 100 -
lxqt/desktop/obconf-qt.xml
ra16dff43 r5ecd157 76 76 </para> 77 77 78 <!--79 <bridgehead renderas="sect4">Optional</bridgehead>80 <para role="optional">81 <xref linkend="git"/> (to download translation files) or82 <xref linkend="lxqt-l10n"/> (to add localization files)83 </para>84 85 <para condition="html" role="usernotes">86 User Notes: <ulink url="&blfs-wiki;/obconf-qt"/>87 </para>88 -->89 78 </sect2> 90 79 … … 100 89 cd build && 101 90 102 cmake -DCMAKE_BUILD_TYPE=Release 91 cmake -DCMAKE_BUILD_TYPE=Release \ 103 92 -DCMAKE_INSTALL_PREFIX=/usr \ 104 .. &&93 .. && 105 94 make</userinput></screen> 106 95 … … 110 99 111 100 <para> 112 Now, as the <systemitem class="username">root</systemitem>user:101 Now, as the &root; user: 113 102 </para> 114 103 -
lxqt/desktop/pcmanfm-qt.xml
ra16dff43 r5ecd157 96 96 cd build && 97 97 98 cmake -DCMAKE_BUILD_TYPE=Release 98 cmake -DCMAKE_BUILD_TYPE=Release \ 99 99 -DCMAKE_INSTALL_PREFIX=/usr \ 100 100 .. && … … 107 107 108 108 <para> 109 Now, as the <systemitem class="username">root</systemitem>user:109 Now, as the &root; user: 110 110 </para> 111 111 … … 113 113 114 114 </sect2> 115 <!--116 <sect2 role="commands">117 <title>Command Explanations</title>118 115 119 <para>120 <parameter>-DPULL_TRANSLATIONS=no</parameter>: Removes the need for121 <xref linkend="git"/>, which would otherwise be requested to download122 the translation files.123 </para>124 125 </sect2>126 -->127 116 <sect2 role="content"> 128 117 <title>Contents</title> -
lxqt/desktop/qtxdg-tools.xml
ra16dff43 r5ecd157 90 90 91 91 cmake -DCMAKE_INSTALL_PREFIX=/usr \ 92 -DCMAKE_BUILD_TYPE=Release 93 -DCMAKE_INSTALL_LIBDIR=lib 94 .. 92 -DCMAKE_BUILD_TYPE=Release \ 93 -DCMAKE_INSTALL_LIBDIR=lib \ 94 .. && 95 95 make</userinput></screen> 96 96 … … 100 100 101 101 <para> 102 Now, as the <systemitem class="username">root</systemitem>user:102 Now, as the &root; user: 103 103 </para> 104 104 … … 106 106 107 107 </sect2> 108 <!--109 <sect2 role="commands">110 <title>Command Explanations</title>111 108 112 <para>113 <parameter>-DPULL_TRANSLATIONS=no</parameter>: Removes the need for114 <xref linkend="git"/>, which would otherwise be requested to download115 the translation files.116 </para>117 118 </sect2>119 -->120 109 <sect2 role="content"> 121 110 <title>Contents</title>
Note:
See TracChangeset
for help on using the changeset viewer.