source: x/wm/icewm.xml@ 8fdbeef

11.3 12.0 12.1 kea ken/TL2024 ken/tuningfonts lazarus lxqt plabs/newcss python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk xry111/llvm18 xry111/xf86-video-removal
Last change on this file since 8fdbeef was 12fe806, checked in by Bruce Dubbs <bdubbs@…>, 17 months ago

Remove unneeded .desktop files.

Several packages add unneeded .desktop files in /usr/share/xsessions/.
These then show up in display managers and can confuse users.
This change moves them out of the way.

Also document that lxdm does not support wayland based desktop sessions.

  • Property mode set to 100644
File size: 17.6 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 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 <!ENTITY icewm-download-http "https://github.com/ice-wm/icewm/archive/&icewm-version;/icewm-&icewm-version;.tar.gz">
8 <!ENTITY icewm-download-ftp " ">
9 <!ENTITY icewm-md5sum "2fe3d2ebbe34ebbd4d091555f1c96ed3">
10 <!ENTITY icewm-size "2.3 MB">
11 <!ENTITY icewm-buildsize "46 MB">
12 <!ENTITY icewm-time "0.3 SBU">
13]>
14
15<sect1 id="icewm" xreflabel="IceWM-&icewm-version;">
16 <?dbhtml filename="icewm.html" ?>
17
18
19 <title>IceWM-&icewm-version;</title>
20
21 <indexterm zone="icewm">
22 <primary sortas="a-icewm">icewm</primary>
23 </indexterm>
24
25 <sect2 role="package">
26 <title>Introduction to IceWM</title>
27
28 <para>
29 <application>IceWM</application> is a window manager with the goals of
30 speed, simplicity, and not getting in the user&apos;s way.
31 </para>
32
33 &lfs113_checked;
34
35 <bridgehead renderas="sect3">Package Information</bridgehead>
36 <itemizedlist spacing="compact">
37 <listitem>
38 <para>
39 Download (HTTP): <ulink url="&icewm-download-http;"/>
40 </para>
41 </listitem>
42 <listitem>
43 <para>
44 Download (FTP): <ulink url="&icewm-download-ftp;"/>
45 </para>
46 </listitem>
47 <listitem>
48 <para>
49 Download MD5 sum: &icewm-md5sum;
50 </para>
51 </listitem>
52 <listitem>
53 <para>
54 Download size: &icewm-size;
55 </para>
56 </listitem>
57 <listitem>
58 <para>
59 Estimated disk space required: &icewm-buildsize;
60 </para>
61 </listitem>
62 <listitem>
63 <para>
64 Estimated build time: &icewm-time;
65 </para>
66 </listitem>
67 </itemizedlist>
68
69 <bridgehead renderas="sect3">IceWM Dependencies</bridgehead>
70
71 <bridgehead renderas="sect4">Required</bridgehead>
72 <para role="required">
73 <xref linkend="cmake"/>,
74 <xref linkend="x-window-system"/>, and
75 <xref linkend="gdk-pixbuf-xlib"/>
76 </para>
77
78 <bridgehead renderas="sect4">Optional</bridgehead>
79 <para role="optional">
80 <xref linkend="asciidoc"/> (for regenerating the HTML documentation),
81 <xref linkend="fribidi"/> (for languages written right to left),
82 <xref linkend="imlib2"/>,
83 <xref linkend="librsvg"/>,
84 <xref linkend="libao"/>,
85 <xref linkend="libsndfile"/>, and
86 <xref linkend="alsa-lib"/> (for the experimental icesound program)
87 </para>
88
89 <para condition="html" role="usernotes">User Notes:
90 <ulink url="&blfs-wiki;/icewm"/></para>
91
92 </sect2>
93
94 <sect2 role="installation">
95 <title>Installation of IceWM</title>
96<!--
97 <note>
98 <para>
99 The tarball is compressed with <command>lzip</command>, and cannot be
100 processed with the <command>tar</command> program. It can be unpacked
101 with the <command>bsdtar</command> program from the libarchive
102 package.
103 </para>
104 </note>
105-->
106 <para>
107 Install <application>IceWM</application> by running the following
108 commands:
109 </para>
110
111<screen><userinput>mkdir build &amp;&amp;
112cd build &amp;&amp;
113
114cmake -DCMAKE_INSTALL_PREFIX=/usr \
115 -DCMAKE_BUILD_TYPE=Release \
116 -DCFGDIR=/etc \
117 -DENABLE_LTO=ON \
118 -DCONFIG_GDK_PIXBUF_XLIB=ON \
119 -DCONFIG_IMLIB2=OFF \
120 -DDOCDIR=/usr/share/doc/icewm-&icewm-version; \
121 .. &amp;&amp;
122make</userinput></screen>
123
124 <para>
125 This package does not have a working test suite.
126 </para>
127
128 <para>
129 Now, as the <systemitem class="username">root</systemitem> user:
130 </para>
131<!--
132<screen role="root"><userinput>cp ../lib/IceWM.jpg lib &amp;&amp;
133make install &amp;&amp;
134rm /usr/share/xsessions/icewm.desktop</userinput></screen>
135-->
136<screen role="root"><userinput>make install</userinput></screen>
137
138 <para>This package creates two .desktop files in the
139 /usr/share/xsessions/ directory. Both are not needed in a
140 BLFS system, so prevent the extra file showing up as an option
141 in a window manager. As the &root; user:</para>
142
143<screen role="root"><userinput>mkdir -p /usr/share/xsessions/deprecated &amp;&amp;
144mv -v /usr/share/xsessions/icewm.desktop /usr/share/xsessions/deprecated</userinput></screen>
145
146 </sect2>
147
148 <sect2 role="commands">
149 <title>Command Explanations</title>
150
151 <para>
152 <parameter>-DENABLE_LTO=ON</parameter>: This option enables Link
153 Time Optimization and is required for this package.
154 </para>
155<!--
156 <para>
157 <command>rm /usr/share/xsessions/icewm.desktop</command>: The package
158 ships with both icewm.desktop and icewm-xsession.desktop. The former has
159 apparently been used in the past, but it will hang if used with a modern
160 desktop-manager<phrase revision='sysv'> such as
161 <xref linkend="lightdm"/></phrase>.
162 </para>
163
164 <para>
165 <command>cp ../lib/IceWM.jpg lib</command>: This instruction fixes an
166 install problem.
167 </para>
168-->
169 </sect2>
170
171 <sect2 role="configuration">
172 <title>Configuring IceWM</title>
173
174 <sect3 id="icewm-config">
175 <title>Config Files</title>
176
177 <para>
178 <filename>~/.icewm/keys</filename>,
179 <filename>~/.icewm/menu</filename>, and
180 <filename>~/.icewm/preferences</filename>, and
181 <filename>~/.icewm/toolbar</filename>, and
182 <filename>~/.icewm/winoptions</filename>. The default versions are
183 installed in <filename class="directory">/usr/share/icewm/</filename>
184 and will be used if you have not copied them to <filename
185 class="directory">~/.icewm</filename>.
186 </para>
187
188
189 <indexterm zone="icewm icewm-config">
190 <primary sortas="e-AA.icewm-keys">~/.icewm/keys</primary>
191 </indexterm>
192
193 <indexterm zone="icewm icewm-config">
194 <primary sortas="e-AA.icewm-menu">~/.icewm/menu</primary>
195 </indexterm>
196
197 <indexterm zone="icewm icewm-config">
198 <primary sortas="e-AA.icewm-preferences">~/.icewm/preferences</primary>
199 </indexterm>
200
201 <indexterm zone="icewm icewm-config">
202 <primary sortas="e-AA.icewm-toolbar">~/.icewm/toolbar</primary>
203 </indexterm>
204
205 <indexterm zone="icewm icewm-config">
206 <primary sortas="e-AA.icewm-winoptions">~/.icewm/winoptions</primary>
207 </indexterm>
208
209 </sect3>
210
211 <sect3>
212 <title>Configuration Information</title>
213
214 <para>
215 If <application>IceWM</application> is the only Window Manager you
216 want to use, you can start it with an <filename>.xinitrc</filename> file
217 in your home folder. Be sure to backup your current
218 <filename>.xinitrc</filename> before proceeding.
219 </para>
220
221 <indexterm zone="icewm icewm-config">
222 <primary sortas="e-AA.xinitrc">~/.xinitrc</primary>
223 </indexterm>
224
225<screen><userinput>echo icewm-session &gt; ~/.xinitrc</userinput></screen>
226
227 <para>
228 Now create the <application>IceWM</application> configuration files:
229 </para>
230
231<screen><userinput>mkdir -pv ~/.icewm &amp;&amp;
232cp -v /usr/share/icewm/keys ~/.icewm/keys &amp;&amp;
233cp -v /usr/share/icewm/menu ~/.icewm/menu &amp;&amp;
234cp -v /usr/share/icewm/preferences ~/.icewm/preferences &amp;&amp;
235cp -v /usr/share/icewm/toolbar ~/.icewm/toolbar &amp;&amp;
236cp -v /usr/share/icewm/winoptions ~/.icewm/winoptions</userinput></screen>
237
238 <para>
239 You can now edit these files to meet your requirements. In particular,
240 review the <filename>preferences</filename> file. You can use
241 <command>Logout -> Restart-IceWM</command> on the main menu to load
242 your changed preferences, but changes to the background only take
243 effect when <application>IceWM</application> is started.
244 </para>
245
246 <para>
247 At this point you can <emphasis>either</emphasis> modify the
248 traditional menu files to suit your requirements,
249 <emphasis>or</emphasis> use the newer
250 <command>icewm-menu-fdo</command> described later.
251 </para>
252
253 <para>
254 The syntax of the menus is explained in the help files, which you can
255 access by running <command>help</command> from the menu, but some of
256 the detail is out of date and the default selections in the menus (a
257 few old applications on the main menu, everything else on the
258 <command>Programs</command> menu) will benefit from being updated to
259 meet your needs. The following examples are provided to encourage you
260 to think about how you wish to organise your menus. Please note the
261 following:
262 </para>
263
264 <itemizedlist>
265 <listitem>
266 <para>
267 If a program listed in the menu has not been installed, it will
268 not appear when the menu is displayed. Similarly, if the program
269 exists but the specified icon does not, no icon will be displayed
270 in the menu.
271 </para>
272 </listitem>
273 <listitem>
274 <para>
275 The icons can be either <filename>.xpm</filename> or
276 <filename>.png</filename> files, and there is no need to specify
277 the extension. If the icon is located in the &quot;library&quot;
278 (<filename class="directory">/usr/share/icewm/icons</filename>)
279 there is no need to specify the path.
280 </para>
281 </listitem>
282 <listitem>
283 <para>
284 Most programs are in sub-menus, and the main menu will always
285 append entries for
286 <literal>windows, help, settings, logout</literal>
287 at the bottom.
288 </para>
289 </listitem>
290 <listitem>
291 <para>
292 An icon for <application>firefox</application> was copied to
293 the library directory and given a meaningful name. The icon for
294 <application>xine</application> is <filename>xine.xpm</filename>
295 which was installed to a pixmap directory.
296 </para>
297 </listitem>
298 <listitem>
299 <para>
300 The default toolbar is not altered.
301 </para>
302 </listitem>
303 </itemizedlist>
304
305 <para>
306 If you wish to use this traditional method, there are more examples in
307 previous releases of this book (e.g. BLFS-7.8).
308 </para>
309
310 <para>
311 <emphasis>Alternatively</emphasis>, you can create a menu which
312 conforms to the FDO Desktop Menu Specifications, where programs can be
313 found because they have a .desktop file in the XDG_DATA_HOME or
314 XDG_DATA_DIR directories. Unlike most windowmanagers,
315 <application>icewm</application> does not search for programs when the
316 menu is invoked, so if you take this route you will need to rerun the
317 following command after installing or removing programs:
318 </para>
319
320<screen><userinput>icewm-menu-fdo >~/.icewm/menu</userinput></screen>
321
322 <para>
323 If you wish to put icons on your desktop, you will need to install a
324 program such as <xref linkend="rox-filer"/> which provides a pinboard.
325 If you do that you will no longer be able to access the menu by
326 right-clicking on the desktop, you will have to use the
327 <application>IceWM</application> button. To ensure that the
328 <application>rox</application> pinboard is running, the following
329 commands will put it in the startup file:
330 </para>
331
332<screen role="nodump"><userinput>cat &gt; ~/.icewm/startup &lt;&lt; "EOF"
333<literal>rox -p Default &amp;
334EOF &amp;&amp;
335chmod +x ~/.icewm/startup</literal></userinput></screen>
336
337 <tip>
338 <para>
339 There are a number of keyboard shortcuts in
340 <application>IceWM</application>:
341 </para>
342 <itemizedlist>
343 <listitem>
344 <para>
345 Ctrl + Alt + F<replaceable>N</replaceable> : go to
346 <filename>tty<replaceable>N</replaceable></filename>.
347 </para>
348 </listitem>
349 <listitem>
350 <para>
351 Ctrl + Alt + <replaceable>N</replaceable> : go to desktop
352 number <replaceable>N</replaceable>
353 </para>
354 </listitem>
355 <listitem>
356 <para>
357 Ctrl + Alt + Space : open a box on the taskbar where you can
358 key in the name of an application and run it.
359 </para>
360 </listitem>
361 </itemizedlist>
362 </tip>
363
364 </sect3>
365
366 </sect2>
367
368 <sect2 role="content">
369 <title>Contents</title>
370
371 <segmentedlist>
372 <segtitle>Installed Programs</segtitle>
373 <segtitle>Installed Libraries</segtitle>
374 <segtitle>Installed Directories</segtitle>
375
376 <seglistitem>
377 <seg>icehelp, icesh, icesound, icewm, icewm-menu-fdo, icewm-menu-xrandr,
378 icewm-session, icewm-set-gnomewm, icewmbg, and icewmhint
379 <!-- icewmtray--></seg>
380 <seg>None</seg>
381 <seg>/usr/share/doc/icewm-&icewm-version;, /usr/share/icewm and ~/.icewm</seg>
382 </seglistitem>
383 </segmentedlist>
384
385 <variablelist>
386 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
387 <?dbfo list-presentation="list"?>
388 <?dbhtml list-presentation="table"?>
389
390 <varlistentry id="icehelp">
391 <term><command>icehelp</command></term>
392 <listitem>
393 <para>
394 is used to display the html manual
395 </para>
396 <indexterm zone="icewm icehelp">
397 <primary sortas="b-icehelp">icehelp</primary>
398 </indexterm>
399 </listitem>
400 </varlistentry>
401
402 <varlistentry id="icesh">
403 <term><command>icesh</command></term>
404 <listitem>
405 <para>
406 is a command-line window manager which can be used in
407 <filename>~/.icewm/startup</filename>
408 </para>
409 <indexterm zone="icewm icesh">
410 <primary sortas="b-icesh">icesh</primary>
411 </indexterm>
412 </listitem>
413 </varlistentry>
414
415 <varlistentry id="icesound">
416 <term><command>icesound</command></term>
417 <listitem>
418 <para>
419 plays audio files on GUI events raised by IceWM
420 </para>
421 <indexterm zone="icewm icesound">
422 <primary sortas="b-icesound">icesound</primary>
423 </indexterm>
424 </listitem>
425 </varlistentry>
426
427 <varlistentry id="icewm-prog">
428 <term><command>icewm</command></term>
429 <listitem>
430 <para>
431 is the window manager
432 </para>
433 <indexterm zone="icewm icewm-prog">
434 <primary sortas="b-icewm">icewm</primary>
435 </indexterm>
436 </listitem>
437 </varlistentry>
438
439 <varlistentry id="icewm-menu-fdo">
440 <term><command>icewm-menu-fdo</command></term>
441 <listitem>
442 <para>
443 can create a file in a format suitable for an IceWM menu, which
444 lists those programs currently installed in a layout conforming to
445 the FDO Desktop Menu Specifications
446 </para>
447 <indexterm zone="icewm icewm-menu-fdo">
448 <primary sortas="b-icewm-menu-fdo">icewm-menu-fdo</primary>
449 </indexterm>
450 </listitem>
451 </varlistentry>
452
453 <varlistentry id="icewm-menu-xrandr">
454 <term><command>icewm-menu-xrandr</command></term>
455 <listitem>
456 <para>
457 is a helper program used to manage multi-screen configurations
458 </para>
459 <indexterm zone="icewm icewm-menu-xrandr">
460 <primary sortas="b-icewm-menu-xrandr">icewm-menu-xrandr</primary>
461 </indexterm>
462 </listitem>
463 </varlistentry>
464
465 <varlistentry id="icewm-session">
466 <term><command>icewm-session</command></term>
467 <listitem>
468 <para>
469 runs icewmbg, icewm, icewmtray, startup, shutdown (i.e. startup
470 and shutdown scripts are run if installed)
471 </para>
472 <indexterm zone="icewm icewm-session">
473 <primary sortas="b-icewm-session">icewm-session</primary>
474 </indexterm>
475 </listitem>
476 </varlistentry>
477
478 <varlistentry id="icewm-set-gnomewm">
479 <term><command>icewm-set-gnomewm</command></term>
480 <listitem>
481 <para>
482 is a script to set the <application>GNOME</application> window
483 manager to <application>icewm</application> using
484 <application>gconftool</application>
485 </para>
486 <indexterm zone="icewm icewm-set-gnomewm">
487 <primary sortas="b-icewm-set-gnomewm">icewm-set-gnomewm</primary>
488 </indexterm>
489 </listitem>
490 </varlistentry>
491
492 <varlistentry id="icewmbg">
493 <term><command>icewmbg</command></term>
494 <listitem>
495 <para>
496 is used to set the background, according to the various
497 <literal>DesktopBackground</literal> settings in the preferences
498 </para>
499 <indexterm zone="icewm icewmbg">
500 <primary sortas="b-icewmbg">icewmbg</primary>
501 </indexterm>
502 </listitem>
503 </varlistentry>
504
505 <varlistentry id="icewmhint">
506 <term><command>icewmhint</command></term>
507 <listitem>
508 <para>
509 is used internally to provide hints to the user
510 </para>
511 <indexterm zone="icewm icewmhint">
512 <primary sortas="b-icewmhint">icewmhint</primary>
513 </indexterm>
514 </listitem>
515 </varlistentry>
516 <!--
517 <varlistentry id="icewmtray">
518 <term><command>icewmtray</command></term>
519 <listitem>
520 <para>
521 provides the tray
522 </para>
523 <indexterm zone="icewm icewmtray">
524 <primary sortas="b-icewmtray">icewmtray</primary>
525 </indexterm>
526 </listitem>
527 </varlistentry>
528 -->
529 </variablelist>
530
531 </sect2>
532
533</sect1>
Note: See TracBrowser for help on using the repository browser.