个人工具

“UbuntuHelp:IceWM”的版本间的差异

来自Ubuntu中文

跳转至: 导航, 搜索
 
(未显示同一用户的10个中间版本)
第1行: 第1行:
 
{{From|https://help.ubuntu.com/community/IceWM}}
 
{{From|https://help.ubuntu.com/community/IceWM}}
 
{{Languages|UbuntuHelp:IceWM}}
 
{{Languages|UbuntuHelp:IceWM}}
IceWM is a window manager like Fluxbox or Metacity. It is not a desktop environment like Gnome or KDE (and is usually used independently of one). It is designed for lightweight simplicity and ease of use, but not focused on customizability. The look and feel is similar to that of Windows 95.
+
<<Include(Tag/NeedsExpansion)>>
 
+
IceWM is a window manager like [[UbuntuHelp:Fluxbox|Fluxbox]] or [[UbuntuHelp:Metacity|Metacity]]. It is not a desktop environment like Gnome or KDE (and is usually used independently of one). It is designed for lightweight simplicity and ease of use, but not focused on customizability. The look and feel is similar to that of Windows 95.
== Why should I use IceWM?<br>为什么我要使用IceWM? ==
+
There is also Icebuntu, a Ubuntu based distribution that uses IceWM as the default Window Manager. More information on this project can be found [[UbuntuWiki:DerivativeTeam/Derivatives/IceBuntu|here]]
 
+
== Why should I use IceWM? ==
There are many reasons why you may want to run IceWM instead of Gnome or KDE. One important reason is that IceWM requires very little memory, and this can be important to systems that have little memory to begin with, or ones where every bit is needed (for hardcore gamers, for example).
+
There are many reasons why you may want to run IceWM instead of Gnome or KDE. One important reason is that IceWM requires very little memory, and this can be important to systems that have little memory to begin with, or ones where every bit is needed (for hardcore gamers, for example).  
 
+
Others like to set up IceWM for their family members who just want something that looks and acts like Windows, and doesn't get in their way.  
你有很多理由使用IceWM,而不是 Gnome 或者 KDE.其中很重要的一个理由是IceWM只要求很少的内存,对于启动系统所需内存要求很低,或者你对内存斤斤计较(比如骨灰级玩家)。
+
IceWM is also known for being so simple and plain, that you forget it's there. This is a good thing for expert users who don't need to customize the look of their desktop every day but just have something that's solid and easy on the eyes.
 
+
Various Screenshots of IceWM can also be found [http://www.lynucs.org/?icewm here] and [http://linux.softpedia.com/progScreenshots/IceWM-Screenshot-3302.html here]
Others like to set up IceWM for their family members who just want something that looks and acts like Windows, and doesn't get in their way.
+
== Installing IceWM ==
 
+
(''The following installation instructions assume you are installing IceWM on a default Ubuntu installation, which uses GDM or KDM.  Users wishing to install the absolute minimum should first consult the [[UbuntuHelp:Installation/LowMemorySystems|Installation/LowMemorySystems]] wikipage for instructions more particularly directed to minimal installations.'')
有些人为了家庭成员安装IceWM只是为了让系统看起来有点象WINDOWS。
+
This is the easy part. IceWM is in the universe repositories. Enable the universe repositories (if necessary) and then install the following packages: <code><nowiki>icewm icemc iceconf</nowiki></code>.
 
+
<pre><nowiki>
IceWM is also known for being so simple and plain, that you forget it's there. This is a good thing for expert users who don't need to customize the look of their desktop every day but just have something that's solid and easy on the eyes.<br>当然IceWM已简单和清晰著名以至于你忘了他的存在。对于专业用户来说,这是个好事情。因为他们不需要每天定制他们的桌面,只是需要有个桌面让某些操作变得简便,当然眼睛看得舒服也是一个很重要的原因。
+
$ sudo apt-get install icewm icemc iceconf
 
+
</nowiki></pre>
== Installing IceWM: ==
+
 
+
(''The following installation instructions assume you are installing IceWM on a default Ubuntu installation, which uses GDM or KDM.  Users wishing to install the absolute minimum should first consult the [[UbuntuHelp:Installation/LowMemorySystems]] wikipage for instructions more particularly directed to minimal installations.'')
+
 
+
This is the easy part. IceWM is in the universe repositories. Enable the universe repositories (if necessary) and then install the following packages: <code><nowiki>icewm iceme icepref</nowiki></code>.  
+
 
+
 
After you install, logout and select IceWM on the Sessions menu.
 
After you install, logout and select IceWM on the Sessions menu.
 
+
== Configuration ==
== Configuration: ==
+
In the Unix tradition, IceWM uses plain text files stored in the ~/.icewm folder for its settings. Originally they are at /usr/share/icewm, so you may create the .icewm folder in you home directory and copy the 'keys', 'menu', 'preferences', 'toolbar' and 'winoptions' files to it so you may configure IceWM without needing to be root. The most important file is ~/.icewm/preferences. It can be edited by hand, but the easiest way is to use the graphical configuration tool iceconf.
 
+
In the Unix tradition, IceWM uses plain text files stored in the ~/.icewm folder for its settings. The most important file is ~/.icewm/preferences. It can be edited by hand, but the easiest way is to use the graphical configuration tool icepref.
+
 
+
 
<pre><nowiki>
 
<pre><nowiki>
$ icepref
+
$ iceconf
 
</nowiki></pre>
 
</nowiki></pre>
 +
There are many configuration options in ~/.icewm/preferences but two of them are almost essential if IceWM is to become your day-to-day window manager:
 +
<pre><nowiki>
 +
#  Command to shutdown the system
 +
ShutdownCommand="sudo halt"
  
If you wish to edit IceWM's menus, you can do so graphically using the iceme tool:
+
#  Command to reboot the system
 
+
RebootCommand="sudo reboot"
 +
</nowiki></pre>
 +
otherwise you'll have to logout to be able to reboot or shutdown. But for these commands to work you must edit /etc/sudoers so they can be executed without a password. For this, use <code><nowiki>visudo</nowiki></code>, which checks for any mistakes that may have been made while editing:
 
<pre><nowiki>
 
<pre><nowiki>
$ iceme
+
$ sudo visudo
 
</nowiki></pre>
 
</nowiki></pre>
 
+
then add this line at the end of the file:
If you want certain programs to start automatically when you log in, you can use a <code><nowiki>startup</nowiki></code> file, much like the one in Fluxbox. It's located in the <code><nowiki>~/.icewm</nowiki></code> folder.
+
<pre><nowiki>
 +
%admin ALL=NOPASSWD: /sbin/halt, /sbin/reboot
 +
</nowiki></pre>
 +
If you wish to edit IceWM's menus, you can do so graphically using the icemc tool:
 +
<pre><nowiki>
 +
$ icemc
 +
</nowiki></pre>
 +
If you want certain programs to start automatically when you log in, you can use a <code><nowiki>startup</nowiki></code> file, much like the one in [[UbuntuHelp:Fluxbox|Fluxbox]]. It's located in the <code><nowiki>~/.icewm</nowiki></code> folder.
 
It's not there by default, so let's create it:
 
It's not there by default, so let's create it:
 
 
<pre><nowiki>
 
<pre><nowiki>
 
$ nano .icewm/startup
 
$ nano .icewm/startup
 
</nowiki></pre>
 
</nowiki></pre>
 
 
Here's an example:
 
Here's an example:
 
 
<pre><nowiki>
 
<pre><nowiki>
 
!#/bin/sh
 
!#/bin/sh
第52行: 第53行:
 
Eterm -O -x -f white --scrollbar 0 --buttonbar 0&
 
Eterm -O -x -f white --scrollbar 0 --buttonbar 0&
 
xscreensaver -nosplash&
 
xscreensaver -nosplash&
 +
gnome-volume-manager&
 
</nowiki></pre>
 
</nowiki></pre>
 
 
Save, and quit nano.
 
Save, and quit nano.
 
Don't forget to add an & after each app to keep them running.
 
Don't forget to add an & after each app to keep them running.
 
Now, you need to make it executable:
 
Now, you need to make it executable:
 
 
<pre><nowiki>
 
<pre><nowiki>
 
chmod +x .icewm/startup
 
chmod +x .icewm/startup
 
</nowiki></pre>
 
</nowiki></pre>
 
 
And that's all. Next time you log in, you should see the added programs running.
 
And that's all. Next time you log in, you should see the added programs running.
 
+
More IceWM Configuration Applications can also be found [http://icecc.sourceforge.net/ here], which are not in the Ubuntu Repositories.
== Themes: ==
+
== Keys ==
 
+
You can setup shortcut keys in the ~./icewm/keys file to launch some quickly needed programs while using IceWM. Here is an example of setting up Xscreensaver to lock the screen when pressing Super+L:
 +
<pre><nowiki>
 +
$ nano .icewm/keys
 +
</nowiki></pre>
 +
You will find alot of different shortcut keys in here. Now anywhere in this file, add this:
 +
<pre><nowiki>
 +
key "Super+L" xscreensaver-command -lock
 +
</nowiki></pre>
 +
Alternately, the key can be changed to suit your needs, and multiple different keys can be added to this file to allow you to make different shortcut keys for launching programs.
 +
Save and quit nano. You will need to restart IceWM for the changes to take effect.
 +
== Toolbar ==
 +
You may place quick-launch icons at the taskbar by editing ~/.icewm/toolbar. The syntax is simple:
 +
<pre><nowiki>
 +
prog    "name" icon command
 +
</nowiki></pre>
 +
where:
 +
* ''name'' is what will be shown when the cursor hovers the icon; e.g.: <code><nowiki>"VLC Media Player"</nowiki></code>.
 +
* ''icon'' is an icon name in /usr/share/pixmaps or an icon path; e.g.: <code><nowiki>vlc</nowiki></code> or <code><nowiki>/usr/share/icons/gnome/16x16/categories/applications-multimedia.png</nowiki></code>.
 +
* ''command'' is the command to launch the application or the path to its executable; e.g.: <code><nowiki>qvlc</nowiki></code> or <code><nowiki>/usr/bin/qvlc</nowiki></code>.
 +
== Themes ==
 
IceWM comes with around 72 preinstalled themes; some nicer themes are to be found elsewhere on the Internet. Here are some examples:
 
IceWM comes with around 72 preinstalled themes; some nicer themes are to be found elsewhere on the Internet. Here are some examples:
 
 
IceBuntu: http://themes.freshmeat.net/projects/icebuntu/
 
IceBuntu: http://themes.freshmeat.net/projects/icebuntu/
 
 
Silver XP: http://themes.freshmeat.net/projects/icewmsilverxp/
 
Silver XP: http://themes.freshmeat.net/projects/icewmsilverxp/
 
 
TrueCurve: http://themes.freshmeat.net/projects/truecurve/
 
TrueCurve: http://themes.freshmeat.net/projects/truecurve/
 
 
IceGil: http://themes.freshmeat.net/projects/icegilgrey/
 
IceGil: http://themes.freshmeat.net/projects/icegilgrey/
 
 
ThinBlack: http://themes.freshmeat.net/projects/thinblack/
 
ThinBlack: http://themes.freshmeat.net/projects/thinblack/
 
+
VistaBlack: http://box-look.org/content/show.php/VistaBlack?content=59925
The first three themes are just clones of other popular themes: the first is Dapper's Human theme, the second is Windows XP, and the third is Fedora's theme.
+
The first three themes are just clones of other popular themes: the first is Dapper's Human theme, the second is Windows XP, and the third is Fedora's theme.  
 
+
More themes can also be found at [http://box-look.org/index.php?xcontentmode=7311 Box-Look.org].
 
Installing themes is easy.
 
Installing themes is easy.
 
User themes are installed in the folder <code><nowiki>~/.icewm/themes/</nowiki></code>. This may not exist yet, so let's create it:
 
User themes are installed in the folder <code><nowiki>~/.icewm/themes/</nowiki></code>. This may not exist yet, so let's create it:
 
 
<pre><nowiki>
 
<pre><nowiki>
 
$ mkdir .icewm/themes
 
$ mkdir .icewm/themes
 
</nowiki></pre>
 
</nowiki></pre>
 
 
Now, we need to move the downloaded theme to this folder:
 
Now, we need to move the downloaded theme to this folder:
 
 
<pre><nowiki>
 
<pre><nowiki>
 
$ mv yourdownloadlfolder/youricewmtheme.tar.gz .icewm/themes/
 
$ mv yourdownloadlfolder/youricewmtheme.tar.gz .icewm/themes/
 
</nowiki></pre>
 
</nowiki></pre>
 
 
Next, go to the themes folder and unpack your downloaded theme:
 
Next, go to the themes folder and unpack your downloaded theme:
 
 
<pre><nowiki>
 
<pre><nowiki>
 
$ cd .icewm/themes
 
$ cd .icewm/themes
 
$ tar xvzf youricewmtheme.tar.gz
 
$ tar xvzf youricewmtheme.tar.gz
 
</nowiki></pre>
 
</nowiki></pre>
 
 
Done! Now, go to your start button and go to the ''themes'' section. You should now see your downloaded theme listed.
 
Done! Now, go to your start button and go to the ''themes'' section. You should now see your downloaded theme listed.
 
+
== Desktop ==
== Desktop: ==
+
 
+
 
If you want a desktop with IceWM, you can do so in several ways. The best is to get ROX-Filer.  
 
If you want a desktop with IceWM, you can do so in several ways. The best is to get ROX-Filer.  
 
 
<pre><nowiki>
 
<pre><nowiki>
 
$ sudo apt-get install rox-filer
 
$ sudo apt-get install rox-filer
 
</nowiki></pre>
 
</nowiki></pre>
 
 
Then, to launch your new desktop:
 
Then, to launch your new desktop:
 
 
<pre><nowiki>
 
<pre><nowiki>
 
$ rox --pinboard=MyPinboard
 
$ rox --pinboard=MyPinboard
 
</nowiki></pre>
 
</nowiki></pre>
 
 
You can also add the above command to the startup script mentioned in the configuration section and the rox-filer will automatically start.
 
You can also add the above command to the startup script mentioned in the configuration section and the rox-filer will automatically start.
[[category:CategoryDocumentation]] [[category:CategoryNeedsExpansion]]
+
----
 +
[[category:CategoryXwindowSystem]]
  
 
[[category:UbuntuHelp]]
 
[[category:UbuntuHelp]]

2009年11月17日 (二) 19:27的最新版本

<<Include(Tag/NeedsExpansion)>> IceWM is a window manager like Fluxbox or Metacity. It is not a desktop environment like Gnome or KDE (and is usually used independently of one). It is designed for lightweight simplicity and ease of use, but not focused on customizability. The look and feel is similar to that of Windows 95. There is also Icebuntu, a Ubuntu based distribution that uses IceWM as the default Window Manager. More information on this project can be found here

Why should I use IceWM?

There are many reasons why you may want to run IceWM instead of Gnome or KDE. One important reason is that IceWM requires very little memory, and this can be important to systems that have little memory to begin with, or ones where every bit is needed (for hardcore gamers, for example). Others like to set up IceWM for their family members who just want something that looks and acts like Windows, and doesn't get in their way. IceWM is also known for being so simple and plain, that you forget it's there. This is a good thing for expert users who don't need to customize the look of their desktop every day but just have something that's solid and easy on the eyes. Various Screenshots of IceWM can also be found here and here

Installing IceWM

(The following installation instructions assume you are installing IceWM on a default Ubuntu installation, which uses GDM or KDM. Users wishing to install the absolute minimum should first consult the Installation/LowMemorySystems wikipage for instructions more particularly directed to minimal installations.) This is the easy part. IceWM is in the universe repositories. Enable the universe repositories (if necessary) and then install the following packages: icewm icemc iceconf.

$ sudo apt-get install icewm icemc iceconf

After you install, logout and select IceWM on the Sessions menu.

Configuration

In the Unix tradition, IceWM uses plain text files stored in the ~/.icewm folder for its settings. Originally they are at /usr/share/icewm, so you may create the .icewm folder in you home directory and copy the 'keys', 'menu', 'preferences', 'toolbar' and 'winoptions' files to it so you may configure IceWM without needing to be root. The most important file is ~/.icewm/preferences. It can be edited by hand, but the easiest way is to use the graphical configuration tool iceconf.

$ iceconf

There are many configuration options in ~/.icewm/preferences but two of them are almost essential if IceWM is to become your day-to-day window manager:

#  Command to shutdown the system
ShutdownCommand="sudo halt"

#  Command to reboot the system
RebootCommand="sudo reboot"

otherwise you'll have to logout to be able to reboot or shutdown. But for these commands to work you must edit /etc/sudoers so they can be executed without a password. For this, use visudo, which checks for any mistakes that may have been made while editing:

$ sudo visudo

then add this line at the end of the file:

%admin ALL=NOPASSWD: /sbin/halt, /sbin/reboot

If you wish to edit IceWM's menus, you can do so graphically using the icemc tool:

$ icemc

If you want certain programs to start automatically when you log in, you can use a startup file, much like the one in Fluxbox. It's located in the ~/.icewm folder. It's not there by default, so let's create it:

$ nano .icewm/startup

Here's an example:

!#/bin/sh

conky&
Eterm -O -x -f white --scrollbar 0 --buttonbar 0&
xscreensaver -nosplash&
gnome-volume-manager&

Save, and quit nano. Don't forget to add an & after each app to keep them running. Now, you need to make it executable:

chmod +x .icewm/startup

And that's all. Next time you log in, you should see the added programs running. More IceWM Configuration Applications can also be found here, which are not in the Ubuntu Repositories.

Keys

You can setup shortcut keys in the ~./icewm/keys file to launch some quickly needed programs while using IceWM. Here is an example of setting up Xscreensaver to lock the screen when pressing Super+L:

$ nano .icewm/keys

You will find alot of different shortcut keys in here. Now anywhere in this file, add this:

key "Super+L" xscreensaver-command -lock

Alternately, the key can be changed to suit your needs, and multiple different keys can be added to this file to allow you to make different shortcut keys for launching programs. Save and quit nano. You will need to restart IceWM for the changes to take effect.

Toolbar

You may place quick-launch icons at the taskbar by editing ~/.icewm/toolbar. The syntax is simple:

prog    "name" icon command

where:

  • name is what will be shown when the cursor hovers the icon; e.g.: "VLC Media Player".
  • icon is an icon name in /usr/share/pixmaps or an icon path; e.g.: vlc or /usr/share/icons/gnome/16x16/categories/applications-multimedia.png.
  • command is the command to launch the application or the path to its executable; e.g.: qvlc or /usr/bin/qvlc.

Themes

IceWM comes with around 72 preinstalled themes; some nicer themes are to be found elsewhere on the Internet. Here are some examples: IceBuntu: http://themes.freshmeat.net/projects/icebuntu/ Silver XP: http://themes.freshmeat.net/projects/icewmsilverxp/ TrueCurve: http://themes.freshmeat.net/projects/truecurve/ IceGil: http://themes.freshmeat.net/projects/icegilgrey/ ThinBlack: http://themes.freshmeat.net/projects/thinblack/ VistaBlack: http://box-look.org/content/show.php/VistaBlack?content=59925 The first three themes are just clones of other popular themes: the first is Dapper's Human theme, the second is Windows XP, and the third is Fedora's theme. More themes can also be found at Box-Look.org. Installing themes is easy. User themes are installed in the folder ~/.icewm/themes/. This may not exist yet, so let's create it:

$ mkdir .icewm/themes

Now, we need to move the downloaded theme to this folder:

$ mv yourdownloadlfolder/youricewmtheme.tar.gz .icewm/themes/

Next, go to the themes folder and unpack your downloaded theme:

$ cd .icewm/themes
$ tar xvzf youricewmtheme.tar.gz

Done! Now, go to your start button and go to the themes section. You should now see your downloaded theme listed.

Desktop

If you want a desktop with IceWM, you can do so in several ways. The best is to get ROX-Filer.

$ sudo apt-get install rox-filer

Then, to launch your new desktop:

$ rox --pinboard=MyPinboard

You can also add the above command to the startup script mentioned in the configuration section and the rox-filer will automatically start.