Create MyDev menu.
--- a/.fvwm/config Wed Sep 26 11:26:59 2012 +0300
+++ b/.fvwm/config Thu Sep 27 16:06:04 2012 +0300
@@ -357,16 +357,20 @@
Read /etc/X11/fvwm/menudefs.hook quiet
# Read $[FVWM_USERDIR]/menudefs.hook quiet
-AddToMenu MenuMy "My Menu" Title
+DestroyMenu MenuMy
+AddToMenu MenuMy "My Menu" Title
+ &HTop%/usr/share/app-install/icons/htop.png% Exec exec xterm -name htop -title HTop -geometry +10+10 -e sudo htop
+ &Emacs%emacs.png% Exec exec emacs
+ &Firefox%iceweasel.png% Exec exec firefox
-+ &Netbeans%netbeans.png% Exec exec $(ls /opt/*/bin/netbeans 2>/dev/null | tail -n 1; [[ ${PIPESTATUS[0]} -gt 0 ]] && command -v netbeans)
+ &VLC%vlc.png% Exec exec vlc
+ &Skype%skype.png% Exec exec skype
+ &Goldendict%goldendict.png% Exec exec goldendict
+ xkill Exec exec xkill
-+ "Peoplenet" Exec exec xterm -e /usr/bin/pon
+
+DestroyMenu MenuMyDev
+AddToMenu MenuMyDev "My Dev Menu" Title
++ &Netbeans%netbeans.png% Exec exec $(ls /opt/*/bin/netbeans 2>/dev/null | tail -n 1; [[ ${PIPESTATUS[0]} -gt 0 ]] && command -v netbeans)
++ "SQL Developer" Exec exec $(ls /opt/*/sqldeveloper.sh 2>/dev/null | tail -n 1; [[ ${PIPESTATUS[0]} -gt 0 ]] && echo xmessage "Can't find 'SQL Developer' in /opt")
# Drawback - you can not make it smaller.
Style "htop" MinWindowSize 98 98
@@ -405,6 +409,7 @@
+ "" Nop
+ &Debian%menu/submenu-16x16.xpm% Popup "/Debian"
+ &My%menu/submenu-16x16.xpm% Popup MenuMy
++ &MyDev%menu/submenu-16x16.xpm% Popup MenuMyDev
+ &Window%menu/submenu-16x16.xpm% Popup MenuWindowOperations
+ &Fvwm%menu/submenu-16x16.xpm% Popup MenuFvwmRoot
+ "" Nop