FVWM Novice Incomplete Manual <1> What is FVWM? Where can I download? FVWM is a window manager that can make it easy to manage resources from the system. GNOME and KDE are desktop systems, which is two different concepts. The desktop system can call different window managers, which is why the GNOME system can have two different WMs that Metacity and Swafish can choose. It is now a lot of WM, but Fvwm is a long history than a history, the biggest advantage is that it can be fully customized and saves system resource overhead. And its interface can also be very beautiful. Since this version does not send pictures, my grasp is in Linuffans, the address is: http://www.linuxfans.org/nuke/modules.php? Name = desktop_downloads & op = GenInfo & DID = 161 FVWM graphic address: http: / /www.fvwm.org/screenshots/index.php fvwm download address in: http://www.fvwm.org/download/index.php There are two files with GZ, BZ2. It is best to download the BZ2 file because it is compressed. (You can use the network fee) <2> Compile and install all Linux software, if you install it, you must go through the three processes, configure, make, make install below FvWM-2.5.6.tar.bz2 The compilation and installation process of examples. First, CP FVWM-2.5.6.Tar.bz2 / usr / local tar jxvf fvwm-2.5.6.tar.bz2 (Fvwm2.5.6 directory below) then below the / usr / local directory) and then CD fvwm-2.5.6 is ./configure, make, Make Install is successfully installed, some files are generated below / usr / local / bin, with fvwm, Xpmroot, etc. You can switch to the USR / local / bin directory, ls fvwm * will come out Generated FVWM file. Ok, now FVWM has been successfully installed in your system. If you encounter something, you can also look at the install file in FVWM-2.5.6. <3> Start FVWM often seeing many people asking this question, in LinuxSir, Linuxeden, and Linuxfans are asking such a problem, in fact, when I first use FVWM, I don't know how to start it, but Once I installed Windowmaker, I was inspired by misunderstanding. I know that the FVWM is started in the way. First set your system startup mode is the command line: In the / etc / inittab file, set the ID: 3: InitDefault, then put the / etc / x11 / xinit / xinitrc file backup, it is best to change It is xinitrc.old, and then build a .xinitrc file in / root or / home / usrname / below, write: Exec FVWM Save, then in the STARTX mode, enter FVWM. This way is more applicable to me because I rarely use GNOME and KDE for friends who want to switch in a variety of systems, maybe some troubles. Because you want to enter GNOME and KDE, you have to change xinitrc.old into xinitrc, then rename the .xinitrc file below the root directory.
<4> FVWM profile After you enter FVWM, you will find that its default configuration is very simple. Some configuration files below /us / rust.fvwm-2.5.6/sample.fvwmrc directory, such as system.fvwm2rc, etc., you can go below /root /.fvwm directory (if this directory is not, you To build one yourself), and rename: .fvwm2rc, then enter FVWM, see if something changed, is it a little better to see :) But still very simple: (FVWM is because it can be completely customized Therefore, its default configuration is very simple, everything can be done according to your own meaning, it can simulate any system, this is its biggest advantage. Compared with Aftstep, WindowMaker, they have fixed mode, And the default configuration interface is very beautiful, and the change is also difficult. Even if you change the different themes, it is also changing the soup without changing the medicine. You will start WHARF. When you start, you will know that it is WindowMaker. But the FVWM simulation system makes you always have a fresh feel. But about the appearance of the interface is the benevolent seeing the benevolence, the wise man is wisdom. In fact, we use WM's purpose to manage our system, let us learn better And work. The beauty of the pursuit of the interface is not necessary. However, it is because FVWM can be completely customized, and it has brought a lot of difficulties to its configuration. It needs you to configure it yourself, this is very good for novices. It is difficult, but it is good to be configured with some masters. The following configuration file is a master configured, download address in: http://learn.tsinghua.edu.cn/homepage/015450/src/.fvwm2rc < Five> FVWM Configuration Preliminary Analysis As long as one .fvwm2rc file, FVWM can realize very beautiful interface, all according to your own meaning, this is more applicable to individuals, and it is more human. Below I will Detailed analysis of my own .fvwm2rc file. For fvwm .fvwm2rc, the most important set of settings is: icons ---- Defining the icon to be used by the system, this is important (at www.kde -look.org can download some icon) Menu ----- System menu, let you start some common software and tools directly in Menu, is it easy :) fvwmbuttons ---- in the form of icons Decorative system, you can also put some DockApp into it, but also start the corresponding program when you press MOUSE. Fvwmpager ---- Used to set DESK and PAGER, let you hand over different virtual desktops.
Fvwmtaskbar ----- Task Bar, the same task bar like Window ------- This is the same as the Afterstep's WHARF, because of this, FVWM simulation Afterstep is very easy :) <六> fvwm The relevant resources have been said so much, maybe you are a bit tired, look at some of my FVWM themes, I have sent some grabbed picture
The above is defined for Menustyle, the details of the menu will be given: ###################################################################################################################################################################################### ######### DestroyMenu RootmenuaddTomenu Rootmenu "Root Menu" Title "& ATERM% KControl.png%" EXEC EXEC ATERM "& gnome-terminal% gnome-apps.png%" Exec Exec Gnome-Terminal "Konsole% XCONSOLE. png% "Exec exec konsole " "Nop " & Programs% hancom.png% "Popup ProgramsMenu " & Utilities% kdmconfig.png% "Popup Utilities " "Nop " Re & fresh Screen% kbabeldict.png% "Refresh " "Nop " & Lock% lock. png% "Exec exec xscreensaver-command -lock " ExitFvwm% terminal.png% "Popup Quit-Verify DestroyMenu ProgramsMenuAddToMenu" ProgramsMenu "" Choose-Pro% view_icon.png% "Title " gedit% editshred.png% "Exec exec gedit " EMACS% Emacs.png "EXEC EXEC EMACS " EXEC EXEC GQVIEW "& XPDF% xChat.png%" EXEC EXEC XPDF "X & MMS% XMMS.PNG%" EXEC EXEC XMMS "Stardict% KDat.png%" EXEC EXEC exec stardict "mo & zilla% netscape.png%" Exec exec mozilla "& Gimp% gimp.png%" Exec exec gimp "xload% xsane.png%" Exec exec xload "gkrellm% gnomemeeting.png%" Exec exec gk rellm DestroyMenu UtilitiesAddToMenu Utilities "Utilities% scanner.png%" Title "Top% folder_mediumgreen.png%" Exec exec xterm -T Top -n Top -e top "xcalc% xcalc.png%" Exec exec xcalc "Xman% folder_burntorange.png % "EXEC EXEC XMAN " Xclipboard% classic_mac.png% "EXEC EXEC XCLIPBOARD & " Konquer% GO.PNG% "EXEC EXEC KONQUEROR " "
Nop "wmtimer% babelfish.png%" Exec exec wmtimer & "kcontrol% kopete.png%" Exec exec kcontrol "xlogo% x.png%" Exec exec xlogo "Captura% kcmkwm.png%" Exec captura "FvwmCommand% Xterm.png% "Module Fvwmconsole -terminal ATERM -GEMETRY 45X5-0 0 / -G GOLD2-FG MidnightBlue / -fn" -adobe-Courier-Medium-r - * - * - * - * - * - * - * - * - * - * "DestroyMenu Quit-Verify AddTomenu Quit-Verify" Choose% Xconsole.png% "Title " YES, Really Quit% XChat.png% "Quit " Restart FVWM2% KSTARS.PNG% "Restart FVWM2 " NO, DON't Quit% HANCOM.PNG% "NOP $ " & ATERM% KCONTROL.PNG% "EXEC EXEC ATERM, the front is ATERM, the back PNG picture kcontrol.png will appear in front of the text in the menu. The following EXEC EXEC will execute this command. This is the case after it is pushed. "Fvwmcommand% xterm.png%" Module Fvwmconsole -terminal ATERM -GEOMETRY 45X15-0 0 / -BG black -fg white / -fn "-adobe-channel-medium-r - * - * - 14 - * - * - * - * - * - * - * "Started a fvwmcommand, fvwmcommand can't start in Xterm, which can only be started by menu, or Modules. Here, a fvwmcommand is defined, its background color is black (Black) font color is white. The font is: -adobe-channel-medium-r - * - * - 14 - * - * - * - * - * - * - *, the size is 45 × 15, the location is -0 0, the upper right corner of the screen, You can see its effect in the picture above. Of course, you can change the location of this coordinate, let it appear in the place you want to appear. FvwmCommand can communicate well with FVWM, in which the FVWM is input directly. For example, enter: fvwmtaskbar in fvwmcommand, it can directly call the FVWM task bar, when your configuration file has a problem, or if you cannot adjust the related module, you can turn on a fvwmcommand, directly call the relevant Module. This is not very convenient :). The definition of the menu is like this. It is actually very simple. Look at the effect of my menu: 3. Set the above picture, there is a row icon in the bottom of the screen, how is it, how, is it beautiful? ? There are also 2 DockApp, which are used to display the use of CPUs and memory, respectively. (These two programs are WMCPULOAD and WMMEMLOAD.
The download address is: http://dockapps.org. The detailed configuration file is as follows: ######################################################################################################################################################################################################################################################################################## #### ################################################################################################################################################# ########### # Colors, setting fvwmbuttons color * fvwmbuttonsfore white * fvwmbuttonsback White # with an XPM picture as a background of fvwmbuttons, using some of your favorite pictures to achieve very high-time effect :) * FvwmbuttonSpixmap /Root/PIC/ICONS/MacBlack_small.xpm# font Set the size of the font * fvwmbuttonsfont 5x8 # Set the position of the FvWMbuttons appears in the screen, 250-0 coordinates just in the middle of the screen. * FvwmButtonsGeometry 250-0 * FvwmButtonsColumns 7 # FvwmButtons arranged in seven rows, one row * FvwmButtonsRows 1 * FvwmButtons (Title Nautilus, Icon evolution.png, Action 'Exec nautilus &') * FvwmButtons (Swallow "wmcpuload" "Exec wmcpuload -w & ") * Fvwmbuttons (Title XMMS, Icon Noatun.png, Action 'Exec XMMS &') * fvwmbuttons (Title gqview, icon fish.png, action 'exec gqview &') # * fvwmbuttons (Title Kmail, Icon Arson.png Action 'Exec kmail &') * fvwmbuttons (Swallow "WmmemLoad" "Exec WmmemLoad -w &") * fvwmbuttons (Title Terminal, icon log.png, action 'exec gnome-terminal &'), Title's name, then it is the corresponding icon, then it is an action, when you click on it with your mouse, perform the appropriate action. Summary: Fvwmbuttons This module is very powerful, you can use Fvwmpager or fvwmwinList, which can refer to FVWM's Manbook. 4.Fvwmpager settings, through this module, you can implement a virtual desktop switching, you can see the above figure, the upper left corner of the screen is a Pager, the specific settings are as follows: ############ ################################################################################################################################################################################################################################################################################################### ####### * fvwmpager: rows 1 * fvwmpager: Columns 1 # Set it is a row and a column, of course you can set it to other numbers. * Fvwmpagerfore White # Focus is white # with a PNG picture as a background of Fvwmpager, you can achieve a very beautiful effect.
* Fvwmpagerpixmap /root/pic/macblack.png # Define Fvwmpager appears on the screen location * fvwmpagerGeometry 5 5 * fvwmpagerback # 909090 # Its background color, actually set up PIXMAP, this is no important * fvwmpager: font - * - fixed-medium-r-semicondensed - * - 13 - * - gb2312.1980-0 * FvwmPagerHilight # 808080 * FvwmPagerLabel 0 MyFvwm pager displays the names of # * FvwmPagerLabel 1 MyFvwm # * FvwmPagerLabel 2 Program # * FvwmPagerLabel 3 Myfavorite * FvwmPager: SmallFont - * - fixed-medium-r-semicondensed - * - 13 - * - gb2312.1980-0 * FvwmPagerBalloons All * FvwmPagerBalloonBack white * FvwmPagerBalloonFore black * FvwmPager: BalloonFont - * - fixed-medium-r-semicondensed- * -13 - * - GB2312.1980-0 * FvwmpagerballOonBorderWidth 0 * FvwmpagerballOonBorderColor White Fvwmpager can also be displayed in fvwmbuttons, which can be referred to the Manbook.
5.fvwmtaskbar, this module, I am not very good, the task of the task is Win2000, so I don't like it, but some people use some special procedures, like Perl, realize very beautiful fvwmtaskbar, can look at the following screenshot: http: //www.fvwm.org/screenshots/Mikhael-desk-1280x1024.php the relevant configuration file as follows: Style FvwmTaskBar HandleWidth 0, BorderWidth 0 * FvwmTaskBar: UseSkipList * FvwmTaskBar: AutoStick * FvwmTaskBar: DeskOnly # * FvwmTaskBar: Action Click1 DeiconifyRaiseAndFocus * FvwmTaskBar: Action Click2 Iconify On * FvwmTaskBar: Action Click3 Lower # * FvwmTaskBar: Action Click3 FvwmIdent * FvwmTaskBar: MailCommand Exec exec rxvt -e mutt * FvwmTaskBar: 3DFvwm * FvwmTaskBar: StartName FVWM * FvwmTaskBar: STARTMENU ROOTMENU * FVWMTASKBAR: FONT - * - SIMSUN-Medium-r - * - * - 14 - * - * - * - * - * - * - * - * # * fvwmtaskbar: font "xft: luxi mono" * fvwmtaskbar: Selfont - * -simsun-medium-r - ** - 14 - ** - ** - ** - ** FvwmTaskBar: ShowTips * FvwmTaskBar: ClockFormat * FvwmTaskBar: WindowButtonsRightMargin 20 * FvwmTaskBar: Back seagreen * FvwmTaskBar: Fore gold2 * Fvwmtaskbar: Focwmtask * fvwmtaskbar: iconback Darkgreen * fvwmtaskbar: iconfore white # * fvwmtaskbar: Button title Hello, Icon mini.x.xpm, Action (Mouse 1) Module FvwmConsole # * FvwmTaskBar: DateFormat "% A,% B% d,% Y" # * FvwmTaskBar: WindowButtonsLeftMargin 20 # * FvwmTaskBar: HighlightFocus # * FvwmTaskBar: AutoHide 6 6. About fvwmwharf, this module is quite good, you can realize a very complex function, like a drawer. Turn some maps therein.
Specific configuration file as follows: Style "FvwmWharf" NoTitle, NoHandles, Sticky, WindowListSkip, BorderWidth 0, CirculateSkip DestroyModuleConfig FvwmWharf: ** FvwmWharf: Animate * FvwmWharf: AnimateMain * FvwmWharf: Geometry -7-316 * FvwmWharf: Columns 1 * FvwmWharf: Bgcolor Grey70 * WharfBalloonFore Black * WharfBalloonBack Grey70 # * FvwmWharf: Bgcolor # 000000 * FvwmWharf: Colorset # 000000 * FvwmWharf: FullPush * FvwmPagerFore: Black * FvwmWharf: TextureType 128 # xpm with a picture as its background, this can be achieved very good Visual effects. * FvwmWharfPixmap /root/pic/icons/s11.xpm * FvwmWharf asclock nil MaxSwallow "asclock" asclock & * FvwmWharf wmitime nil MaxSwallow "wmitime" wmitime & * FvwmWharf bubblemon nil MaxSwallow "bubblemon" bubblemon & * FvwmWharf wmusic nil MaxSwallow "wmusic" wmusic -w * FvwmWharf a kmenu.png Folder * FvwmWharf Exit xchat.png FvwmForm FvwmForm-QuitVerify * FvwmWharf Recycler software_update.png Restart * FvwmWharf lock Classic.png Exec exec xscreensaver-command -lock * FvwmWharf ~ Folder * FvwmWharf b qtella.png , Folder * FvwmWharf aterm gaim2.png Exec exec aterm & * FvwmWharf konqueror go.png Exec exec konqueror & * FvwmWharf gedit emacs.png Exec exec gedit & * FvwmWharf xmms xmms.png Exec exec xmms & * FvwmWharf gnome-terminal gnome-apps .png Exec EXEC GNOME-TERMINAL & * FVWMWHARF ~ FOLDER * FVWMWHARF WMNOTIFY NIL MAXSWALLOW "Wmnotify" Wmnotify & Some PNG and XPM files used, their path You must set it in the iCons, otherwise it will not be displayed.