个人工具

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

来自Ubuntu中文

跳转至: 导航, 搜索
(New page: {{From|https://help.ubuntu.com/community/FVWM}} {{Languages|php5}} FVWM is an extremely customizable window manager, many would say it is pathologically customizable. It is also very exte...)
 
 
(未显示3个用户的9个中间版本)
第1行: 第1行:
 
{{From|https://help.ubuntu.com/community/FVWM}}
 
{{From|https://help.ubuntu.com/community/FVWM}}
{{Languages|php5}}
+
{{Languages|UbuntuHelp: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.
 
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]).
 
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]).
 
 
== Ubuntu specifics ==
 
== Ubuntu specifics ==
 
 
=== Installation ===
 
=== Installation ===
 
==== From Apt ====
 
==== From Apt ====
 
 
FVWM is easily installed into Ubuntu, as there is an fvwm package in the repositories.
 
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.   
 
There are additional packages like fvwm-themes, which is a collection of canned FVWM configurations for those who want something that works right away.   
 
 
==== From Source ====
 
==== From Source ====
 
 
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.
 
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 <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).
 
Prerequisite packages are <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>.
 
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 ===
 
 
If you install from apt, then FVWM is already in GDM's list of sessions.   
 
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:
 
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:
 
<pre><nowiki>
 
<pre><nowiki>
第37行: 第26行:
 
exec fvwm
 
exec fvwm
 
</nowiki></pre>
 
</nowiki></pre>
 
 
Symlinking the above to ~/.xinitrc can be done as follows:
 
Symlinking the above to ~/.xinitrc can be done as follows:
 
 
<pre><nowiki>
 
<pre><nowiki>
 
ln -s ~/.xsession ~/.xinitrc
 
ln -s ~/.xsession ~/.xinitrc
 
</nowiki></pre>
 
</nowiki></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><nowiki>
 
<pre><nowiki>
第50行: 第36行:
 
Then, to your ~/.fvwm/config add
 
Then, to your ~/.fvwm/config add
 
<pre><nowiki>
 
<pre><nowiki>
Read /etc/X11/fvwm/menudefs.hook
+
Read /etc/X11/fvwm/DebianMenu
 
</nowiki></pre>
 
</nowiki></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
第60行: 第46行:
 
Popup /Debian
 
Popup /Debian
 
</nowiki></pre>
 
</nowiki></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:
 
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:
 
Do not give icons titles:
 
<pre><nowiki>
 
<pre><nowiki>
 
Style * !IconTitle
 
Style * !IconTitle
 
</nowiki></pre>
 
</nowiki></pre>
 
 
Restart FVWM after starting or stopping xcompmgr:
 
Restart FVWM after starting or stopping xcompmgr:
 
<pre><nowiki>
 
<pre><nowiki>
第75行: 第58行:
 
DestroyFunc RestartXCompMgr
 
DestroyFunc RestartXCompMgr
 
AddToFunc RestartXCompMgr
 
AddToFunc RestartXCompMgr
+ I PipeRead 'killall xcompmgr && exec xcompmgr -n & ; echo Restart'
+
+ I PipeRead 'killall xcompmgr && exec xcompmgr -n & echo Restart'
 
</nowiki></pre>
 
</nowiki></pre>
 
 
== External Links ==
 
== External Links ==
 
* [http://www.fvwm.org FVWM Homepage]
 
* [http://www.fvwm.org FVWM Homepage]
第86行: 第68行:
 
* [http://fvwm-crystal.org/ FVWM Crystal], a project similar to FVWM Themes
 
* [http://fvwm-crystal.org/ FVWM Crystal], a project similar to FVWM Themes
 
* Screenshots from Ubuntu users
 
* Screenshots from Ubuntu users
*** [http://ubuntuforums.org/gallery/showphoto.php?photo=1020&si=fvwm vwc]
+
* [http://ubuntuforums.org/gallery/showphoto.php?photo=1020&si=fvwm vwc]
*** [http://ubuntuforums.org/gallery/showphoto.php?photo=2211&si=fvwm sonik]
+
* [http://ubuntuforums.org/gallery/showphoto.php?photo=2211&si=fvwm sonik]
*** [http://ubuntuforums.org/gallery/showphoto.php?photo=1878&si=fvwm jpkotta]
+
* [http://ubuntuforums.org/gallery/showphoto.php?photo=1878&si=fvwm jpkotta]
*** [http://ubuntuforums.org/gallery/showphoto.php?photo=1431&si=fvwm Stormy Eyes]
+
* [http://ubuntuforums.org/gallery/showphoto.php?photo=1431&si=fvwm Stormy Eyes]
  
 
[[category:UbuntuHelp]]
 
[[category:UbuntuHelp]]

2008年10月19日 (日) 15:16的最新版本


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).

Ubuntu specifics

Installation

From 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.

From Source

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 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/DebianMenu

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