LinuxSir.cn,穿越时空的Linuxsir!

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

WindowMake的桌面环境没有中文 ?

[复制链接]
发表于 2002-11-23 08:10:18 | 显示全部楼层 |阅读模式
我想在MANDRAKE中只使用WindowMaker作为图形界面,那么在安装的时候,我是不是将所有关于KDE和GNOME的软件包删去不选?也就是说不安装那两种界面,不会影响WindowMaker运行。
还有一个问题,为什么我安装MANDRAKE 9,0 时选择的是中文。可进入WINDOWMAKER后,配置程序却还是英文的?在8,2就没有这样。对了,如果只使用WINDOWMAKER,KOFFICE还可以使用吗?为什么很多程序在9,0中界面是英文的,而在以前版本中却是中文的。
MANDRAKE是哪个国家的?
这么多问题,谢了!
发表于 2002-11-23 10:49:43 | 显示全部楼层
Mandrake 总部在美国,但在中文的支持上,除了国内linux发行版及turbo linux以外mandrake 应该是最好的了。安装时你可以把全部组件都选上,包括kde,gnome,windowmaker等。以后你可以选择进入哪个视窗系统。不会影响windowmaker的任何操作。另外,koffice是kde的一个组件,如果不装kde,koffice也不会装上。kde与gnome还自带许多优秀的软件。如果你装了kde及koffice的话,在windowmaker下执行koffice是没有任何问题的。至于中文方面,只要在安装时选择“中文"的话,以后基本不需任何配置就能很好地支持中文。mandrake 9.0对中文的支持肯定要比前面版本的要好些。如果你还想深入其中的一些问题,你可搜索本论坛相关的贴子。
发表于 2002-11-23 11:30:07 | 显示全部楼层
至于中文方面,只要在安装时选择“中文"的话,以后基本不需任何配置就能很好地支持中文。


我的MDK9安装时选中文ZH_GB2312,安装好后除WINDOWMAKER外,其他XWINDOW对汉字支持都很好.但是进入WINDOWMAKER时,报告说不能引入菜单,确定后,菜单中只有三项东西,都是英文的.当我用WINDOWMAKER的菜单编辑器编辑菜单时,警告说不支持使用菜单编辑器.当我再继续时,菜单恢复正常,但全部是英文的,而且很不全.我想把菜单项改成中文的,按CTRL+SPACE却调不出中文输入法.也就是说,我的WINDOWMAKER是完全英文的.我想把它的界面弄成中文的.我重装系统后仍然如此.不知哪里出错.

请高手指教.
发表于 2002-11-23 13:31:48 | 显示全部楼层
用wmchlocale -auto吧,有可能说不能用KDE字体,我这样使用后,原来的自定义菜单没有了。但已变为中文。
如图

WMMAKER像不能离开KDE或GNOME
发表于 2002-11-24 02:23:01 | 显示全部楼层
用wmchlocale -auto吧,有可能说不能用KDE字体,我这样使用后,原来的自定义菜单没有了。但已变为中文。


[root@Watson root]# wmchlocale -auto

Locale -auto is not supported on your system...

[root@Watson root]# wmchlochle
bash: wmchlochle: command not found
[root@Watson root]# wmchlocale

wmchlocale, v0.3 by Jan "judas" Tomka
Syntax:
     wmchlocale [--auto] [--test] [<new-locale> | default]

<new-locale>   locale you want WindowMaker to move to (e.g. ja or default)
--auto         use current locale
--test         don't write anything

[root@Watson root]# wmchlocale --auto
Setting Window Maker root menu... Setting Window Maker root menu... fail (copying default)
Setting Window Maker fonts... fail (setting default)
[root@Watson root]#


何解?
发表于 2002-11-26 16:43:38 | 显示全部楼层
我已经搞定了.步骤如下:

一.确认系统中的中文字体.
   # xlsfonts | grep gb18030

二.修改~/GNUstep/Defaults/WindowMaker中所有的中文字体为simsun.注意逗号前的英文字体不要删除.只改逗号后的中文部分.

三.确认locale环境.
[watson@Watson watson]$ locale
LANG=zh_CN.GB2312
LC_CTYPE="zh_CN.GB10830"
LC_NUMERIC="zh_CN.GB10830"
LC_TIME="zh_CN.GB10830"
LC_COLLATE="zh_CN.GB10830"
LC_MONETARY="zh_CN.GB10830"
LC_MESSAGES="zh_CN.GB10830"
LC_PAPER="zh_CN.GB10830"
LC_NAME="zh_CN.GB10830"
LC_ADDRESS="zh_CN.GB10830"
LC_TELEPHONE="zh_CN.GB10830"
LC_MEASUREMENT="zh_CN.GB10830"
LC_IDENTIFICATION="zh_CN.GB10830"
LC_ALL=zh_CN.GB10830
[watson@Watson watson]$
locale不对的话,这样修改:
[watson@Watson watson]$ export LC_ALL=zh_CN.GB10830

四.汉化菜单.MDK9中WMAKER自带的中文菜单有错误,系统不能引入.我对它作了修正,如下:
(
  Applications,
  (
    "信息",
    ("信息面版", INFO_PANEL),
    ("版权", LEGAL_PANEL),
    ("系统控制台", EXEC, xconsole),
    ("系统负载", SHEXEC, "xosview || xload"),
    ("进程列表", EXEC, "xterm -e top"),
    ("手册浏览器", EXEC, xman)
  ),
  ("运行...", EXEC, "%a(Run,Type command to run"),
  ("工作空间", WORKSPACE_MENU),
  ("模拟终端",
  (XTerm, EXEC, "xterm -sb"),
  ("繁体中文终端", EXEC, "/usr/X11R6/bin/crxvt -ls"),
  ("Eterm", EXEC, "/usr/bin/Eterm"),
  ("简体中文终端", EXEC, "/usr/X11R6/bin/gbrxvt -ls"),
  ("GNOME Terminal", EXEC, "/usr/bin/gnome-terminal"),
  ("日文终端", EXEC, "/usr/X11R6/bin/jrxvt -ls"),
  ("韩文终端", EXEC, "/usr/X11R6/bin/krxvt -ls"),
  ("KDE 终端", EXEC, "konsole"),
  ("Konsole - 超级用户模式", "EXEC, konsole --type su"),
  ("RXvt 模拟终端", EXEC, "/usr/X11R6/bin/rxvt"),
  ("XTerm 终端", EXEC, "/usr/X11R6/bin/xterm -name Terminal")
  ),
  (
    "应用程序",
  (
  "图形",
   ("Gimp", SHEXEC, "gimp >/dev/null"),
   ("XV", EXEC, "xv"),
   ("XPaint", EXEC, "xpaint"),
   ("XFig", EXEC, "xfig"),
   (Ghostview, EXEC, "ghostview"),
   ("KChart图表", EXEC, "kchart"),
   ("KDE 流程图工具", EXEC, "kivio")
   ),
  (
  "X 文件管理器",
  ("Endeavour", EXEC, "/usr/bin/endeavour2"),
  ("文件管理器 - 超级用户模式", EXEC, "kdesu konqueror"),
  ("GNOME Search Tool", EXEC, "/usr/bin/gnome-search-tool"),
  ("KDE文件管理器-普通用户模式", EXEC, "konqueror"),
  ("KDat", EXEC, kdat),
  ("Nautilus", EXEC, "/usr/bin/nautilus --no-desktop"),
  ("XFCE文件管理器", EXEC, "xftree"),
  ("gentoo文件管理器", EXEC, "gentoo --root-ok")
  ),
  (
  "编辑器",
("Emacs", EXEC, "emacs"),
  ("Gnome 文本编辑器", EXEC, "/usr/bin/gedit"),
  ("KHexEdit十六进制编辑器", EXEC, "khexedit"),
  ("KWrite", EXEC, "kwrite"),
  ("Kate", EXEC, "kate"),
  ("VI 编辑器", EXEC, "/usr/X11R6/bin/gvim"),
  ("Yudit", EXEC, "yudit"),
  ("XFte", EXEC, "xfte"),
  ("XJed", EXEC, "xjed"),
  ("NEdit", EXEC, "nedit"),
  ("Xedit", EXEC, "xedit"),
  ("VI", EXEC, "xterm -e vi")
  ),
  (
  "中文",
  ("yDict", EXEC, "/usr/X11R6/bin/pydict"),
  ("XCIN 中文输入服务器", EXEC, "/usr/X11R6/bin/xcin")
  ),
  (
  "易用性",
  ("KRuler标尺", EXEC, "kruler"),
  ("X 放大镜", EXEC, "xmag")
  ),
  (
  "存档",
    (
    "光盘烧录",
  ("GCombust", EXEC, "/usr/bin/gcombust"),
  ("Gnome 光盘刻写", EXEC, "/usr/bin/gtoaster"),
  ("X-CD-Roast光盘刻写", EXEC, "xcdroast -n")
    ),
(
"文件压缩",
  ("文件压缩", EXEC, "/usr/bin/archive-generator"),
  ("Ark", EXEC, "ark"),
  ("File-Roller", EXEC, "file-roller"),
  ("Gnome 压缩工具", EXEC, "gnozip")
  ),
  (
  "其他",
  ("GTK 磁盘目录工具", EXEC, "/usr/bin/gtktalog")
  )
  ),
  (
  "通信",
  ("J-Pilot", EXEC, "jpilot"),
  ("发送传真", EXEC, "klprfax  -"),
  ("KFax传真", EXEC, "kfax")
  ),

(
  "开发",
  (
  "软件开发环境",
  ("IDLE", EXEC, "/usr/bin/idle"),
  ("Qt3 语言大师", EXEC, "/usr/lib/qt3/bin/linguist"),
  ("Qt 设计者", EXEC, "/usr/bin/designer-qt3")
   ),
  (
  "工具",
  ("错误报告", EXEC, "/usr/bin/bug-buddy"),
  ("Cervisia", EXEC, "cervisia"),
  ("Gdb", EXEC, "xvt  -e gdb"),
  ("KBabel翻译工具", EXEC, "kbabel"),
  ("KBabel - 目录管理器", EXEC, "catalogmanager"),
  ("KBabel - 词典", EXEC, "kbabeldict"),
  ("KBugBuster", EXEC, "kbugbuster"),
  ("KDE 除错工具", EXEC, "/usr/bin/kdbg"),
  ("Kompare", EXEC, "kompare")
  )
  ),
  ("系统监视工具",
  ("GNOME 系统监视", EXEC, "/usr/bin/gnome-system-monitor"),
  ("KDE 系统卫士", EXEC, "ksysguard"),
  ("KDiskFree磁盘空间", EXEC, "kdf"),
  ("系统记录查看", EXEC, "/usr/bin/gnome-system-log"),
  ("Xconsol", EXEC, "xconsole"),
  ("Xkill", EXEC, xkill),
  ("X 屏幕刷新", EXEC, "xrefresh")
  ),

("出版",
  ("GhostView", EXEC, "gv"),
  ("KDVI", EXEC, "kviewshell dvi"),
  ("KGhostView", EXEC, "kghostview"),
  ("Xpdf", EXEC, "xpdf")
  ),

("科学",
("数学",
  ("Gnuplot", EXEC, "xvt  -e /usr/bin/gnuplot"),
  ("KFract", EXEC, "kfract")
  )
  ),
  ("文本工具",
  ("GNOME Character Map", EXEC, "/usr/bin/gnome-character-map"),
  ("GNOME 词典", EXEC, "/usr/bin/gnome-dictionary"),
  ("KCharSelect", EXEC, "kcharselect"),
  ("KJots", EXEC, "kjots"),
  ("KDE 小词典", EXEC, "kdict"),
  ("KOffice 报表工具", EXEC, "kugar"),
  ("Kugar Designer", EXEC, "kudesigner")
  ),
  ("文档",
  ("Qt3 助手", EXEC, "/usr/bin/assistant")
),
("办公",

("工具",
  ("GNOME Calc", EXEC, "/usr/bin/gnome-calculator"),
  ("KCalc", EXEC, "kcalc"),
  ("KOffice 工作空间", EXEC, "koshell")
  ),

("Gnome 地址簿",
  ("Gnome 通迅录", EXEC, "/usr/bin/gnomecard")
  ),

("DA",
  ("KPilot", EXEC, "kpilot")
  ),

("幻灯片演示",
  ("KPresenter", EXEC, "kpresenter")
  ),

("电子表格",
  ("Gnumeric", EXEC, "/usr/bin/gnumeric"),
  ("KSpread 电子表格", EXEC, "kspread")
  ),

("任务管理",
  ("Mr Project", EXEC, "mrproject")
  ),

("Gnome 日程管理",
  ("Gnome-Cal", EXEC, "/usr/bin/gnomecal"),
  ("Ical 日历", EXEC, "/usr/bin/ical"),
  ("KAlarm", EXEC, "kalarm"),
  ("KOrganizer", EXEC, "korganizer")
  ),

("各种字处理软件",
  ("KFormula公式编辑", EXEC, "kformula"),
  ("KWord 字处理", EXEC, "kword"),
  ("Karbon14", EXEC, "karbon")
)
),

("网络工具",

("聊天",
  ("GNOME Talk", EXEC, "/usr/bin/gtalk")
  ),

("文件传送",
  ("Lftp", EXEC, "xvt  -e lftp"),
  ("NCFtp", EXEC, "xvt  -e /usr/bin/ncftp"),
  ("gFTP", EXEC, "/usr/bin/gftp")
  ),

("IRC 工具",
  ("Xchat", EXEC, "xchat")
  ),

("即时通信",
  ("Everybuddy", EXEC, "/usr/bin/everybuddy"),
  ("Gabber", EXEC, "/usr/bin/gabber"),
  ("Gaim", EXEC, "gaim"),
  ("GnomeICU", EXEC, "gnomeicu -a"),
  ("工具", EXEC, "kit"),
  ("Licq", EXEC, "licq")
  ),

("电子邮件",
  ("Gnome Evolution", EXEC, "/usr/bin/evolution"),
  ("Faces", EXEC, "faces"),
  ("KDE 邮件工具", EXEC, "kmail"),
  ("KMail-KAB Import Tool", EXEC, "kmailcvt"),
  ("Mozilla 地址簿", EXEC, "/usr/bin/mozilla  -addressbook"),
  ("Mozilla 邮件", EXEC, "/usr/bin/mozilla  -mail"),
  ("Mutt", EXEC, "xvt  -e /usr/bin/mutt")
  ),

("新闻组",
  ("KNewsTicker新闻简报", EXEC, "appletproxy $KDEDIR/share/apps/kicker/applets/knewsticker.desktop"),
  ("KDE 新闻组阅读工具", EXEC, "knode"),
  ("Mozilla 新闻组", EXEC, "/usr/bin/mozilla  -news"),
  ("an 新闻组阅读", EXEC, "/usr/bin/pan")
  ),

("远程访问",
  ("GNOME PPP", EXEC, "/usr/bin/gnome-ppp"),
  ("KPPP", EXEC, "kppp"),
  ("KPPP - 记录查看", EXEC, "kppplogview"),
  ("Telnet", EXEC, "xvt  -e /usr/bin/telnet"),
  ("Telnet, SSH, 和 RLogin 远程登录工具", EXEC, "/usr/bin/gnome-telnet"),
  ("TightVNC", EXEC, "xvt  -e vncviewer"),
  ("虚拟网络连接", EXEC, "/usr/X11R6/bin/rfbdrake")
  ),

("环球网",
  ("BlueFish HTML 编辑器", EXEC, "bluefish"),
  ("书签编辑器", EXEC, "keditbookmarks"),
  ("Galeon", EXEC, "soundwrapper /usr/bin/galeon"),
  ("Konqueror Web 浏览器", EXEC, "kfmclient openProfile webbrowsing"),
  ("Mozilla 浏览器", EXEC, "soundwrapper /usr/bin/mozilla"),
  ("Mozilla 写作", EXEC, "/usr/bin/mozilla -edit"),
  ("Quanta Plus", EXEC, "quanta"),
  ("Screem", EXEC, "/usr/bin/screem")
  )
),

("多媒体",

("图像",
  ("ChBg", EXEC, "/usr/bin/chbg"),
  ("Electric Eyes", EXEC, "/usr/bin/ee"),
  ("Gnome 图象浏览器", EXEC, "/usr/bin/eog"),
  ("GPhoto", EXEC, "gphoto"),
  ("Gnome 图标编辑器", EXEC, "/usr/bin/gnome-iconedit"),
  ("Gqview", EXEC, "/usr/bin/gqview"),
  ("ImageMagick 图像查看工具", EXEC, "display"),
  ("颜色选择程序", EXEC, "kcolorchooser"),
  ("KColorEdit", EXEC, "kcoloredit"),
  ("KIconEdit图标编辑器", EXEC, "kiconedit"),
  ("KPaint绘图", EXEC, "kpaint"),
  ("KSnapshot快照", EXEC, "ksnapshot"),
  ("KView 察看", EXEC, "kview"),
  ("Kontour", EXEC, "kontour"),
  ("Kooka", EXEC, "kooka"),
  ("Kuickshow秀图", EXEC, "kuickshow"),
  ("Sketch", EXEC, "/usr/bin/sketch"),
  ("GNOME 图像编辑 (GIMP)", EXEC, "gimp"),
  ("X 屏幕捕捉", EXEC, "xvt  -e /usr/X11R6/bin/xwpick")
  ),

("音效",
  ("音量控制", EXEC, "aumix"),
  ("Gnome CD工具", EXEC, "/usr/bin/grip"),
  ("KMidi", EXEC, "kmidi"),
  ("MP3 播放", EXEC, "soundwrapper xmms"),
  ("aRts Builder", EXEC, "artsbuilder")
  ),

("视频",
  ("Mplayer", EXEC, "gmplayer"),
  ("RealPlayer", EXEC, "realplay"),
  ("xmovie 视频播放器", EXEC, "/usr/X11R6/bin/xmovie"),
  ("Xine", EXEC, "/usr/bin/xine")
  )
  ),
  ("娱乐",
  ("街机",
  ("ArmageTron", EXEC, "/usr/games/armagetron"),
  ("BZflag", EXEC, "/usr/games/bzflag"),
  ("Chromium", EXEC, "/usr/games/chromium"),
  ("ClanBomber", EXEC, "/usr/games/clanbomber"),
  ("Cxhextris", EXEC, "/usr/X11R6/bin/xhextris"),
  ("冰冻泡泡", EXEC, "/usr/bin/frozen-bubble"),
  ("Gnibbles", EXEC, "/usr/bin/gnibbles"),
  ("Gnobots II", EXEC, "/usr/bin/gnobots2"),
  ("KAsteroids小行星游戏", EXEC, "kasteroids"),
  ("KBounce", EXEC, "kbounce"),
  ("坏蛋", EXEC, "kfouleggs"),
  ("KSirtet", EXEC, "ksirtet"),
  ("KSmiletris",EXEC, "ksmiletris"),
  ("贪吃蛇", EXEC, "ksnake"),
  ("KSpaceDuel", EXEC, "kspaceduel"),
  ("KTron", EXEC, "ktron"),
  ("LBreakout 2", EXEC, "lbreakout2"),
  ("Mures", EXEC, "/usr/bin/mures"),
  ("ower Manga", EXEC, "/usr/games/powermanga"),
  ("石头和宝贝", EXEC, "/usr/games/rocksndiamonds"),
  ("超级臭气兄弟", EXEC, "/usr/games/methane"),
  ("Tower Toppler", EXEC, "/usr/bin/toppler")
  ),
  ("棋盘类",
  ("Gataxx", EXEC, "/usr/bin/gataxx"),
  ("Glines", EXEC, "/usr/bin/glines"),
  ("Gnect", EXEC, "/usr/bin/gnect"),
  ("Gnome Chess",EXEC, "/usr/bin/gnome-chess"),
  ("Gnome 麻将", EXEC, "/usr/bin/mahjongg"),
  ("Gnome 地雷", EXEC, "/usr/bin/gnomine"),
  ("Gnome 宝石", EXEC, "/usr/bin/gnome-stones"),
  ("Gnometris",EXEC, "/usr/bin/gnometris"),
  ("Gnotravex", EXEC, "/usr/bin/gnotravex"),
  ("Gnotski",EXEC, "/usr/bin/gnotski"),
  ("Iagno", EXEC, "/usr/bin/iagno"),
  ("Backgammon 游戏", EXEC, "kbackgammon"),
  ("KDE 战舰游戏", EXEC, "kbattleship"),
  ("KBlackBox", EXEC, "kblackbox"),
  ("KDE 麻将", EXEC, "kmahjongg"),
  ("KDE翻转棋", EXEC, "kreversi"),
  ("KWin4", EXEC, "kwin4"),
  ("Kenolaba", EXEC, "kenolaba"),
  ("Same Gnome", EXEC, "/usr/bin/same-gnome"),
  ("Shisen-Sho", EXEC, "kshisen")
   ),
   ("纸牌",
  ("AisleRiot", EXEC, "/usr/bin/sol"),
  ("FreeCell", EXEC, "/usr/bin/freecell"),
  ("KPoker", EXEC, "kpoker"),
  ("Lieutnant Skat", EXEC, "lskat"),
  ("耐心", EXEC, "kpat")
  ),
  ("战略",
  ("Freeciv client", EXEC, "/usr/games/civclient"),
  ("Freeciv server", EXEC, "xvt  -e /usr/games/civserver"),
  ("KAtomic", EXEC, "katomic"),
  ("跳动方块", EXEC, "kjumpingcube"),
  ("KMines", EXEC, "kmines"),
  ("仓库番", EXEC, "ksokoban"),
  ("彩色连线", EXEC, "klines"),
  ("Konquest", EXEC, "konquest"),
  ("土豆小子", EXEC, "ktuberling"),
  ("SameGame", EXEC, "ksame")
   ),
   ("体育",
  ("Cannon Smash", EXEC, "/usr/bin/csmash"),
  ("Tuxracer", EXEC, "tuxracer")
  ),
  ("玩具",
  ("AMOR", EXEC, "amor"),
  ("K 谚语", EXEC, "kaphorism"),
  ("世界时钟", EXEC, "kworldclock")
  ),
  ("其他",
  ("GTali", EXEC, "/usr/bin/gtali")
  )
  ),
  ("其他",
  ("OffiX Files", EXEC, "files"),
  ("LyX", EXEC, "lyx"),
  ("Netscape", EXEC, "netscape"),
  ("Ghostview", EXEC, "ghostview %a(输入要查看的文件名)"),
  ("Acrobat", EXEC, "/usr/local/Acrobat3/bin/acroread %a(要查看的PDF文件名)"),
  ("TkDesk", EXEC, "tkdesk"),
("其它",
  ("Xmcd", SHEXEC, "xmcd 2> /dev/null"),
  ("Xplaycd", EXEC, "xplaycd"),
  ("Xmixer", EXEC, "xmixer")
  ),
("工具",
  ("计算器", EXEC, "xcalc"),
  ("窗口属性", SHEXEC, "xprop | xmessage -center -title 'xprop' -file -"),
  ("字体选择", EXEC, "xfontsel"),
  ("终端模拟器", EXEC, "xminicom"),
  ("放大", EXEC, "xmag"),
  ("颜色表", EXEC, "xcmap"),
  ("XKill", EXEC, "xkill"),
  ("ASClock", EXEC, "asclock -shape"),
  ("Clipboard", EXEC, "xclipboard")
  )
  )

),
("配置",

("开机和起动",
  ("GDM 配置工具", EXEC, "/usr/bin/gdmsetup"),
  ("GDM 背景设置", EXEC, "/usr/bin/gdmphotosetup"),
  ("用 GDM 进行登录", EXEC, "/usr/bin/gdmflexiserver"),
  ("SysV Init 编辑器", EXEC, "ksysv"),
  ("tksysv", EXEC, "/usr/X11R6/bin/tksysv")
  ),

("硬件",
  ("GNOME Floppy", EXEC, "/usr/bin/gfloppy"),
  ("魔力硬件 HardDrake", EXEC, "/usr/sbin/harddrake2"),
  ("KFloppy", EXEC, "kfloppy"),
  ("UsbView", EXEC, "usbview")
  ),

("KDE",
("系统",
  ("提示进程", EXEC, "kcmshell alarmdaemonctrl")
)
),
("Mandrake 控制中心", EXEC, "/usr/sbin/drakconf"),
("网络工具",
  ("KWuFTPd", EXEC, "kdesu kwuftpd"),
  ("配置网络", EXEC," /sbin/netconf")
  ),
  ("其他",
  ("更改口令", EXEC, "/usr/bin/userpasswd"),
  ("发现定制服务", EXEC, "/usr/sbin/mdkonline"),
  ("KCron", EXEC, "kcron"),
  ("KPasswd", EXEC, "kdepasswd"),
  ("KUser用户管理", EXEC, "kdesu kuser"),
  ("LinuxConf", EXEC, "/bin/linuxconf"),
  ("魔力菜单 Menudrake", EXEC, "/usr/bin/menudrake"),
  ("用户管理", EXEC, "/sbin/userconf"),
  ("魔力用户 Userdrake", EXEC, "/usr/bin/userdrake"),
  ("X Cron and At frontend", EXEC, "/usr/X11R6/bin/drakcronat")
  ),
  ("软件包管理",
  ("Gnome 软件包管理", EXEC, "/usr/bin/gnorpm-auth"),
  ("Install Software", EXEC, "/usr/sbin/rpmdrake"),
  ("KPackage", EXEC, "kpackage"),
  ("Mandrake Update", EXEC, "/usr/sbin/MandrakeUpdate"),
  ("Remove Software", EXEC, "/usr/sbin/rpmdrake-remove"),
  ("Software Sources Manager", EXEC, "/usr/sbin/edit-urpm-sources.pl")
  ),
  ("打印",
  ("CUPS WWW 管理工具", EXEC, "/usr/lib/cups/scripts/cupsWebAdmin 1>/dev/null 2>/dev/null"),
  ("KLJetTool", EXEC, "kljettool"),
  ("KLpq打印队列", EXEC, "klpq")
)
),
("窗口管理器",
  ("启动 BlackBox", RESTART, blackbox),
  ("启动 kwm", RESTART, kwm),
  ("启动 IceWM", RESTART, icewm),
  ("Blackbox", RESTART, "/usr/bin/blackbox"),
  ("Enlightenment", RESTART, "/usr/X11R6/bin/enlightenment"),
  ("IceWM", RESTART, "icewm"),
  ("Mwm", RESTART, "mwm"),
  ("Twm", RESTART, "twm"),
  ("Window Maker", RESTART, "/usr/X11R6/bin/wmaker")
),
("Window Maker",
("信息",
  ("信息板",  INFO_PANEL),
  ("法律",  LEGAL_PANEL)
  ),
  ("选择",
  ("复制", SHEXEC, "echo '%s' | wxcopy"),
  ("发送邮件", EXEC, "xterm -name mail -T Pine -e pine %s"),
  ("浏览", EXEC, "netscape %s"),
  ("查找手册", SHEXEC, "MANUAL_SEARCH(%s)")
  ),
  ("工作空间",
  ("隐藏其他", HIDE_OTHERS),
  ("显示全部", SHOW_ALL),
  ("排列图标", ARRANGE_ICONS),
  ("刷新", REFRESH),
  ("锁住屏幕", EXEC, "xlock -allowroot -usefirst"),
  ("保存会话", SAVE_SESSION),
  ("清除保存的会话", CLEAR_SESSION)
  ),
  ("外观",
  ("主题", OPEN_MENU, "-noext /usr/share/WindowMaker/Themes $HOME/GNUstep/Library/WindowMaker/Themes WITH setstyle"),
  ("风格", OPEN_MENU, "-noext /usr/share/WindowMaker/Styles $HOME/GNUstep/Library/WindowMaker/Styles WITH setstyle"),
  ("图标集", OPEN_MENU, "-noext /usr/share/WindowMaker/IconSets $HOME/GNUstep/Library/WindowMaker/IconSets WITH seticons")
  ),
  ("背景",
   ("单色",
    ("黑", EXEC, "wdwrite WindowMaker WorkspaceBack '(solid, black)'"),
    ("蓝",  EXEC, "wdwrite WindowMaker WorkspaceBack '(solid, \"#505075\")'"),
    ("青", EXEC, "wdwrite WindowMaker WorkspaceBack '(solid, \"#243e6c\")'"),
    ("深蓝", EXEC, "wdwrite WindowMaker WorkspaceBack '(solid, \"#224477\")'"),
    ("紫", EXEC, "wdwrite WindowMaker WorkspaceBack '(solid, \"#554466\")'"),
    ("淡黄", EXEC, "wdwrite WindowMaker WorkspaceBack '(solid, wheat4)'"),
    ("深灰", EXEC, "wdwrite WindowMaker WorkspaceBack '(solid, \"#333340\")'"),
    ("酒红", EXEC, "wdwrite WindowMaker WorkspaceBack '(solid, \"#400020\")'")
    ),
    ("过渡色",
    ("日落", EXEC, "wdwrite WindowMaker WorkspaceBack '(mvgradient, deepskyblue4, black, deepskyblue4, tomato4)'"),
    ("天空", EXEC, "wdwrite WindowMaker WorkspaceBack '(vgradient, blue4, white)'"),
    ("蓝色阴影",   EXEC, "wdwrite WindowMaker WorkspaceBack '(vgradient, \"#7080a5\", \"#101020\")'"),
    ("青色阴影", EXEC, "wdwrite WindowMaker WorkspaceBack '(vgradient, \"#746ebc\", \"#242e4c\")'"),
    ("紫色阴影", EXEC, "wdwrite WindowMaker WorkspaceBack '(vgradient, \"#654c66\", \"#151426\")'"),
    ("淡黄阴影",  EXEC, "wdwrite WindowMaker WorkspaceBack '(vgradient, \"#a09060\", \"#302010\")'"),
    ("灰色阴影",   EXEC, "wdwrite WindowMaker WorkspaceBack '(vgradient, \"#636380\", \"#131318\")'"),
    ("酒红阴影",   EXEC, "wdwrite WindowMaker WorkspaceBack '(vgradient, \"#600040\", \"#180010\")'")
    ),
    ("实心",
   ("黑",  WS_BACK, "'(solid, black)'")
   ),
   ("图像",
    ("平铺", OPEN_MENU, "-noext /usr/share/WindowMaker/Backgrounds $HOME/GNUstep/Library/WindowMaker/Backgrounds WITH wmsetbg -u -t"),
    ("缩放",  OPEN_MENU, "-noext BACKGROUNDS_DIR $HOME/GNUstep/Library/WindowMaker/Backgrounds WITH wmsetbg -u -s"),
    ("铺展",  OPEN_MENU, "-noext BACKGROUNDS_DIR $HOME/GNUstep/Library/WindowMaker/Backgrounds WITH wmsetbg -u -t")
   )
    ),
    ("保存主题", SHEXEC, "getstyle -t $HOME/GNUstep/Library/WindowMaker/Themes/\"%a(主题名)\""),
  ("保存图标集", SHEXEC, "geticonset $HOME/GNUstep/Library/WindowMaker/IconSets/\"%a(图标集名)\""),
  ("偏好设定",  EXEC, "/usr/X11R6/lib/GNUstep/Apps/WPrefs.app/WPrefs"),
  ("风格",  OPEN_MENU, "-noext STYLES_DIR $HOME/GNUstep/Library/WindowMaker/Styles WITH setstyle"),
  ("主题",  OPEN_MENU, "-noext THEMES_DIR $HOME/GNUstep/Library/WindowMaker/Themes WITH setstyle")
),
("退出",
  ("重新启动", RESTART),
  ("退出...", EXIT)
)
)
将此覆盖到~/GNUstep/Defaults/WMRootMenu,保存,大功告成.

五.改~/GNUstep/Defaults/WMGLOBAL中MultiByteText = AUTO为MultiByteText = YES,保存,大功告成.
发表于 2002-11-26 16:49:03 | 显示全部楼层
我已经搞定了.步骤如下:

一.确认系统中的中文字体.
   # xlsfonts | grep gb18030

二.修改~/GNUstep/Defaults/WindowMaker中所有的中文字体为simsun.注意逗号前的英文字体不要删除.只改逗号后的中文部分.

三.确认locale环境.
[watson@Watson watson]$ locale
LANG=zh_CN.GB2312
LC_CTYPE="zh_CN.GB10830"
LC_NUMERIC="zh_CN.GB10830"
LC_TIME="zh_CN.GB10830"
LC_COLLATE="zh_CN.GB10830"
LC_MONETARY="zh_CN.GB10830"
LC_MESSAGES="zh_CN.GB10830"
LC_PAPER="zh_CN.GB10830"
LC_NAME="zh_CN.GB10830"
LC_ADDRESS="zh_CN.GB10830"
LC_TELEPHONE="zh_CN.GB10830"
LC_MEASUREMENT="zh_CN.GB10830"
LC_IDENTIFICATION="zh_CN.GB10830"
LC_ALL=zh_CN.GB10830
[watson@Watson watson]$
locale不对的话,这样修改:
[watson@Watson watson]$ export LC_ALL=zh_CN.GB10830

四.汉化菜单.MDK9中WMAKER自带的中文菜单有错误,系统不能引入.我对它作了修正,如下:
(
  Applications,
  (
    "信息",
    ("信息面版", INFO_PANEL),
    ("版权", LEGAL_PANEL),
    ("系统控制台", EXEC, xconsole),
    ("系统负载", SHEXEC, "xosview || xload"),
    ("进程列表", EXEC, "xterm -e top"),
    ("手册浏览器", EXEC, xman)
  ),
  ("运行...", EXEC, "%a(Run,Type command to run"),
  ("工作空间", WORKSPACE_MENU),
  ("模拟终端",
  (XTerm, EXEC, "xterm -sb"),
  ("繁体中文终端", EXEC, "/usr/X11R6/bin/crxvt -ls"),
  ("Eterm", EXEC, "/usr/bin/Eterm"),
  ("简体中文终端", EXEC, "/usr/X11R6/bin/gbrxvt -ls"),
  ("GNOME Terminal", EXEC, "/usr/bin/gnome-terminal"),
  ("日文终端", EXEC, "/usr/X11R6/bin/jrxvt -ls"),
  ("韩文终端", EXEC, "/usr/X11R6/bin/krxvt -ls"),
  ("KDE 终端", EXEC, "konsole"),
  ("Konsole - 超级用户模式", "EXEC, konsole --type su"),
  ("RXvt 模拟终端", EXEC, "/usr/X11R6/bin/rxvt"),
  ("XTerm 终端", EXEC, "/usr/X11R6/bin/xterm -name Terminal")
  ),
  (
    "应用程序",
  (
  "图形",
   ("Gimp", SHEXEC, "gimp >/dev/null"),
   ("XV", EXEC, "xv"),
   ("XPaint", EXEC, "xpaint"),
   ("XFig", EXEC, "xfig"),
   (Ghostview, EXEC, "ghostview"),
   ("KChart图表", EXEC, "kchart"),
   ("KDE 流程图工具", EXEC, "kivio")
   ),
  (
  "X 文件管理器",
  ("Endeavour", EXEC, "/usr/bin/endeavour2"),
  ("文件管理器 - 超级用户模式", EXEC, "kdesu konqueror"),
  ("GNOME Search Tool", EXEC, "/usr/bin/gnome-search-tool"),
  ("KDE文件管理器-普通用户模式", EXEC, "konqueror"),
  ("KDat", EXEC, kdat),
  ("Nautilus", EXEC, "/usr/bin/nautilus --no-desktop"),
  ("XFCE文件管理器", EXEC, "xftree"),
  ("gentoo文件管理器", EXEC, "gentoo --root-ok")
  ),
  (
  "编辑器",
("Emacs", EXEC, "emacs"),
  ("Gnome 文本编辑器", EXEC, "/usr/bin/gedit"),
  ("KHexEdit十六进制编辑器", EXEC, "khexedit"),
  ("KWrite", EXEC, "kwrite"),
  ("Kate", EXEC, "kate"),
  ("VI 编辑器", EXEC, "/usr/X11R6/bin/gvim"),
  ("Yudit", EXEC, "yudit"),
  ("XFte", EXEC, "xfte"),
  ("XJed", EXEC, "xjed"),
  ("NEdit", EXEC, "nedit"),
  ("Xedit", EXEC, "xedit"),
  ("VI", EXEC, "xterm -e vi")
  ),
  (
  "中文",
  ("yDict", EXEC, "/usr/X11R6/bin/pydict"),
  ("XCIN 中文输入服务器", EXEC, "/usr/X11R6/bin/xcin")
  ),
  (
  "易用性",
  ("KRuler标尺", EXEC, "kruler"),
  ("X 放大镜", EXEC, "xmag")
  ),
  (
  "存档",
    (
    "光盘烧录",
  ("GCombust", EXEC, "/usr/bin/gcombust"),
  ("Gnome 光盘刻写", EXEC, "/usr/bin/gtoaster"),
  ("X-CD-Roast光盘刻写", EXEC, "xcdroast -n")
    ),
(
"文件压缩",
  ("文件压缩", EXEC, "/usr/bin/archive-generator"),
  ("Ark", EXEC, "ark"),
  ("File-Roller", EXEC, "file-roller"),
  ("Gnome 压缩工具", EXEC, "gnozip")
  ),
  (
  "其他",
  ("GTK 磁盘目录工具", EXEC, "/usr/bin/gtktalog")
  )
  ),
  (
  "通信",
  ("J-Pilot", EXEC, "jpilot"),
  ("发送传真", EXEC, "klprfax  -"),
  ("KFax传真", EXEC, "kfax")
  ),

(
  "开发",
  (
  "软件开发环境",
  ("IDLE", EXEC, "/usr/bin/idle"),
  ("Qt3 语言大师", EXEC, "/usr/lib/qt3/bin/linguist"),
  ("Qt 设计者", EXEC, "/usr/bin/designer-qt3")
   ),
  (
  "工具",
  ("错误报告", EXEC, "/usr/bin/bug-buddy"),
  ("Cervisia", EXEC, "cervisia"),
  ("Gdb", EXEC, "xvt  -e gdb"),
  ("KBabel翻译工具", EXEC, "kbabel"),
  ("KBabel - 目录管理器", EXEC, "catalogmanager"),
  ("KBabel - 词典", EXEC, "kbabeldict"),
  ("KBugBuster", EXEC, "kbugbuster"),
  ("KDE 除错工具", EXEC, "/usr/bin/kdbg"),
  ("Kompare", EXEC, "kompare")
  )
  ),
  ("系统监视工具",
  ("GNOME 系统监视", EXEC, "/usr/bin/gnome-system-monitor"),
  ("KDE 系统卫士", EXEC, "ksysguard"),
  ("KDiskFree磁盘空间", EXEC, "kdf"),
  ("系统记录查看", EXEC, "/usr/bin/gnome-system-log"),
  ("Xconsol", EXEC, "xconsole"),
  ("Xkill", EXEC, xkill),
  ("X 屏幕刷新", EXEC, "xrefresh")
  ),

("出版",
  ("GhostView", EXEC, "gv"),
  ("KDVI", EXEC, "kviewshell dvi"),
  ("KGhostView", EXEC, "kghostview"),
  ("Xpdf", EXEC, "xpdf")
  ),

("科学",
("数学",
  ("Gnuplot", EXEC, "xvt  -e /usr/bin/gnuplot"),
  ("KFract", EXEC, "kfract")
  )
  ),
  ("文本工具",
  ("GNOME Character Map", EXEC, "/usr/bin/gnome-character-map"),
  ("GNOME 词典", EXEC, "/usr/bin/gnome-dictionary"),
  ("KCharSelect", EXEC, "kcharselect"),
  ("KJots", EXEC, "kjots"),
  ("KDE 小词典", EXEC, "kdict"),
  ("KOffice 报表工具", EXEC, "kugar"),
  ("Kugar Designer", EXEC, "kudesigner")
  ),
  ("文档",
  ("Qt3 助手", EXEC, "/usr/bin/assistant")
),
("办公",

("工具",
  ("GNOME Calc", EXEC, "/usr/bin/gnome-calculator"),
  ("KCalc", EXEC, "kcalc"),
  ("KOffice 工作空间", EXEC, "koshell")
  ),

("Gnome 地址簿",
  ("Gnome 通迅录", EXEC, "/usr/bin/gnomecard")
  ),

("DA",
  ("KPilot", EXEC, "kpilot")
  ),

("幻灯片演示",
  ("KPresenter", EXEC, "kpresenter")
  ),

("电子表格",
  ("Gnumeric", EXEC, "/usr/bin/gnumeric"),
  ("KSpread 电子表格", EXEC, "kspread")
  ),

("任务管理",
  ("Mr Project", EXEC, "mrproject")
  ),

("Gnome 日程管理",
  ("Gnome-Cal", EXEC, "/usr/bin/gnomecal"),
  ("Ical 日历", EXEC, "/usr/bin/ical"),
  ("KAlarm", EXEC, "kalarm"),
  ("KOrganizer", EXEC, "korganizer")
  ),

("各种字处理软件",
  ("KFormula公式编辑", EXEC, "kformula"),
  ("KWord 字处理", EXEC, "kword"),
  ("Karbon14", EXEC, "karbon")
)
),

("网络工具",

("聊天",
  ("GNOME Talk", EXEC, "/usr/bin/gtalk")
  ),

("文件传送",
  ("Lftp", EXEC, "xvt  -e lftp"),
  ("NCFtp", EXEC, "xvt  -e /usr/bin/ncftp"),
  ("gFTP", EXEC, "/usr/bin/gftp")
  ),

("IRC 工具",
  ("Xchat", EXEC, "xchat")
  ),

("即时通信",
  ("Everybuddy", EXEC, "/usr/bin/everybuddy"),
  ("Gabber", EXEC, "/usr/bin/gabber"),
  ("Gaim", EXEC, "gaim"),
  ("GnomeICU", EXEC, "gnomeicu -a"),
  ("工具", EXEC, "kit"),
  ("Licq", EXEC, "licq")
  ),

("电子邮件",
  ("Gnome Evolution", EXEC, "/usr/bin/evolution"),
  ("Faces", EXEC, "faces"),
  ("KDE 邮件工具", EXEC, "kmail"),
  ("KMail-KAB Import Tool", EXEC, "kmailcvt"),
  ("Mozilla 地址簿", EXEC, "/usr/bin/mozilla  -addressbook"),
  ("Mozilla 邮件", EXEC, "/usr/bin/mozilla  -mail"),
  ("Mutt", EXEC, "xvt  -e /usr/bin/mutt")
  ),

("新闻组",
  ("KNewsTicker新闻简报", EXEC, "appletproxy $KDEDIR/share/apps/kicker/applets/knewsticker.desktop"),
  ("KDE 新闻组阅读工具", EXEC, "knode"),
  ("Mozilla 新闻组", EXEC, "/usr/bin/mozilla  -news"),
  ("an 新闻组阅读", EXEC, "/usr/bin/pan")
  ),

("远程访问",
  ("GNOME PPP", EXEC, "/usr/bin/gnome-ppp"),
  ("KPPP", EXEC, "kppp"),
  ("KPPP - 记录查看", EXEC, "kppplogview"),
  ("Telnet", EXEC, "xvt  -e /usr/bin/telnet"),
  ("Telnet, SSH, 和 RLogin 远程登录工具", EXEC, "/usr/bin/gnome-telnet"),
  ("TightVNC", EXEC, "xvt  -e vncviewer"),
  ("虚拟网络连接", EXEC, "/usr/X11R6/bin/rfbdrake")
  ),

("环球网",
  ("BlueFish HTML 编辑器", EXEC, "bluefish"),
  ("书签编辑器", EXEC, "keditbookmarks"),
  ("Galeon", EXEC, "soundwrapper /usr/bin/galeon"),
  ("Konqueror Web 浏览器", EXEC, "kfmclient openProfile webbrowsing"),
  ("Mozilla 浏览器", EXEC, "soundwrapper /usr/bin/mozilla"),
  ("Mozilla 写作", EXEC, "/usr/bin/mozilla -edit"),
  ("Quanta Plus", EXEC, "quanta"),
  ("Screem", EXEC, "/usr/bin/screem")
  )
),

("多媒体",

("图像",
  ("ChBg", EXEC, "/usr/bin/chbg"),
  ("Electric Eyes", EXEC, "/usr/bin/ee"),
  ("Gnome 图象浏览器", EXEC, "/usr/bin/eog"),
  ("GPhoto", EXEC, "gphoto"),
  ("Gnome 图标编辑器", EXEC, "/usr/bin/gnome-iconedit"),
  ("Gqview", EXEC, "/usr/bin/gqview"),
  ("ImageMagick 图像查看工具", EXEC, "display"),
  ("颜色选择程序", EXEC, "kcolorchooser"),
  ("KColorEdit", EXEC, "kcoloredit"),
  ("KIconEdit图标编辑器", EXEC, "kiconedit"),
  ("KPaint绘图", EXEC, "kpaint"),
  ("KSnapshot快照", EXEC, "ksnapshot"),
  ("KView 察看", EXEC, "kview"),
  ("Kontour", EXEC, "kontour"),
  ("Kooka", EXEC, "kooka"),
  ("Kuickshow秀图", EXEC, "kuickshow"),
  ("Sketch", EXEC, "/usr/bin/sketch"),
  ("GNOME 图像编辑 (GIMP)", EXEC, "gimp"),
  ("X 屏幕捕捉", EXEC, "xvt  -e /usr/X11R6/bin/xwpick")
  ),

("音效",
  ("音量控制", EXEC, "aumix"),
  ("Gnome CD工具", EXEC, "/usr/bin/grip"),
  ("KMidi", EXEC, "kmidi"),
  ("MP3 播放", EXEC, "soundwrapper xmms"),
  ("aRts Builder", EXEC, "artsbuilder")
  ),

("视频",
  ("Mplayer", EXEC, "gmplayer"),
  ("RealPlayer", EXEC, "realplay"),
  ("xmovie 视频播放器", EXEC, "/usr/X11R6/bin/xmovie"),
  ("Xine", EXEC, "/usr/bin/xine")
  )
  ),
  ("娱乐",
  ("街机",
  ("ArmageTron", EXEC, "/usr/games/armagetron"),
  ("BZflag", EXEC, "/usr/games/bzflag"),
  ("Chromium", EXEC, "/usr/games/chromium"),
  ("ClanBomber", EXEC, "/usr/games/clanbomber"),
  ("Cxhextris", EXEC, "/usr/X11R6/bin/xhextris"),
  ("冰冻泡泡", EXEC, "/usr/bin/frozen-bubble"),
  ("Gnibbles", EXEC, "/usr/bin/gnibbles"),
  ("Gnobots II", EXEC, "/usr/bin/gnobots2"),
  ("KAsteroids小行星游戏", EXEC, "kasteroids"),
  ("KBounce", EXEC, "kbounce"),
  ("坏蛋", EXEC, "kfouleggs"),
  ("KSirtet", EXEC, "ksirtet"),
  ("KSmiletris",EXEC, "ksmiletris"),
  ("贪吃蛇", EXEC, "ksnake"),
  ("KSpaceDuel", EXEC, "kspaceduel"),
  ("KTron", EXEC, "ktron"),
  ("LBreakout 2", EXEC, "lbreakout2"),
  ("Mures", EXEC, "/usr/bin/mures"),
  ("ower Manga", EXEC, "/usr/games/powermanga"),
  ("石头和宝贝", EXEC, "/usr/games/rocksndiamonds"),
  ("超级臭气兄弟", EXEC, "/usr/games/methane"),
  ("Tower Toppler", EXEC, "/usr/bin/toppler")
  ),
  ("棋盘类",
  ("Gataxx", EXEC, "/usr/bin/gataxx"),
  ("Glines", EXEC, "/usr/bin/glines"),
  ("Gnect", EXEC, "/usr/bin/gnect"),
  ("Gnome Chess",EXEC, "/usr/bin/gnome-chess"),
  ("Gnome 麻将", EXEC, "/usr/bin/mahjongg"),
  ("Gnome 地雷", EXEC, "/usr/bin/gnomine"),
  ("Gnome 宝石", EXEC, "/usr/bin/gnome-stones"),
  ("Gnometris",EXEC, "/usr/bin/gnometris"),
  ("Gnotravex", EXEC, "/usr/bin/gnotravex"),
  ("Gnotski",EXEC, "/usr/bin/gnotski"),
  ("Iagno", EXEC, "/usr/bin/iagno"),
  ("Backgammon 游戏", EXEC, "kbackgammon"),
  ("KDE 战舰游戏", EXEC, "kbattleship"),
  ("KBlackBox", EXEC, "kblackbox"),
  ("KDE 麻将", EXEC, "kmahjongg"),
  ("KDE翻转棋", EXEC, "kreversi"),
  ("KWin4", EXEC, "kwin4"),
  ("Kenolaba", EXEC, "kenolaba"),
  ("Same Gnome", EXEC, "/usr/bin/same-gnome"),
  ("Shisen-Sho", EXEC, "kshisen")
   ),
   ("纸牌",
  ("AisleRiot", EXEC, "/usr/bin/sol"),
  ("FreeCell", EXEC, "/usr/bin/freecell"),
  ("KPoker", EXEC, "kpoker"),
  ("Lieutnant Skat", EXEC, "lskat"),
  ("耐心", EXEC, "kpat")
  ),
  ("战略",
  ("Freeciv client", EXEC, "/usr/games/civclient"),
  ("Freeciv server", EXEC, "xvt  -e /usr/games/civserver"),
  ("KAtomic", EXEC, "katomic"),
  ("跳动方块", EXEC, "kjumpingcube"),
  ("KMines", EXEC, "kmines"),
  ("仓库番", EXEC, "ksokoban"),
  ("彩色连线", EXEC, "klines"),
  ("Konquest", EXEC, "konquest"),
  ("土豆小子", EXEC, "ktuberling"),
  ("SameGame", EXEC, "ksame")
   ),
   ("体育",
  ("Cannon Smash", EXEC, "/usr/bin/csmash"),
  ("Tuxracer", EXEC, "tuxracer")
  ),
  ("玩具",
  ("AMOR", EXEC, "amor"),
  ("K 谚语", EXEC, "kaphorism"),
  ("世界时钟", EXEC, "kworldclock")
  ),
  ("其他",
  ("GTali", EXEC, "/usr/bin/gtali")
  )
  ),
  ("其他",
  ("OffiX Files", EXEC, "files"),
  ("LyX", EXEC, "lyx"),
  ("Netscape", EXEC, "netscape"),
  ("Ghostview", EXEC, "ghostview %a(输入要查看的文件名)"),
  ("Acrobat", EXEC, "/usr/local/Acrobat3/bin/acroread %a(要查看的PDF文件名)"),
  ("TkDesk", EXEC, "tkdesk"),
("其它",
  ("Xmcd", SHEXEC, "xmcd 2> /dev/null"),
  ("Xplaycd", EXEC, "xplaycd"),
  ("Xmixer", EXEC, "xmixer")
  ),
("工具",
  ("计算器", EXEC, "xcalc"),
  ("窗口属性", SHEXEC, "xprop | xmessage -center -title 'xprop' -file -"),
  ("字体选择", EXEC, "xfontsel"),
  ("终端模拟器", EXEC, "xminicom"),
  ("放大", EXEC, "xmag"),
  ("颜色表", EXEC, "xcmap"),
  ("XKill", EXEC, "xkill"),
  ("ASClock", EXEC, "asclock -shape"),
  ("Clipboard", EXEC, "xclipboard")
  )
  )

),
("配置",

("开机和起动",
  ("GDM 配置工具", EXEC, "/usr/bin/gdmsetup"),
  ("GDM 背景设置", EXEC, "/usr/bin/gdmphotosetup"),
  ("用 GDM 进行登录", EXEC, "/usr/bin/gdmflexiserver"),
  ("SysV Init 编辑器", EXEC, "ksysv"),
  ("tksysv", EXEC, "/usr/X11R6/bin/tksysv")
  ),

("硬件",
  ("GNOME Floppy", EXEC, "/usr/bin/gfloppy"),
  ("魔力硬件 HardDrake", EXEC, "/usr/sbin/harddrake2"),
  ("KFloppy", EXEC, "kfloppy"),
  ("UsbView", EXEC, "usbview")
  ),

("KDE",
("系统",
  ("提示进程", EXEC, "kcmshell alarmdaemonctrl")
)
),
("Mandrake 控制中心", EXEC, "/usr/sbin/drakconf"),
("网络工具",
  ("KWuFTPd", EXEC, "kdesu kwuftpd"),
  ("配置网络", EXEC," /sbin/netconf")
  ),
  ("其他",
  ("更改口令", EXEC, "/usr/bin/userpasswd"),
  ("发现定制服务", EXEC, "/usr/sbin/mdkonline"),
  ("KCron", EXEC, "kcron"),
  ("KPasswd", EXEC, "kdepasswd"),
  ("KUser用户管理", EXEC, "kdesu kuser"),
  ("LinuxConf", EXEC, "/bin/linuxconf"),
  ("魔力菜单 Menudrake", EXEC, "/usr/bin/menudrake"),
  ("用户管理", EXEC, "/sbin/userconf"),
  ("魔力用户 Userdrake", EXEC, "/usr/bin/userdrake"),
  ("X Cron and At frontend", EXEC, "/usr/X11R6/bin/drakcronat")
  ),
  ("软件包管理",
  ("Gnome 软件包管理", EXEC, "/usr/bin/gnorpm-auth"),
  ("Install Software", EXEC, "/usr/sbin/rpmdrake"),
  ("KPackage", EXEC, "kpackage"),
  ("Mandrake Update", EXEC, "/usr/sbin/MandrakeUpdate"),
  ("Remove Software", EXEC, "/usr/sbin/rpmdrake-remove"),
  ("Software Sources Manager", EXEC, "/usr/sbin/edit-urpm-sources.pl")
  ),
  ("打印",
  ("CUPS WWW 管理工具", EXEC, "/usr/lib/cups/scripts/cupsWebAdmin 1>/dev/null 2>/dev/null"),
  ("KLJetTool", EXEC, "kljettool"),
  ("KLpq打印队列", EXEC, "klpq")
)
),
("窗口管理器",
  ("启动 BlackBox", RESTART, blackbox),
  ("启动 kwm", RESTART, kwm),
  ("启动 IceWM", RESTART, icewm),
  ("Blackbox", RESTART, "/usr/bin/blackbox"),
  ("Enlightenment", RESTART, "/usr/X11R6/bin/enlightenment"),
  ("IceWM", RESTART, "icewm"),
  ("Mwm", RESTART, "mwm"),
  ("Twm", RESTART, "twm"),
  ("Window Maker", RESTART, "/usr/X11R6/bin/wmaker")
),
("Window Maker",
("信息",
  ("信息板",  INFO_PANEL),
  ("法律",  LEGAL_PANEL)
  ),
  ("选择",
  ("复制", SHEXEC, "echo '%s' | wxcopy"),
  ("发送邮件", EXEC, "xterm -name mail -T Pine -e pine %s"),
  ("浏览", EXEC, "netscape %s"),
  ("查找手册", SHEXEC, "MANUAL_SEARCH(%s)")
  ),
  ("工作空间",
  ("隐藏其他", HIDE_OTHERS),
  ("显示全部", SHOW_ALL),
  ("排列图标", ARRANGE_ICONS),
  ("刷新", REFRESH),
  ("锁住屏幕", EXEC, "xlock -allowroot -usefirst"),
  ("保存会话", SAVE_SESSION),
  ("清除保存的会话", CLEAR_SESSION)
  ),
  ("外观",
  ("主题", OPEN_MENU, "-noext /usr/share/WindowMaker/Themes $HOME/GNUstep/Library/WindowMaker/Themes WITH setstyle"),
  ("风格", OPEN_MENU, "-noext /usr/share/WindowMaker/Styles $HOME/GNUstep/Library/WindowMaker/Styles WITH setstyle"),
  ("图标集", OPEN_MENU, "-noext /usr/share/WindowMaker/IconSets $HOME/GNUstep/Library/WindowMaker/IconSets WITH seticons")
  ),
  ("背景",
   ("单色",
    ("黑", EXEC, "wdwrite WindowMaker WorkspaceBack '(solid, black)'"),
    ("蓝",  EXEC, "wdwrite WindowMaker WorkspaceBack '(solid, \"#505075\")'"),
    ("青", EXEC, "wdwrite WindowMaker WorkspaceBack '(solid, \"#243e6c\")'"),
    ("深蓝", EXEC, "wdwrite WindowMaker WorkspaceBack '(solid, \"#224477\")'"),
    ("紫", EXEC, "wdwrite WindowMaker WorkspaceBack '(solid, \"#554466\")'"),
    ("淡黄", EXEC, "wdwrite WindowMaker WorkspaceBack '(solid, wheat4)'"),
    ("深灰", EXEC, "wdwrite WindowMaker WorkspaceBack '(solid, \"#333340\")'"),
    ("酒红", EXEC, "wdwrite WindowMaker WorkspaceBack '(solid, \"#400020\")'")
    ),
    ("过渡色",
    ("日落", EXEC, "wdwrite WindowMaker WorkspaceBack '(mvgradient, deepskyblue4, black, deepskyblue4, tomato4)'"),
    ("天空", EXEC, "wdwrite WindowMaker WorkspaceBack '(vgradient, blue4, white)'"),
    ("蓝色阴影",   EXEC, "wdwrite WindowMaker WorkspaceBack '(vgradient, \"#7080a5\", \"#101020\")'"),
    ("青色阴影", EXEC, "wdwrite WindowMaker WorkspaceBack '(vgradient, \"#746ebc\", \"#242e4c\")'"),
    ("紫色阴影", EXEC, "wdwrite WindowMaker WorkspaceBack '(vgradient, \"#654c66\", \"#151426\")'"),
    ("淡黄阴影",  EXEC, "wdwrite WindowMaker WorkspaceBack '(vgradient, \"#a09060\", \"#302010\")'"),
    ("灰色阴影",   EXEC, "wdwrite WindowMaker WorkspaceBack '(vgradient, \"#636380\", \"#131318\")'"),
    ("酒红阴影",   EXEC, "wdwrite WindowMaker WorkspaceBack '(vgradient, \"#600040\", \"#180010\")'")
    ),
    ("实心",
   ("黑",  WS_BACK, "'(solid, black)'")
   ),
   ("图像",
    ("平铺", OPEN_MENU, "-noext /usr/share/WindowMaker/Backgrounds $HOME/GNUstep/Library/WindowMaker/Backgrounds WITH wmsetbg -u -t"),
    ("缩放",  OPEN_MENU, "-noext BACKGROUNDS_DIR $HOME/GNUstep/Library/WindowMaker/Backgrounds WITH wmsetbg -u -s"),
    ("铺展",  OPEN_MENU, "-noext BACKGROUNDS_DIR $HOME/GNUstep/Library/WindowMaker/Backgrounds WITH wmsetbg -u -t")
   )
    ),
    ("保存主题", SHEXEC, "getstyle -t $HOME/GNUstep/Library/WindowMaker/Themes/\"%a(主题名)\""),
  ("保存图标集", SHEXEC, "geticonset $HOME/GNUstep/Library/WindowMaker/IconSets/\"%a(图标集名)\""),
  ("偏好设定",  EXEC, "/usr/X11R6/lib/GNUstep/Apps/WPrefs.app/WPrefs"),
  ("风格",  OPEN_MENU, "-noext STYLES_DIR $HOME/GNUstep/Library/WindowMaker/Styles WITH setstyle"),
  ("主题",  OPEN_MENU, "-noext THEMES_DIR $HOME/GNUstep/Library/WindowMaker/Themes WITH setstyle")
),
("退出",
  ("重新启动", RESTART),
  ("退出...", EXIT)
)
)
将此覆盖到~/GNUstep/Defaults/WMRootMenu,保存.

五.改~/GNUstep/Defaults/WMGLOBAL中MultiByteText = AUTO为MultiByteText = YES,保存,大功告成.
发表于 2002-11-26 16:54:10 | 显示全部楼层
误发两相同贴子.请删其一.
不知道为什么菜单贴出来后里面回出现一个小人头.
应该是("运行...", EXEC, "%a(Run,Type command to run"),
发表于 2002-11-26 16:56:11 | 显示全部楼层
又出现了小人头,怎么回事?! 小人头出现的地方是一个冒号:加一个)
发表于 2002-11-27 08:52:54 | 显示全部楼层
呵呵这个么,你用用MSN就应该知道阿。把括号环城全角的

真行自己写目录的配置,PFPF。

其实WMAKER本身对中文支持没什么问题,如果有问题多半是X的字体没设置好。
如果要更换菜单的语言,设置你想要得LOCALE,然后WMAKER。INST好象是这个命令,反正是一个类似的东西。然后就可以了。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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