LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 2977|回复: 3

¤原创¤ linux世界的精彩之窗之一:AfterStep设置攻略

[复制链接]
发表于 2003-2-28 10:54:34 | 显示全部楼层 |阅读模式
先看看我的桌面:
http://www.linuxfans.org/nuke/de ... uxsir/snapshot3.png
http://www.linuxfans.org/nuke/mo ... =geninfo&did=36
如何?觉的好就看我的文章吧,你也能做的到!
linuxsir壁纸:
http://www.linuxfans.org/nuke/de ... b03429dlinuxsir.png
¤原创¤  linux世界的精彩之窗之一:AfterStep设置全攻略
                                   & probing & 转贴请注明www.linuxsir.cn --probing

准备重点介绍afterstep和fvwm,window make,等窗口管理器的设置和中文输入法的设置和使用等问题.
¤¤¤约定:
我是在我的机器上安装测试完成的,基于我的机器如下:
CPU C2 766HZ
主板:815ET
内存:256M
显卡:TNT2 32M
系统:RED HAT LINUX 8.0完全安装
HD1:ENGLISH RED HAT LINUX
HD2:中文(未汉化)RED HAT LINUX
输入法:XSIM

1 AfterStep简介

     AfterStep是一种在X-Window上模拟NEXTSTEP(另一种作业系统的名称)的视窗管理程式(windowmanager)。它是由BowMan演变而来的,BowMan则是架构在Fvwm之上。因此,AfterStep与Fvwm是非常相似的,如果您有玩过Fvwm的话,设定起AfterStep一定能够得心应手的!要是您没玩过Fvwm也没关系,本文是以介绍给初学者的角度来撰写的,由浅入深,应该不难懂才是.


2 初揭AfterStep面纱

  一般人最初看到AfterStep都会为它的美丽Icon所吸引,到底她看起来是个什麽样子呢?大略描述一下初次安装完成的她吧!在画面的右方有一个直条的按键列(buttonbar),而这些button都是3D的立体图像,初次见面便令人直觉得与众不同(也许是因为模拟NEXTSTEP的关系吧!曾听说过NEXTSTEP连视窗开启都有3D动画,酷毙了!)当你用滑鼠点选button时,就可以启动xv,xterm,netscape等应用程式。可惜的是开启视窗时,并没有像NEXTSTEP有3D动画,让笔者有点点失望。

3 AfterStep的特色

也许有些人以为AfterStep只是外表漂亮而已,大错特错!除了外表漂亮这项优点外,她还是有满多特色的喔!
3.1 按键列上的每一个button也可以是一个folder,也就是说,当你点选这个button之後,实际上是内含了一排button可以点选,就有如抽屉一般。将各种常使用的工具程式分门别类放置在不同的folder中,对使用者来说是个满方便的设计。
3.2 视窗可自由拖曳到任意的虚拟桌面上:虽然这只是个小功能,却可以让所有虚拟桌面组合成一张很大的桌面,使用者可以随自己喜好爱放在那就放在那,是个贴心的设计!若是在开启某些较大的程式时,不会因为无法任意放置视窗而得停留在某一个虚拟桌面上浪费时间等待!
3.3.内建一些au音效档案,您若具有音效卡,便可以具有像Windows在执行不同动作时会有不同音效搭配的功能。举例来说,当您关闭视窗时会有玻璃破碎的声音,增添了几分乐趣。
3.4.内建一些背景图外,背景图还可以是动画喔!这点可算是最特殊的了,这里的动画是真实由数学运算制做出的动画,而非一般像Windows中某些小程式可在一段时间後自动换背景的功能,比起一般死板板的桌面,有另一番不同的感觉喔!原本这动画只能是做为萤幕保护程式而已,现在却能直接做为背景动画,是最酷的背景了!
3.5.内建了两套icons,一套是65535色的,提供给显示卡记忆体在2MB以上的使用者来使用;另一套则是256色,提供给一般显示卡记忆体不足2MB的使用者来使用,虽然是256色的,但是比起65535色的并不逊色喔!
3.6.最後这一点是该给予赞赏的,她的设定档是视窗管理程式中写得最好的,在设定档里的注解说明与其所展现出来的功能上,都是很令人感动的!也许对於熟悉这方面设定的人来说不算什么,但是对於一般的初学者来说可就有很大的帮助了,可以令初学者很快速的了解到各项设定的功能与设定的方式,也因此强烈建议初学者使用AfterStep这个美丽、方便又体贴的视窗管理程式,来建立一个最适合自己的工作环境!
4 下载
   www.afterstep.org上可下载最 ... 最新版本是1.8.

5 准备工作
默认安装出来的afterstep会和你看到的别人的桌面不一样,所以我们先来做些准备吧.

5.1 wmCalClock-1.25.tar.gz  
http://nis-www.lanl.gov/~mgh/WindowMaker/DockApps.shtml
一个很漂亮的表和日历.
5.2 Noia Warm KDE 0.95
http://www.linuxfans.org/nuke/mo ... C%B1%EA&sortby=
一套很漂亮的kde的图标,我们要用它来做自己的图标
5.3 主题下载
http://www.plig.org/~xwinman/afterstep.html(有一些老版的主题)
ftp://ftp.afterstep.org/themes/
http://themes.freshmeat.net/
5.4 常用程序
  xsim,,mozilla1.3,Myplayer,realplayer8.0,dowmload forX,transtar,reciteword,Acrobat5,等
这些在www.linuxfans.org上都找的到了.

6 安装

6.1  1.4版以前老版本的安装和设置
安装AfterStep的过程比较起其他的视窗管理程式来得简单许多,你只需要将抓回来的压缩文件解开后,再执行其中Installme程序即可。执行Installme之后,程序会询问你几个问题,画面如下:
###############################
#AfterStepv1.0Installation#
###############################
This Installation must be run as root...
If you are not root,press control-C and either login as root or su to root.
Otherwise,press<Enter>and sit back
while your system is being up graded to AfterStep! (请先su成root的身份来执行此程序,按Contrl-C可停止安装,按Enter键可继续安装)
Are you using an 8 bpp display?(Y/N)-Answer Y if uncertain.此是询问您的配备是否有支援65535色以上,以目前显示卡皆有1MB以上记忆体来说皆有支援此一显示模式,故我们回答y。若您仍是使用好几年前的旧型显示卡,或是卡上的记忆体不到1MB,请回答n。若回答n,将会安装256色的icon,以降低系统的负荷。
EnteruptotenuserswhowillbeusingAfterStep(eg,frankdanroot):
------------------------------NOTE----------------------------------------------
Each will receive new.xsession,.xinitrc,.Xdefaults,and.steprc files.Existing files will be save dandappended with a.before extension.Press<Enter>if you would like to finish without configuring any users.
---------------------------------------------------------------
root skytree
这一项则是询问您希望那些在您系统中的使用者也以AfterStep做为其X-window的视窗管理程序,您可以在此输入这些使用者的ID,各ID中以空白键隔开。当然您自己若想使用AfterStep则必须在此输入您的ID,此一步骤会将.xession,.xinitrc,.steprc,.Xdefault这些AfterStep相关文件拷贝至这些使用者的homedirectory中,并将原有的文件改成以.before结尾档名,做为备份之用。
Installme这个安装程序将会自动编绎程序码并安装好图形文件,manpages与各个使用者的设定档等,比较起其他种类的程序的安装过程来说,实在是方便简单太多了。倘若您照着以上步骤来做而且皆无错误讯息产生,此后您进入X-windows之后便可享受AfterStep的美丽操作介面了。不过,若您在此安装过程中产生了某种错误讯息而无法完成安装,或者是您希望知道安装程式详细的安装过程,也可改以手动一步步地安装,步骤如下:
1.编辑Imakefile与confingure.h,修改confingure.h中各个目录的位置与compiler的种类以及各项设定值。
2.修改完成后,执行MakeMakefiles(此命令可依Imakefile文件内容造出Makefile),再makeall(依Makefile来编译出各个可执行档),监视其执行后之错误讯息,如有错误请依错误讯息修改Makefile后,再重新执行makeall,直到无错误情形产生。
3.如编译完成且无错误产生,可执行makeinstall(依Makefile来安装文件至您之前在configure.h中设定之目录位置)。
4.makeinstall.man(安装manpages至您的系统中,之后便可以manaft- erstep来查询AfterStep详细说明)
5.cp./icons/*.xpm/usr/include/X11/pixmaps  (将拷贝所需要之Icon图形至此目录中,才不会找不到图形文件显示,若您是256色之使用者,请以cp./icons/8bit/*.xpm/usr/include/X11/pixmaps代替)。
6.执行mkdir/usr/lib/X11/afterstep/backgrounds (建立放置背景图档之目录)ln-s/usr/lib/X11/afterstep/backgrounds/backgroundscp./ backgrounds/*/backgrounds(将其内建之背景图档拷贝至其目录中)
7.您可将sample.steprc拷贝至您的homedirectory中,并改名为.steprc,可修改其中的内容,以符合您自己的使用习惯与需求,若您的homedire-ctory中无.steprc此一文件,则在进入X-window之后将使用其内定值,也就是在/usr/lib/X11/afterstep/system.steprc之设定值。
您若真想看看AfterStep动力全开的样子,劝您还是将显示卡换块新的吧!最好是2MB以上,支援1024*768*65535以上,否则AfterStep原本美丽的图像就可能变成256色的模式。对于只有1MB的记忆体的显卡,若是随便找个图形来做为背景时,若再开启其他的程序(如netscape,crxvt等),就会产生此一变色的现象。
6.1.1 AfterStep是模拟NEXTSTEP的使用者操作介面,所需要的显示卡记忆体较高才能显现出其较powerful的一面,另外有一点要强调的就是AfterStep的Icon似乎是设计给1024*768以上解析度来使用的,因为笔者将解析度调整至800*600或640*480时,Icon都会变得很大,且超出整个画面之外,除非将虚拟桌面(virtualdesktop)调整大过实际桌面(phisicaldesktop),否则就会根本无法看见这些超出画面外的Icon了。虽然AfterStep内建了一些音效的文件可供使用者利用,但若以Insteallme来安装时,并不会自动将这些音效的文件拷贝至使用者的目录中,需要使用者自行修改.steprc这个文件才能够有这项功能(详细修改方式如注解一)!
6.1.2 更深入了解AfterStep
下列几点是介绍一些AfterStep较深入的观念与该注意的地方,以提供您在设定AfterStep时的参考,可避免不必要的问题发生。
1.若您是XFree86的使用者须特别注意一点,AfterStep虽有提供虚拟萤幕(virtualscreen)的功能,但只有显示在虚拟萤幕上的视窗才会真正占用videomemory,而虚拟萤幕的大小可由.steprc中设定,其限制是在於剩馀可用videomemory的大小而定。
2.关於Afterstep的虚拟桌面功能,只有出现在画面上的视窗才会占用显示卡的的记忆体,与虚拟桌面的大小无关。
3.Wharf:这是一个module,功能就是制造出按键列(buttonbar),多多利用这个module,可以设计出最适合你的工具箱。
4.geometry的功用:在启动X-window的视窗程式时,可利用此一参数来设定视窗所置放的位址,例如:xterm-geometry+0+0(即在座标(0,0)的位置置放xterm视窗)。
5.另外关於modules的部分,AfterStep除了Wharf,Auto,Pager与Audio可供利用外,连Fvwm中的FvwmPager、FvwmBanner、FvwmWinLis、FvwmClean、FvwmIdent、FvwmSave、FvwmScroll、FvwmDebug也可做为己用,就如同内建一般。
AfterStep是一套可让初学者轻松上手的视窗管理程式,这一点可以从其简易的安装与详细的说明中印证,不过它虽然是内在简单,但却仍不失其强大的功能与美丽的外在,对於老是觉得找不到适合自己操作介面的使用者来说,真的是一样不错的选择,它能够轻轻松松以华丽的外在傲视群雄,更能够以其体贴,简单,包容的内在使人不得不爱上了它,它将是X-Window的贤内助,就看你是否肯试试看了!
注解一:(手动修改.steprc,以支援事件音效功能,请至您解压缩後的目录,并将sounds这个目录整个拷贝至您的homedirectory中,再至您的homedirectory中修改.steprc档案,以下节录需要修改的地方:#*AudioPlayCmd/usr/bin/showaudio(这是您播放音效档的程式,若无此程式者,请改以/usr/lib/X11/afterstep/Audio代替,这是AfterStep内建的播放程式)AudioDir/home/frank/mac/sounds(这是您放置音效档案的目录,请修改成/homedirectory/sounds)#*AudioDelay1(这是播放音效的延迟时间)(以下则是依"*Audio事件名称音效档案名称"这个规则来设定不同的动作所播放之音效档案)
#*Audio startup gong.au
#*Audio shutdown clink.au
#*Audio add_window bong.au
#*Audio raise_window drip.au
#*Audio lower_window drip.au
#*Audio focus_change drip.au
#*Audio destroy_window crash.au
#*Audio iconify ploop.au
#*Audio deiconify ploop.au
#*Audio toggle_paging fwop.au
#*Audio new_page beaming.au
#*Audio new_desk beam_trek.au
#*Audio configure_window huh.au
#*Audio window_name bong.au
#*Audio icon_name beep.au
#*Audio res_class bong.au
#*Audio res_name beep.au
#*Audio end_windowlist twang.au
将"#"皆删去,并修改第一,二项设定即可!
 楼主| 发表于 2003-2-28 10:55:57 | 显示全部楼层
6.2  1.8.11版的安装

展开压缩包后,依次执行./configure,make,make install,具体到你需要设置的地方,我们来看看原文档:看不懂不要紧,把它复制到中软译星里翻译一下就明白了
read me文档
You can find translated versions of this README in doc/languages.  If there's no version corresponding to your language please write it and send it to me!
If your README is too different from this one please send me patches to
update it.
INSTALL
+-------+
Please see the INSTALL file for installation notes.
LIBRARIES
+---------+
The following libraries are not necessarily required to run and enjoy
AfterStep however, support for them is included within AfterStep and it's
various Modules.
o  xpm                (ftp://metalab.unc.edu/pub/Linux/libs/X/)
o  jpeg        (ftp://ftp.uu.net/graphics/jpeg/)
o  png         (http://www.cdrom.com/pub/png/pngcode.html)
If you use a package management system (like RedHat, Mandrake etc) you will
need to get the appropriate <libname>-devel rpm and not the actual source code
mentioned above.
THEMES
+------+
Themes are a simple 3 1/2 step procedure:
        1/2) mkdir ~/GNUstep/Library/AfterStep/themes
                (if it doesn't already exist    ^ )
        1) download <themename>.tar.gz into the above dir (or mv it into it)
        2) Update menu (start->Desktop->Update startmenu)
        3) Select the theme from the menu (start->Desktop->Theme->)
HINTS
+------+
Several "looks" (theme-ish) are included within the distribution.  Any of
these can be started by selecting the name of the look from the menu.
        (startmeu)->Desktop->Looks->*
There are several "feels" (key bindings and window reactions), background
Pictures, and Animations to try out as well.  These all work the same way,
by selecting them from the menu under Desktop. But if you want to use
*different* look & feel files for *each* desktop, just tell that to
./configure.
If you wish to change or make additions to the startmenu, you will need to
first create the file, either under the share tree or in a created start dir
tree in the users ~/GNUstep/Library/AfterStep/start tree, then inform AfterStep
about the menu change by.
        (startmeu)->Desktop->Update startmenu
TOOLS
+------+
AfterStep has a few tools to play with which are in the tools/ directory.
The "Uninstall-Old-AfterStep" is a script to use to remove the old binaries
of 1.3.x and 1.4.x binaries, man pages and documents.  Simply read the top
portion of this script to find the usage.  Without any options, it will only
remove the core afterstep files, leaving the apps that used to be shipped
with the releases.
BUGS
+----+
The "bughint" file can be run when finding and reporting bugs.  Please then
mail this plus any other relevant info (not a complete core file, please!) to
bugs@afterstep.org .
Both "makeasclean" and "makeaspatch" are used to clean out the source tree and
making patches to the distribution (in a proper format). pagerconfig1_4to1_5
is a script to translate the 1.4.x pager config files to the newer 1.5.x
format.
FAQ
+----+
Now before asking any questions, be sure to read the FAQ that is included
in this distribution by clicking on the top Wharf button, or selecting
AfterStepDoc from the menu.  The doc/1.0_to_1.5 file lists several
differemces along the way to 1.5.x and the README_new.options lists new
options.
SITES
+------+
More informations        :                www.afterstep.org
New development versions:                ftp.afterstep.org
Help                        :                mail majordomo@afterstep.org
                                        Body: subscribe as-users <email>
Coders                        :                mail majordomo@crystaltokyo.com
                                        Body: subscribe as-devel <email>
Bugs                        :                mail bugs@afterstep.org
Chat                        :                #afterstep on EFNet
Access to EFNet can be done by connecting to any efnet irc server :
        irc.concentric.net ; irc.prison.net ; ircd.txdirect.net
TODO
+------+
In TODO/ you'll find stuff to be put in.  Feel free to add this to this
version : debug unreleased/ or unstable/.  You can also help Nwanua adding
new features to ascp!  Please also translate README to your language if it
hasn't been done yet.
MAINTAINERS
+------------+
Check out the TEAM file.
Feb 3, 2000

安装文档:
INSTALL
+-------+
提醒你,这里是重点的重点,以后的输入法都靠这里的功夫了.
Unarchive the distribution AfterStep-<version>.tar.(gz|bz2) then -

        ./install.script
                OR
        ./configure
        make
        make install
        mv ~/.xinitrc ~/xinitrc.old
        echo afterstep > ~/.xinitrc(和上一步是很关键的两步,一定要做,不要认为没有用)

然后我还做了:echo "exec afterstep" > ~/.xinitrc
             echo "exec afterstep" > ~/.xsession
             chmod 700 ~/.xsession
我为什么做这,原因看下面的faq,我用red hat 8.0.
I use RedHat Linux, and my startmenu changes keep disappearing, why?
RedHat, in an attempt to make your system easier to use, has a utility "wmconfig." What it is supposed to do is serve menus for all window managers, so that you can have the same startmenu in every window manager. However, since many people like to just use one window manager, or don't want to edit their menus via wmconfig, there are a variety of solutions presented:
David Mihm (webmaster@afterstep.org), suggests you simply avoid wmconfig this way:
echo "exec afterstep" > ~/.xinitrc
echo "exec afterstep" > ~/.xsession
chmod 700 ~/.xsession


Then try AfterStep... I guess you'll love it.  If so, please vote for
AfterStep at http://www.PLiG.org/xwinman/vote.html so we will check if our
work is worth something :-)
DETAILED INSTRUCTIONS
+----------------------+
Unarchive the distribution  AfterStep-1.7.x.tar(gz|bz2), then run
configure to guess system-dependant options:
        ./configure
Configure has several options which can be fed to it to --disable or
--enable or include various characteristics of AfterStep.  A complete listing
can be obtained from ./configure --help, a few are below, defaults are listed
within the brackets.
  --with-imageloader=APP  used to display non-XPMs [xli -onroot -quiet]
  --with-helpcommand=APP  display manpage for window [xiterm -e man]
  --with-startsort=METHOD start menu sorting method [SORTBYALPHA]
  --enable-different-looknfeels
                          different look&feel for each desktop [no]  
  --with-desktops=DESKS   default desktops in pager [4]  
  --with-deskgeometry=GEOM
                          desktop views as COLUMNSxROWS [2x2]
  --enable-newlook        support new look options (MyStyles) [yes]
  --enable-pagerbackground
                          provide background support with the Pager [yes]
  --enable-i18n           support I18N [no]
  --enable-xlocale        using X_LOCALE [no]
  --enable-menuwarp       warp mouse pointer to menus [no]
  --enable-savewindows    save windows and re-open next session [yes]
  --enable-makemenus      make the start menu from the start/ tree [yes]  
  --enable-makemenusonboot
                          always make the start menu when starting AS [no]  
  --enable-texture        support gradient, XPM, and JPEG textures [yes]
  --enable-shade          support shaded windows [yes]  
  --enable-virtual        support virtual desktops [yes]
  --enable-saveunders     request saveunders for menus [yes]  
  --enable-windowlist     compile built-in window-list [yes]
  --enable-availability   check for unavailable binaries [yes]
  --enable-staticlibs     enable linking to libafterstep statically [yes]
  --enable-script         compile Script module [yes]
  --with-xpm              support XPM image format [yes]
  --with-jpeg             support JPEG image format [yes]
  --with-png              support PNG image format [yes]
If you CANNOT become root, you will have to change systems-wide installation
paths to someplace from your PATH where you have permisson to write by using
the appropriate paths to the following ./configure options.
  --prefix=PRE                  install architecture-independent files in PRE
                          [/usr/local]
  --bindir=DIR            user executables in DIR [PRE/bin]
  --datadir=DIR           read-only architecture-independent data in DIR
                          [PRE/share]
  --mandir=DIR            man documentation in DIR [PRE/man]
Make sure these directories exist before you start the configure, otherwise
you'll have one file called bin, one called man, etc.   Begin the build
process and monitor the output of the above commands for possible error
messages!!!
        make
Become root, or omit the su command if you have changed ./configure to
install in your $HOME, and execute the install process to install the binaries
and man pages.
        su root -
        make install
Insert a call to the window manager within the X servers user script.  If the
path to the installed binary is not in your PATH, then provide the full path
to it in the echo.  By default the binaries are installed into /usr/local and
this is NOT in root's PATH!
        echo afterstep > ~/.xinitrc
If you prefer to continue using the old .steprc single file configuration
instead of the GNUstep logic hierarchy, use this modified version for the
.xinitrc file
        echo "afterstep -f ~/.steprc" > ~/.xinitrc
To capture any error which might be output during the first run of AfterStep,
you can direct any that might ocur into a file for inspection later.
        startx > ~/AF-debug 2>&1
RPM METHOD
+----------+
If you'd like to make an rpm directly from this tarball, you can use the
AfterStep.spec file included in the tarball, or extract it and edit it
to your liking.  By using the one supplied in the tarball -
        rpm -tb AfterStep-1.7.x.tar.gz [or .bz2]
Further information can be optained from the rpm man page.  The included
AfterStep-redhat.tar.gz file is the menu used for this method.
Feb 3, 2000

7 设置
以下所述都是基于red hat linux 8.0,我不知道在别的linux下是如何的.
好了,相信你已经安装好了,你还需要安装我们在5时提到那个时钟,好了进入到/usr/local/share/afterstep目录下,我们简单的主要设置这几个文件:

7.1  start目录
这里放的都是你的鼠标左键菜单的内容,文件的设置格式如下:
Exec "konsole" exec konsole &
MiniPixmap "konsole.xpm"   (当然,你也可以不指定图像,\这样菜单就是全文本了,默认指向的图像的路径是/usr/local/share/afterstep/desktop)

将这存成文本文件,放到哪个目录中后,你在鼠标左键菜单中就可找到它了.

7.2 wharf文件
这里的设置就是针对桌面上的右边的那些抽屉了.看我的,#的是注释掉了的.我喜欢kde,所以很多的东东都是设置用的kde的程序,中文终端就用red hat的kde中自带的konsole,非常好用.另外你不能copy我的文档,你必需修改它,因为我的图标很多是自己做的,不是系统带的,漂亮么?
##########################################################################
# Wharf
#
#------------------------------------------------------------------------
# Background
#
#   0 - No texture
#   1 - Wharf-style gradient                            ^-
#   2 - Horizontal one way gradient                     ?-_
#   3 - Horizontal from top/bottom to center            =-=
#   4 - Vertical one way gradient from left to right    ||| | |  | |
#   5 - Vertical from left/right to center              >>>>>><<<<<<
# 128 - User defined pixmap

*WharfAnimate
*WharfAnimateMain
*WharfAnimateDelay        2
*WharfAnimateSteps        5
*WharfAnimateStepsMain        5

*WharfBalloons
*WharfBalloonFore        Black
*WharfBalloonBack        Grey70
*WharfBalloonFont        -adobe-helvetica-bold-o-*-*-12-*-*-*-*-*-*-*
#*WharfBalloonBorderWidth 0
#*WharfBalloonBorderColor Grey30
#*WharfBalloonDelay        120
*WharfBalloonYOffset        -1

#------------------------------------------------------------------------
# Buttons
#
*WharfFullPush
#*WharfNoPush
*WharfNoBorder

#------------------------------------------------------------------------
# Geometry
#
#*WharfForceSize
#*WharfRows                1
*WharfColumns                1
*WharfGeometry                -5-5

#------------------------------------------------------------------------
# Entries
#
# NOTE:        as<app-name> programs require the APPS
#        tarball which is separate from the core release.

#(这儿的英文是你鼠标放到图标上显示出的字,以下雷同)
# AfterStep documentation
#
*Wharf afterstepdoc AfterStep3.xpm Exec "-" afterstepdoc &

#
# Time
#(这就是那个漂亮的时钟了)
*Wharf clock nil  Swallow "wmCalClock"  wmCalClock &
#
#
#
#
#HOME
#
*Wharf HOME  home.xpm  Exec "-" konqueror &
#
#
#(这里是主要的常用的应用程序)
# Applications
#
*Wharf Applications widget.xpm,3_dots.xpm Folders
        *Wharf Konsole konsole1.xpm Exec "-" konsole &
        *Wharf xterm linux-penguin.xpm Exec "-" (exec aterm) || (exec xterm) &
        *Wharf xman Bookshelf.xpm Exec "-" xman &
        *Wharf Gimp 3dpaint.xpm Exec "-" gimp &
        *Wharf Ksnapshot ksnapshot.xpm Exec "-" ksnapshot &
*Wharf ~Folders

*Wharf Office spreadsheet2.xpm,3_dots.xpm Folders
        *Wharf  Kword koffice1.xpm Exec "-" kword &
        *Wharf  Openwriter  openoffice1.xpm Exec "-" oowriter &
        *Wharf  Transtar author.xpm Exec "-" transtar &
        *Wharf  Dict BookArrows.xpm Exec "-" reciteword -d &
        *Wharf  ReciteWord workshop.xpm Exec "-" reciteword &
        *Wharf  PDF pdf.xpm Exec "-" acroread &
*Wharf ~Folders

*Wharf Internet internet.xpm,3_dots.xpm Folders
        *Wharf kppp kppp1.xpm Exec "-" kppp &
        *Wharf mozilla mozilla1.xpm Exec "-" mozilla &
        *Wharf Gaim gaim1.xpm Exec "-" gaim &
        *Wharf DownloadX nt.xpm Exec "-" nt &
        *Wharf Gftp gftp.xpm Exec "-" gftp &
*Wharf ~Folders


*Wharf  Multimedia multimedia.xpm,3_dots.xpm Folders
        *Wharf Xmms xmms1.xpm Exec "-" xmms &
        *Wharf Myplayer myplayer1.xpm Exec "-" gmplayer &
        *Wharf Realone realone1.xpm Exec "-" /root/RealPlayer9/realplay &
*Wharf ~Folders
#
# Screen saver
#
#*Wharf xlock Recycler.xpm  Exec "-" xlock -nolock -nice 0 -mode random &
#
# X eyes
#(很好玩的小程序)
*Wharf xeyes nil Swallow "xeyes" xeyes &

#
# Exit
#
*Wharf QuitForm RedFire.xpm Module "QuitForm" Form QuitForm

#
# Restart
#
#*Wharf Recycler shutdown.xpm Restart "" afterstep

#
############################################################################

7.3 backgrounds
放桌布了

8 中文输入法xsim

原来我用的kde,在root用户下,安装不用讲了,按照read me安装设置好环境变量,当然的保证在kde下可以用了,然后跟我做:
进入/etc/X11/gdm/Sessions目录下,这里放的是你login是窗口管理器的选项,有kde,gonme,window make,等
#cp KDE linuxsir
然后在login是选linuxsir做窗口管理器,并设置为默认的管理器!进入linuxsir管理器中进入到/etc/X11/gdm/Sessions中删除linuxsir,在退出系统,在login时输入name和passwed,不要选窗口管理器了,回车,没有linuxsir了当然进不去了,但会问你是否用默认的窗口管理器,选是,它会启动afterstep,这时xsim就可以用了,然后,你别的窗口管理器,如kde,gonme,window make等还和以前一样,都没有问题了,以后你可以选任何做默认的而afterstep的xsim还是可以用的!曾经问了很多的人,看了很多的贴子都没能解决在afterstep下的输入法的问题被我用这个办法解决了,天意啊!无意中发现这个办法的!

9 再设置xsnow为动画背景好了!经过以上的步骤,你已经有了一个简单而方便的afterstep可用了,再看/usr/local/share/afterstep/doc文档,有更精彩的设置你的系统!

主站:www.afterstep.org
发表于 2003-2-28 17:12:45 | 显示全部楼层
好文章 顶 我的红旗32也可以变花头了
不过中文输入法我还没有去试呢
 楼主| 发表于 2003-2-28 18:01:03 | 显示全部楼层
听有些兄弟说输入法他们是按照普通的法子就搞定了的,可能我用red hat的原故吧
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表