From 2c8a70b74366b2175a9376b852b3b0e7e379b706 Mon Sep 17 00:00:00 2001 From: kojima Date: Sun, 22 Aug 2004 03:07:32 +0000 Subject: [PATCH] updated default menus a little bit --- WindowMaker/menu | 99 +++++++++++---------- WindowMaker/plmenu | 215 +++++++++++++++++++++++---------------------- 2 files changed, 160 insertions(+), 154 deletions(-) diff --git a/WindowMaker/menu b/WindowMaker/menu index 8004a640..12a26c31 100644 --- a/WindowMaker/menu +++ b/WindowMaker/menu @@ -118,46 +118,50 @@ "Info" END "Run..." SHEXEC %a(Run,Type command to run:) "XTerm" EXEC xterm -sb - "Rxvt" EXEC rxvt -bg black -fg white -fn fixed + "Mozilla Firefox" EXEC firefox "Workspaces" WORKSPACE_MENU "Applications" MENU - "Graphics" MENU - "Gimp" SHEXEC gimp >/dev/null - "XV" EXEC xv - "XPaint" EXEC xpaint - "XFig" EXEC xfig - "Graphics" END - "X File Manager" EXEC xfm - "OffiX Files" EXEC files - "LyX" EXEC lyx - "Netscape" EXEC netscape + "Gimp" SHEXEC gimp >/dev/null "Ghostview" EXEC ghostview %a(GhostView,Enter file to view) - "Acrobat" EXEC /usr/local/Acrobat3/bin/acroread %a(Acrobar,Enter PDF to view) - "TkDesk" EXEC tkdesk + "Xpdf" EXEC xpdf %a(Xpdf,Enter PDF to view) + "Abiword" EXEC abiword + "Dia" EXEC dia + "OpenOffice.org" MENU + "OpenOffice.org" EXEC ooffice + "Writer" EXEC oowriter + "Spreadsheet" EXEC oocalc + "Draw" EXEC oodraw + "Impress" EXEC ooimpress + "OpenOffice.org" END + + "Editors" MENU + "XEmacs" EXEC xemacs + "Emacs" EXEC emacs + "XJed" EXEC xjed + "VI" EXEC xterm -e vi + "GVIM" EXEC gvim + "NEdit" EXEC nedit + "Xedit" EXEC xedit + "Editors" END + + "Multimedia" MENU + "XMMS" MENU + "XMMS" EXEC xmms + "XMMS play/pause" EXEC xmms -t + "XMMS stop" EXEC xmms -s + "XMMS" END + "Xine video player" EXEC xine + "MPlayer" EXEC mplayer + "Multimedia" END "Applications" END - "Editors" MENU - "XFte" EXEC xfte - "XEmacs" EXEC xemacs - "Emacs" EXEC emacs - "XJed" EXEC xjed - "NEdit" EXEC nedit - "Xedit" EXEC xedit - "VI" EXEC xterm -e vi - "Editors" END - "Miscellaneous" MENU - "Xmcd" SHEXEC xmcd 2> /dev/null - "Xplaycd" EXEC xplaycd - "Xmixer" EXEC xmixer - "Miscellaneous" END + "Utils" MENU "Calculator" EXEC xcalc "Window Properties" SHEXEC xprop | xmessage -center -title 'xprop' -file - "Font Chooser" EXEC xfontsel - "Terminal Emulator" EXEC xminicom - "Magnify" EXEC xmag + "Magnify" EXEC wmagnify "Colormap" EXEC xcmap - "XKill" EXEC xkill - "Clipboard" EXEC xclipboard + "Kill X Application" EXEC xkill "Utils" END "Selection" MENU @@ -183,24 +187,24 @@ "Icon Sets" OPEN_MENU -noext ICON_SETS_DIR $HOME/GNUstep/Library/WindowMaker/IconSets WITH seticons "Background" MENU "Solid" MENU - "Black" WS_BACK '(solid, black)' - "Blue" WS_BACK '(solid, "#505075")' + "Black" WS_BACK '(solid, black)' + "Blue" WS_BACK '(solid, "#505075")' "Indigo" WS_BACK '(solid, "#243e6c")' - "Bleumarine" WS_BACK '(solid, "#224477")' - "Purple" WS_BACK '(solid, "#554466")' - "Wheat" WS_BACK '(solid, "wheat4")' - "Dark Gray" WS_BACK '(solid, "#333340")' - "Wine" WS_BACK '(solid, "#400020")' - "Solid" END + "Bluemarine" WS_BACK '(solid, "#224477")' + "Purple" WS_BACK '(solid, "#554466")' + "Wheat" WS_BACK '(solid, "wheat4")' + "Dark Gray" WS_BACK '(solid, "#333340")' + "Wine" WS_BACK '(solid, "#400020")' + "Solid" END "Gradient" MENU "Sunset" WS_BACK '(mvgradient, deepskyblue4, black, deepskyblue4, tomato4)' "Sky" WS_BACK '(vgradient, blue4, white)' - "Blue Shades" WS_BACK '(vgradient, "#7080a5", "#101020")' + "Blue Shades" WS_BACK '(vgradient, "#7080a5", "#101020")' "Indigo Shades" WS_BACK '(vgradient, "#746ebc", "#242e4c")' - "Purple Shades" WS_BACK '(vgradient, "#654c66", "#151426")' - "Wheat Shades" WS_BACK '(vgradient, "#a09060", "#302010")' - "Grey Shades" WS_BACK '(vgradient, "#636380", "#131318")' - "Wine Shades" WS_BACK '(vgradient, "#600040", "#180010")' + "Purple Shades" WS_BACK '(vgradient, "#654c66", "#151426")' + "Wheat Shades" WS_BACK '(vgradient, "#a09060", "#302010")' + "Grey Shades" WS_BACK '(vgradient, "#636380", "#131318")' + "Wine Shades" WS_BACK '(vgradient, "#600040", "#180010")' "Gradient" END "Images" OPEN_MENU -noext BACKGROUNDS_DIR $HOME/GNUstep/Library/WindowMaker/Backgrounds WITH wmsetbg -u -t "Background" END @@ -209,10 +213,11 @@ "Preferences Utility" EXEC /usr/local/GNUstep/Apps/WPrefs.app/WPrefs "Appearance" END - "Exit" MENU - "Restart" RESTART + "Exit" MENU + "Save Session" SAVE_SESSION + "Clear Session" CLEAR_SESSION + "Restart Window Maker" RESTART "Start BlackBox" RESTART blackbox - "Start kwm" RESTART kwm "Start IceWM" RESTART icewm "Exit" EXIT "Exit" END diff --git a/WindowMaker/plmenu b/WindowMaker/plmenu index dbffed72..6474580f 100644 --- a/WindowMaker/plmenu +++ b/WindowMaker/plmenu @@ -1,107 +1,108 @@ -("Applications", - ("Info", - ("Info Panel", INFO_PANEL), - ("Legal", LEGAL_PANEL), - ("System Console", EXEC, "xconsole"), - ("System Load", SHEXEC, "xosview || xload"), - ("Process List", EXEC, "xterm -e top"), - ("Manual Browser", EXEC, "xman") - ), - ("Run...", SHEXEC, "%a(Run,Type command to run:)"), - ("XTerm", EXEC, "xterm -sb"), - ("Rxvt", EXEC, "rxvt -bg black -fg white -fn fixed"), - ("Workspaces", WORKSPACE_MENU), - ("Applications", - ("Graphics", - ("Gimp", SHEXEC, "gimp >/dev/null"), - ("XV", EXEC, "xv"), - ("XPaint", EXEC, "xpaint"), - ("XFig", EXEC, "xfig") - ), - ("X File Manager", EXEC, "xfm"), - ("OffiX Files", EXEC, "files"), - ("LyX", EXEC, "lyx"), - ("Netscape", EXEC, "netscape"), - ("Ghostview", EXEC, "ghostview %a(Enter file to view)"), - ("Acrobat", EXEC, "/usr/local/Acrobat3/bin/acroread %a(Enter PDF to view)"), - ("TkDesk", EXEC, "tkdesk") - ), - ("Editors", - ("XFte", EXEC, "xfte"), - ("XEmacs", EXEC, "xemacs"), - ("Emacs", EXEC, "emacs"), - ("XJed", EXEC, "xjed"), - ("NEdit", EXEC, "nedit"), - ("Xedit", EXEC, "xedit"), - ("VI", EXEC, "xterm -e vi") - ), - ("Miscellaneous", - ("Xmcd", SHEXEC, "xmcd 2> /dev/null"), - ("Xplaycd", EXEC, "xplaycd"), - ("Xmixer", EXEC, "xmixer") - ), - ("Utils", - ("Calculator", EXEC, "xcalc"), - ("Window Properties", SHEXEC, "xprop | xmessage -center -title 'xprop' -file -"), - ("Font Chooser", EXEC, "xfontsel"), - ("Terminal Emulator", EXEC, "xminicom"), - ("Magnify", EXEC, "xmag"), - ("Colormap", EXEC, "xcmap"), - ("XKill", EXEC, "xkill"), - ("ASClock", EXEC, "asclock -shape"), - ("Clipboard", EXEC, "xclipboard") - ), - ("Selection", - ("Copy", SHEXEC, "echo '%s' | wxcopy"), - ("Mail To", EXEC, "xterm -name mail -T Pine -e pine %s"), - ("Navigate", EXEC, "netscape %s"), - ("Search in Manual", EXEC, "MANUAL_SEARCH(%s)") - ), - ("Commands", - ("Hide Others", HIDE_OTHERS), - ("Show All", SHOW_ALL), - ("Arrange Icons", ARRANGE_ICONS), - ("Refresh", REFRESH), - ("Lock", EXEC, "xlock -allowroot -usefirst"), - ("Save Session", SAVE_SESSION), - ("Clear Session", CLEAR_SESSION) - ), - ("Appearance", - ("Themes", OPEN_MENU, "-noext #wmdatadir#/Themes $HOME/GNUstep/Library/WindowMaker/Themes WITH setstyle"), - ("Styles", OPEN_MENU, "-noext #wmdatadir#/Styles $HOME/GNUstep/Library/WindowMaker/Styles WITH setstyle"), - ("Icon Sets", OPEN_MENU, "-noext #wmdatadir#/IconSets $HOME/GNUstep/Library/WindowMaker/IconSets WITH seticons"), - ("Background", - ("Solid", - ("Black", EXEC, "wdwrite WindowMaker WorkspaceBack '(solid, black)'"), - ("Blue", EXEC, "wdwrite WindowMaker WorkspaceBack '(solid, \"#505075\")'"), - ("Indigo", EXEC, "wdwrite WindowMaker WorkspaceBack '(solid, \"#243e6c\")'"), - ("Bleumarine", EXEC, "wdwrite WindowMaker WorkspaceBack '(solid, \"#224477\")'"), - ("Purple", EXEC, "wdwrite WindowMaker WorkspaceBack '(solid, \"#554466\")'"), - ("Wheat", EXEC, "wdwrite WindowMaker WorkspaceBack '(solid, wheat4)'"), - ("Dark Gray", EXEC, "wdwrite WindowMaker WorkspaceBack '(solid, \"#333340\")'"), - ("Wine", EXEC, "wdwrite WindowMaker WorkspaceBack '(solid, \"#400020\")'") - ), - ("Gradient", - ("Sunset", EXEC, "wdwrite WindowMaker WorkspaceBack '(mvgradient, deepskyblue4, black, deepskyblue4, tomato4)'"), - ("Sky", EXEC, "wdwrite WindowMaker WorkspaceBack '(vgradient, blue4, white)'"), - ("Blue Shades", EXEC, "wdwrite WindowMaker WorkspaceBack '(vgradient, \"#7080a5\", \"#101020\")'"), - ("Indigo Shades", EXEC, "wdwrite WindowMaker WorkspaceBack '(vgradient, \"#746ebc\", \"#242e4c\")'"), - ("Purple Shades", EXEC, "wdwrite WindowMaker WorkspaceBack '(vgradient, \"#654c66\", \"#151426\")'"), - ("Wheat Shades", EXEC, "wdwrite WindowMaker WorkspaceBack '(vgradient, \"#a09060\", \"#302010\")'"), - ("Grey Shades", EXEC, "wdwrite WindowMaker WorkspaceBack '(vgradient, \"#636380\", \"#131318\")'"), - ("Wine Shades", EXEC, "wdwrite WindowMaker WorkspaceBack '(vgradient, \"#600040\", \"#180010\")'") - ), - ("Images", OPEN_MENU, "-noext #wmdatadir#/Backgrounds $HOME/GNUstep/Library/WindowMaker/Backgrounds WITH wmsetbg -u -t") - ), - ("Save Theme", SHEXEC, "getstyle -t $HOME/GNUstep/Library/WindowMaker/Themes/\"%a(Theme name)\""), - ("Save IconSet", SHEXEC, "geticonset $HOME/GNUstep/Library/WindowMaker/IconSets/\"%a(IconSet name)\""), - ("Preferences Utility", EXEC, "/usr/local/GNUstep/Apps/WPrefs.app/WPrefs") - ), - ("Exit", - ("Restart", RESTART), - ("Start BlackBox", RESTART, blackbox), - ("Start kwm", RESTART, kwm), - ("Start IceWM", RESTART, icewm), - ("Exit", EXIT) - ) -) +("Applications", + ("Info", + ("Info Panel", INFO_PANEL), + ("Legal", LEGAL_PANEL), + ("System Console", EXEC, "xconsole"), + ("System Load", SHEXEC, "xosview || xload"), + ("Process List", EXEC, "xterm -e top"), + ("Manual Browser", EXEC, "xman") + ), + ("Run...", SHEXEC, "%a(Run,Type command to run:)"), + ("XTerm", EXEC, "xterm -sb"), + ("Mozilla Firefox", EXEC, "firefox"), + ("Workspaces", WORKSPACE_MENU), + ("Applications", + ("Gimp", SHEXEC, "gimp >/dev/null"), + ("Ghostview", EXEC, "ghostview %a(Enter file to view)"), + ("Xpdf", EXEC, "xpdf %a(Enter PDF to view)"), + ("Abiword", EXEC, "abiword"), + ("Dia", EXEC, "dia"), + ("OpenOffice.org", + ("OpenOffice.org", EXEC, "ooffice"), + ("Writer", EXEC, "oowriter"), + ("Spreadsheet", EXEC, "oocalc"), + ("Draw", EXEC, "oodraw"), + ("Impress", EXEC, "ooimpress") + ), + ("Editors", + ("XEmacs", EXEC, "xemacs"), + ("Emacs", EXEC, "emacs"), + ("XJed", EXEC, "xjed"), + ("VI", EXEC, "xterm -e vi"), + ("GVIM", EXEC, "gvim"), + ("NEdit", EXEC, "nedit"), + ("Xedit", EXEC, "xedit") + ), + ("Multimedia", + ("XMMS", + ("XMMS", EXEC, "xmms"), + ("XMMS play/pause", EXEC, "xmms -t"), + ("XMMS stop", EXEC, "xmms -s") + ), + ("Xine video player", EXEC, "xine"), + ("MPlayer", EXEC, "mplayer") + ) + ), + ("Utils", + ("Calculator", EXEC, "xcalc"), + ("Window Properties", SHEXEC, "xprop | xmessage -center -title 'xprop' -file -"), + ("Font Chooser", EXEC, "xfontsel"), + ("Magnify", EXEC, "wmagnify"), + ("Colormap", EXEC, "xcmap"), + ("Kill X Application", EXEC, "xkill") + ), + ("Selection", + ("Copy", SHEXEC, "echo '%s' | wxcopy"), + ("Mail To", EXEC, "xterm -name mail -T Pine -e pine %s"), + ("Navigate", EXEC, "mozilla %s"), + ("Search in Manual", EXEC, "MANUAL_SEARCH(%s)") + ), + ("Commands", + ("Hide Others", HIDE_OTHERS), + ("Show All", SHOW_ALL), + ("Arrange Icons", ARRANGE_ICONS), + ("Refresh", REFRESH), + ("Lock", EXEC, "xlock -allowroot -usefirst"), + ("Save Session", SAVE_SESSION), + ("Clear Session", CLEAR_SESSION) + ), + ("Appearance", + ("Themes", OPEN_MENU, "-noext #wmdatadir#/Themes $HOME/GNUstep/Library/WindowMaker/Themes WITH setstyle"), + ("Styles", OPEN_MENU, "-noext #wmdatadir#/Styles $HOME/GNUstep/Library/WindowMaker/Styles WITH setstyle"), + ("Icon Sets", OPEN_MENU, "-noext #wmdatadir#/IconSets $HOME/GNUstep/Library/WindowMaker/IconSets WITH seticons"), + ("Background", + ("Solid", + ("Black", EXEC, "wdwrite WindowMaker WorkspaceBack '(solid, black)'"), + ("Blue", EXEC, "wdwrite WindowMaker WorkspaceBack '(solid, \"#505075\")'"), + ("Indigo", EXEC, "wdwrite WindowMaker WorkspaceBack '(solid, \"#243e6c\")'"), + ("Bluemarine", EXEC, "wdwrite WindowMaker WorkspaceBack '(solid, \"#224477\")'"), + ("Purple", EXEC, "wdwrite WindowMaker WorkspaceBack '(solid, \"#554466\")'"), + ("Wheat", EXEC, "wdwrite WindowMaker WorkspaceBack '(solid, wheat4)'"), + ("Dark Gray", EXEC, "wdwrite WindowMaker WorkspaceBack '(solid, \"#333340\")'"), + ("Wine", EXEC, "wdwrite WindowMaker WorkspaceBack '(solid, \"#400020\")'") + ), + ("Gradient", + ("Sunset", EXEC, "wdwrite WindowMaker WorkspaceBack '(mvgradient, deepskyblue4, black, deepskyblue4, tomato4)'"), + ("Sky", EXEC, "wdwrite WindowMaker WorkspaceBack '(vgradient, blue4, white)'"), + ("Blue Shades", EXEC, "wdwrite WindowMaker WorkspaceBack '(vgradient, \"#7080a5\", \"#101020\")'"), + ("Indigo Shades", EXEC, "wdwrite WindowMaker WorkspaceBack '(vgradient, \"#746ebc\", \"#242e4c\")'"), + ("Purple Shades", EXEC, "wdwrite WindowMaker WorkspaceBack '(vgradient, \"#654c66\", \"#151426\")'"), + ("Wheat Shades", EXEC, "wdwrite WindowMaker WorkspaceBack '(vgradient, \"#a09060\", \"#302010\")'"), + ("Grey Shades", EXEC, "wdwrite WindowMaker WorkspaceBack '(vgradient, \"#636380\", \"#131318\")'"), + ("Wine Shades", EXEC, "wdwrite WindowMaker WorkspaceBack '(vgradient, \"#600040\", \"#180010\")'") + ), + ("Images", OPEN_MENU, "-noext #wmdatadir#/Backgrounds $HOME/GNUstep/Library/WindowMaker/Backgrounds WITH wmsetbg -u -t") + ), + ("Save Theme", SHEXEC, "getstyle -t $HOME/GNUstep/Library/WindowMaker/Themes/\"%a(Theme name)\""), + ("Save IconSet", SHEXEC, "geticonset $HOME/GNUstep/Library/WindowMaker/IconSets/\"%a(IconSet name)\""), + ("Preferences Utility", EXEC, "/usr/local/GNUstep/Apps/WPrefs.app/WPrefs") + ), + ("Exit", + ("Save Session", SAVE_SESSION), + ("Clear Session", CLEAR_SESSION), + ("Restart Window Maker", RESTART), + ("Start BlackBox", RESTART, blackbox), + ("Start IceWM", RESTART, icewm), + ("Exit", EXIT) + ) +)