特殊:Badtitle/NS100:FVWM/zh:修订间差异
小无编辑摘要 |
小无编辑摘要 |
||
第1行: | 第1行: | ||
{{Translation}} {{From|https://help.ubuntu.com/community/FVWM}} {{Translator|convice}} {{Languages|FVWM}} | {{Translation}} | ||
{{From|https://help.ubuntu.com/community/FVWM}} | |||
{{Translator|convice}} {{Languages|FVWM}} | |||
FVWM is an extremely customizable window manager, many would say it is pathologically customizable. It is also very extensible, lightweight, and fast. It is not for the non-technical. It is for those who know what they want and want the freedom to implement it. It can be as ugly and functional or as beautiful and full of gee-whiz embellishments as you like. The limits are your imagination and your skill. There are 3rd party projects to provide automatic configuration and themes (fvwm-themes and fvwm-crystal). FVWM itself provides a default configuration file generator, in which certain options can be chosen. The expectation, however, is that you want a configuration of your very own, and you can use these tools and others' configs as a starting point ([http://starshine.org/xteddy/thomas/fvwm/user_enumerate.html further explanation]). | FVWM is an extremely customizable window manager, many would say it is pathologically customizable. It is also very extensible, lightweight, and fast. It is not for the non-technical. It is for those who know what they want and want the freedom to implement it. It can be as ugly and functional or as beautiful and full of gee-whiz embellishments as you like. The limits are your imagination and your skill. There are 3rd party projects to provide automatic configuration and themes (fvwm-themes and fvwm-crystal). FVWM itself provides a default configuration file generator, in which certain options can be chosen. The expectation, however, is that you want a configuration of your very own, and you can use these tools and others' configs as a starting point ([http://starshine.org/xteddy/thomas/fvwm/user_enumerate.html further explanation]). | ||
FVWM是一种高度可配置的窗口管理器,我们甚至可说它是“病态”的可配置。它也是可扩展的,轻量级的,快速的窗口管理器。它不适合非技术人士,只适合于那些知道他们想要什么并希望能自由的实现的那些人。它可以是很丑陋但功能强大,或者是充满了很多奇特的装饰,只要你喜欢。唯一的限制是你的想像力和技巧。有一些第三方项目提供了自动化的配置和主题(fvwm-themes和fvwm-crystal)。FVWM也提供一些配置文件产生器,它给你提供了一些特定的选项。如果你希望创建你自己的配置文件,你可以使用这些工具和别人的配置做为一个起点。 | FVWM是一种高度可配置的窗口管理器,我们甚至可说它是“病态”的可配置。它也是可扩展的,轻量级的,快速的窗口管理器。它不适合非技术人士,只适合于那些知道他们想要什么并希望能自由的实现的那些人。它可以是很丑陋但功能强大,或者是充满了很多奇特的装饰,只要你喜欢。唯一的限制是你的想像力和技巧。有一些第三方项目提供了自动化的配置和主题(fvwm-themes和fvwm-crystal)。FVWM也提供一些配置文件产生器,它给你提供了一些特定的选项。如果你希望创建你自己的配置文件,你可以使用这些工具和别人的配置做为一个起点。 | ||
([http://starshine.org/xteddy/thomas/fvwm/user_enumerate.html further explanation]). | |||
== Ubuntu specifics == | == Ubuntu specifics == | ||
=== | === 安装 === | ||
==== | ==== 从 Apt ==== | ||
FVWM is easily installed into Ubuntu, as there is an fvwm package in the repositories. There are additional packages like fvwm-themes, which is a collection of canned FVWM configurations for those who want something that works right away. | FVWM is easily installed into Ubuntu, as there is an fvwm package in the repositories. There are additional packages like fvwm-themes, which is a collection of canned FVWM configurations for those who want something that works right away. | ||
==== | FVWM可以很容易的被安装到Ubuntu上,因为在软件仓库里有fvwm软件包。还有一些为那些想要马上能让工作的人提供的附加软件包,它们包含了一些可用的FVWM配置文件。 | ||
==== 从源码包安装 ==== | |||
FVWM is an active project. Updates with bug fixes and new features are fairly frequent. Currently, FVWM maintains two states: a stable release (versions 2.4.X) and an unstable release (2.5.X). The unstable branch is the one that will eventually form the new stable set (and hence will evolve to 2.6.X as stable, and 2.7.X as being unstable). Given that the FVWM stable branch is quite old, a lot of the more "established" actions one would expect from a window manager is really only in the unstable branch at the moment. Not that "unstable" really means that it crashes every five minutes; it's just an indication that the branch is subject to development and change. Unless there's a very good reason (unlikely) then the 2.5.X branch is the one that should be used, as many people tailor their configs to use it, and usually give no consideration to FVWM 2.4.X. Prerequisite packages are | |||
FVWM是一个活跃的项目。Bug修正和新功能的升级十分频繁。目前,FVWM维护着两个版本分支:稳定版本(2.4.X)和不稳定版本(2.5.X)。不稳定分支最终会形成稳定版本。 | |||
<code><nowiki>build-essential</nowiki></code>, <code><nowiki>xorg-dev</nowiki></code>, <code><nowiki>fakeroot</nowiki></code> (for making the .deb), and <code><nowiki>debhelper</nowiki></code> (also for making the .deb). Some other small packages that generally everyone will want are <code><nowiki>libpng-dev</nowiki></code> (so .png images can be used for icons) and <code><nowiki>libreadline-dev</nowiki></code> (which makes <code><nowiki>FvwmConsole</nowiki></code> more pleasant). Download the tarball, extract it, and configure as usual. Instead of a simple <code><nowiki>make</nowiki></code>, do <code><nowiki>make deb-inplace</nowiki></code> to create a .deb, and then install it with <code><nowiki>dpkg</nowiki></code>. | |||
=== Integration === | === Integration === | ||
第28行: | 第39行: | ||
# Start FVWM | # Start FVWM | ||
exec fvwm</pre> | exec fvwm</pre> | ||
Symlinking the above to ~/.xinitrc can be done as follows: | Symlinking the above to ~/.xinitrc can be done as follows: | ||
<pre>ln -s ~/.xsession ~/.xinitrc</pre> | <pre>ln -s ~/.xsession ~/.xinitrc</pre> | ||
You can have a menu of most installed applications with Debian's menu system. Install the menu package | You can have a menu of most installed applications with Debian's menu system. Install the menu package | ||
<pre>sudo apt-get install menu</pre> | <pre>sudo apt-get install menu</pre> | ||
Then, to your ~/.fvwm/config add | Then, to your ~/.fvwm/config add | ||
<pre>Read /etc/X11/fvwm/menudefs.hook</pre> | <pre>Read /etc/X11/fvwm/menudefs.hook</pre> | ||
Now you have access to a menu of installed programs, automatically categorized and updated. You can access this menu with the FVWM commands | Now you have access to a menu of installed programs, automatically categorized and updated. You can access this menu with the FVWM commands | ||
<pre>Menu /Debian</pre> | <pre>Menu /Debian</pre> | ||
or | or | ||
<pre>Popup /Debian</pre> | <pre>Popup /Debian</pre> | ||
=== Other === | === Other === | ||
There are reports of FVWM not working well under Xgl. This will be corrected when the users complain loudly enough, or someone submits a patch. FVWM works reasonably well with xcompmgr and the composite extension. If you use xcompmgr: Do not give icons titles: | There are reports of FVWM not working well under Xgl. This will be corrected when the users complain loudly enough, or someone submits a patch. FVWM works reasonably well with xcompmgr and the composite extension. If you use xcompmgr: Do not give icons titles: | ||
<pre>Style * !IconTitle</pre> | <pre>Style * !IconTitle</pre> | ||
Restart FVWM after starting or stopping xcompmgr: | Restart FVWM after starting or stopping xcompmgr: | ||
<pre># xcompmgr is finally pretty stable, but occasionally it gets screwy or dies | <pre># xcompmgr is finally pretty stable, but occasionally it gets screwy or dies | ||
第48行: | 第59行: | ||
DestroyFunc RestartXCompMgr | DestroyFunc RestartXCompMgr | ||
AddToFunc RestartXCompMgr | AddToFunc RestartXCompMgr | ||
+ I PipeRead 'killall xcompmgr && exec xcompmgr -n & ; echo Restart'</pre> | + I PipeRead 'killall xcompmgr && exec xcompmgr -n & ; echo Restart'</pre> | ||
== External Links == | == External Links == | ||
2007年12月18日 (二) 21:44的版本
![]() |
文章出处: |
{{#if: | {{{2}}} | https://help.ubuntu.com/community/FVWM }} |
![]() |
点击翻译: |
English {{#ifexist: {{#if: FVWM | FVWM | {{#if: | :}}FVWM/zh}}/af | • {{#if: FVWM|Afrikaans| [[::FVWM/zh/af|Afrikaans]]}}|}} {{#ifexist: {{#if: FVWM | FVWM | {{#if: | :}}FVWM/zh}}/ar | • {{#if: FVWM|العربية| [[::FVWM/zh/ar|العربية]]}}|}} {{#ifexist: {{#if: FVWM | FVWM | {{#if: | :}}FVWM/zh}}/az | • {{#if: FVWM|azərbaycanca| [[::FVWM/zh/az|azərbaycanca]]}}|}} {{#ifexist: {{#if: FVWM | FVWM | {{#if: | :}}FVWM/zh}}/bcc | • {{#if: FVWM|جهلسری بلوچی| [[::FVWM/zh/bcc|جهلسری بلوچی]]}}|}} {{#ifexist: {{#if: FVWM | FVWM | {{#if: | :}}FVWM/zh}}/bg | • {{#if: FVWM|български| [[::FVWM/zh/bg|български]]}}|}} {{#ifexist: {{#if: FVWM | FVWM | {{#if: | :}}FVWM/zh}}/br | • {{#if: FVWM|brezhoneg| [[::FVWM/zh/br|brezhoneg]]}}|}} {{#ifexist: {{#if: FVWM | FVWM | {{#if: | :}}FVWM/zh}}/ca | • {{#if: FVWM|català| [[::FVWM/zh/ca|català]]}}|}} {{#ifexist: {{#if: FVWM | FVWM | {{#if: | :}}FVWM/zh}}/cs | • {{#if: FVWM|čeština| [[::FVWM/zh/cs|čeština]]}}|}} {{#ifexist: {{#if: FVWM | FVWM | {{#if: | :}}FVWM/zh}}/de | • {{#if: FVWM|Deutsch| [[::FVWM/zh/de|Deutsch]]}}|}} {{#ifexist: {{#if: FVWM | FVWM | {{#if: | :}}FVWM/zh}}/el | • {{#if: FVWM|Ελληνικά| [[::FVWM/zh/el|Ελληνικά]]}}|}} {{#ifexist: {{#if: FVWM | FVWM | {{#if: | :}}FVWM/zh}}/es | • {{#if: FVWM|español| [[::FVWM/zh/es|español]]}}|}} {{#ifexist: {{#if: FVWM | FVWM | {{#if: | :}}FVWM/zh}}/fa | • {{#if: FVWM|فارسی| [[::FVWM/zh/fa|فارسی]]}}|}} {{#ifexist: {{#if: FVWM | FVWM | {{#if: | :}}FVWM/zh}}/fi | • {{#if: FVWM|suomi| [[::FVWM/zh/fi|suomi]]}}|}} {{#ifexist: {{#if: FVWM | FVWM | {{#if: | :}}FVWM/zh}}/fr | • {{#if: FVWM|français| [[::FVWM/zh/fr|français]]}}|}} {{#ifexist: {{#if: FVWM | FVWM | {{#if: | :}}FVWM/zh}}/gu | • {{#if: FVWM|ગુજરાતી| [[::FVWM/zh/gu|ગુજરાતી]]}}|}} {{#ifexist: {{#if: FVWM | FVWM | {{#if: | :}}FVWM/zh}}/he | • {{#if: FVWM|עברית| [[::FVWM/zh/he|עברית]]}}|}} {{#ifexist: {{#if: FVWM | FVWM | {{#if: | :}}FVWM/zh}}/hu | • {{#if: FVWM|magyar| [[::FVWM/zh/hu|magyar]]}}|}} {{#ifexist: {{#if: FVWM | FVWM | {{#if: | :}}FVWM/zh}}/id | • {{#if: FVWM|Bahasa Indonesia| [[::FVWM/zh/id|Bahasa Indonesia]]}}|}} {{#ifexist: {{#if: FVWM | FVWM | {{#if: | :}}FVWM/zh}}/it | • {{#if: FVWM|italiano| [[::FVWM/zh/it|italiano]]}}|}} {{#ifexist: {{#if: FVWM | FVWM | {{#if: | :}}FVWM/zh}}/ja | • {{#if: FVWM|日本語| [[::FVWM/zh/ja|日本語]]}}|}} {{#ifexist: {{#if: FVWM | FVWM | {{#if: | :}}FVWM/zh}}/ko | • {{#if: FVWM|한국어| [[::FVWM/zh/ko|한국어]]}}|}} {{#ifexist: {{#if: FVWM | FVWM | {{#if: | :}}FVWM/zh}}/ksh | • {{#if: FVWM|Ripoarisch| [[::FVWM/zh/ksh|Ripoarisch]]}}|}} {{#ifexist: {{#if: FVWM | FVWM | {{#if: | :}}FVWM/zh}}/mr | • {{#if: FVWM|मराठी| [[::FVWM/zh/mr|मराठी]]}}|}} {{#ifexist: {{#if: FVWM | FVWM | {{#if: | :}}FVWM/zh}}/ms | • {{#if: FVWM|Bahasa Melayu| [[::FVWM/zh/ms|Bahasa Melayu]]}}|}} {{#ifexist: {{#if: FVWM | FVWM | {{#if: | :}}FVWM/zh}}/nl | • {{#if: FVWM|Nederlands| [[::FVWM/zh/nl|Nederlands]]}}|}} {{#ifexist: {{#if: FVWM | FVWM | {{#if: | :}}FVWM/zh}}/no | • {{#if: FVWM|norsk| [[::FVWM/zh/no|norsk]]}}|}} {{#ifexist: {{#if: FVWM | FVWM | {{#if: | :}}FVWM/zh}}/oc | • {{#if: FVWM|occitan| [[::FVWM/zh/oc|occitan]]}}|}} {{#ifexist: {{#if: FVWM | FVWM | {{#if: | :}}FVWM/zh}}/pl | • {{#if: FVWM|polski| [[::FVWM/zh/pl|polski]]}}|}} {{#ifexist: {{#if: FVWM | FVWM | {{#if: | :}}FVWM/zh}}/pt | • {{#if: FVWM|português| [[::FVWM/zh/pt|português]]}}|}} {{#ifexist: {{#if: FVWM | FVWM | {{#if: | :}}FVWM/zh}}/ro | • {{#if: FVWM|română| [[::FVWM/zh/ro|română]]}}|}} {{#ifexist: {{#if: FVWM | FVWM | {{#if: | :}}FVWM/zh}}/ru | • {{#if: FVWM|русский| [[::FVWM/zh/ru|русский]]}}|}} {{#ifexist: {{#if: FVWM | FVWM | {{#if: | :}}FVWM/zh}}/si | • {{#if: FVWM|සිංහල| [[::FVWM/zh/si|සිංහල]]}}|}} {{#ifexist: {{#if: FVWM | FVWM | {{#if: | :}}FVWM/zh}}/sq | • {{#if: FVWM|shqip| [[::FVWM/zh/sq|shqip]]}}|}} {{#ifexist: {{#if: FVWM | FVWM | {{#if: | :}}FVWM/zh}}/sr | • {{#if: FVWM|српски / srpski| [[::FVWM/zh/sr|српски / srpski]]}}|}} {{#ifexist: {{#if: FVWM | FVWM | {{#if: | :}}FVWM/zh}}/sv | • {{#if: FVWM|svenska| [[::FVWM/zh/sv|svenska]]}}|}} {{#ifexist: {{#if: FVWM | FVWM | {{#if: | :}}FVWM/zh}}/th | • {{#if: FVWM|ไทย| [[::FVWM/zh/th|ไทย]]}}|}} {{#ifexist: {{#if: FVWM | FVWM | {{#if: | :}}FVWM/zh}}/tr | • {{#if: FVWM|Türkçe| [[::FVWM/zh/tr|Türkçe]]}}|}} {{#ifexist: {{#if: FVWM | FVWM | {{#if: | :}}FVWM/zh}}/vi | • {{#if: FVWM|Tiếng Việt| [[::FVWM/zh/vi|Tiếng Việt]]}}|}} {{#ifexist: {{#if: FVWM | FVWM | {{#if: | :}}FVWM/zh}}/yue | • {{#if: FVWM|粵語| [[::FVWM/zh/yue|粵語]]}}|}} {{#ifexist: {{#if: FVWM | FVWM | {{#if: | :}}FVWM/zh}}/zh | • {{#if: FVWM|中文| [[::FVWM/zh/zh|中文]]}}|}} {{#ifexist: {{#if: FVWM | FVWM | {{#if: | :}}FVWM/zh}}/zh-hans | • {{#if: FVWM|中文(简体)| [[::FVWM/zh/zh-hans|中文(简体)]]}}|}} {{#ifexist: {{#if: FVWM | FVWM | {{#if: | :}}FVWM/zh}}/zh-hant | • {{#if: FVWM|中文(繁體)| [[::FVWM/zh/zh-hant|中文(繁體)]]}}|}} |
{{#ifeq:FVWM|:FVWM/zh|请不要直接编辑翻译本页,本页将定期与来源同步。}} |
{{#ifexist: :FVWM/zh/zh | | {{#ifexist: FVWM/zh/zh | | {{#ifeq: {{#titleparts:FVWM/zh|1|-1|}} | zh | | }} }} }} {{#ifeq: {{#titleparts:FVWM/zh|1|-1|}} | zh | | }}
FVWM is an extremely customizable window manager, many would say it is pathologically customizable. It is also very extensible, lightweight, and fast. It is not for the non-technical. It is for those who know what they want and want the freedom to implement it. It can be as ugly and functional or as beautiful and full of gee-whiz embellishments as you like. The limits are your imagination and your skill. There are 3rd party projects to provide automatic configuration and themes (fvwm-themes and fvwm-crystal). FVWM itself provides a default configuration file generator, in which certain options can be chosen. The expectation, however, is that you want a configuration of your very own, and you can use these tools and others' configs as a starting point (further explanation).
FVWM是一种高度可配置的窗口管理器,我们甚至可说它是“病态”的可配置。它也是可扩展的,轻量级的,快速的窗口管理器。它不适合非技术人士,只适合于那些知道他们想要什么并希望能自由的实现的那些人。它可以是很丑陋但功能强大,或者是充满了很多奇特的装饰,只要你喜欢。唯一的限制是你的想像力和技巧。有一些第三方项目提供了自动化的配置和主题(fvwm-themes和fvwm-crystal)。FVWM也提供一些配置文件产生器,它给你提供了一些特定的选项。如果你希望创建你自己的配置文件,你可以使用这些工具和别人的配置做为一个起点。 (further explanation).
Ubuntu specifics
安装
从 Apt
FVWM is easily installed into Ubuntu, as there is an fvwm package in the repositories. There are additional packages like fvwm-themes, which is a collection of canned FVWM configurations for those who want something that works right away.
FVWM可以很容易的被安装到Ubuntu上,因为在软件仓库里有fvwm软件包。还有一些为那些想要马上能让工作的人提供的附加软件包,它们包含了一些可用的FVWM配置文件。
从源码包安装
FVWM is an active project. Updates with bug fixes and new features are fairly frequent. Currently, FVWM maintains two states: a stable release (versions 2.4.X) and an unstable release (2.5.X). The unstable branch is the one that will eventually form the new stable set (and hence will evolve to 2.6.X as stable, and 2.7.X as being unstable). Given that the FVWM stable branch is quite old, a lot of the more "established" actions one would expect from a window manager is really only in the unstable branch at the moment. Not that "unstable" really means that it crashes every five minutes; it's just an indication that the branch is subject to development and change. Unless there's a very good reason (unlikely) then the 2.5.X branch is the one that should be used, as many people tailor their configs to use it, and usually give no consideration to FVWM 2.4.X. Prerequisite packages are
FVWM是一个活跃的项目。Bug修正和新功能的升级十分频繁。目前,FVWM维护着两个版本分支:稳定版本(2.4.X)和不稳定版本(2.5.X)。不稳定分支最终会形成稳定版本。
build-essential
, xorg-dev
, fakeroot
(for making the .deb), and debhelper
(also for making the .deb). Some other small packages that generally everyone will want are libpng-dev
(so .png images can be used for icons) and libreadline-dev
(which makes FvwmConsole
more pleasant). Download the tarball, extract it, and configure as usual. Instead of a simple make
, do make deb-inplace
to create a .deb, and then install it with dpkg
.
Integration
If you install from apt, then FVWM is already in GDM's list of sessions. If you install from source, you will have to choose "Default X session". You will also have to make a .xsession file. The simplest .xsession file simply contains the line "fvwm". .xsession is simply a shell script that is run when you log in from GDM. If there are any programs that you need to start before fvwm, put them in .xsession before "fvwm". It is also wise to make a .xinitrc that is a symlink to .xsession, so that fvwm starts up when you log in from the console. As an example, your ~/.xsesssion file might look like the following:
#!/bin/sh # Various other commands here, ensuring that they're backgrounded where necessary # i.e.: # # foo & # Start FVWM exec fvwm
Symlinking the above to ~/.xinitrc can be done as follows:
ln -s ~/.xsession ~/.xinitrc
You can have a menu of most installed applications with Debian's menu system. Install the menu package
sudo apt-get install menu
Then, to your ~/.fvwm/config add
Read /etc/X11/fvwm/menudefs.hook
Now you have access to a menu of installed programs, automatically categorized and updated. You can access this menu with the FVWM commands
Menu /Debian
or
Popup /Debian
Other
There are reports of FVWM not working well under Xgl. This will be corrected when the users complain loudly enough, or someone submits a patch. FVWM works reasonably well with xcompmgr and the composite extension. If you use xcompmgr: Do not give icons titles:
Style * !IconTitle
Restart FVWM after starting or stopping xcompmgr:
# xcompmgr is finally pretty stable, but occasionally it gets screwy or dies # FVWM must be restarted after xcompmgr, otherwise edges don't work DestroyFunc RestartXCompMgr AddToFunc RestartXCompMgr + I PipeRead 'killall xcompmgr && exec xcompmgr -n & ; echo Restart'
External Links
- FVWM Homepage
- FVWM Forums
- FVWM Wiki
- An elaborate config file, by Taviso
- The FVWM Themes Project
- FVWM Crystal, a project similar to FVWM Themes
- Screenshots from Ubuntu users
- vwc
- sonik
- jpkotta
- Stormy Eyes