|
楼主 |
发表于 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 |
|