个人工具
登录
查看“UbuntuHelp:IceWM”的源代码 - Ubuntu中文
UbuntuHelp
讨论
查看源代码
历史
搜索
导航
首页
最近更改
随机页面
页面分类
帮助
编辑
编辑指南
沙盒
新闻动态
字词处理
工具
链入页面
相关更改
特殊页面
页面信息
查看“UbuntuHelp:IceWM”的源代码
来自Ubuntu中文
←
UbuntuHelp:IceWM
跳转至:
导航
,
搜索
因为以下原因,你没有权限编辑本页:
您所请求的操作仅限于该用户组的用户使用:
用户
您可以查看与复制此页面的源代码。
{{From|https://help.ubuntu.com/community/IceWM}} {{Languages|UbuntuHelp:IceWM}} <<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. 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). 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 [http://www.lynucs.org/?icewm here] and [http://linux.softpedia.com/progScreenshots/IceWM-Screenshot-3302.html 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 [[UbuntuHelp:Installation/LowMemorySystems|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 icemc iceconf</nowiki></code>. <pre><nowiki> $ sudo apt-get install icewm icemc iceconf </nowiki></pre> 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. <pre><nowiki> $ iceconf </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" # 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> $ sudo visudo </nowiki></pre> then add this line at the end of the file: <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: <pre><nowiki> $ nano .icewm/startup </nowiki></pre> Here's an example: <pre><nowiki> !#/bin/sh conky& Eterm -O -x -f white --scrollbar 0 --buttonbar 0& xscreensaver -nosplash& gnome-volume-manager& </nowiki></pre> Save, and quit nano. Don't forget to add an & after each app to keep them running. Now, you need to make it executable: <pre><nowiki> chmod +x .icewm/startup </nowiki></pre> 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. == 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: 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 [http://box-look.org/index.php?xcontentmode=7311 Box-Look.org]. 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: <pre><nowiki> $ mkdir .icewm/themes </nowiki></pre> Now, we need to move the downloaded theme to this folder: <pre><nowiki> $ mv yourdownloadlfolder/youricewmtheme.tar.gz .icewm/themes/ </nowiki></pre> Next, go to the themes folder and unpack your downloaded theme: <pre><nowiki> $ cd .icewm/themes $ tar xvzf youricewmtheme.tar.gz </nowiki></pre> 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. <pre><nowiki> $ sudo apt-get install rox-filer </nowiki></pre> Then, to launch your new desktop: <pre><nowiki> $ rox --pinboard=MyPinboard </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. ---- [[category:CategoryXwindowSystem]] [[category:UbuntuHelp]]
该页面使用的模板:
模板:From
(
查看源代码
)
模板:Languages
(
查看源代码
)(受保护)
模板:Languages/Lang
(
查看源代码
)(受保护)
返回至
UbuntuHelp:IceWM
。