Difference between revisions of "IceWM"

From ArchWiki
Jump to: navigation, search
(Configuration: required delay for system tray applets)
(3 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
[[Category:Stacking WMs]]
 
[[Category:Stacking WMs]]
{{i18n|IceWM}}
+
[[es:IceWM]]
 
+
[[it:IceWM]]
 +
[[ru:IceWM]]
 
According to [[Wikipedia:Icewm|Wikipedia]]:
 
According to [[Wikipedia:Icewm|Wikipedia]]:
 
:''IceWM is a window manager for the X Window System graphical infrastructure, written by Marko Maček. It was coded from scratch in C++ and is released under the terms of the GNU Lesser General Public License. It is relatively lightweight in terms of memory and CPU usage, and comes with themes that allow it to imitate the UI of Windows 95, OS/2, Motif, and other graphical user interfaces". Configurability and presence of simple session management places IceWM between simplest [[DE]]s and feature-rich [[WM]]s.''
 
:''IceWM is a window manager for the X Window System graphical infrastructure, written by Marko Maček. It was coded from scratch in C++ and is released under the terms of the GNU Lesser General Public License. It is relatively lightweight in terms of memory and CPU usage, and comes with themes that allow it to imitate the UI of Windows 95, OS/2, Motif, and other graphical user interfaces". Configurability and presence of simple session management places IceWM between simplest [[DE]]s and feature-rich [[WM]]s.''
Line 12: Line 13:
 
== Running as stand-alone WM ==
 
== Running as stand-alone WM ==
 
To run IceWM as a stand-alone window manager, append the following to '''{{ic|~/.xinitrc}}''':
 
To run IceWM as a stand-alone window manager, append the following to '''{{ic|~/.xinitrc}}''':
exec icewm
+
{{bc|exec icewm}}
 
+
If you want mounting, tray icons, desktop background and session stuff to work use
+
exec ck-launch-session dbus-launch icewm-session
+
(try to determine yourself which part is optional and how to use icewmbg to set desktop background)
+
 
+
  
 
icewm-session will run icewm, icewmbg and icewmtray, so appending the following to '''{{ic|~/.xinitrc}}''' implements basic session management:
 
icewm-session will run icewm, icewmbg and icewmtray, so appending the following to '''{{ic|~/.xinitrc}}''' implements basic session management:
exec icewm-session
+
{{bc|exec icewm-session}}
  
{{Note | Entries in ~/.xinitrc for another [[Window manager]] or [[Desktop environment]] should be commented or removed - see [[xinitrc]] for further information.}}
+
See [[xinitrc]] for details, such as preserving the logind (and/or consolekit) session.
  
 
== IceWM as a WM for desktop environments ==
 
== IceWM as a WM for desktop environments ==
Line 45: Line 41:
 
*{{ic|startup}} script or command (must be executable) executed on startup
 
*{{ic|startup}} script or command (must be executable) executed on startup
 
*{{ic|shutdown}} the same for shutdown
 
*{{ic|shutdown}} the same for shutdown
 +
 +
Note: startup commands that install system tray applets must be preceded by <TT >sleep 1 &&</TT >, otherwise [[IceWM]] will create an ugly black window that will prevent it from quitting; in that case, use [[xkill]] on the task bar.
  
 
=== Menu ===
 
=== Menu ===
Line 62: Line 60:
 
{{Note|For a greater listing of file managers, examine the [[:Category:File managers|File managers]] category listing.}}
 
{{Note|For a greater listing of file managers, examine the [[:Category:File managers|File managers]] category listing.}}
  
== Related Articles ==
+
== See also ==
 
* [[Xinitrc]]
 
* [[Xinitrc]]
 
== External Resources ==
 
 
* [http://www.icewm.org/ Official IceWM website]
 
* [http://www.icewm.org/ Official IceWM website]
 
* [http://en.gentoo-wiki.com/wiki/IceWM IceWM - Gentoo Linux Wiki]
 
* [http://en.gentoo-wiki.com/wiki/IceWM IceWM - Gentoo Linux Wiki]
 
* [http://www.osnews.com/story.php/7774/IceWM--The-Cool-Window-Manager/ IceWM - The Cool Window Manager] - Detailed introduction on OSNews
 
* [http://www.osnews.com/story.php/7774/IceWM--The-Cool-Window-Manager/ IceWM - The Cool Window Manager] - Detailed introduction on OSNews
 
* [http://polishlinux.org/apps/window-managers/icewm-a-desktop-for-windows-emmigrants/ IceWM - A desktop for Windows emigrants] - Overview and tutorial from polishlinux.org
 
* [http://polishlinux.org/apps/window-managers/icewm-a-desktop-for-windows-emmigrants/ IceWM - A desktop for Windows emigrants] - Overview and tutorial from polishlinux.org

Revision as of 13:58, 11 May 2013

According to Wikipedia:

IceWM is a window manager for the X Window System graphical infrastructure, written by Marko Maček. It was coded from scratch in C++ and is released under the terms of the GNU Lesser General Public License. It is relatively lightweight in terms of memory and CPU usage, and comes with themes that allow it to imitate the UI of Windows 95, OS/2, Motif, and other graphical user interfaces". Configurability and presence of simple session management places IceWM between simplest DEs and feature-rich WMs.

Installation

IceWM can be installed from official repositories with package icewm.

Alternatively, the latest version from the testing branch (icewm-testingAUR) and CVS version (icewm-cvsAUR) are available from the AUR. These versions add new features and bugfixes (due to slow development they are often equal with extra/icewm).

Running as stand-alone WM

To run IceWM as a stand-alone window manager, append the following to ~/.xinitrc:

exec icewm

icewm-session will run icewm, icewmbg and icewmtray, so appending the following to ~/.xinitrc implements basic session management:

exec icewm-session

See xinitrc for details, such as preserving the logind (and/or consolekit) session.

IceWM as a WM for desktop environments

Actions required to use IceWM with DE are basically same as ones for Openbox (and probably any other WM).

Configuration

Although IceWM configuration is originally text-based, there are GUI-based tools available, notably icewm-utils in [community]. However these tools are relatively old and most users prefer to simply edit the text configuration files. Configuration changes from defaults can be made either system wide (in /etc/icewm/) or on a user-specific basis (in ~/.icewm/).

To change your icewm configuration from the default, simply copy the default configuration files from /usr/share/icewm/ to ~/.icewm/, for example:

Note: Do this as a regular user, not as root.
$ mkdir ~/.icewm/
$ cp -R /usr/share/icewm/* ~/.icewm/
  • preferences is the core configuration file for IceWM.
  • menu controls the contents of the IceWM application menu.
  • keys allows the user to customize keyboard shortcuts
  • toolbar row of launcher icons on the taskbar
  • winoptions behavior of individual applications
  • theme theme path/name
  • startup script or command (must be executable) executed on startup
  • shutdown the same for shutdown

Note: startup commands that install system tray applets must be preceded by sleep 1 &&, otherwise IceWM will create an ugly black window that will prevent it from quitting; in that case, use xkill on the task bar.

Menu

  • menumaker from [community] is a Python script that automatically populates your applications menu based on what is installed in your system. Although this may result in a menu filled with many unwanted applcations, it may still be preferable to manually editing the menu configuration file. When running MenuMaker, use the -f flag to overwrite an existing menu file:
# mmaker -f icewm
# xdg_menu --format icewm --fullmenu --root-menu /etc/xdg/menus/arch-applications.menu > ~/.icewm/menu

Themes

Some themes are included by default, much larger selection is available in the icewm-themes package in the repository, but even the best of them have a spartan, 'old Windows' feel. Much better examples (like [1], [2] or [3]) can be found at box-look.org.

File Managers

It should be noted that IceWM is a window manager only and therefore does not include a file manager. PCManFM and Rox Filer enable desktop icons, but iDesk can also be used to achieve this functionality.

Note: For a greater listing of file managers, examine the File managers category listing.

See also