[solved,thx]几个小问题,望前人指点一下 ...
时间:2007-09-19
来源:互联网
1,) 怎么支持我的刻录机(nautilus 集成的那个)? , 内核部分我配置过了,能读盘 , scsi 也选了
2,) 我装了 tar , 以前 nautilus 双击 .tar .bz2 这样的后缀直接能解开,比较方便,想知道这怎么设置? 不是 nautilus-script
3,) 中文的 man 手册 , 乱码
iblicf@gentoo ~/readings/zh_CN1/man1 $ locale LANG=zh_CN.UTF-8 LC_CTYPE="zh_CN.UTF-8" LC_NUMERIC="zh_CN.UTF-8" LC_TIME="zh_CN.UTF-8" LC_COLLATE="zh_CN.UTF-8" LC_MONETARY="zh_CN.UTF-8" LC_MESSAGES="zh_CN.UTF-8" LC_PAPER="zh_CN.UTF-8" LC_NAME="zh_CN.UTF-8" LC_ADDRESS="zh_CN.UTF-8" LC_TELEPHONE="zh_CN.UTF-8" LC_MEASUREMENT="zh_CN.UTF-8" LC_IDENTIFICATION="zh_CN.UTF-8" LC_ALL=zh_CN.UTF-8 alias cman='man -M /home/iblicf/readings/zh_CN1' iblicf@gentoo ~/readings/zh_CN1/man1 $ enca mv.1 Universal transformation format 8 bits; UTF-8 iblicf@gentoo /etc $ grep NROFF man.conf # NROFF is defined as "groff -Tascii" or "groff -Tlatin1"; # For use with utf-8, NROFF should be "nroff -mandoc" without -T option. # causes problems, add the -c option to TROFF, NROFF, JNROFF. #NROFF /usr/bin/nroff -Tascii -c -mandoc NROFF /usr/bin/nroff -mandoc -c JNROFF /usr/bin/groff -Tnippon -mandocj
gentoo etc # emerge -pv gnome-volume-control These are the packages that would be merged, in order: Calculating dependencies - emerge: there are no ebuilds to satisfy "gnome-volume-control".
作者: iblicf 发布时间: 2007-09-19
囧
作者: hutigers 发布时间: 2007-09-20
$pquery --attr alldepends -m nautilus-cd-burner --max -v --raw * gnome-extra/nautilus-cd-burner-2.20.0 repo: gnome description: CD and DVD writer plugin for Nautilus homepage: http://www.gnome.org/ depends: >=gnome-base/gnome-vfs-2.1.3.1 >=dev-libs/glib-2.10 >=x11-libs/gtk+-2.6 >=gnome-base/libglade-2 >=gnome-base/libgnome-2.14 >=gnome-base/libgnomeui-2.14 >=gnome-base/eel-2.14 >=gnome-base/nautilus-2.16 >=gnome-base/gconf-2 >=gnome-base/gnome-mount-0.4 >=sys-apps/hal-0.5.7 >=dev-libs/dbus-glib-0.71 cdr? ( virtual/cdrtools ) dvdr? ( >=app-cdr/dvd+rw-tools-6.1 ) sys-devel/gettext >=dev-util/pkgconfig-0.9 >=dev-util/intltool-0.35 >=sys-apps/sed-4 rdepends: >=gnome-base/gnome-vfs-2.1.3.1 >=dev-libs/glib-2.10 >=x11-libs/gtk+-2.6 >=gnome-base/libglade-2 >=gnome-base/libgnome-2.14 >=gnome-base/libgnomeui-2.14 >=gnome-base/eel-2.14 >=gnome-base/nautilus-2.16 >=gnome-base/gconf-2 >=gnome-base/gnome-mount-0.4 >=sys-apps/hal-0.5.7 >=dev-libs/dbus-glib-0.71 cdr? ( virtual/cdrtools ) dvdr? ( >=app-cdr/dvd+rw-tools-6.1 ) post_rdepends:
emerge file-roller -av
第四个
# qfile gnome-volume-control gnome-extra/gnome-media (/usr/bin/gnome-volume-control) gnome-extra/gnome-media (/usr/share/gnome/help/gnome-volume-control)
作者: Blahster 发布时间: 2007-09-20
谢谢,谢谢
作者: iblicf 发布时间: 2007-09-20
1. 最新的groff有bug,退回到groff-1.18.1.1
2. 修改man.conf文件,以支持UTF-8
作者: zhou3345 发布时间: 2007-09-20
--------------------------------------------
iblicf@gentoo /etc $ groff -v GNU groff version 1.18.1 Copyright (C) 2002 Free Software Foundation, Inc. GNU groff comes with ABSOLUTELY NO WARRANTY. You may redistribute copies of groff and its subprograms under the terms of the GNU General Public License. For more information about these matters, see the file named COPYING. called subprograms: GNU troff (groff) version 1.18.1 GNU grops (groff) version 1.18.1
/etc/man.conf
-------------------------------------------------------
TROFF /usr/bin/groff -Tps -mandoc #NROFF /usr/bin/nroff -Tascii -c -mandoc #NROFF /usr/bin/nroff -mandoc -c NROFF /usr/bin/groff -S -Tlatin1 -mandoc #TROFF /usr/local/bin/groff-utf8 -Tutf8 -mandoc #NROFF /usr/local/bin/groff-utf8 -Tutf8 -mandoc
man -d su
--------------------------------------------
Reading config file /etc/man.conf Cannot open the message catalog "man" for locale "zh_CN.UTF-8" (NLSPATH="<none>") found man directory /usr/share/man found man directory /usr/local/share/man found man directory /usr/X11R6/man found man directory /usr/local/man found man directory /usr/man found manpath map /bin --> /usr/share/man found manpath map /sbin --> /usr/share/man found manpath map /usr/bin --> /usr/share/man found manpath map /usr/sbin --> /usr/share/man found manpath map /usr/local/bin --> /usr/local/share/man found manpath map /usr/local/sbin --> /usr/local/share/man found manpath map /usr/X11R6/bin --> /usr/X11R6/man found manpath map /usr/bin/X11 --> /usr/X11R6/man found manpath map /usr/bin/mh --> /usr/share/man using /usr/bin/less as pager using /usr/bin/less -is as browser using /bin/cat to dump HTML pages as text adding /usr/local/share/man to manpath adding /usr/share/man/zh_CN to manpath adding /usr/share/man to manpath adding /usr/share/binutils-data/i686-pc-linux-gnu/2.18/man to manpath adding /usr/share/gcc-data/i686-pc-linux-gnu/4.1.1/man to manpath will try to write /var/cache/man/zh_CN/cat1/su.1.bz2 if needed status from is_newer() = -2 using default preprocessor sequence found tbl(1) directive man: not executing command: (cd /usr/share/man/zh_CN && (echo ".pl 1100i"; /bin/bzip2 -c -d '/usr/share/man/zh_CN/man1/su.1.bz2'; echo ".\\\""; echo ".pl \n(nlu+10") | /usr/bin/gtbl | /usr/bin/groff -S -Tlatin1 -mandoc | /usr/bin/less)
作者: iblicf 发布时间: 2007-09-20
#nano /etc/man.conf
(把原来的这行)
NROFF /usr/bin/nroff -Tascii -c -mandoc
(用下面的这行替换)
NROFF /usr/bin/nroff -mandoc -c
作者: zhou3345 发布时间: 2007-09-21
谢谢大家的帮忙
作者: iblicf 发布时间: 2007-09-21
你试试我的方法,就两条,比那简单。
作者: zhou3345 发布时间: 2007-09-21
作者: zhou3345
兄弟还是没明白我的意思,要是用什么另外的groff-utf8,要更麻烦些。
你试试我的方法,就两条,比那简单。 |
TROFF /usr/bin/groff -Tps -mandoc
NROFF /usr/bin/nroff -mandoc -c
#NROFF /usr/bin/groff -S -Tlatin1 -mandoc
#TROFF /usr/local/bin/groff-utf8 -Tutf8 -mandoc
#NROFF /usr/local/bin/groff-utf8 -Tutf8 -mandoc
man su
---------------------------------------------------------------------------
SU(1) FSF SU(1)
NAME(åç§°)
su - è¿è¡æ¿æ¢ç¨æ·åç»æ è¯çshell
SYNOPSIS(æ»è§)
su [OPTION]... [-] [USER [ARG]...]
DESCRIPTION(æè¿°)
ä¿®æ¹ææç¨æ·æ è¯åç»æ è¯ä¸ºUSERç.
作者: iblicf 发布时间: 2007-09-21
LC_MESSAGES=zh_CN.UTF-8 man su
NAME(名称) su - 运行替换用户和组标识的shell SYNOPSIS(总览) su [OPTION]... [-] [USER [ARG]...] DESCRIPTION(描述) 修改有效用户标识和组标识为USER的. -, -l, --login 使得shell为可登录的shell -c, --commmand=COMMAND 传递单个COMMAND给-c的shell. -f, --fast 传递-f给shell(针对csh或tcsh) -m, --preserve-environment 不重置环境变量 -p 与-m同 -s, --shell=SHELL 如果/etc/shells允许,运行SHELL. --help 显示帮助并退出
你先把所有的修改都复位,将man.conf删除,重新emerge man-pages,移走那什么groff-utf8,重新emerge =groff-1.18.1.1,再按前面的方法试试。最好在做了修改后 env-update && source /etc/profile 一下。还有什么问题可以到irc在线交流:)
作者: zhou3345 发布时间: 2007-09-21
热门阅读
-
office 2019专业增强版最新2021版激活秘钥/序列号/激活码推荐 附激活工具
阅读:74
-
如何安装mysql8.0
阅读:31
-
Word快速设置标题样式步骤详解
阅读:28
-
20+道必知必会的Vue面试题(附答案解析)
阅读:37
-
HTML如何制作表单
阅读:22
-
百词斩可以改天数吗?当然可以,4个步骤轻松修改天数!
阅读:31
-
ET文件格式和XLS格式文件之间如何转化?
阅读:24
-
react和vue的区别及优缺点是什么
阅读:121
-
支付宝人脸识别如何关闭?
阅读:21
-
腾讯微云怎么修改照片或视频备份路径?
阅读:28