.fvwm/config
changeset 568 3b7ad4d4c162
parent 567 3d6277e853d7
child 569 1b7bd3006cf1
equal deleted inserted replaced
564:f01e7848ac4d 568:3b7ad4d4c162
   384 # To add own menu items create proper ~/.menu/app-name file and run update-menu.
   384 # To add own menu items create proper ~/.menu/app-name file and run update-menu.
   385 # About this you can rean in /usr/share/doc/menu/menu.txt.gz.
   385 # About this you can rean in /usr/share/doc/menu/menu.txt.gz.
   386 Read /etc/X11/fvwm/menudefs.hook quiet
   386 Read /etc/X11/fvwm/menudefs.hook quiet
   387 # Read $[FVWM_USERDIR]/menudefs.hook quiet
   387 # Read $[FVWM_USERDIR]/menudefs.hook quiet
   388 
   388 
   389 AddToMenu MenuMy "My Menu" Title
   389 DestroyMenu MenuMy
       
   390 AddToMenu   MenuMy "My Menu" Title
   390 + &HTop%/usr/share/app-install/icons/htop.png%  Exec  exec xterm -name htop -title HTop -geometry +10+10 -e sudo htop
   391 + &HTop%/usr/share/app-install/icons/htop.png%  Exec  exec xterm -name htop -title HTop -geometry +10+10 -e sudo htop
   391 + &Emacs%emacs.png%  Exec  exec emacs
   392 + &Emacs%emacs.png%  Exec  exec emacs
   392 + &Firefox%iceweasel.png%  Exec  exec firefox
   393 + &Firefox%iceweasel.png%  Exec  exec firefox
   393 + &Netbeans%netbeans.png%  Exec  exec $(ls /opt/*/bin/netbeans 2>/dev/null | tail -n 1; [[ ${PIPESTATUS[0]} -gt 0 ]] && command -v netbeans)
       
   394 + &VLC%vlc.png%  Exec  exec vlc
   394 + &VLC%vlc.png%  Exec  exec vlc
   395 + &Skype%skype.png%  Exec  exec skype
   395 + &Skype%skype.png%  Exec  exec skype
   396 + &Goldendict%goldendict.png%  Exec  exec goldendict
   396 + &Goldendict%goldendict.png%  Exec  exec goldendict
   397 + xkill           Exec  exec xkill
   397 + xkill           Exec  exec xkill
   398 + "Peoplenet"     Exec  exec xterm -e /usr/bin/pon
   398 
       
   399 DestroyMenu MenuMyDev
       
   400 AddToMenu   MenuMyDev "My Dev Menu" Title
       
   401 + &Netbeans%netbeans.png%  Exec  exec $(ls /opt/*/bin/netbeans 2>/dev/null | tail -n 1; [[ ${PIPESTATUS[0]} -gt 0 ]] && command -v netbeans)
       
   402 + "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")
   399 
   403 
   400 # Drawback - you can not make it smaller.
   404 # Drawback - you can not make it smaller.
   401 Style "htop" MinWindowSize 98 98
   405 Style "htop" MinWindowSize 98 98
   402 
   406 
   403 DestroyMenu MenuWindowOperations
   407 DestroyMenu MenuWindowOperations
   432 + "Xterm%app/terminal-16x16.xpm%"  Exec  exec xterm -e bash -i
   436 + "Xterm%app/terminal-16x16.xpm%"  Exec  exec xterm -e bash -i
   433 + "Mc%app/mc-16x16.xpm%"  Exec  exec m4_XTERM_MC(`mc-secondary')
   437 + "Mc%app/mc-16x16.xpm%"  Exec  exec m4_XTERM_MC(`mc-secondary')
   434 + ""  Nop
   438 + ""  Nop
   435 + &Debian%menu/submenu-16x16.xpm%  Popup "/Debian"
   439 + &Debian%menu/submenu-16x16.xpm%  Popup "/Debian"
   436 + &My%menu/submenu-16x16.xpm%  Popup MenuMy
   440 + &My%menu/submenu-16x16.xpm%  Popup MenuMy
       
   441 + &MyDev%menu/submenu-16x16.xpm%  Popup MenuMyDev
   437 + &Window%menu/submenu-16x16.xpm%  Popup MenuWindowOperations
   442 + &Window%menu/submenu-16x16.xpm%  Popup MenuWindowOperations
   438 + &Fvwm%menu/submenu-16x16.xpm%  Popup MenuFvwmRoot
   443 + &Fvwm%menu/submenu-16x16.xpm%  Popup MenuFvwmRoot
   439 + ""  Nop
   444 + ""  Nop
   440 
   445 
   441 Key F1 A M Menu MenuMyRoot Root c c
   446 Key F1 A M Menu MenuMyRoot Root c c