Difference between revisions of "IceWM"

From ArchWiki
Jump to: navigation, search
m (codeline -> ic)
(Configuration: required delay for system tray applets)
(18 intermediate revisions by 5 users not shown)
Line 1: Line 1:
[[Category:Stacking WMs (English)]]
+
[[Category:Stacking WMs]]
{{i18n|IceWM}}
+
[[es:IceWM]]
In Unix computing, 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. (Source: [http://en.wikipedia.org/wiki/Icewm Wikipedia])
+
[[it:IceWM]]
 +
[[ru:IceWM]]
 +
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.''
  
 
== Installation ==
 
== Installation ==
IceWM is available in [extra] and therefore easily installable:
+
IceWM can be installed from [[official repositories]] with package {{Pkg|icewm}}.
<pre>
+
# pacman -S icewm
+
</pre>
+
  
Alternatively, the latest version from the testing branch ({{Package AUR|icewm-testing}}) and CVS version ({{Package AUR|icewm-cvs}}) are available from the [[AUR]]. These versions add new features such as RandR support.
+
Alternatively, the latest version from the testing branch ({{AUR|icewm-testing}}) and CVS version ({{AUR|icewm-cvs}}) 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 '''{{ic|~/.xinitrc}}''':
 +
{{bc|exec icewm}}
 +
 
 +
icewm-session will run icewm, icewmbg and icewmtray, so appending the following to '''{{ic|~/.xinitrc}}''' implements basic session management:
 +
{{bc|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 [[Openbox#Openbox_as_a_WM_for_desktop_environments|ones for Openbox]] (and probably any other WM).
  
 
== Configuration ==
 
== 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.
+
Although IceWM configuration is originally text-based, there are GUI-based tools available, notably {{Pkg|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 {{Ic|/usr/share/icewm/}} to {{Ic|~/.icewm/}}, for example:  
+
To change your icewm configuration from the default, simply copy the default configuration files from {{Ic|/usr/share/icewm/}} to {{Ic|~/.icewm/}}, for example:
  
 
{{Note | Do this as a regular user, not as root.}}
 
{{Note | Do this as a regular user, not as root.}}
Line 21: Line 33:
 
  $ cp -R /usr/share/icewm/* ~/.icewm/
 
  $ cp -R /usr/share/icewm/* ~/.icewm/
  
{{Filename|preferences}} is the core configuration file for IceWM.
+
*{{ic|preferences}} is the core configuration file for IceWM.
{{Filename|menu}} controls the contents of the IceWM application menu.
+
*{{ic|menu}} controls the contents of the IceWM application menu.
{{Filename|keys}} allows the user to customize keyboard shortcuts.
+
*{{ic|keys}} allows the user to customize keyboard shortcuts
 +
*{{ic|toolbar}} row of launcher icons on the taskbar
 +
*{{ic|winoptions}} behavior of individual applications
 +
*{{ic|theme}} theme path/name
 +
*{{ic|startup}} script or command (must be executable) executed on startup
 +
*{{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 ===
MenuMaker (available in [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:
+
* {{Pkg|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:
<pre>
+
# mmaker -f icewm
+
</pre>
+
  
=== Themes ===
+
  # mmaker -f icewm
Although some themes are included by default, there is a much larger and better selection in the verified {{Package Official|icewm-themes}} package in the repository. Although many have a spartan, 'old Windows' feel, some (ElbergBlue, liquid, etc.) have a more modern look.
+
  
You can also visit [http://www.box-look.org/index.php?xcontentmode=7311 box-look.org] for more themes.
+
* Another tool written in perl is the {{Pkg|archlinux-xdg-menu}}:
 +
 
 +
# 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 {{Pkg|icewm-themes}} package in the repository, but even the best of them have a spartan, 'old Windows' feel. Much better examples (like [http://box-look.org/content/show.php/Carbonit+Ice?content=146421|this], [http://box-look.org/content/show.php/IceBuntu?content=62935|this] or [http://box-look.org/content/show.php/IceClearlooks?content=96346|this]) can be found at [http://www.box-look.org/index.php?xcontentmode=7311 box-look.org].
  
 
== File Managers ==
 
== 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|iDesk]] can also be used to achieve this functionality.
 
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|iDesk]] can also be used to achieve this functionality.
{{Note|For a greater listing of file managers, examine the [[:Category:File managers (English)|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