|
六.配置wmaker
用wmakerconf和wprefs吧。
我的/etc/GNUstep/Defaults 下的一些文件:
- WindowMaker:
- {
- HighlightColor = "#ffffff";
- UTitleBack = (mdgradient, "#a99d8e", "rgb:8c/81/6d", "rgb:c6/b9/ae");
- MoveResizeKey = None;
- PTitleBack = (mdgradient, "#68686a", "rgb:51/50/55", "rgb:80/80/80");
- WindowShortcut10Key = None;
- MenuDisabledColor = "#636563";
- MenuTextBack = (mhgradient, "#e3dcd7", "rgb:c6/b9/ae", "rgb:ff/ff/ff");
- IconBack = (mdgradient, "#a99d8e", "rgb:8c/81/6d", "rgb:c6/b9/ae");
- MenuTitleBack = (solid, "#110e38");
- FTitleBack = (solid, "#0c0b47");
- ToggleKbdModeKey = None;
- MenuTextColor = "#000000";
- HighlightTextColor = "#000000";
- NoWindowUnderDock = Yes;
- MenuTitleColor = "#ffffff";
- WorkspaceNameDisplayPosition = center;
- FTitleColor = "#ffffff";
- AppIconBalloons = NO;
- WorkspaceBack = (cpixmap, "/mydoc/enjoy/photos/cool/kof97.jpg", "#000000");
- HideOthersKey = None;
- UTitleColor = "#000000";
- PTitleColor = "#ffffff";
- WorkspaceBorder = None;
- Attraction = NO;
- HelpBalloons = NO;
- DisableAnimations = YES;
- WindowPlaceOrigin = (0, 0);
- WindowShortcut8Key = None;
- WindowShortcut9Key = None;
- DisableBlinking = NO;
- MouseMiddleButtonAction = OpenWindowListMenu;
- MiniwindowTitleBalloons = NO;
- NoWindowOverDock = NO;
- WindowTitleFont = "-misc-simsun-bold-r-normal-*-18-*-*-*-c-*-gb2312.1980-0";
- ClipTitleFont = "-misc-simsun-medium-r-normal-*-16-*-*-*-c-*-gb2312.1980-0";
- WindowShortcut1Key = None;
- MouseRightButtonAction = OpenApplicationsMenu;
- WindowShortcut2Key = None;
- WindowShortcut3Key = None;
- WindowShortcut4Key = None;
- WindowShortcut5Key = None;
- WindowShortcut6Key = None;
- LargeDisplayFont = "-misc-simsun-bold-r-normal-*-*-180-*-*-c-*-gb2312.1980-0";
- WindowShortcut7Key = None;
- MouseLeftButtonAction = SelectWindows;
- WorkspaceBorderSize = 0;
- CirculateRaise = NO;
- ScreenSwitchKey = None;
- DisableSound = YES;
- HMaximizeKey = None;
- MouseWheelAction = None;
- RootMenuKey = F12;
- MenuTitleFont = "-misc-simsun-bold-r-normal-*-18-*-*-*-c-*-gb2312.1980-0";
- MenuTextFont = "-misc-simsun-medium-r-normal-*-16-*-*-*-c-*-gb2312.1980-0";
- IconTitleFont = "-misc-simsun-medium-r-normal-*-16-*-*-*-c-*-gb2312.1980-0";
- }
-
复制代码
WMGLOBAL:
WMRootMenu:
(/etc/X11/WindowMaker/menu.zh_CN.my为:
- #include "wmmacros"
- "根菜单" MENU
- "运行..." EXEC %a(运行,要执行的命令:)
- "工作空间" MENU
- "隐藏其他" HIDE_OTHERS
- "显示所有" SHOW_ALL
- "排列图标" ARRANGE_ICONS
- "刷新" REFRESH
- "保存会话" SAVE_SESSION
- "清除保存的会话" CLEAR_SESSION
- "切换工作空间" WORKSPACE_MENU
- "工作空间" END
-
- "终端" MENU
- "Gterm" EXEC gnome-terminal --use-factory --start-factory-server
- "终端" END
- "文件阅读编辑器" MENU
- "Gnp" EXEC gnp
- "XEmacs" SHEXEC xemacs || emacs
- "Ghostview" EXEC ghostview
- "Acrobat" EXEC /usr/local/Acrobat5/bin/acroread
- "LyX" EXEC lyx
- "文件阅读编辑器" END
-
- "文件管理器" MENU
- "endeavour2" EXEC endeavour2
- "nautilus" EXEC nautilus
- "Archive Generator" EXEC meat-grinder
- "File-Roller" EXEC file-roller
- "Gnome-Find" EXEC gnome-find
- "文件管理器" END
-
- "网络工具" MENU
- "galeon" EXEC galeon
- "sylpheed" EXEC sylpheed
- "evolution" EXEC evolution
- "d4x" EXEC d4x
- "Gftp" EXEC gftp
- "Xchat" EXEC xchat
- "Gaim" EXEC gaim_applet --activate-goad-server=gaim_applet
- "lynx" EXEC lynx
- "网络工具" END
-
- "办公" MENU
- "OpenOffice" EXEC /usr/local/OpenOffice.org1.0.1/soffice
- "dia" EXEC dia-gnome
- "emacs21" EXEC emacs21
- "办公" END
-
- "程序开发" MENU
- "anjuta" EXEC anjuta
- "Glade" EXEC glade
- "DevHelp" EXEC devhelp
- "程序开发" END
-
- "多媒体" MENU
- "gmplayer" SHEXEC gmplayer
- "CD Player" EXEC gtcd
- "XMMS" exec xmms
- "Mixer" EXEC gmix
- "gqview" EXEC gqview
- "Gimp" SHEXEC gimp
- "IconEditor" EXEC gnome-iconedit
- "多媒体" END
-
- "中文工具" MENU
- "星际译王" EXEC /usr/local/dic/stardic
- "pydict" EXEC pydict
- "中文工具" END
-
- "系统配置优化" MENU
- "GNOME 控制台" EXEC gnomecc
- "WindowMaker 配置" EXEC wmakerconf
- "图形apt" EXEC synaptic
- "Wprefs" EXEC /usr/lib/GNUstep/System/Applications/WPrefs.app/WPrefs
- "外观" MENU
- "主题" OPEN_MENU -noext THEMES_DIR $HOME/GNUstep/Library/WindowMaker/Themes WITH setstyle
- "风格" OPEN_MENU -noext STYLES_DIR $HOME/GNUstep/Library/WindowMaker/Styles WITH setstyle
- "图标集" OPEN_MENU -noext ICON_SETS_DIR $HOME/GNUstep/Library/WindowMaker/IconSets WITH seticons
- "背景" MENU
- "单色" MENU
- "黑" WS_BACK '(solid, black)'
- "蓝" WS_BACK '(solid, "#505075")'
- "青" WS_BACK '(solid, "#243e6c")'
- "深蓝" WS_BACK '(solid, "#224477")'
- "紫" WS_BACK '(solid, "#554466")'
- "淡黄" WS_BACK '(solid, "wheat4")'
- "深灰" WS_BACK '(solid, "#333340")'
- "酒红" WS_BACK '(solid, "#400020")'
- "单色" END
- "过渡色" MENU
- "日落" WS_BACK '(mvgradient, deepskyblue4, black, deepskyblue4, tomato4)'
- "天空" WS_BACK '(vgradient, blue4, white)'
- "蓝色阴影" WS_BACK '(vgradient, "#7080a5", "#101020")'
- "过渡色" END
- "背景" END
- "保存主题" SHEXEC getstyle -t $HOME/GNUstep/Library/WindowMaker/Themes/"%a(主题名,输入文件名:)"
- "保存图标集" SHEXEC geticonset $HOME/GNUstep/Library/WindowMaker/IconSets/"%a(图标集名,输入文件名:)"
- "外观" END
- "系统配置优化" END
-
- "系统信息监视" MENU
- "IDE 状态" EXEC idetool
- "系统控制台" EXEC xconsole
- "System info" EXEC guname
- "系统监视" EXEC gkrellm
- "系统负载" SHEXEC xosview || xload
- "进程列表" EXEC gtop
- "系统信息监视" END
- "系统安全" MENU
- "防火墙配置Lokkit" EXEC gnome-lokkit
- "系统安全" END
- "工具箱" MENU
- "gnome-commander" EXEC gnome_commander
- "窗口属性" SHEXEC xprop | xmessage -center -title 'xprop' -file -
- "字体选择" EXEC gfontsel
- "工具箱" END
-
- "游戏" MENU
- "游戏" END
- "EDA工具" MENU
- "EDA工具" END
- "其他" MENU
- "其他" END
-
- "帮助" MENU
- "Gnome 帮助系统" EXEC gnome-help-browser
- "查找手册" SHEXEC MANUAL_SEARCH(%s)
- "手册浏览器" EXEC xman
- "帮助" END
- "退出" MENU
- "重启wmaker" RESTART
- "启动gnome-session" RESTART gnome-session
- "启动Icewm-gnome" RESTART icewm-gnome
- "退出wmaker" EXIT
- "重启计算机" EXEC reboot
- "关闭计算机" EXEC halt
- "退出" END
-
- "根菜单" END)
复制代码 |
|