Personalizando o menu do Fluxbox

Publicado por Lucas Novaes em 02/07/2007

[ Hits: 7.399 ]

Blog: http://c4blog.wordpress.com/

 


Personalizando o menu do Fluxbox



1 - Entre no diretório em que o Fluxbox está intalado e procure o arquivo menu.lst.

2 - Perceba como é a sintax do menu. Ex:

[exec] (aMsn) {/usr/bin/amsn} </usr/share/pixmaps/amsn/amsn.xpm>

Aqui é como o elemento do aMsn está no menu.

A seguir vai o meu menu:

# This is an automatically generated file.
# Please see <file:/usr/share/doc/menu/README> for information.

# to use your own menu, copy this to ~/.fluxbox/menu, then edit
# ~/.fluxbox/init and change the session.menuFile path to ~/.fluxbox/menu

[begin] (Fluxbox)

# Automatically generated file. Do not edit (see /usr/share/doc/menu/html/index.html)
   [exec] (aMsn) {/usr/bin/amsn} </usr/share/pixmaps/amsn/amsn.xpm>
   [exec] (aMule) {/usr/bin/amule} </usr/share/pixmaps/amule.xpm>
   [exec] (Firefox) {firefox} </usr/share/pixmaps/firefox.png>  
   [exec] (Skype) {/usr/bin/skype} </usr/share/pixmaps/skype.xpm>
   [exec] (Terminal) {/usr/bin/gksu -u root /usr/bin/x-terminal-emulator} </usr/share/pixmaps/gksu-debian.xpm>
   [exec] (XMMS) {/usr/bin/xmms} </usr/share/pixmaps/xmms.xpm>  
   [exec] (_________________________) {}
  
  
  
   [submenu] (Aplicativos) {}
     [submenu] (Ajuda) {}
      [exec] (Info) { x-terminal-emulator -T "Info" -e info} <>
      [exec] (yelp) {/usr/bin/yelp} <>
     [end]      
     [submenu] (Bases de Dados) {}
         [exec] (HSQLDB Database Manager) {/usr/bin/hsqldb-databasemanager} </usr/share/pixmaps/hsqldb.xpm>
         [exec] (HSQLDB Database Manager (Swing\)) {/usr/bin/hsqldb-databasemanagerswing} </usr/share/pixmaps/hsqldb.xpm>
         [exec] (HSQLDB Query Tool) {/usr/bin/hsqldb-querytool} </usr/share/pixmaps/hsqldb.xpm>
         [exec] (HSQLDB Transfer Tool) {/usr/bin/hsqldb-transfer} </usr/share/pixmaps/hsqldb.xpm>
        
      [end]

      [submenu] (Editores) {}
         [exec] (Gedit) {/usr/bin/gedit} </usr/share/pixmaps/gedit-icon.xpm>
         [exec] (Nano) { x-terminal-emulator -T "Nano" -e /bin/nano} </usr/share/nano/nano-menu.xpm>
        
      [end]
      [submenu] (Ferramentas) {}
         [exec] (Baobab) {/usr/bin/baobab} </usr/share/pixmaps/baobab.xpm>
         [exec] (docker) {/usr/bin/docker} <>
         [exec] (File-Roller) {/usr/bin/file-roller} </usr/share/pixmaps/file-roller.xpm>
         [exec] (fluxconf) {/usr/bin/fluxconf} <>
         [exec] (fluxkeys) {/usr/bin/fluxkeys} <>
         [exec] (fluxmenu) {/usr/bin/fluxmenu} <>
         [exec] (gdesklets) {/usr/bin/gdesklets} </usr/share/pixmaps/gdesklets.png>
         [exec] (GNOME Screenshot Tool) {/usr/bin/gnome-panel-screenshot} <>
         [exec] (GNOME Search Tool) {/usr/bin/gnome-search-tool} </usr/share/pixmaps/gsearchtool.xpm>
         [exec] (HPLIP Fax address book) {/usr/bin/hp-fab} </usr/share/pixmaps/HPmenu.xpm>
         [exec] (HPLIP Fax utility) {/usr/bin/hp-sendfax} </usr/share/pixmaps/HPmenu.xpm>
         [exec] (HPLIP File printing) {/usr/bin/hp-print} </usr/share/pixmaps/HPmenu.xpm>
         [exec] (HPLIP Toolbox) {/usr/bin/hp-toolbox} </usr/share/pixmaps/hp-logo.xpm>
         [exec] (k3b) {/usr/bin/k3b} </usr/share/pixmaps/k3b.xpm>
         [exec] (Tomboy) {/usr/bin/tomboy} <>
      [end]
      [submenu] (Gerenciadores de Janelas) {}
      [restart] (Blackbox)  {/usr/bin/blackbox}
      [restart] (FluxBox)  {/usr/bin/startfluxbox}
      [restart] (Metacity)  {/usr/bin/metacity}
      [end]      
      [submenu] (Gráficos) {}
         [exec] (KPDF) {/usr/bin/kpdf} <>
        
         [exec] (The GIMP) {/usr/bin/gimp-2.2} </usr/share/gimp/2.0/images/wilber-icon.png>
         [exec] (xsane) {/usr/bin/xsane} </usr/share/pixmaps/xsane.xpm>
      [end]
[submenu] (Jogos) {}
         [exec] (Gnome Blackjack) {/usr/games/blackjack} </usr/share/pixmaps/blackjack.xpm>
         [exec] (Gnome FreeCell) {/usr/games/sol --variation freecell} </usr/share/pixmaps/freecell.xpm>
         [exec] (Gnome Solitaire Games) {/usr/games/sol} </usr/share/pixmaps/aisleriot.xpm>
         [exec] (Gnometris) {/usr/games/gnometris} </usr/share/pixmaps/gnometris.xpm>
         [exec] (Battle for Wesnoth) {/usr/games/wesnoth-nolog} </usr/share/pixmaps/wesnoth-icon.xpm>
         [exec] (Gnibbles) {/usr/games/gnibbles} </usr/share/pixmaps/gnibbles.xpm>
         [exec] (KDE Tron) {/usr/games/ktron} <>
         [exec] (Gnome Klotski) {/usr/games/gnotski} </usr/share/pixmaps/gnotski.xpm>
         [exec] (Gnome Robots) {/usr/games/gnobots2} </usr/share/pixmaps/gnobots2.xpm>
         [exec] (Gnome Tetravex) {/usr/games/gnotravex} </usr/share/pixmaps/gnotravex.xpm>
         [exec] (Gnomine) {/usr/games/gnomine} </usr/share/pixmaps/gnomine.xpm>
         [exec] (Same Gnome) {/usr/games/same-gnome} </usr/share/pixmaps/gsame.xpm>
         [exec] (Four-in-a-row) {/usr/games/gnect} </usr/share/pixmaps/gnect.xpm>
         [exec] (Gataxx) {/usr/games/gataxx} </usr/share/pixmaps/gataxx.xpm>
         [exec] (Gnome GYahtzee) {/usr/games/gtali} </usr/share/pixmaps/gtali.xpm>
         [exec] (Gnome Iagno) {/usr/games/iagno} </usr/share/pixmaps/iagno.xpm>
         [exec] (Gnome Lines) {/usr/games/glines} </usr/share/pixmaps/glines.xpm>
         [exec] (Gnome Mahjongg) {/usr/games/mahjongg} </usr/share/pixmaps/gnome-mahjongg.xpm>
      [end]
      [submenu] (Matemática) {}
         [exec] (Bc) { x-terminal-emulator -T "Bc" -e /usr/bin/bc} <>
         [exec] (Dc) { x-terminal-emulator -T "Dc" -e /usr/bin/dc} <>
         [exec] (GCalcTool) {/usr/bin/gcalctool} </usr/share/pixmaps/gcalctool.png>
        
      [end]
      [submenu] (Programação) {}
         [exec] (BeanShell (text\)) { x-terminal-emulator -T "BeanShell (text)" -e /usr/bin/bsh} <>
         [exec] (BeanShell (windowed\)) {/usr/bin/xbsh} <>
         [exec] (Eclipse) {/usr/bin/eclipse} </usr/share/pixmaps/eclipse32.xpm>
         [exec] (GDB) { x-terminal-emulator -T "GDB" -e /usr/bin/gdb} <>
         [exec] (Python (v2.4\)) { x-terminal-emulator -T "Python (v2.4)" -e /usr/bin/python2.4} </usr/share/pixmaps/python2.4.xpm>
         [exec] (Python (v2.5\)) { x-terminal-emulator -T "Python (v2.5)" -e /usr/bin/python2.5} </usr/share/pixmaps/python2.5.xpm>
         [exec] (Tclsh8.4) { x-terminal-emulator -T "Tclsh8.4" -e /usr/bin/tclsh8.4} <>
         [exec] (TkWish8.4) {x-terminal-emulator -e /usr/bin/wish8.4} <>
      [end]
      [submenu] (Rede) {}
         [exec] (amsn) {/usr/bin/amsn} </usr/share/pixmaps/amsn/amsn.xpm>
         [exec] (amule) {/usr/bin/amule} </usr/share/pixmaps/amule.xpm>
         [exec] (Azureus) {/usr/bin/azureus} </usr/share/pixmaps/azureus.xpm>
         [exec] (Ekiga) {/usr/bin/ekiga} </usr/share/pixmaps/ekiga-logo-icon.png>
         [exec] (Evolution) {/usr/bin/evolution} </usr/share/pixmaps/evolution.xpm>
         [exec] (Firefox Web Browser) {firefox} </usr/share/pixmaps/firefox.xpm>
         [exec] (Gaim) {/usr/bin/gaim} </usr/share/pixmaps/gaim-menu.xpm>
         [exec] (Galeon) {/usr/bin/galeon} </usr/share/pixmaps/galeon.xpm>
         [exec] (Telnet) { x-terminal-emulator -T "Telnet" -e /usr/bin/telnet} <>
         [exec] (Terminal Server Client) {/usr/bin/tsclient -f} </usr/share/pixmaps/tsclient.xpm>
         [exec] (w3m) { x-terminal-emulator -T "w3m" -e /usr/bin/w3m /usr/share/doc/w3m/MANUAL.html} <>
         [exec] (xvncviewer) {/usr/bin/xrealvncviewer} <>
      [end]
      [submenu] (Shells) {}
         [exec] (Bash) { x-terminal-emulator -T "Bash" -e /bin/bash --login} <>
         [exec] (Dash) { x-terminal-emulator -T "Dash" -e /bin/dash -i} <>
         [exec] (Sh) { x-terminal-emulator -T "Sh" -e /bin/sh --login} <>
      [end]
      [submenu] (Shells Gráficos) {}
      [exec] (Gnome Terminal) {/usr/bin/gnome-terminal} </usr/share/pixmaps/gnome-terminal.xpm>
      [exec] (XTerm) {xterm} <>
      [exec] (XTerm (Unicode\)) {uxterm} <>
      [end]
      [submenu] (Sistema) {}
         [submenu] (Administração) {}
            [exec] (alsaconf) { x-terminal-emulator -T "alsaconf" -e su-to-root -p root -c /usr/sbin/alsaconf} <>
            [exec] (pppconfig) { x-terminal-emulator -T "pppconfig" -e su-to-root -p root -c /usr/sbin/pppconfig} <>
         [end]
         [exec] (Aptitude) { x-terminal-emulator -T "Aptitude" -e /usr/bin/aptitude} <>
         [exec] (Boot Admin) {/usr/bin/boot-admin} </usr/share/gnome-system-tools/pixmaps/boot.xpm>
         [exec] (Disks Admin) {/usr/bin/disks-admin} </usr/share/gnome-system-tools/pixmaps/disks.xpm>
         [exec] (DSL/PPPoE configuration tool) { x-terminal-emulator -T "DSL/PPPoE configuration tool" -e /usr/sbin/pppoeconf} </usr/share/pixmaps/pppoeconf.xpm>
         [exec] (GDM flexiserver) {gdmflexiserver} </usr/share/pixmaps/gdm.xpm>
         [exec] (GDM flexiserver in Xnest) {gdmflexiserver -n} </usr/share/pixmaps/gdm.xpm>
         [exec] (GDM Photo Setup) {gdmphotosetup} </usr/share/pixmaps/gdm.xpm>
         [exec] (GDM Setup) {gksu gdmsetup} </usr/share/pixmaps/gdm.xpm>
         [submenu] (Gnome) {}
            [exec] (Gnome Control Center) {/usr/bin/gnome-control-center} </usr/share/pixmaps/control-center2.xpm>
         [end]
         [exec] (GNOME Bug Report Tool) {/usr/bin/bug-buddy} </usr/share/pixmaps/bug-buddy.xpm>
         [exec] (GNOME CUPS Manager) {/usr/bin/gnome-cups-manager} <>
         [exec] (GNOME Floppy Formatter) {/usr/bin/gfloppy} </usr/share/pixmaps/gfloppy.xpm>
         [exec] (GNOME Log Viewer) {/usr/bin/gnome-system-log} </usr/share/pixmaps/gnome-system-log.xpm>
         [exec] (GNOME Network Tool) {/usr/bin/gnome-nettool} </usr/share/pixmaps/gnome-nettool.xpm>
         [exec] (GNOME system monitor) {/usr/bin/gnome-system-monitor} <>
         [exec] (KDCOP) {/usr/bin/kdcop} <>
         [exec] (KDebugDialog) {/usr/bin/kdebugdialog} <>
         [exec] (Nautilus) {/usr/bin/nautilus} </usr/share/pixmaps/nautilus.xpm>
         [exec] (Network Admin) {/usr/bin/network-admin} </usr/share/gnome-system-tools/pixmaps/network.xpm>
         [exec] (Print Notification Icon) {/usr/bin/gnome-cups-icon} <>
         [exec] (Pstree) { x-terminal-emulator -T "Pstree" -e /usr/bin/pstree.x11} </usr/share/pixmaps/pstree16.xpm>
         [exec] (Synaptic Package Manager) {/usr/bin/gksu /usr/sbin/synaptic} </usr/share/synaptic/pixmaps/synaptic_32x32.xpm>
         [exec] (Task selector) { x-terminal-emulator -T "Task selector" -e su-to-root -c tasksel} <>
         [exec] (Time Admin) {/usr/bin/time-admin} </usr/share/gnome-system-tools/pixmaps/time.xpm>
         [exec] (Top) { x-terminal-emulator -T "Top" -e /usr/bin/top} <>
         [exec] (User accounts Admin) {/usr/bin/users-admin} </usr/share/gnome-system-tools/pixmaps/users.xpm>
         [exec] (X-Terminal as root (GKsu\)) {/usr/bin/gksu -u root /usr/bin/x-terminal-emulator} </usr/share/pixmaps/gksu-debian.xpm>
      [end]
      
      [submenu] (Texto) {}
         [exec] (Character map) {/usr/bin/gucharmap} <>
         [exec] (Fortune) {sh -c 'while /usr/games/fortune | col -x | xmessage -center -buttons OK:1,Another:0 -default OK -file - ; do :; done'} <>
         [exec] (GNOME Dictionary) {/usr/bin/gnome-dictionary} </usr/share/pixmaps/gdict.xpm>
      [end]
      [submenu] (Visualizadores) {}
         [exec] (Evince) {/usr/bin/evince} </usr/share/evince/pdf-icon.png>
         [exec] (Eye of GNOME) {/usr/bin/eog} </usr/share/pixmaps/gnome-eog.xpm>
         [exec] (F-Spot) {/usr/bin/f-spot} <>
         [exec] (gThumb Image Viewer) {/usr/bin/gthumb} </usr/share/pixmaps/gthumb.xpm>
        
      [end]
   [end]
   [submenu] (Open Office){}
   [exec] (OpenOffice.org Calc) {/usr/bin/oocalc} </usr/share/icons/gnome/32x32/apps/openofficeorg-21-calc.xpm>
         [exec] (OpenOffice.org Draw) {/usr/bin/oodraw} </usr/share/icons/gnome/32x32/apps/openofficeorg-21-draw.xpm>  
         [exec] (OpenOffice.org Writer) {/usr/bin/oowriter} </usr/share/icons/gnome/32x32/apps/openofficeorg-21-writer.xpm>
   [exec] (_______________________________) {}   
   [exec] (OpenOffice.org Base) {/usr/bin/oobase} </usr/share/icons/gnome/32x32/apps/openofficeorg-21-base.xpm>
         [exec] (OpenOffice.org Impress) {/usr/bin/ooimpress} </usr/share/icons/gnome/32x32/apps/openofficeorg-21-impress.xpm>
   [exec] (OpenOffice.org Math) {/usr/bin/oomath} </usr/share/icons/gnome/32x32/apps/openofficeorg-21-math.xpm>
   [end]
[submenu] (Multimedia) {}
         [exec] (gmix (Gnome 2.0 Mixer\)) {/usr/bin/gnome-volume-control} </usr/share/pixmaps/gnome-mixer.xpm>
         [exec] (gnome-cd (Gnome 2.0 CD Player\)) {/usr/bin/gnome-cd} </usr/share/pixmaps/gnome-cd.xpm>
         [exec] (grecord (GNOME 2.0 Recorder\)) {/usr/bin/gnome-sound-recorder} </usr/share/pixmaps/gnome-grecord.xpm>
         [exec] (k3b (CD Burning\)) {/usr/bin/k3b} </usr/share/pixmaps/k3b.xpm>        
         [exec] (Kaffeine) {/usr/bin/kaffeine} </usr/share/pixmaps/kaffeine.xpm>
         [exec] (Rhythmbox) {/usr/bin/rhythmbox} </usr/share/pixmaps/rhythmbox.xpm>
         [exec] (Sound Juicer) {/usr/bin/sound-juicer} <>
         [exec] (vumeter (Gnome 2.0 Volume Meter\)) {/usr/bin/vumeter} </usr/share/pixmaps/gnome-vumeter.xpm>
         [exec] (wmXMMS) {/usr/bin/wmxmms} </usr/share/pixmaps/wmxmms.xpm>
         [exec] (XMMS) {/usr/bin/xmms} </usr/share/pixmaps/xmms.xpm>
         [exec] (totem) {/usr/bin/totem} </usr/share/pixmaps/totem.xpm>
         [exec] (xine Media Player) {/usr/bin/xine} </usr/share/pixmaps/xine.xpm>
      [end]
  
   [submenu] (Fluxbox menu) {}
   [config] (Configuration)
   [submenu] (Styles) {}
      [stylesdir] (/usr/share/fluxbox/styles)
      [stylesdir] (~/.fluxbox/styles)
   [end]
   [workspaces] (Workspaces)
   [reconfig] (Reconfigure)
   [end]
   [restart] (Restart)
   [exit] (Exit)

[end]

FIM!

Outras dicas deste autor

Personalizando a tela de login do Ubuntu 7.04

Leitura recomendada

PUBLIC_HTML - Apache - Fedora

Configurar fontes MS True Type no Linux

Não consegue acessar phpMyAdmin no Fedora?

Uniformizando tema Breeze dos aplicativos KDE e GTK

Teclas "/" e "?" teclado Lenovo (netbook S10)

  

Comentários

Nenhum comentário foi encontrado.



Contribuir com comentário




Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts