Changeset fa3edfef for pst/scanning/xsane.xml
- Timestamp:
- 03/25/2020 12:06:24 PM (4 years ago)
- Branches:
- 10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, lazarus, lxqt, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
- Children:
- 81a73ed8
- Parents:
- 47274444
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pst/scanning/xsane.xml
r47274444 rfa3edfef 30 30 <title>Introduction to XSane</title> 31 31 32 <para><application>XSane</application> is another front end for 33 <xref linkend="sane"/>. It has additional features to improve the image 34 quality and ease of use compared to <command>xscanimage</command>.</para> 32 <para> 33 <application>XSane</application> is another front end for 34 <xref linkend="sane"/>. It has additional features to improve the image 35 quality and ease of use compared to <command>xscanimage</command>. 36 </para> 35 37 36 38 &lfs91_checked; … … 39 41 <itemizedlist spacing="compact"> 40 42 <listitem> 41 <para>Download (HTTP): <ulink url="&xsane-download-http;"/></para> 42 </listitem> 43 <listitem> 44 <para>Download (FTP): <ulink url="&xsane-download-ftp;"/></para> 45 </listitem> 46 <listitem> 47 <para>Download MD5 sum: &xsane-md5sum;</para> 48 </listitem> 49 <listitem> 50 <para>Download size: &xsane-size;</para> 51 </listitem> 52 <listitem> 53 <para>Estimated disk space required: &xsane-buildsize;</para> 54 </listitem> 55 <listitem> 56 <para>Estimated build time: &xsane-time;</para> 43 <para> 44 Download (HTTP): <ulink url="&xsane-download-http;"/> 45 </para> 46 </listitem> 47 <listitem> 48 <para> 49 Download (FTP): <ulink url="&xsane-download-ftp;"/> 50 </para> 51 </listitem> 52 <listitem> 53 <para> 54 Download MD5 sum: &xsane-md5sum; 55 </para> 56 </listitem> 57 <listitem> 58 <para> 59 Download size: &xsane-size; 60 </para> 61 </listitem> 62 <listitem> 63 <para> 64 Estimated disk space required: &xsane-buildsize; 65 </para> 66 </listitem> 67 <listitem> 68 <para> 69 Estimated build time: &xsane-time; 70 </para> 57 71 </listitem> 58 72 </itemizedlist> … … 85 99 <title>Installation of XSane</title> 86 100 87 <para>Install <application>XSane</application> by running the following 88 commands:</para> 101 <para> 102 Install <application>XSane</application> by running the following 103 commands: 104 </para> 89 105 90 106 <!--sed -i -e 's/netscape/xdg-open/' src/xsane.h &&--> … … 93 109 make</userinput></screen> 94 110 95 <para>This package does not come with a test suite.</para> 96 97 <para>Now, as the <systemitem class="username">root</systemitem> user:</para> 111 <para> 112 This package does not come with a test suite. 113 </para> 114 115 <para> 116 Now, as the <systemitem class="username">root</systemitem> user: 117 </para> 98 118 99 119 <screen role="root"><userinput>make xsanedocdir=/usr/share/doc/xsane-&xsane-version; install && 100 120 ln -v -s ../../doc/xsane-&xsane-version; /usr/share/sane/xsane/doc</userinput></screen> 101 121 <!-- 102 <para>If you have not installed <xref linkend="xdg-utils"/> and have not 103 issued the first sed:</para>--> 104 <para>A browser of your choice can be used to get inline help, using the 105 following command, as the <systemitem class="username">root</systemitem> 106 user:</para> 122 <para> 123 If you have not installed <xref linkend="xdg-utils"/> and have not 124 issued the first sed: 125 </para>--> 126 <para> 127 A browser of your choice can be used to get inline help, using the 128 following command, as the <systemitem class="username">root</systemitem> 129 user: 130 </para> 107 131 108 132 <screen role="root"><userinput>ln -v -s <browser> /usr/bin/netscape</userinput></screen> 109 133 110 <note><para>Be sure to replace <browser> with the browser of your 111 choice on your system.</para></note> 112 113 <para>Alternatively, if the environment variable BROWSER is set to the 114 browser you want to use, eg, BROWSER="/usr/bin/firefox", the first time you 115 run <command>xsane</command>, it will be recorded in ~/.sane/xsane/xsane.rc. 116 If you wish to change it, edit this file, or remove it, and use the 117 instructions above, so that a new one is created.</para> 118 119 <para>If <application>GIMP</application> is installed, issue the following 120 command as the <systemitem class="username">root</systemitem> user:</para> 134 <note> 135 <para> 136 Be sure to replace <browser> with the browser of your 137 choice on your system. 138 </para> 139 </note> 140 141 <para> 142 Alternatively, if the environment variable BROWSER is set to the browser 143 you want to use, eg, BROWSER="/usr/bin/firefox", the first time you run 144 <command>xsane</command>, it will be recorded in <filename> 145 ~/.sane/xsane/xsane.rc</filename>. If you wish to change it, edit this 146 file, or remove it, and use the instructions above, so that a new one is 147 created. 148 </para> 149 150 <para> 151 If <application>GIMP</application> is installed, issue the following 152 command as the <systemitem class="username">root</systemitem> user: 153 </para> 121 154 122 155 <screen role="root"><userinput>ln -v -s /usr/bin/xsane /usr/lib/gimp/2.0/plug-ins/</userinput></screen> … … 127 160 <title>Command Explanations</title> 128 161 <!-- 129 <para><command>sed -i -e 's/netscape/xdg-open/' src/xsane.h </command>: 130 This is to use <command>xdg-open</command> for the help documentation, 131 instead of the hardcoded browser.</para>--> 132 133 <para><command>ln -v -s ../../doc/xsane-&xsane-version; 134 /usr/share/sane/xsane/doc</command>: This symlink is created to ensure that 135 any program that looks for the <application>XSane</application> 136 documentation in the default location will find it, as the documentation 137 is installed in an alternate location specified in the 138 <command>make install</command> command.</para> 139 140 <para><command>ln -v -s /usr/bin/xsane /usr/lib/gimp/2.0/plug-ins/</command>: 141 This creates a link in the system-wide <application>GIMP</application> 142 <filename class='directory'>plug-ins</filename> directory so that users can 143 access <application>XSane</application> directly from 144 <application>GIMP</application>. <application>GIMP</application> must be 145 available before building <application>XSane</application> for this to work. 146 Alternatively, create the link in <filename 147 class='directory'>~/.gimp-2.0/plug-ins/</filename> to provide individual 148 user access. <command>man xsane</command> for additional information.</para> 162 <para> 163 <command>sed -i -e 's/netscape/xdg-open/' src/xsane.h </command>: 164 This is to use <command>xdg-open</command> for the help documentation, 165 instead of the hardcoded browser. 166 </para>--> 167 168 <para> 169 <command>ln -v -s ../../doc/xsane-&xsane-version; 170 /usr/share/sane/xsane/doc</command>: This symlink is created to ensure 171 that any program that looks for the <application>XSane</application> 172 documentation in the default location will find it, as the documentation 173 is installed in an alternate location specified in the <command>make 174 install</command> command. 175 </para> 176 177 <para> 178 <command>ln -v -s /usr/bin/xsane /usr/lib/gimp/2.0/plug-ins/</command>: 179 This creates a link in the system-wide <application>GIMP</application> 180 <filename class='directory'>plug-ins</filename> directory so that users 181 can access <application>XSane</application> directly from 182 <application>GIMP</application>. <application>GIMP</application> must 183 be available before building <application>XSane</application> for this 184 to work. Alternatively, create the link in <filename 185 class='directory'>~/.gimp-2.0/plug-ins/</filename> to provide individual 186 user access. <command>man xsane</command> for additional information. 187 </para> 149 188 150 189 </sect2> … … 174 213 <term><command>xsane</command></term> 175 214 <listitem> 176 <para>is a graphical user-interface to control an image acquisition 177 device such as a flatbed scanner.</para> 215 <para> 216 is a graphical user-interface to control an image acquisition 217 device such as a flatbed scanner. 218 </para> 178 219 <indexterm zone="xsane xsane-prog"> 179 220 <primary sortas="b-xsane">xsane</primary>
Note:
See TracChangeset
for help on using the changeset viewer.