.fvwm/config
changeset 567 3d6277e853d7
parent 555 c1c901ed4725
child 568 3b7ad4d4c162
equal deleted inserted replaced
566:4c8b7a98a285 567:3d6277e853d7
   355 # To add own menu items create proper ~/.menu/app-name file and run update-menu.
   355 # To add own menu items create proper ~/.menu/app-name file and run update-menu.
   356 # About this you can rean in /usr/share/doc/menu/menu.txt.gz.
   356 # About this you can rean in /usr/share/doc/menu/menu.txt.gz.
   357 Read /etc/X11/fvwm/menudefs.hook quiet
   357 Read /etc/X11/fvwm/menudefs.hook quiet
   358 # Read $[FVWM_USERDIR]/menudefs.hook quiet
   358 # Read $[FVWM_USERDIR]/menudefs.hook quiet
   359 
   359 
   360 AddToMenu MenuMy "My Menu" Title
   360 DestroyMenu MenuMy
       
   361 AddToMenu   MenuMy "My Menu" Title
   361 + &HTop%/usr/share/app-install/icons/htop.png%  Exec  exec xterm -name htop -title HTop -geometry +10+10 -e sudo htop
   362 + &HTop%/usr/share/app-install/icons/htop.png%  Exec  exec xterm -name htop -title HTop -geometry +10+10 -e sudo htop
   362 + &Emacs%emacs.png%  Exec  exec emacs
   363 + &Emacs%emacs.png%  Exec  exec emacs
   363 + &Firefox%iceweasel.png%  Exec  exec firefox
   364 + &Firefox%iceweasel.png%  Exec  exec firefox
   364 + &Netbeans%netbeans.png%  Exec  exec $(ls /opt/*/bin/netbeans 2>/dev/null | tail -n 1; [[ ${PIPESTATUS[0]} -gt 0 ]] && command -v netbeans)
       
   365 + &VLC%vlc.png%  Exec  exec vlc
   365 + &VLC%vlc.png%  Exec  exec vlc
   366 + &Skype%skype.png%  Exec  exec skype
   366 + &Skype%skype.png%  Exec  exec skype
   367 + &Goldendict%goldendict.png%  Exec  exec goldendict
   367 + &Goldendict%goldendict.png%  Exec  exec goldendict
   368 + xkill           Exec  exec xkill
   368 + xkill           Exec  exec xkill
   369 + "Peoplenet"     Exec  exec xterm -e /usr/bin/pon
   369 
       
   370 DestroyMenu MenuMyDev
       
   371 AddToMenu   MenuMyDev "My Dev Menu" Title
       
   372 + &Netbeans%netbeans.png%  Exec  exec $(ls /opt/*/bin/netbeans 2>/dev/null | tail -n 1; [[ ${PIPESTATUS[0]} -gt 0 ]] && command -v netbeans)
       
   373 + "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")
   370 
   374 
   371 # Drawback - you can not make it smaller.
   375 # Drawback - you can not make it smaller.
   372 Style "htop" MinWindowSize 98 98
   376 Style "htop" MinWindowSize 98 98
   373 
   377 
   374 DestroyMenu MenuWindowOperations
   378 DestroyMenu MenuWindowOperations
   403 + "Xterm%app/terminal-16x16.xpm%"  Exec  exec xterm -e bash -i
   407 + "Xterm%app/terminal-16x16.xpm%"  Exec  exec xterm -e bash -i
   404 + "Mc%app/mc-16x16.xpm%"  Exec  exec m4_XTERM_MC(`mc-secondary')
   408 + "Mc%app/mc-16x16.xpm%"  Exec  exec m4_XTERM_MC(`mc-secondary')
   405 + ""  Nop
   409 + ""  Nop
   406 + &Debian%menu/submenu-16x16.xpm%  Popup "/Debian"
   410 + &Debian%menu/submenu-16x16.xpm%  Popup "/Debian"
   407 + &My%menu/submenu-16x16.xpm%  Popup MenuMy
   411 + &My%menu/submenu-16x16.xpm%  Popup MenuMy
       
   412 + &MyDev%menu/submenu-16x16.xpm%  Popup MenuMyDev
   408 + &Window%menu/submenu-16x16.xpm%  Popup MenuWindowOperations
   413 + &Window%menu/submenu-16x16.xpm%  Popup MenuWindowOperations
   409 + &Fvwm%menu/submenu-16x16.xpm%  Popup MenuFvwmRoot
   414 + &Fvwm%menu/submenu-16x16.xpm%  Popup MenuFvwmRoot
   410 + ""  Nop
   415 + ""  Nop
   411 
   416 
   412 Key F1 A M Menu MenuMyRoot Root c c
   417 Key F1 A M Menu MenuMyRoot Root c c