Instalação e configuração do fluxbox-devel

Esse artigo trata da instalação e configuração detalhada do fluxbox-devel, com exemplos de configuração do menu, de um style e demais ítens que compõem sua interface. De bônus vocês terão acesso ao menu e style Cybertron-glass, de autoria do rei dos screenshots do VOL.

[ Hits: 44.547 ]

Por: Perfil removido em 22/11/2004


Menu e Style Cybertron-glass



Menu :

[begin] (Cybertron Desktop) {}
    [submenu] (Fluxbox configuracao) {}
        [submenu] (FBpager) {}
            [exec] (FBpager on) {fbpager}
            [exec] (FBpager on slit) {fbpager -w }
            [exec] (FBpager off) {killall fbpager}
        [end]
        [exec] (Fluxmenu) {fluxmenu}
        [separator] () {}
        [workspaces] (Areas de trabalho) {}
        [config] (Configurar o Fluxbox) {}
        [reconfig] (Reconfigurar o Fluxbox) {}
        [restart] (Reiniciar o Fluxbox) {}
    [end]
    [separator] () {}
    [submenu] (Estilos - papeis de parede ) {}
        [submenu] (Meus estilos) {Selecione um estilo}
            [stylesdir] (~/.fluxbox/styles) {}
        [end]
        [separator] () {}
        [submenu] (Meus papeis de parede) {Selecione uma tela}
            [wallpapers] (~/.fluxbox/backgrounds) {}
        [end]
        [separator] () {}
        [submenu] (Papeis de parede diversos ) {Selecione uma tela}
            [wallpapers] (/mnt/programas/prog/imagem/telas_background) {}
        [end]
        [separator] () {}
    [end]
    [separator] () {}
    [submenu] (Editores de texto ) {}
        [exec] (Kedit) {kedit}
        [exec] (Kedit - root) {kdesu kedit}
        [exec] (Kword) {kword}
        [exec] (Kwrite) {kwrite}
        [exec] (Kwrite - root) {kdesu kwrite}
    [end]
    [submenu] (Emuladores ) {}
        [submenu] (VMware ) {}
            [exec] (VMware servicos START) {kdesu /etc/rc.d/rc.vmware start}
            [exec] (VMware servicos STOP) {kdesu /etc/rc.d/rc.vmware stop}
            [exec] (VMware) {vmware}
        [end]
        [submenu] (Wine ) {}
            [exec] (Wine desligar) {killall wine && killall wineserver && killall wine-kthread}
            [exec] (Wine setup) {winesetuptk}
        [end]
        [submenu] (Xjoypad) {}
            [exec] (Ativar Xjoypad) {xjoypad}
            [exec] (Desativar Xjoypad) {killall xjoypad}
            [exec] (Xjoypad - gngeo) {xjoypad -device /dev/js0 -up 98 -down 104 -left 100 -right 102 -buttons 39 53 38 52 65 65 65 65 12 10}
            [exec] (Xjoypad - nescafe) {xjoypad -device /dev/js0 -buttons 53 58 52 58 58 58 58 58 65 36}
            [exec] (Xjoypad - stela) {xjoypad -device /dev/js0 -buttons 65 65 37 65 65 65 65 65 67 68}
            [exec] (Ver keycodes - xev) {xterm -ls -rv -e xev}
        [end]
        [exec] (Epsxe - playstation) {/home/megatron/emuladores/psx/epsxe/epsxe}
        [exec] (Gens - megadrive/sega cd/sega 32x) {gens}
        [exec] (Hugo - pcengine) {hugo}
        [exec] (Mekanix - master system/game gear/colecovision) {/home/megatron/emuladores/mastersystem/mekanix/meka.exe}
        [exec] (Mupen64 - nintendo 64) {/home/megatron/emuladores/n64/mupen64/mupen64}
        [exec] (Stella - atari 2600) {kstella}
        [exec] (Xmame - arcades) {gxmame}
        [exec] (Zsnes - super nintendo) {zsnes}
    [end]
    [submenu] (Gerenciador de arquivos ) {}
        [exec] (KDiskFree) {kdf}
        [separator] () {}
        [exec] (Konqueror) {kfmclient openProfile filemanagement}
        [exec] (Konqueror - root) {kdesu konqueror}
        [separator] () {}
        [exec] (Localizar arquivos) {kfind}
        [exec] (Localizar arquivos - root) {kdesu kfind}
        [separator] () {}
        [exec] (Xfe) {xfe}
        [exec] (Xfe - root) {kdesu xfe}
        [separator] () {}
        [exec] (Xftree) {xftree}
        [exec] (Xftree - root) {kdesu xftree}
        [separator] () {}
        [exec] (Xwincommander) {xwc}
        [exec] (Xwincommander - root) {kdesu xwc}
    [end]
    [submenu] (Graficos ) {}
        [submenu] (Mudar resolucao grafica) {}
            [exec] (640x480) {xrandr -s 2}
            [exec] (800x600) {xrandr -s 1}
            [exec] (1024x768) {xrandr -s 0}
        [end]
        [submenu] (Mudar tipo de teclado) {}
            [exec] (Teclado americano internacional) {setxkbmap -rules xfree86 -model pc102 -layout us_intl}
            [exec] (Teclado brasileiro abnt2) {setxkbmap -rules xfree86 -model abnt2 -layout br}
        [end]
        [exec] (Captura de tela) {ksnapshot}
        [exec] (Gimp) {gimp}
        [exec] (Gqview) {gqview}
        [exec] (Gthumb) {gthumb}
        [exec] (Krandrtray - mudar resolucao grafica) {krandrtray }
        [exec] (Xpaint) {xpaint}
        [exec] (Xv) {xv}
    [end]
    [submenu] (Gravacao de cds ) {}
        [exec] (K3b) {/opt/kde/bin/k3b}
        [exec] (K3b setup - root) {kdesu /opt/kde/bin/k3bsetup}
    [end]
    [submenu] (Internet ) {}
        [submenu] (Apache servidor) {}
            [exec] (Apache ligar) {sudo /usr/local/apache2/bin/apachectl start}
            [exec] (Apache desligar) {sudo /usr/local/apache2/bin/apachectl stop}
        [end]
        [submenu] (Icq ) {}
            [exec] (Gaim) {gaim}
            [exec] (Gnome icu) {gnomeicu}
            [exec] (Licq) {licq}
            [exec] (Sim icq) {sim}
        [end]
        [submenu] (Irc ) {}
            [exec] (X-chat) {xchat}
        [end]
        [submenu] (Navegadores ) {}
            [exec] (Firefox) {/usr/local/firefox/firefox}
            [exec] (Konqueror) {kfmclient openProfile webbrowsing}
            [exec] (Mozilla) {/usr/local/mozilla/mozilla}
            [exec] (Netscape Navigator) {/usr/local/netscape/netscape}
            [exec] (Opera) {opera}
        [end]
        [submenu] (Seguranca) {}
            [exec] (Nmapfe - namap frontend) {nmapfe}
        [end]
        [submenu] (Upload-Download ) {}
            [exec] (Gftp) {gftp}
            [exec] (Kget - gerenciador de downloads) {kget}
            [exec] (Mldonkey) {/home/megatron/ml_start}
        [end]
    [end]
    [submenu] (Multimedia ) {}
        [submenu] (Captura de video ) {}
            [exec] (Gv4l - gravador de video) {gv4l}
        [end]
        [submenu] (Som ) {}
            [exec] (Kscd - cdplayer) {kscd}
            [exec] (Rexima - controle de volume) {aterm -tr -rv -trsb -sr +sb -sh 70 -fn utopia -e rexima}
            [exec] (Xmms - mp3) {xmms}
        [end]
        [submenu] (TV ) {}
            [exec] (Tvtime) {tvtime}
            [exec] (Xawtv - screenshot) {xawtv -noxv}
            [exec] (Xawtv - normal) {xawtv}
        [end]
        [submenu] (Video ) {}
            [exec] (Kaffeine) {kaffeine}
            [exec] (Kmplayer) {kmplayer}
            [exec] (Kplayer) {kplayer}
            [exec] (Gxine) {gxine}
            [exec] (Mplayer) {gmplayer -vo x11 -zoom}
            [exec] (Xine) {xine -V XShm}
        [end]
    [end]
    [submenu] (Monitor do sistema) {}
        [exec] (Gerenciador de processos - Gnome) {gnome-system-monitor}
        [exec] (Gerenciador de processos - KDE) {kpm}
        [exec] (Gkrellm normal) {gkrellm}
        [exec] (Gkrellm em slit) {gkrellm -w}
    [end]
    [submenu] (Rede ) {}
        [exec] (LinNeighborhood - ambiente de rede) {LinNeighborhood}
    [end]
    [submenu] (Terminais ) {}
        [submenu] (Aterm) {}
            [exec] (Aterm - transparente - fonte normal) {aterm -title Megatron -tr -fg white -trsb -sr +sb -ls -fn utopia}
            [separator] () {}
            [exec] (Aterm - transparente - fonte normal - azul) {aterm -title Megatron -tr -fg blue -trsb -sr +sb -ls -fn utopia}
            [exec] (Aterm - transparente - fonte normal - cinza) {aterm -title Megatron -tr -fg gray -trsb -sr +sb -ls -fn utopia}
            [exec] (Aterm - transparente - fonte normal - verde) {aterm -title Megatron -tr -fg green -trsb -sr +sb -ls -fn utopia}
            [exec] (Aterm - transparente - fonte normal - vermelho) {aterm -title Megatron -tr -fg red -trsb -sr +sb -ls -fn utopia}
            [separator] () {}
            [exec] (Aterm - transparente - sombra 50 - fonte normal) {aterm -title Megatron -tr -fg white -trsb -sr +sb -ls -sh 50 -fn utopia}
            [exec] (Aterm - transparente - sombra 50 - fonte normal - azul) {aterm -title Megatron -tr -fg blue -trsb -sr +sb -ls -sh 50 -fn utopia}
            [exec] (Aterm - transparente - sombra 50 - fonte normal - verde) {aterm -title Megatron -tr -fg green -trsb -sr +sb -ls -sh 50 -fn utopia}
            [exec] (Aterm - transparente - sombra 50 - fonte normal - laranja) {aterm -title Megatron -tr -fg orange -trsb -sr +sb -ls -sh 50 -fn utopia}
            [exec] (Aterm - transparente - sombra 50 - fonte normal - vermelho) {aterm -title Megatron -tr -fg red -trsb -sr +sb -ls -sh 50 -fn utopia}
            [separator] () {}
            [exec] (Aterm - transparente - fonte vga - sombra 50) {aterm -title Megatron -tr -fg white -trsb -sr +sb -ls -sh 50 -fn smoothansi}
            [separator] () {}
            [exec] (Aterm - transparente - fonte vga - sombra 50 - azul) {aterm -title Megatron -tr -fg blue -trsb -sr +sb -ls -sh 50 -fn smoothansi}
            [exec] (Aterm - transparente - fonte vga - sombra 50 - cinza) {aterm -title Megatron -tr -fg gray -trsb -sr +sb -ls -sh 50 -fn smoothansi}
            [exec] (Aterm - transparente - fonte vga - sombra 50 - verde) {aterm -title Megatron -tr -fg green -trsb -sr +sb -ls -sh 50 -fn smoothansi}
            [exec] (Aterm - transparente - fonte vga - sombra 50 - laranja) {aterm -title Megatron -tr -fg orange -trsb -sr +sb -ls -sh 50 -fn smoothansi}
            [exec] (Aterm - transparente - fonte vga - sombra 50 - vermelho) {aterm -title Megatron -tr -fg red -trsb -sr +sb -ls -sh 50 -fn smoothansi}
            [separator] () {}
            [exec] (Aterm - root) {aterm -title Root -tr -fg white -trsb -sr +sb -ls -sh 50 -fn utopia -e bash -c "su -"}
        [end]
        [submenu] (Eterm) {}
            [exec] (Eterm - transparente - fonte normal) {Eterm --trans -f white -x --shade 0 --buttonbar=0 --scrollbar=0 -c gray}
            [separator] () {}
            [exec] (Eterm - transparente - fonte normal - azul) {Eterm --trans -f blue -x --shade 0 --buttonbar=0 --scrollbar=0 -c gray}
            [exec] (Eterm - transparente - fonte normal - cinza) {Eterm --trans -f gray -x --shade 0 --buttonbar=0 --scrollbar=0 -c gray}
            [exec] (Eterm - transparente - fonte normal - verde) {Eterm --trans -f green -x --shade 0 --buttonbar=0 --scrollbar=0 -c gray}
            [exec] (Eterm - transparente - fonte normal - vermelho) {Eterm --trans -f red -x --shade 0 --buttonbar=0 --scrollbar=0 -c gray}
            [separator] () {}
            [exec] (Eterm - transparente - fonte vga) {Eterm --trans -f white -x --shade 0 --buttonbar=0 --scrollbar=0 -c gray -F smoothansi}
            [separator] () {}
            [exec] (Eterm - transparente - sombra 50 - fonte normal) {Eterm --trans -f white -x --shade 0 --buttonbar=0 --scrollbar=0 -c gray --shade 50}
            [exec] (Eterm - transparente - sombra 50 - fonte vga) {Eterm --trans -f white -x --shade 0 --buttonbar=0 --scrollbar=0 -c gray -F smoothansi --shade 50}
            [separator] () {}
            [exec] (Eterm - desligar) {killall Eterm}
        [end]
        [submenu] (Xterm) {}
            [exec] (Xterm) {xterm -ls -rv}
            [exec] (Xterm fonte vga) {xterm -ls -rv -fn smoothansi}
            [exec] (Xterm - root) {xterm -ls -rv -e bash -c "su -"}
        [end]
        [exec] (Konsole) {konsole}
    [end]
    [submenu] (Utilidades ) {}
        [exec] (Arquivador) {ark}
        [exec] (Calculadora) {kcalc}
        [exec] (Kcontrol - KDE) {kcontrol}
        [exec] (Kfloppy - formatador de disquetes) {kfloppy}
        [exec] (Kinfocenter - KDE) {kinfocenter}
        [exec] (Klipper - area de transferencia) {klipper}
        [exec] (Mapa de caracteres - KDE) {kcharselect }
        [exec] (Sincronizar relogio) {sudo /usr/sbin/ntpdate 200.20.186.75}
    [end]
    [separator] () {}
    [exec] (Executar) {fbrun}
    [separator] () {}
    [submenu] (Desligar - Reiniciar - Sair) {}
        [exit] (Sair do Fluxbox) {}
        [exec] (Reiniciar o computador) {sudo /sbin/reboot}
        [exec] (Desligar o computador) {sudo /sbin/halt}
    [end]
[end]

Style Cybertron-glass 0.8C

!  Style Cybertron-glass 0.8 C
!  style criado por
!  Megatron , líder dos Decepticons
!  http://megatron.homelinux.org
!  configure o menu alpha em 100

! rootCommand: fbsetbg ~/.fluxbox/backgrounds/dark_angel.png

! barra de tarefa

toolbar.alpha: 100
toolbar.shaped: true

toolbar: parentrelative

toolbar.label: parentrelative
toolbar.clock: parentrelative
toolbar.iconbar.unfocused: parentrelative
toolbar.iconbar.focused: parentrelative
toolbar.iconbar.empty: parentrelative

toolbar.button.picColor: #7f7f7f

toolbar.button.pressed: Raised Bevel1 Gradient Horizontal
toolbar.button.pressed.picColor: #fffff

toolbar.label.textColor: #fffff
toolbar.windowLabel.textColor: #fffff
toolbar.clock.textColor: #fffff
toolbar.textColor: #fffff

toolbar.borderWidth: 3
toolbar.bevelWidth: 0
toolbar.borderColor:  #7f7f7f
toolbar.clock.font: Sans Serif-11:shadow,bold
toolbar.clock.justify: Center
toolbar.iconbar.focused.font: Sans Serif-11:shadow,bold
toolbar.iconbar.unfocused.font: Sans Serif-11:shadow,bold
toolbar.workspace.font: Sans Serif-11:shadow,bold

! janelas

window.alpha: 100

window.label.focus: parentrelative
window.label.focus.textColor: #fffff

window.label.unfocus: parentrelative
window.label.unfocus.textColor:  #7f7f7f

window.title.focus: flat
window.title.unfocus: flat

window.button.focus: Raised Bevel1 Gradient Horizontal
window.button.focus.picColor: #000000

window.button.unfocus: Raised Bevel1 Gradient Horizontal
window.button.unfocus.picColor: #000000

window.button.pressed: Raised Bevel1 Gradient Horizontal
window.button.pressed.color: #7f7f7f
window.button.pressed.colorTo: #7f7f7f

window.roundCorners: TopRight TopLeft BottomLeft BottomRight
window.borderWidth: 3
window.handleWidth: 3
window.bevelWidth: 2
window.borderColor: #7f7f7f
window.font: Sans Serif-11:shadow,bold
window.justify: left

! menu

menu.roundCorners: TopRight TopLeft BottomLeft BottomRight
menu.borderWidth: 3
menu.bevelWidth: 0
menu.borderColor: #7f7f7f

menu.frame: flat
menu.frame.color: #fffff
menu.frame.colorTo: #fffff
menu.frame.textColor: #ffffff
menu.frame.disableColor: #fffff
menu.frame.font: Sans Serif-11:shadow,bold

menu.bullet: Triangle
menu.bullet.position: Right

menu.hilite: Raised Bevel1 Gradient Horizontal
menu.hilite.color: #000000
menu.hilite.colorTo: #000000
menu.hilite.textColor: #fffff
menu.frame.textColor: #fffff

menu.title:  flat
menu.title.color: #fffff
menu.title.colorTo: #fffff
menu.title.textColor: #fffff
menu.title.font:  Sans Serif-11:shadow,bold
menu.title.justify:  center

! slit

slit: parentrelative
slit.bevelWidth: 0
slit.borderWidth: 1
slit.borderColor: #7f7f7f
slit.color: #000000        
slit.colorTo: #000000  

OBS: Para usar o meu menu e o meu style basta selecionar todo o texto do começo até o fim dos mesmos e colar num editor de texto, então salve esse texto com o nome menu, para o menu na pasta ~/.fluxbox do seu usuário ou Cybertron-glass para o style e salve na pasta ~/.fluxbox/styles de seu usuário.

Megatron , líder dos Decepticons
http://megatron.homelinux.org
http://planetacybertron.cjb.net
megatron.lider.decepticon@gmail.com

Página anterior    

Páginas do artigo
   1. Considerações iniciais
   2. Instalação do fluxbox-devel
   3. Configuração do fluxbox-devel
   4. Menu e Style Cybertron-glass
Outros artigos deste autor

Ingressando estações de trabalho Ubuntu no AD com Closed In Directory

Transparência de janelas no KDE

Gerencie suas informações através de instruções SQL com selects turbinados (para leigos e experts)

Servidores Debian ou Ubuntu integrados ao AD com cid-tty

Projeto Xen - Visão Geral

Leitura recomendada

EasyBCD - Corrigindo boot do Ubuntu 12.04 em HD USB no Sony VAIO

Entendendo TCP/IP (parte 2) - Endereços IP

Configurando conexão ADSL com Linux

BIND DNS Active Directory Windows 2008

Instalando o Vivo Zap no openSuSE 10.2

  
Comentários
[1] Comentário enviado por cybercop em 23/11/2004 - 00:14h

Ae Megatron, esse style, esta mto style mermo... Parabens!

OBS.: E esse menu ta campeão tbm...

Vida longa ao Fluxbox-devel... e Viva ao linux tbm

[2] Comentário enviado por beetle_juice em 23/11/2004 - 08:48h

Meu amigo megatron... ateh que enfim colocaram seu artigo no ar!!! Parabens vc merece...

[3] Comentário enviado por removido em 23/11/2004 - 10:06h

mto bom hein megatron, lider decepticon ;>
[]s

[4] Comentário enviado por felipebalbi em 23/11/2004 - 12:31h

Krak Megatron,

Se eh fera em *box...

Esse artigo ajuda mto mesmo!

Parabéns,
Felipe Balbi

[5] Comentário enviado por franklinbr em 23/11/2004 - 21:04h

Megratron te odeio cara !!!!

Eu achava que entrem os window managers, o wmaker era imbativel em quesito beleza e leveza, sou (ou era) fâ de carteirinha do wmaker, mas com esse tutorial que você fez mostrou de forma simples e muito eficaz como o fluxbox evoluiu como WM alternativo, leve e muito bonito. Sendo assim tu me sacaneou (risos).

Parabéns pelo tutorial, esta execlente to pensando sériamente em abadonar o gnome e migrar para o fluxbox, enquanto o wmaker que tanto amava fica como lembraça da minha formação e que um dia ele ja foi imbativel.


T+

[6] Comentário enviado por removido em 23/11/2004 - 21:49h

hahahahah !!!!!!!!!!
:0)

[7] Comentário enviado por pop_lamen em 24/11/2004 - 00:12h

Rei dos screenshots yup!!!
Poquinho convencido mas ta valendo...
Ensina instalar o flux (pra quem ainda nao sabe :/ )
T+!

[8] Comentário enviado por ace rush em 24/11/2004 - 00:14h

Seguinte mega.... instalei o flux, configurei ficou lindo... so que nao sei se eh com o gdm, ou algum deamon do gnome (gconfd?) mas o flux ta terminando sozinho... no meio da brincadeira.... clico em alguma janela e pum... ele morre e vai pro gdm....


to aki quebrando a cabeca pra ver o q q eh... e voltei pro gnome por enquanto =/

mas ta mto bom o artigo, parabens ^^

o style ficou lindo tbm

[9] Comentário enviado por removido em 24/11/2004 - 14:53h

ao pop_lamem :
meu texto se destina a toda a comunidade de usuários linux , sejam usuários que estão começando , ou usuários avançados ....
para mim são todos usuários com os quais eu compartilho o que sei , sem restrições ...
nada de usuários que "ainda não sabem" como vc diz ...
:^P

[10] Comentário enviado por franz em 14/02/2005 - 11:33h

ae to kerendu colocar issu no conectiva...da um tok ae mega!

[11] Comentário enviado por oscarcosta em 14/03/2005 - 21:05h

ae cara,

tinha pedido a tua ajuda....

mais de pois que li este artigo... naum precisa mais....heheheh... valew...


falows...

[12] Comentário enviado por removido em 14/03/2005 - 21:55h

:0)

[13] Comentário enviado por gpr.ppg.br em 08/07/2006 - 16:36h

o meu fluxbox fica desligando sozinho (aquele negocio de consumo de energia de certo).

alguem sabe como faço pra parar isso?

[14] Comentário enviado por removido em 08/07/2006 - 16:46h

se vc carrega ele pelo .xinitrc , coloque essa linha nele :
xset -dpms s off &

se vc carrega o fluxbox pelo kdm , veja meu texto de dicas sobre o kdm :
http://www.vivaolinux.com.br/dicas/verDica.php?codigo=6139

:0)

[15] Comentário enviado por gpr.ppg.br em 09/07/2006 - 13:19h

valeuuu megatron!!!!

ja coloquei.. ja reiniciei o micro e até agora ele nao fechou a tela.

[16] Comentário enviado por gpr.ppg.br em 11/07/2006 - 09:14h

megatron,

nao to conseguindo. o video fica desligando.

que faço?


[17] Comentário enviado por removido em 11/07/2006 - 10:44h

ou vc desativa a proteção de tela "blank" do x pelo .xinitrc : xset -dpms s off
ou faz o que eu digo no meu texto de dicas do kdm
se for gnome , dançou ..

[18] Comentário enviado por removido em 01/08/2006 - 15:23h

megatron, realmente o rei do flux e styles....te mais. parabens.

[19] Comentário enviado por xerxeslins em 13/11/2007 - 12:32h

o flux-devel eh melhor que o fluxbox? o meu slack 12 veio com fluxbox.

[20] Comentário enviado por removido em 13/11/2007 - 12:57h

o fluxbox do slack 12 é o "devel" , que agora não existe mais
a versão atual do fluxbox é a 1.0 e não é mais considerado "devel"

[21] Comentário enviado por gflkdovs em 03/01/2008 - 17:33h

Boua garoto
fico faciu configura o fluxbox agora

suave

[22] Comentário enviado por linus black em 19/06/2008 - 12:49h

Ola amigo ,bom artigo ,mas eu não acho os arquifos ~/.fluxbox/styles

[23] Comentário enviado por removido em 19/06/2008 - 12:55h

se não existe , crie :
mkdir ~/.fluxbox/styles



Contribuir com comentário




Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts