LinuxSir.cn,穿越时空的Linuxsir!

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

[solved,thx]几个小问题,望前人指点一下 ...

[复制链接]
发表于 2007-9-19 19:52:49 | 显示全部楼层 |阅读模式
gentoo 安装时间不长,ubuntu 下有些方便之处,或者说习惯想调出来,我装得是 gnome-light ..

1,) 怎么支持我的刻录机(nautilus 集成的那个)?  , 内核部分我配置过了,能读盘 , scsi 也选了

2,) 我装了 tar , 以前 nautilus 双击 .tar .bz2 这样的后缀直接能解开,比较方便,想知道这怎么设置? 不是 nautilus-script  

3,) 中文的 man 手册 , 乱码

  1. iblicf@gentoo ~/readings/zh_CN1/man1 $ locale
  2. LANG=zh_CN.UTF-8
  3. LC_CTYPE="zh_CN.UTF-8"
  4. LC_NUMERIC="zh_CN.UTF-8"
  5. LC_TIME="zh_CN.UTF-8"
  6. LC_COLLATE="zh_CN.UTF-8"
  7. LC_MONETARY="zh_CN.UTF-8"
  8. LC_MESSAGES="zh_CN.UTF-8"
  9. LC_PAPER="zh_CN.UTF-8"
  10. LC_NAME="zh_CN.UTF-8"
  11. LC_ADDRESS="zh_CN.UTF-8"
  12. LC_TELEPHONE="zh_CN.UTF-8"
  13. LC_MEASUREMENT="zh_CN.UTF-8"
  14. LC_IDENTIFICATION="zh_CN.UTF-8"
  15. LC_ALL=zh_CN.UTF-8

  16. alias cman='man -M /home/iblicf/readings/zh_CN1'

  17. iblicf@gentoo ~/readings/zh_CN1/man1 $ enca mv.1
  18. Universal transformation format 8 bits; UTF-8

  19. iblicf@gentoo /etc $ grep NROFF man.conf
  20. # NROFF is defined as "groff -Tascii" or "groff -Tlatin1";
  21. # For use with utf-8, NROFF should be "nroff -mandoc" without -T option.
  22. # causes problems, add the -c option to TROFF, NROFF, JNROFF.
  23. #NROFF          /usr/bin/nroff -Tascii -c -mandoc
  24. NROFF           /usr/bin/nroff -mandoc -c
  25. JNROFF          /usr/bin/groff -Tnippon -mandocj
复制代码


4,) 面板上的音量调节, 只能 master , 双击 : "启动音量控制失败:执行子进程“gnome-volume-control”失败(没有那个文件或目录) "

  1. gentoo etc # emerge -pv gnome-volume-control
  2. These are the packages that would be merged, in order:

  3. Calculating dependencies -
  4. emerge: there are no ebuilds to satisfy "gnome-volume-control".
复制代码


望指教 ..
发表于 2007-9-19 20:23:01 | 显示全部楼层
这个前人的话,一般都是指不在人世间的吧?
回复 支持 反对

使用道具 举报

发表于 2007-9-19 20:36:20 | 显示全部楼层
第一个问题:
  1. $pquery --attr alldepends -m nautilus-cd-burner --max -v --raw
  2. * [b][color="Red"]gnome-extra/nautilus-cd-burner[/color][/b]-2.20.0
  3.      repo: gnome
  4.      description: CD and DVD writer plugin for Nautilus
  5.      homepage: http://www.gnome.org/
  6.      depends:
  7.         >=gnome-base/gnome-vfs-2.1.3.1
  8.         >=dev-libs/glib-2.10
  9.         >=x11-libs/gtk+-2.6
  10.         >=gnome-base/libglade-2
  11.         >=gnome-base/libgnome-2.14
  12.         >=gnome-base/libgnomeui-2.14
  13.         >=gnome-base/eel-2.14
  14.         >=gnome-base/nautilus-2.16
  15.         >=gnome-base/gconf-2
  16.         >=gnome-base/gnome-mount-0.4
  17.         >=sys-apps/hal-0.5.7
  18.         >=dev-libs/dbus-glib-0.71
  19.         cdr? ( virtual/cdrtools )
  20.         dvdr? ( >=app-cdr/dvd+rw-tools-6.1 )
  21.         sys-devel/gettext
  22.         >=dev-util/pkgconfig-0.9
  23.         >=dev-util/intltool-0.35
  24.         >=sys-apps/sed-4
  25.      rdepends:
  26.         >=gnome-base/gnome-vfs-2.1.3.1
  27.         >=dev-libs/glib-2.10
  28.         >=x11-libs/gtk+-2.6
  29.         >=gnome-base/libglade-2
  30.         >=gnome-base/libgnome-2.14
  31.         >=gnome-base/libgnomeui-2.14
  32.         >=gnome-base/eel-2.14
  33.         >=gnome-base/nautilus-2.16
  34.         >=gnome-base/gconf-2
  35.         >=gnome-base/gnome-mount-0.4
  36.         >=sys-apps/hal-0.5.7
  37.         >=dev-libs/dbus-glib-0.71
  38.         cdr? ( virtual/cdrtools )
  39.         dvdr? ( >=app-cdr/dvd+rw-tools-6.1 )
  40.      post_rdepends:
复制代码

第二个问题,可能是nautilus script,gnome下还有个图形化工具
  1. emerge file-roller -av
复制代码

第三个问题,参见http://forums.gentoo.org/viewtopic-t-578180.html

第四个
  1. # qfile gnome-volume-control
  2. gnome-extra/gnome-media (/usr/bin/gnome-volume-control)
  3. gnome-extra/gnome-media (/usr/share/gnome/help/gnome-volume-control)
复制代码
所以 emerge gnome-media 先
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-9-20 09:56:19 | 显示全部楼层
非常感谢,blahster , 真是 blade edge  , 中文man 还有些问题,没关系了,我自己研究研究,

谢谢,谢谢
回复 支持 反对

使用道具 举报

发表于 2007-9-20 10:10:56 | 显示全部楼层
中文man的问题我在楼上给的帖子里回过的,注意2条:
1. 最新的groff有bug,退回到groff-1.18.1.1
2. 修改man.conf文件,以支持UTF-8
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-9-20 12:13:51 | 显示全部楼层
groff -v
--------------------------------------------
  1. iblicf@gentoo /etc $ groff -v
  2. GNU groff version 1.18.1
  3. Copyright (C) 2002 Free Software Foundation, Inc.
  4. GNU groff comes with ABSOLUTELY NO WARRANTY.
  5. You may redistribute copies of groff and its subprograms
  6. under the terms of the GNU General Public License.
  7. For more information about these matters, see the file named COPYING.
  8. called subprograms:
  9. GNU troff (groff) version 1.18.1
  10. GNU grops (groff) version 1.18.1
复制代码


/etc/man.conf
-------------------------------------------------------
  1. TROFF           /usr/bin/groff -Tps -mandoc
  2. #NROFF          /usr/bin/nroff -Tascii -c -mandoc
  3. #NROFF          /usr/bin/nroff -mandoc -c
  4. NROFF           /usr/bin/groff -S -Tlatin1 -mandoc
  5. #TROFF          /usr/local/bin/groff-utf8 -Tutf8 -mandoc
  6. #NROFF          /usr/local/bin/groff-utf8 -Tutf8 -mandoc
复制代码

那个groff-utf8 号称真正 utf8支持,上边的我都试过,最好情况就是出 乱码+部分中文

man -d su
--------------------------------------------
  1. Reading config file /etc/man.conf
  2. Cannot open the message catalog "man" for locale "zh_CN.UTF-8"
  3. (NLSPATH="<none>")
  4. found man directory /usr/share/man
  5. found man directory /usr/local/share/man
  6. found man directory /usr/X11R6/man
  7. found man directory /usr/local/man
  8. found man directory /usr/man
  9. found manpath map /bin --> /usr/share/man
  10. found manpath map /sbin --> /usr/share/man
  11. found manpath map /usr/bin --> /usr/share/man
  12. found manpath map /usr/sbin --> /usr/share/man
  13. found manpath map /usr/local/bin --> /usr/local/share/man
  14. found manpath map /usr/local/sbin --> /usr/local/share/man
  15. found manpath map /usr/X11R6/bin --> /usr/X11R6/man
  16. found manpath map /usr/bin/X11 --> /usr/X11R6/man
  17. found manpath map /usr/bin/mh --> /usr/share/man
  18. using /usr/bin/less as pager
  19. using /usr/bin/less -is as browser
  20. using /bin/cat to dump HTML pages as text
  21. adding /usr/local/share/man to manpath
  22. adding /usr/share/man/zh_CN to manpath
  23. adding /usr/share/man to manpath
  24. adding /usr/share/binutils-data/i686-pc-linux-gnu/2.18/man to manpath
  25. adding /usr/share/gcc-data/i686-pc-linux-gnu/4.1.1/man to manpath
  26. will try to write /var/cache/man/zh_CN/cat1/su.1.bz2 if needed
  27. status from is_newer() = -2
  28. using default preprocessor sequence
  29. found tbl(1) directive
  30. man:
  31. not executing command:
  32.   (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)
复制代码
回复 支持 反对

使用道具 举报

发表于 2007-9-20 20:24:21 | 显示全部楼层
问题好像出在你的 man.conf文件上,应该把-Tascii去掉。
#nano /etc/man.conf

(把原来的这行)
NROFF /usr/bin/nroff -Tascii -c -mandoc
(用下面的这行替换)
NROFF /usr/bin/nroff -mandoc -c
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-9-20 20:52:12 | 显示全部楼层
好了,根据这个帖子做的:http://forums.gentoo.org/viewtopic-p-2810912.html

谢谢大家的帮忙
回复 支持 反对

使用道具 举报

发表于 2007-9-20 23:18:51 | 显示全部楼层
兄弟还是没明白我的意思,要是用什么另外的groff-utf8,要更麻烦些。
你试试我的方法,就两条,比那简单。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-9-21 07:31:55 | 显示全部楼层
Post by 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ç.
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

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