Fedora 14 下安装类似 NotePad++的 sciTE 编辑器。从官网上下载如下文件,放于同一目录gscite228.tgz
locale.zh_cn.properties
api/*.api (自己创建api目录,关于api配置请参考官方说明)
SciTEUser.properties(自己创建的个人配置文件),参考内容如下:
#option if you want to use the icons of the current GTK theme, personally I like the default icons
#toolbar.usestockicons=1
#auto maximize the window
position.maximize=1
#default tool bars, reminds me of NP++
toolbar.visible=1
#so you can see the full path of the file on top
title.full.path=1
#singleton instance ?a ie I dont want to see many editors, opening files will simply create a new tab
check.if.already.open=1
#make teh status bar at the bottom visible
statusbar.visible=1
#this will save the last session, so when scite is fired up the files from the previous session are loaded.
save.session=1
#save list of recent filessave.recent=1
#simplified chinese
#code.page=936
#character.set=134
if PLAT_GTK
output.code.page=936
#UTF-8
code.page=65001
#LC_CTYPE=en_US.UTF-8
tabsize=4
indent.size=4
tabbar.multiline=1
line.margin.visible=1
autocompleteword.automatic=1
find.replace.advanced=1
fold.margin.colour=#0AFFDD
fold.margin.highlight.colour=#FF0022
highlight.current.word=1
#highlight.current.word.by.style=1
highlight.current.word.colour=#00AAFF
#are.you.sure.on.reload=1
if PLAT_GTK
locale.properties=/usr/share/scite/locale.zh_cn.properties----------------------------linux 下快捷安装方法解压 gscite228.tgz
tar -xzvf gscite228.tgz将以下内容保存成 install_sciTE.sh
#!/bin/bashif [ $# -ne 1 ]; then
echo "usage: $0 program_dir"
echo "example: $0 gscite"
exit 65
fiEXEDIR=/usr/local/bin
CONFDIR=/usr/share/scite
PICDIR=/usr/share/pixmapscd $1
cp -pf SciTE $EXEDIR/sciTE
if [ ! -d $CONFDIR ]; then
mkdir -p $CONFDIR
fi
cp -pf *.properties $CONFDIRif [ ! -d $PICDIR ]; then
mkdir -p $PICDIR
fi
cp -pf Sci48M.png $PICDIRcd -
cp -pf locale*.properties $CONFDIR
cp -Rpf api/ $CONFDIR/api
chmod 755 /usr/local/bin/sciTE
chmod -R 755 $CONFDIR
chmod -R 755 $PICDIRcp -pf SciTEUser.properties /root/.SciTEUser.propertiesexit
#---------------------------------------
以root 用户
chmod +x install_sciTE.sh
./install_sciTE.sh gscite按需要给其他系统用户添加个人配置文件,如
cp -pf SciTEUser.properties /home/mayjie/.SciTEUser.properties
-----------------
感觉还可以,不过没有函数列表,有些遗憾。Linux I/O(输入和输出)Teamviewer 5 在 Fedora 14 中使用相关资讯 Fedora安装
- Fedora 16 安装VM-Tool碰到的问题 (01/14/2012 16:50:55)
- Fedora 15 安装 VMware 7.1.4 提示 (09/04/2011 08:07:12)
- Fedora手动安装Firefox 6 (08/29/2011 20:38:59)
| - Fedora 16硬盘安装 (11/15/2011 19:27:39)
- VMware 7.1.4下安装Fedora 15 (09/04/2011 08:04:45)
- Fedora安装火狐7.0a2 Aurora版 (08/29/2011 06:48:15)
|
本文评论 查看全部评论 (0)