Arch Linux

 

Openbox personalizado

De Wiki do Arch Linux Brasil



Tabela de conteúdo

Introdução

Distribuição rápida e kiss com ambiente gráfico leve e de fácil manuseio, casamento perfeito, Arch + Openbox.

Será mostrado como efetuar alterações para se obter um desktop bonito, funcional e de fácil modificação do visual em segundos, como também pacotes essenciais para o dia à dia.

Para sanar todas as dúvidas sobre instalação, pós-instalação e utilização do pacman visitem os Guias do Arch no site do Hugo Doria.

Quando o X estiver funcional mãos à obra.

Instalação

Openbox está disponível no repositório "extra":

# pacman -S openbox

Após a instalação, o pacman orientará a copiar os arquivos de configuração menu.xml & rc.xml para ~/.config/openbox/, faça o seguinte:

$ mkdir -p ~/.config/openbox/
$ cp /etc/xdg/openbox/rc.xml ~/.config/openbox/rc.xml
$ cp /etc/xdg/openbox/menu.xml ~/.config/openbox/menu.xml
$ cp /etc/xdg/openbox/autostart.sh ~/.config/openbox/autostart.sh

Note: faça isso como usuario comum, e não como root.


O rc.xml é o arquivo base de configuração do Openbox. É usado para controlar atalhos de teclado, temas, desktops virtuais e outras caraterísticas.

O menu.xml controla o menu de aplicações que aparece quando você aperta o botão direito do mouse na área de trabalho. Os itens por default são escassos, mas é muito fácil mudar a estrutura do menu, irei mostrar como fazer as alterações no decorrer deste guia.

O aquivo autostart.sh controla quais programas carregam quando você inicia a sessão openbox.


Iniciando Openbox

Para iniciar Openbox basta descomentar a linha no arquivo ~/.xinitrc:

exec openbox-session

Em seguida com usuário normal no terminar:

$ startx

Note: Neste momento é visto um Openbox totalmente cru e default onde é possível acessar os menus com o botão direito do mouse.

Programas para integração do sistema

breve histórico dos programas

  • obmenu - editor de menu
  • obconf - utilitário para configuração do windowmanager
  • openbox-themes - vários temas windowmanager
  • pypanel - leve painel escrito em python
  • slim - simples gerenciador de login
  • slim-themes e archlinux-themes-slim - temas para o slim
  • feh - pacote para carregar fundo de tela default
  • gtk-theme-switch2, gtk-engines e gtk-chtheme - pacotes para manipulação de temas GTK
  • pacotes thunar - excelente gerenciador de arquivos padrão do XFCE
  • medit - editor de textos GTK
  • gnome-terminal, eterm, xterm - terminais para todos os gostos
  • volwheel - simples ícone de volume
  • nitrogen - pacote para alteração de background do X


Antes da instalação, vamos habilitar o repositório community no arquivo /etc/pacman.conf. Altere com seu editor preferido o conteúdo e ficará assim:

Arquivo: pacman.conf

#
# /etc/pacman.conf
#
# See the pacman manpage for option directives

#
# GENERAL OPTIONS
#
[options]
LogFile     = /var/log/pacman.log
#NoUpgrade, não fazerá alterações nos arquivos
#NoUpgrade   = /etc/passwd /etc/group /etc/shadow /etc/sudoers
#NoUpgrade   = /etc/fstab /etc/raidtab /etc/ld.so.conf
#NoUpgrade   = /etc/rc.conf /etc/rc.local
#NoUpgrade   = /etc/modprobe.conf /etc/modules.conf
NoUpgrade   = /etc/lilo.conf /boot/grub/menu.lst
#NoUpgrade   = /etc/samba/smb.conf /var/lib/postgres/data/postgresql.conf
#IgnorePkg, não atualizará o pacote mencionado
#IgnorePkg   = kernel26
#IgnorePkg   = samba smbclient postgresql postgresql-libs 
#IgnorePkg   = gnome gnome-extra
HoldPkg     = pacman glibc
XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u

#
# REPOSITORIES
#   - can be defined here or included from another file
#   - pacman will search repositories in the order defined here
#   - local/custom mirrors can be added here or in separate files
#   - repositories listed first will take precedence when packages
#     have identical names, regardless of version number
#
#[testing]
#Include = /etc/pacman.d/mirrorlist

[core]
# Add your preferred servers here, they will be used first
Include = /etc/pacman.d/mirrorlist

[extra]
# Add your preferred servers here, they will be used first
Include = /etc/pacman.d/mirrorlist

[community]
# Add your preferred servers here, they will be used first
Include = /etc/pacman.d/mirrorlist

#[compiz-fusion]
#Server = http://compiz.dreamz-box.de/i686

#[archlinuxfr] 
#Server = http://repo.archlinux.fr/i686

#[testing]
#Server = ftp://ftp.archlinux.org/testing/os/i686

#[unstable]
# Add your preferred servers here, they will be used first
#Include = /etc/pacman.d/mirrorlist

# An example of a custom package repository.  See the pacman manpage for
# tips on creating your own repositories.
#[custom]
#Server = file:///home/custompkgs


Serão instalados pacotes do repositório "extra" e "community":

# pacman -S obmenu obconf openbox-themes pypanel slim slim-themes archlinux-themes-slim  feh gtk-theme-switch2 
gtk-engines gtk-chtheme thunar thunar-volman thunar-archive-plugin thunar-media-tags-plugin thunar-thumbnailers medit
gnome-terminal eterm xterm volwheel nitrogen

Note: digite tudo em uma única linha.

Melhorando o visual

Ajeitando o menu

Guarde uma cópia dos arquivos de menu default e utilizem esses abaixo que estão mais organizados:

$ cd ~/.config/openbox
$ mv menu.xml menu.xml.default & touch menu.xml
$ mv autostart.sh autostart.sh.default & touch autostart.sh

Note: faça isso como usuario comum, e não como root.


Agora com seu editor favorito adicione os novos conteúdos para cada arquivo:

Arquivo: menu.xml
<?xml version="1.0" encoding="utf-8"?>
<openbox_menu xmlns="http://openbox.org/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://openbox.org/                 file:///usr/share/openbox/menu.xsd">
	<menu id="root-menu" label="Openbox 3">
		<!-- This requires the presence of the 'menu' package to work -->
		<menu id="root-menu-21519" label="Acessórios">
			<item label="Capturar Imagem de Tela">
				<action name="Execute">
					<execute>
						scrot -cd 6 '%Y-%m-%d_$wx$h_scrot.png' -e 'mv $f ~/images/shots/'
					</execute>
				</action>
			</item>
			<item label="Xvidcap">
				<action name="Execute">
					<execute>
						xvidcap
					</execute>
				</action>
			</item>
			<separator/>
			<item label="Calculator">
				<action name="Execute">
					<execute>
						galculator
					</execute>
				</action>
			</item>
			<separator/>
			<item label="A desktop Wiki Zim">
				<action name="Execute">
					<execute>
						zim
					</execute>
				</action>
			</item>
			<item label="Project Planner">
				<action name="Execute">
					<execute>
						planner
					</execute>
				</action>
			</item>
		</menu>
		<menu id="root-menu-56915" label="Sistema">
			<item label="Gnome terminal">
				<action name="Execute">
					<execute>
						gnome-terminal
					</execute>
				</action>
			</item>
			<item label="Eterm">
				<action name="Execute">
					<execute>
						Eterm
					</execute>
				</action>
			</item>
			<item label="Xterm">
				<action name="Execute">
					<execute>
						xterm
					</execute>
				</action>
			</item>
			<separator/>
			<item label="PCMan File Manager">
				<action name="Execute">
					<command>
						pcmanfm
					</command>
					<startupnotify>
						<enabled>
							yes
						</enabled>
					</startupnotify>
				</action>
			</item>
			<item label="Thunar ">
				<action name="Execute">
					<command>
						Thunar
					</command>
					<startupnotify>
						<enabled>
							yes
						</enabled>
					</startupnotify>
				</action>
			</item>
			<item label="Rox">
				<action name="Execute">
					<command>
						rox
					</command>
					<startupnotify>
						<enabled>
							yes
						</enabled>
						<wmclass>
							ROX-Filer
						</wmclass>
					</startupnotify>
				</action>
			</item>
		</menu>
		<menu id="apps-editors-menu" label="Editors">
			<item label="Medit">
				<action name="Execute">
					<execute>
		medit
					</execute>
				</action>
			</item>
			<separator/>
			<item label="Emacs">
				<action name="Execute">
					<command>
						emacs
					</command>
					<startupnotify>
						<enabled>
							yes
						</enabled>
						<wmclass>
							Emacs
						</wmclass>
					</startupnotify>
				</action>
			</item>
		</menu>
		<menu id="apps-office-menu" label="Escritório">
			<item label="OpenOffice.org">
				<action name="Execute">
					<execute>
						soffice 
					</execute>
				</action>
			</item>
			<item label="OpenOffice Base">
				<action name="Execute">
					<execute>
						soffice -base
					</execute>
				</action>
			</item>
			<item label="OpenOffice Calc">
				<action name="Execute">
					<execute>
						soffice -calc
					</execute>
				</action>
			</item>
			<item label="OpenOffice Draw">
				<action name="Execute">
					<execute>
						soffice -draw
					</execute>
				</action>
			</item>
			<item label="OpenOffice Impress">
				<action name="Execute">
					<execute>
						soffice -impress
					</execute>
				</action>
			</item>
			<item label="OpenOffice Math">
				<action name="Execute">
					<execute>
						soffice -math
					</execute>
				</action>
			</item>
			<item label="OpenOffice Printer Administration">
				<action name="Execute">
					<execute>
						soffice-printeradmin
					</execute>
				</action>
			</item>
			<item label="OpenOffice Writer">
				<action name="Execute">
					<execute>
						soffice -writer
					</execute>
				</action>
			</item>
			<separator/>
			<item label="BillReminder Financeiro">
				<action name="Execute">
					<execute>
						billreminder
					</execute>
				</action>
			</item>
			<separator/>
			<item label="Visualizador de documentos evince">
				<action name="Execute">
					<execute>
						evince
					</execute>
				</action>
			</item>
			<item label="Visualizador de documentos Xpdf">
				<action name="Execute">
					<execute>
						xpdf
					</execute>
				</action>
			</item>
		</menu>
		<menu id="root-menu-63308" label="Internet">
			<item label="Firefox">
				<action name="Execute">
					<execute>
						firefox
					</execute>
				</action>
			</item>
			<item label="Epiphany">
				<action name="Execute">
					<execute>
						epiphany
					</execute>
				</action>
			</item>
			<separator/>
			<item label="Pidgin">
				<action name="Execute">
					<execute>
						pidgin
					</execute>
				</action>
			</item>
			<item label="Skype">
				<action name="Execute">
					<execute>
						skype
					</execute>
				</action>
			</item>
			<item label="Amsn">
				<action name="Execute">
					<execute>
						amsn
					</execute>
				</action>
			</item>
			<item label="Emesene">
				<action name="Execute">
					<execute>
						emesene
					</execute>
				</action>
			</item>
			<item label="X-Chat">
				<action name="Execute">
					<execute>
						xchat
					</execute>
				</action>
			</item>
			<separator/>
			<item label="aMule">
				<action name="Execute">
					<execute>
						amule
					</execute>
				</action>
			</item>
			<item label="Fillezilla">
				<action name="Execute">
					<execute>
						filezilla
					</execute>
				</action>
			</item>
			<item label="Monsoon Bit Tottent">
				<action name="Execute">
					<execute>
						monsoon
					</execute>
				</action>
			</item>
			<separator/>
			<item label="Liferea">
				<action name="Execute">
					<execute>
						liferea
					</execute>
				</action>
			</item>
			<item label="checkGmail">
				<action name="Execute">
					<execute>
						checkgmail
					</execute>
				</action>
			</item>
		</menu>
		<menu id="root-menu-83583" label="Jogos">
			<item label="Chidsplay Kids">
				<action name="Execute">
					<execute>
						/usr/lib/games/childsplay/childsplay.py
					</execute>
				</action>
			</item>
			<item label="Gcompris Educacional">
				<action name="Execute">
					<execute>
						gcompris --fullcreen
					</execute>
				</action>
			</item>
			<separator/>
			<item label="Atari Games">
				<action name="Execute">
					<execute>
						stella
					</execute>
				</action>
			</item>
			<item label="Zsnes Games">
				<action name="Execute">
					<execute>
						zsnes
					</execute>
				</action>
			</item>
			<separator/>
			<item label="Frozen-Bubble">
				<action name="Execute">
					<execute>
						frozen-bubble --fullscreen
					</execute>
				</action>
			</item>
			<item label="Neverball">
				<action name="Execute">
					<execute>
						neverball
					</execute>
				</action>
			</item>
			<item label="Neverputt">
				<action name="Execute">
					<execute>
						neverputt
					</execute>
				</action>
			</item>
			<item label="Pathological">
				<action name="Execute">
					<execute>
						pathological -f
					</execute>
				</action>
			</item>
			<item label="Supertux 2">
				<action name="Execute">
					<execute>
						supertux2
					</execute>
				</action>
			</item>
			<item label="Supertux-kart">
				<action name="Execute">
					<execute>
						supertuxkart  --fullscreen
					</execute>
				</action>
			</item>
			<item label="Tuxracer">
				<action name="Execute">
					<execute>
						tuxracer
					</execute>
				</action>
			</item>
			<item label="Xmoto">
				<action name="Execute">
					<execute>
						 xmoto -fs
					</execute>
				</action>
			</item>
			<separator/>
			<item label="GNUChess 3D">
				<action name="Execute">
					<execute>
						glchess
					</execute>
				</action>
			</item>
			<item label="PyChess">
				<action name="Execute">
					<execute>
						pychess
					</execute>
				</action>
			</item>
		</menu>
		<menu id="root-menu-692937" label="Ferramentas">
			<item label="Ejetar CD/DVD">
				<action name="Execute">
					<execute>
						eject
					</execute>
				</action>
			</item>
			<item label="Recolher CD/DVD">
				<action name="Execute">
					<execute>
						eject -t
					</execute>
				</action>
			</item>
			<separator/>
			<item label="GnomeBaker">
				<action name="Execute">
					<execute>
						gnomebaker
					</execute>
				</action>
			</item>
			<item label="K3b">
				<action name="Execute">
					<execute>
						 /opt/kde/bin/k3b
					</execute>
				</action>
			</item>
			<item label="K9copy">
				<action name="Execute">
					<execute>
						/opt/kde/bin/k9copy
					</execute>
				</action>
			</item>
			<separator/>
			<item label="Adesklet Calendar">
				<action name="Execute">
					<execute>
						adesklets
					</execute>
				</action>
			</item>
		</menu>
		<menu id="root-menu-93314" label="Imagem">
			<item label="GIMP">
				<action name="Execute">
					<execute>
						gimp
					</execute>
				</action>
			</item>
			<item label="Inkscape">
				<action name="Execute">
					<execute>
						inkscape
					</execute>
				</action>
			</item>
			<item label="Imagemagick">
				<action name="Execute">
					<execute>
						display logo:"Images"
					</execute>
				</action>
			</item>
			<separator/>
			<item label="DIAgram editor">
				<action name="Execute">
					<execute>
						dia
					</execute>
				</action>
			</item>
			<separator/>
			<item label="F-Spot">
				<action name="Execute">
					<execute>
						f-spot
					</execute>
				</action>
			</item>
			<item label="Eye Gnome ">
				<action name="Execute">
					<execute>
						eog
					</execute>
				</action>
			</item>
		</menu>
		<menu id="root-menu-623117" label="Som e Vídeo">
			<item label="Audacious">
				<action name="Execute">
					<execute>
						audacious
					</execute>
				</action>
			</item>
			<item label="Streamtuner">
				<action name="Execute">
					<execute>
						streamtuner
					</execute>
				</action>
			</item>
			<item label="The Last.fm ">
				<action name="Execute">
					<execute>
						lastfm
					</execute>
				</action>
			</item>
			<separator/>
			<item label="Grip">
				<action name="Execute">
					<execute>
						grip
					</execute>
				</action>
			</item>
			<item label="SoundConverter">
				<action name="Execute">
					<execute>
						soundconverter
					</execute>
				</action>
			</item>
			<separator/>
			<item label="Mplayer">
				<action name="Execute">
					<execute>
						gmplayer
					</execute>
				</action>
			</item>
			<item label="Smplayer">
				<action name="Execute">
					<execute>
						smplayer
					</execute>
				</action>
			</item>
		</menu>
		<menu id="root-menu-83584" label="Programação">
			<item label="Anjuta">
				<action name="Execute">
					<execute>
						anjuta
					</execute>
				</action>
			</item>
			<item label="Geany">
				<action name="Execute">
					<execute>
						geany
					</execute>
				</action>
			</item>
			<item label="Glade">
				<action name="Execute">
					<execute>
						glade-3
					</execute>
				</action>
			</item>
			<item label="Python">
				<action name="Execute">
					<execute>
						gnome-terminal -e python2.5
					</execute>
				</action>
			</item>
		</menu>
		<menu id="root-menu-81727" label="Aparência">
			<item label="Fundo de tela default">
				<action name="Execute">
					<execute>
						feh --bg-scale "$HOME/images/fundo_de_tela/got_pacman6.jpg"
					</execute>
				</action>
			</item>
			<item label="Alterar fundo de tela">
				<action name="Execute">
					<execute>
						nitrogen $HOME/images/fundo_de_tela
					</execute>
				</action>
			</item>
			<item label="Screensaver Settings">
				<action name="Execute">
					<execute>
						xscreensaver
					</execute>
				</action>
			</item>
			<separator/>
			<item label="OpenBox Configuration Manager">
				<action name="Execute">
					<execute>
						obconf
					</execute>
				</action>
			</item>
			<item label="GTK Theme Switch">
				<action name="Execute">
					<execute>
						switch2
					</execute>
				</action>
			</item>
			<separator/>
			<item label="Abrir Xfce4-panel">
				<action name="Execute">
					<execute>
						xfce4-panel
					</execute>
				</action>
			</item>
			<item label="Fechar Xfce4-panel">
				<action name="Execute">
					<execute>
						xfce4-panel --exit
					</execute>
				</action>
			</item>
			<separator/>
			<item label="Abrir Gnome-panel">
				<action name="Execute">
					<execute>
						gnome-panel
					</execute>
				</action>
			</item>
			<item label="Fechar Gnome-panel">
				<action name="Execute">
					<execute>
						killall gnome-panel
					</execute>
				</action>
			</item>
			<separator/>
			<item label="Abrir conky">
				<action name="Execute">
					<execute>
						conky &
					</execute>
				</action>
			</item>
			<item label="Fechar conky">
				<action name="Execute">
					<execute>
						killall conky
					</execute>
				</action>
			</item>
		</menu>
		<menu id="root-menu-782634" label="OpenBox">
			<item label="ObMenu">
				<action name="Execute">
					<execute>
						obmenu
					</execute>
				</action>
			</item>
			<separator/>
			<item label="Autostart">
				<action name="Execute">
					<execute>
						medit ~/.config/openbox/autostart.sh
					</execute>
				</action>
			</item>
			<separator/>
			<item label="Abrir PyPanel">
				<action name="Execute">
					<execute>
						pypanel
					</execute>
				</action>
			</item>
			<item label="Fechar PayPanel">
				<action name="Execute">
					<execute>
						killall pypanel
					</execute>
				</action>
			</item>
			<item label="PyPanel RC">
				<action name="Execute">
					<execute>
						medit ~/.pypanelrc
					</execute>
				</action>
			</item>
			<separator/>
			<item label="Abrir wbar">
				<action name="Execute">
					<execute>
						wbar -nofont -bpress -idist 10.0 -falfa 85.0 -zoomf 1.1 -nanim 3.0 -balfa 0.0 -isize 64.0
					</execute>
				</action>
			</item>
			<item label="Fechar wbar">
				<action name="Execute">
					<execute>
						killall wbar
					</execute>
				</action>
			</item>
			<item label="wbarconf">
				<action name="Execute">
					<execute>
						wbarconf
					</execute>
				</action>
			</item>
			<item label=".wbar">
				<action name="Execute">
					<execute>
						medit ~/.wbar
					</execute>
				</action>
			</item>
			<separator/>
			<separator/>
			<item label="Sair">
				<action name="Exit"/>
			</item>
			<item label="Reiniciar">
				<action name="Execute">
					<execute>
						sudo shutdown -r now
					</execute>
				</action>
			</item>
			<item label="Desligar">
				<action name="Execute">
					<execute>
						sudo shutdown -h now
					</execute>
				</action>
			</item>
		</menu>
	</menu>
</openbox_menu>

Note: depois é possível alterar ou excluir itens pelo obmenu.


Arquivo: autostart.sh
# Iniciar os serviços globais e essenciais do sistema
. $GLOBALAUTOSTART

# carregar serviços e programas apos 3 segundos
sleep 3 &

# SCIM support (for typing non-english characters)
#export LC_CTYPE=pt_BR.UTF-8
#export XMODIFIERS=@im=SCIM
#export GTK_IM_MODULE=scim
#export QT_IM_MODULE=scim
#scim -d &

# background default
# arch black
#feh --bg-scale "$HOME/images/fundo_de_tela/backgroundhw6.png" &
#feh --bg-scale "$HOME/images/fundo_de_tela/backgroundhw6.png" &
# pacman
feh --bg-scale "$HOME/images/fundo_de_tela/got_pacman6.jpg" &

# painel pypanel 
pypanel & 

# barra wbar
wbar -nofont -bpress -idist 10.0 -falfa 85.0 -zoomf 1.1 -nanim 3.0 -balfa 0.0 -isize 64.0 &

# volume no X
volwheel &

# battery discharging
/usr/bin/showbatt &

# clipboard manager
parcellite &

# thunar, gerenciador de arquivos
thunar --daemon &

# composite Window-effects manager for X.org
#xcompmgr -cC &
#xcompmgr -c -t-5 -l-5 -r4.2 -o.55 &


# allows you to launch shell commands with your keyboard or your mouse under X Window
#xbindkeys &

# papel de parede
eval `cat $HOME/.fehbg` &

#Conky is an advanced, highly configurable system monitor for X based on torsmo
#conky & 

# starting beagle
beagled --replace &

# tracker and tracker-gnome-search-tool
#trackerd &
#tracker-applet &

Note: há linhas comentadas neste arquivo de alguns testes feitos, de repente pode ser útil, verifique!


Instalando o lançador Wbar

Wbar é um lançador estilo MAC-OS feito em C++ bem leve e bonito. Para instalar é preciso baixar o PKGBUILD do AUR. Será feito download do PKGBUILD e mais um patch, em seguida criado o pacote, instalado e guardado o pacote no do cache do pacman para eventuais necessidades futuras.

$ cd /tmp 
$ mkdir wbar 
$ cd wbar 
$ wget http://aur.archlinux.org/packages/wbar/wbar/PKGBUILD 
$ wget http://aur.archlinux.org/packages/wbar/wbar/wbar-gcc430_and_warnings.patch 
$ makepkg

Note: faça isso como usuario comum, e não como root.

Agora logue como root e faça:

# pacman -U wbar-1.3.3-2-i686.pkg.tar.gz
# mv wbar-1.3.3-2-i686.pkg.tar.gz /var/cache/pacman/pkg

Instalando o pacote de configuração do Wbar Wbarconf

Wbarconf é escrito em python e GTK que facilita na configuração do Wbar Baixando e instalando

$ cd /tmp 
$ mkdir wbarconf 
$ cd wbarconf 
$ wget http://aur.archlinux.org/packages/wbarconf/wbarconf/PKGBUILD 
$ makepkg

Note: faça isso como usuario comum, e não como root.

Agora logue como root e faça:

# pacman -U wbarconf-0.7.2-1-i686.pkg.tar.gz
# mv wbarconf-0.7.2-1-i686.pkg.tar.gz /var/cache/pacman/pkg


Após a instalação adicione o seguinte conteúdo no arquivo ~/.wbar:

Se quiser ícones coloridos a configuração é:

Arquivo: .wbar color
# The Bar && Font
#
#wbarcommand="wbar -bpress -above-desk"

i: /usr/share/wbar/iconpack/wbar.osx/osxbarback.png
c: 
t: /usr/share/wbar/iconpack/comic/12

i: /usr/share/wbar/iconpack/wbar.osx/nautilus.png
c: thunar
t: thunar

i: /usr/share/wbar/iconpack/wbar.osx/eterm_black.png
c: gnome-terminal
t: Terminal

i: /usr/share/wbar/iconpack/wbar.osx/firefox01_01.png
c: firefox
t: firefox

i: /usr/share/wbar/iconpack/wbar.osx/galeon.png
c: epiphany
t: epiphany

i: /usr/share/wbar/iconpack/wbar.osx/psi.png
c: pidgin
t: pidgin

i: /usr/share/wbar/iconpack/wbar.osx/skype_2.png
c: skype
t: skype

i: /usr/share/wbar/iconpack/wbar.osx/amule.png
c: amule
t: aMule

i: /usr/share/wbar/iconpack/wbar.osx/ooffice.png
c: soffice
t: ooffice

i: /usr/share/wbar/iconpack/wbar.osx/beagle.png
c: beagle-search
t: beagle

i: /usr/share/wbar/iconpack/wbar.osx/gnomebaker.png
c: k3b
t: K3b

i: /usr/share/wbar/iconpack/wbar.osx/gimp.png
c: gimp
t: gimp

i: /usr/share/wbar/iconpack/wbar.osx/volume-knob.png
c: xmms
t: xmms

i: /usr/share/wbar/iconpack/wbar.osx/gmplayer.png
c: gmplayer
t: gmplayer


Se quiser ícones pretos a configuração é:

Arquivo: .wbar black
# The Bar && Font
#
#wbarcommand="wbar -bpress -above-desk"

i: /usr/share/wbar/iconpack/wbar.osx/osxbarback.png
c: 
t: /usr/share/wbar/iconpack/comic/12

i: /usr/share/wbar/iconpack/wbar.osx/harddrive.png
c: thunar
t: thunar

i: /usr/share/wbar/iconpack/wbar.osx/eterm_black.png
c: gnome-terminal
t: Terminal

i: /usr/share/wbar/iconpack/wbar.osx/firefox01_04.png
c: firefox
t: firefox

i: /usr/share/wbar/iconpack/wbar.osx/web-browser.png
c: epiphany
t: epiphany

i: /usr/share/wbar/iconpack/wbar.osx/im-aim.png
c: pidgin
t: pidgin

i: /usr/share/wbar/iconpack/wbar.osx/ekiga_black.png
c: skype
t: skype

i: /usr/share/wbar/iconpack/wbar.osx/amule_black.png
c: amule
t: aMule

i: /usr/share/wbar/iconpack/wbar.osx/ooo_gulls.png
c: soffice
t: ooffice

i: /usr/share/wbar/iconpack/wbar.osx/beagle_black.png
c: beagle-search
t: beagle

i: /usr/share/wbar/iconpack/wbar.osx/k3b_black.png
c: k3b
t: K3b

i: /usr/share/wbar/iconpack/wbar.osx/gimp_tux.png
c: gimp
t: gimp

i: /usr/share/wbar/iconpack/wbar.osx/audacious_2.png
c: xmms
t: xmms

i: /usr/share/wbar/iconpack/wbar.osx/kaffeine_black.png
c: gmplayer
t: gmplayer

Note: efetue modificações futuras pelo wbarconf.


  • Adicionando mais belos ícones para utilização:

Faça o download OSX-icons + black . Após o download, entre no diretório onde esta o arquivo e descompacte-o:

# tar -xvf wbar-osx-icons-update-2.tar.bz2 

Note: faça isso como root.

Quando efetuar alguma alteração no lançador não é preciso fechá-lo, é só clicar com o botão direito do mouse em cima dele que será atualizado.

Selecionando o tema do gerenciador de login slim

É preciso editar o arquivo /etc/rc.conf e alterar a seguinte linha:

Arquivo: slim.conf
# current theme, use comma separated list to specify a set to 
# randomly choose from
#current_theme       default
#current_theme       archlinux-darch-grey
current_theme       archlinux-darch-white
#current_theme       archlinux-retro
#current_theme       archlinux-simplyblack
#current_theme       archlinux-soft-grey
#current_theme       tunar 

Note: descomentando somente uma linha o tema fica default, colando mais temas na mesma linha ele selecionará em modo randônico.

Para ver o nome de mais temais que estão instalados faça:

# $ pacman -Ql slim-themes archlinux-themes-slim

Note: ctrl+alt+backspace no slim ele não recarrega o X, é preciso subir na mão caso utilize esse atalho.


Modificando o pypanel.conf

$ mv ~/.pypanelrc ~/.pypanelrc-default
$ touch ~/.pypanelrc 

Note: faça isso como usuario comum, e não como root.

Altere com seu editor preferido, o conteúdo do arquivo ~/.pypanelrc e ficará assim:

Arquivo: pypanelrc
#------------------------------------------------------------------------------
#
#                         PyPanel v2.4 Configuration
#
# This configuration file is a Python script that will be executed when
# PyPanel is started.  In order for PyPanel to start properly, make sure that
# this file contains proper Python formatting and no syntax errors.
#------------------------------------------------------------------------------
VERSION         = 2.4           # Config file version

#------------------------------------------------------------------------------
# Colors: Format is hex triplet - 0xrrggbb
#------------------------------------------------------------------------------
#BG_COLOR        = "0xd6d6d6"    # Panel background and tinting color  --DEFAULT--
BG_COLOR        = "0x000000"    # Panel background and tinting color
TASK_COLOR      = "0x000000"    # Normal task name color 
FOCUSED_COLOR   = "0x000000"    # Focused task name color
#FOCUSED_COLOR   = "0xffffff"    # Focused task name color
SHADED_COLOR    = "0x000000"    # Shaded task name color 
MINIMIZED_COLOR = "0x000000"    # Minimized task name color 
DESKTOP_COLOR   = "0x000000"    # Desktop name color
CLOCK_COLOR     = "0x000000"    # Clock text color
#CLOCK_COLOR     = "0xffffff"    # Clock text color
LINE_COLOR      = "0x000000"    # Vertical line color

# Text Shadow Colors
TASK_SHADOW_COLOR      = "0xffffff"
FOCUSED_SHADOW_COLOR   = "0xffffff"
SHADED_SHADOW_COLOR    = "0xffffff"
MINIMIZED_SHADOW_COLOR = "0xffffff" 
DESKTOP_SHADOW_COLOR   = "0xffffff"
CLOCK_SHADOW_COLOR     = "0xffffff"

#------------------------------------------------------------------------------
# Panel Spacing and Location Options: Measured in pixels
#------------------------------------------------------------------------------
P_LOCATION      = 0             # Panel placement: 0 = top, 1 = bottom
P_WIDTH         = 0           # Panel width: 0 = Use full screen width
P_START         = 0         # Starting X coordinate of the panel
P_SPACER        = 8             # Spacing between panel objects
P_HEIGHT        = 20           # Panel height

#------------------------------------------------------------------------------
# Icon Size Options: Measured in pixels
#------------------------------------------------------------------------------
I_HEIGHT        = 16            # Panel application icon height
I_WIDTH         = 16           # Panel application icon Width 
APPL_I_HEIGHT   = 16           # Application launcher icon height
APPL_I_WIDTH    = 16            # Application launcher icon width
TRAY_I_HEIGHT   = 16         # System tray icon height (usually 16 or 24)
TRAY_I_WIDTH    = 16         # System tray icon width  (usually 16 or 24)
                                #If TRAY_I_WIDTH is set to 0, then the
                                # width specified by the tray app will be used
                                
#------------------------------------------------------------------------------
# Panel Clock Format: 'man strftime' for detailed formatting options and help
#------------------------------------------------------------------------------
#CLOCK_FORMAT    = "%A-%d-%b-%Y | %I:%M"    # Ex: 2004-09-25 17:45 
CLOCK_FORMAT    = "%I:%M"    # Ex: 2004-09-25 17:45 

#------------------------------------------------------------------------------
# Clock Delay: Seconds between each clock update during periods of inactivity
#------------------------------------------------------------------------------
CLOCK_DELAY     = 4

#------------------------------------------------------------------------------
# Hidden Application List: Apps listed here will not be display on the panel
# The application name is its WM_CLASS name, use 'xprop' to find WM_CLASS
# Ex: ["xmms", "xine", "gDesklets"]
#------------------------------------------------------------------------------
HIDE_LIST       = []            
                   
#------------------------------------------------------------------------------
# Hidden Panel Size: Size of the panel when it's hidden/minimized
#------------------------------------------------------------------------------
HIDDEN_SIZE     = 1

#------------------------------------------------------------------------------
# Panel Text Font: This option takes either a traditional or Xft font string 
# Ex: "-schumacher-clean-medium-r-normal-*-12-*-*-*-*-*-*-*"
#     "aquafont-8" 
#------------------------------------------------------------------------------
#FONT            = "bitstream vera sans-8"
#FONT            = "Lucida Grande-10"
#FONT            = "HeldustryFTVBasic Demi-8"
#FONT		 = "URWGothicL-10"
FONT		 = "MalOtf-9"

#------------------------------------------------------------------------------
# Show All Applications: Show apps from all desktops or just the current
# 0: Disabled - Only applications on the current desktop will be displayed
# 1: Enabled  - Selected apps are moved to the current desktop
# 2: Enabled  - Current desktop is changed to the selected apps desktop
#------------------------------------------------------------------------------
SHOWALL         = 0             # 0, 1 or 2 - see descriptions above

#------------------------------------------------------------------------------
# Show Minimized/Iconified Applications: Show only minimized apps or all apps
# 0: Disabled - Show all applications on the panel
# 1: Enabled  - Show only minimized apps on the panel
#------------------------------------------------------------------------------
SHOWMINIMIZED   = 0

#------------------------------------------------------------------------------
# Application Icon List: List of custom icons for specific applications
# The application name is its WM_CLASS name, use 'xprop' to find WM_CLASS
#
# The "default" entry is used for applications with no icon.  If left "",
# PyPanel will use the default icon distributed with the source.
#
# Add entries using the following format -
#     "<application name>" : "<full path to icon>",
#------------------------------------------------------------------------------
ICON_LIST       = {
                   "default" : "",
                   "example" : "/usr/share/imlib2/data/images/audio.png",
                  }
                  
#------------------------------------------------------------------------------
# Application Launch List: Ordered list of icons and applications for the
#                          application launcher.
# 
# Add entries using the following format -
#     ("<executable>", "<full path to icon>")
#------------------------------------------------------------------------------
LAUNCH_LIST     = [
                   #("gimp", "/usr/share/imlib2/data/images/paper.png"),
		   #("arch-logo", "/usr/share/wbar/iconpack/wbar.osx/archlinux-logo.png"),
		   ("tux-logo", "/usr/share/wbar/iconpack/wbar.osx/tux.png"),
                  ]

#------------------------------------------------------------------------------
# Background Alpha/Shade Level: 0 (Fully Translucent) -> 255 (Fully Opaque)
# BG_COLOR is used for tinting
#------------------------------------------------------------------------------
SHADE		= 255
BG_COLOR	= "0xffffff"


#------------------------------------------------------------------------------
# Misc. Options: 1 = Enabled/Yes, 0 = Disabled/No
#------------------------------------------------------------------------------
ABOVE           = 0             # Panel is always above other apps
APPICONS        = 1             # Show application icons
AUTOHIDE        = 0             # Autohide uses the CLOCK_DELAY timer above
SHADOWS         = 0             # Show text shadows
SHOWLINES       = 0             # Show object seperation lines
SHOWBORDER      = 1             # Show a border around the panel

#------------------------------------------------------------------------------
# Desktop Names: Configure the names of your desktops
# If the option is [], PyPanel will attempt to use the desktop name specified
# by the XServer, if that fails it will use the desktop number as its name
# Ex. ["One", "Two", "Three", "Four", "Five", "Six", "Seven", "Eight"]
#------------------------------------------------------------------------------
DESKTOP_NAMES   = ["One", "Two", "Three", "Four"]

#------------------------------------------------------------------------------
# Panel Layout:       -----------------------------------
#                     [  1  ][  2  ][  3  ][  4  ][  5  ]
#                     -----------------------------------
#
# The panel layout is split into 5 sections numbered 1, 2, 3, 4 or 5 as shown
# in the diagram above.  Each of the following objects can be enabled by
# assigning it a section number or disabled by assigning it 0:
#------------------------------------------------------------------------------
DESKTOP         = 1             # Desktop name section
TASKS           = 2             # Task names section 
TRAY            = 3             # System tray section
CLOCK           = 4             # Clock section
LAUNCHER        = 5             # Application launcher section

#------------------------------------------------------------------------------
#                       Button Event Function Definitions
#------------------------------------------------------------------------------
# Left click   - button 1 
# Middle click - button 2
# Right click  - button 3
# Wheel up     - button 4
# Wheel down   - button 5 
#
# changeDesktop(x)
# - Change Desktop: Increase or decrease the current desktop by 'x' amount
# 
# toggleShade(task)
# - Shade or Unshade an application
#
# toggleHidden()
# - Minimize the panel to the top or bottom depending on its start location
#
# toggleMinimize(task, traise=1)
# - Minimize or Unminimize an application and optionally raise it
#
# taskRaise(task, focus=1)
# - Raise an application to the top of the window list and optionally focus it 
#
# taskLower(task, focus=0)
# - Lower an app to the bottom of the window list and optionally focus it
#
# taskFocus(task)
# - Give focus to the selected application, if it has focus then minimize it
#
# showDesktop()
# - Toggle between hiding and unhiding ALL applications
#------------------------------------------------------------------------------

#----------------------------------
def desktopButtonEvent(pp, button):
#----------------------------------
    """ Button event handler for the panel's desktop object """
        
    if button == 1:
        pp.changeDesktop(-1)
    elif button == 2:
        pp.changeDesktop(2)
    elif button == 3:
        pp.changeDesktop(1)
    elif button == 4:
        pp.changeDesktop(1)
    elif button == 5:
        pp.changeDesktop(-1)
        
#--------------------------------
def clockButtonEvent(pp, button):
#--------------------------------
    """ Button event handler for the panel's clock object """
    
    if button == 1:
        os.system("xclock &")
    elif button == 2:
        pass
    elif button == 3:
        pp.toggleHidden()  
    elif button == 4:
        pp.showDesktop()
    elif button == 5:
        pp.showDesktop()
        
#--------------------------------
def panelButtonEvent(pp, button):
#--------------------------------
    """ Button event handler for the panel with no active tasks """
    
    if button == 1:
        pass
    elif button == 2:
        pass
    elif button == 3:
        pass
    elif button == 4:
        pass
    elif button == 5:
        pass
        
#-------------------------------------
def taskButtonEvent(pp, button, task):
#-------------------------------------
    """ Button event handler for the panel's tasks """
    
    if button == 1:
        pp.taskFocus(task)
    elif button == 2:
        # Destroy the application
        task.obj.destroy()
    elif button == 3:
        # Ex. - XMMS doesn't shade, so we want to minimize it instead and
        #       still use button 3 to shade other applications
        #       task.tclass is the tasks class name (WM_CLASS)
        if "xmms" in task.tclass:
            pp.toggleMinimize(task)
        else:
            pp.toggleShade(task)
    elif button == 4:
        pp.taskRaise(task, focus=1)
    elif button == 5:
        pp.taskLower(task, focus=0)

Note: É possível alterar o modo do relógio, adicionar ícones na barra, quantas áreas de trabalho quiser e mais ajustes visuais.


Instalando o monitor de sistema conky

Conky está disponível no repositório "extra":

# pacman -S conky

Adicionando usuário no grupo log:

# gpasswd -a login-do-usuario log


Adicione o seguinte conteúdo no arquivo ~/.conkyrc no seu $HOME:

Arquivo: .conkyrc
# Co5;3~5;3~nky sample configuration
#
# the list of variables has been removed from this file in favour
# of keeping the documentation more maintainable.
# Check http://conky.sf.net for an up-to-date-list.

# set to yes if you want Conky to be forked in the background
background yes 

# Use Xft?
use_xft no

# Set conky on the bottom of all other applications
on_bottom yes

# Xft font when Xft is enabled
xftfont Bitstream Vera Sans Mono:size=8

# Text alpha when using Xft
xftalpha 0.8

# Update interval in seconds
update_interval 1.0

# This is the number of times Conky will update before quitting.
# Set to zero to run forever.
total_run_times 0

# Create own window instead of using desktop (required in nautilus)
own_window no

# Use pseudo transparency with own_window?
own_window_transparent yes

# If own_window_transparent is set to no, you can set the background colour here
own_window_colour hotpink

# Use double buffering (reduces flicker, may not work for everyone)
double_buffer yes

# Minimum size of text area
minimum_size 100 5

# Draw shades?
draw_shades yes

# Draw outlines?
draw_outline no

# Draw borders around text
draw_borders yes

# Draw borders around graphs
draw_graph_borders yes

# Stippled borders?
stippled_borders 8

# border margins
border_margin 3 

# border width
border_width 1

# Default colors and also border colors
default_color white
default_shade_color black
default_outline_color black

# Text alignment, other possible values are commented
#alignment top_left
#alignment top_right
#alignment bottom_left
alignment bottom_right
#alignment none

# Gap between borders of screen and text
# same thing as passing -x at command line
gap_x 12
gap_y 250 

# Subtract file system buffers from used memory?
no_buffers yes

# set to yes if you want all text to be in uppercase
uppercase no

# number of cpu samples to average
# set to 1 to disable averaging
cpu_avg_samples 1

# number of net samples to average
# set to 1 to disable averaging
net_avg_samples 1

# Force UTF8? note that UTF8 support required XFT
override_utf8_locale yes


# Add spaces to keep things from moving about?  This only affects certain objects.\\
use_spacer no

TEXT
${alignc}${color lightgreen}$nodename - $sysname $kernel $machine
${color lightgrey}Hoje:$color ${color red}${time %H:%M} ${time %a %d %b %Y}$color
${color lightgrey}Ligado:$color ${color red}$uptime$color${color lightgrey}  CPU:(${color red}${execi 2 cat /proc/acpi/thermal_zone/THRM/temperature | sed 's/temperature//' | sed 's/\ //g' | sed 's/\://' | sed 's/C/oC/' }$color) ${color red}$cpu%$color ${cpubar 6}
${alignc}${color red}${cpugraph 25,230 0000ff 00ff00}
${color lightgrey}RAM :$color ${color red}$mem$color / ${color red}$memmax$color - ${color red}$memperc%$color ${membar 6}
${color lightgrey}Swap:$color ${color red}$swap$color / ${color red}$swapmax$color - ${color red}$swapperc%$color ${swapbar 6}
${color grey}Processos:$color ${color red}$processes$color  ${color grey}Rod:$color ${color red}$running_processes ${color grey}${alignr} Energia: ${color red}${acpiacadapter }
${color #ddaa00}Rede: $color
${color lightgrey}Down:${color red}${totaldown eth0}${color #8844ee} (${downspeed eth0} k/s)${color lightgrey}${alignr}Up: ${color red}${totalup eth0}${color #22ccff} (${upspeed eth0} k/s)
${color #0000ff}${downspeedgraph eth0 25,110 ff0000 0000ff}${alignr}${color #22ccff}${upspeedgraph eth0 25,110 0000ff ff0000}
${color #ddaa00}Sistema de Arquivos:
/dev/sda8/ : $color${fs_bar 6 /}
Uso: ${color red}${fs_used /}$color Total: ${color red}${fs_size /}$color Livre: ${color red}${fs_free_perc /}%$color
${color green}Uso de CPU:
${color}Name              PID     CPU%   MEM%
${color #ddaa00} ${top name 1} ${top pid 1} ${top cpu 1} ${top mem 1}
${color lightgrey} ${top name 2} ${top pid 2} ${top cpu 2} ${top mem 2}
${color lightgrey} ${top name 3} ${top pid 3} ${top cpu 3} ${top mem 3}
${color lightgrey} ${top name 4} ${top pid 4} ${top cpu 4} ${top mem 4}
${color green}Uso de Memoria:
${color #ddaa00} ${top_mem name 1} ${top_mem pid 1} ${top_mem cpu 1} ${top_mem mem 1}
${color lightgrey} ${top_mem name 2} ${top_mem pid 2} ${top_mem cpu 2} ${top_mem mem 2}
${color lightgrey} ${top_mem name 3} ${top_mem pid 3} ${top_mem cpu 3} ${top_mem mem 3}
$stippled_hr
${color #ddaa00}Porta${alignr}#Conexões
$color ALL:    ${alignr}$color ${tcp_portmon 1 65535 count}
$color ssh:    ${alignr}$color ${tcp_portmon 22 23 count}
${color #ddaa00}Acessos:${alignr}Serviço/Porta$color
 ${tcp_portmon 1 65535 rhost 0}${alignr}${tcp_portmon 1 65535 lservice 0}
 ${tcp_portmon 1 65535 rhost 1}${alignr}${tcp_portmon 1 65535 lservice 1}
 ${tcp_portmon 1 65535 rhost 2}${alignr}${tcp_portmon 1 65535 lservice 2}
 ${tcp_portmon 1 65535 rhost 3}${alignr}${tcp_portmon 1 65535 lservice 3}
 ${tcp_portmon 1 65535 rhost 4}${alignr}${tcp_portmon 1 65535 lservice 4}
 ${tcp_portmon 1 65535 rhost 5}${alignr}${tcp_portmon 1 65535 lservice 5}
 ${tcp_portmon 1 65535 rhost 6}${alignr}${tcp_portmon 1 65535 lservice 6}
 ${tcp_portmon 1 65535 rhost 7}${alignr}${tcp_portmon 1 65535 lservice 7}
 ${tcp_portmon 1 65535 rhost 8}${alignr}${tcp_portmon 1 65535 lservice 8}
$stippled_hr
${color lightgrey}/var/log/syslog
${color #ddaa00}${execi 3 tail -n 30 /var/log/syslog | grep -F -v "HITACHI" | fmt -w 40 | tail -n 7}

Note: Há como abrir e fechar o conky no menu, box aparência e também carregar automático descomentando no arquivo ~/.config/openbox/autostart.sh.

Instalando novos painéis, ícones, temas e efeitos

  • Painel do XFCE4:
# pacman -S xfce4-panel
  • Painel do Gnome:
# pacman -S gnome-panel

Note: como já foi modificado o menu é possível fechar as barras wbar e pypanel pelo box Openbox e abrir o painel desejado no box Aparência.


  • Adicionando novos ícones

No site Gnome-look , há diversos temas e ícones para todos os gostos. Para adicionar novos ícones, escolha um tema e faça:

$ mkdir .icons
$ cd ~/.icons
$ tar -xvf arquivo

Note: o tema de ícones escolhido pode ser usado como default juntamente com o Thunar.

Alguns temas interessantes: OSX 3.3, nuoveXT 1.6, nuoveXT 2, Dropline Neu, OsX_MoD 2.0.


  • Adicionando novos temas GTK

Selecionar o menu do openbox, aba aparência em seguida GTK Theme Switch, botão + e install new theme ou faça:

$ mkdir .themes
$ cd ~/.themes
$ tar -xvf arquivo 

Note: GTK Theme Switch também funciona, porém se o arquivo não estiver correto ou com mais coisas compactadas juntos ele não instala.


  • Adicionando novos temas do Openbox

Para alterar, menu openbox, aba aparência e Openbox Configuration Manager.

Sites interessantes: hewphoria.com, Planet Openbox, Application recommendations, links de temas no site oficial, Temas crimeboy.


  • Selecionando tema de ícones para integrar com o Thunar.

Edite o arquivo ~/.gtkrc-2.0 e adicone a linha:

gtk-icon-theme-name="nomedotema"


  • Adicionando efeitos nas janelas

Para isso instale os seguintes pacotes:

# pacman -S xcompmgr xbindkeys  libxcomposite libxfixes libxdamage libxrender libxext transset
transset-df

Note: digite tudo em uma única linha.


Depois adicione as seguintes linhas no arquivo /etc/X11/xorg.conf:

Na linha –> Section “Extensions” acrescente as linhas :

Option “Composite” “Enable”
Option “RENDER” “Enable”

Se sua placa seja ATI acrescente também em –> Section “Device” as linhas:

Option “AllowGLXWithComposite” “true”
Option “backingstore” “true”

Se sua placa seja NVidia acrescente também em –> Section “Device” as linhas:

Option “AllowGLXWithComposite” “true”
Option “RenderAccel” “true


Agora descomente a linha que te agradar no ~/.config/openbox/autostart.sh

#xcompmgr -cC &
#xcompmgr -c -t-5 -l-5 -r4.2 -o.55 &


Crie o arquivo ~/.xbindkeysrc

"transset-df --min 0.1 -p --dec 0.1"
 alt + b:5
"transset-df -p --inc 0.1"
 alt + b:4

Note: este arquivo informa ao xbindkeys que o transset-df deve ser utilizado para alterar a transparência das janelas que estão sob o cursor do mouse conforme você segura a tecla <Alt> e gira o botão de rolagem do mouse.

Mais alguns ajustes

  • gmrun, caixa de texto similar Alt+F2, existentes no Gnome e KDE

Para instalar faça:

# pacman -S gmrun

Adicione a seguinte linha na sessão <keyboard> no arquivo ~/.config/openbox/rc.xml para ativar a função da caixa Alt+F2:

<keybind key="A-F2">
<action name="execute"><execute>gmrun</execute></action>
</keybind>


  • scrot, para tirar screenshots via linha de comando

Para instalar faça:

# pacman -S scrot

Para utilização em linha de comando digite o comando abaixo, onde após 6 segundos ele tira um screenshot da tela atual com data do dia e move para a pasta ~/images/shots/:

scrot -cd 6 '%Y-%m-%d_$wx$h_scrot.png' -e 'mv $f ~/images/shots/'

Note: utilize o scrot no menu, box Acessórios e Capturar Imagem de Tela.


Para instalar faça e depois só navegar pelo menu Acessórios:

# pacman -S galculator


Para instalar digite o comando abaixo e depois só navegar pelo menu Aparência:

# pacman -S xscreensaver


  • Sudo, habilitando-o para reboot e shutdown no menu:

Passos: Instalação do pacote sudo, adicionando usuário ao grupo wheel e modificando o arquivo etc/sudoers:

# pacman -S sudo
# gpasswd -a login-do-usuario wheel

Adicione o seguinte conteúdo no final do arquivo /etc/sudoers.conf:

Arquivo: sudoers.conf
# Reboot and Shutdown
%wheel	ALL=(ALL) NOPASSWD: /sbin/shutdown
%wheel	ALL=(ALL) NOPASSWD: /sbin/reboot


Outros pacotes

  • osdbattery, para visualização de carga de bateria de notebooks:

Para instalar faça:

# pacman -S osdbattery


Para instalar faça:

# pacman -S clipboard manager


  • Beagle, ferramenta de busca de arquivos

Para instalar faça:

# pacman -S beagle

Note: já esta habilitado no arquivo ~/.config/openbox/autostart.sh para iniciar os pacotes no login.


Andando pelo menu do Openbox há os seguintes sub-itens:

  • Acessórios
  • Sistema
  • Editors
  • Escritório
  • Internet
  • Jogos
  • Ferramentas
  • Imagem
  • Som e Vídeo
  • Programação

Navegue por eles e instale os pacotes que não foram citados neste wiki ou então altere pelos seus preferidos.

Screenshots

> tela com o gerenciador de login Slim

> tela inicial com pypanel + wbar

> tela inicial com pypanel + wbar e com o mouse acima do ícone do pidgin

> menu do openbox clicando o botão direito do mouse

> nitrogen, para alteração do fundo de tela

> utilitário obmenu, para manuseio de menus

> Smplayer rodando

> Conky ativado

> Wbar icons, após adicionar novos ícones


Créditos

> Wiki Archlinux.org - Openbox

> Tutorial OpenBox - Instalando e configurando passo-a-passo

> Wbar - Um lançador leve e bonito para seu desktop!

> Openbox - rápido, flexível e bonito a gosto do freguês!

> Linux Perfeito: Openbox humilhando MacOS e Vista

Ferramentas pessoais
TOOLBOX
LANGUAGES