Configuración de Openbox + Debian Testing

Desde que me inicié en GNU/Linux usé Ubuntu con GNOME, a la llegada de Unity probé distintos entornos, quedÔndome en KDE. Reservé una partición para seguir usando Ubuntu, pero decidí instalar Debian de nuevo pero probar manejadores de ventanas, cosa que por cuestiones de tiempo no me había puesto a aprender, pues el primero es OpenBox.

Después de instalar el sistema base de Debian, y las cosas normales como flash, java, herramientas de compresión, herramientas de compilación, Synaptic etc., procedemos a instalar el entorno

# aptitude install openbox obmenu obconf tint2

No sabia por donde empezar, así que le toco a tint2 y ésta es mi configuración:

# Configuración de Tint2

#---------------------------------------------

# Información sobre tint2

# http://code.google.com/p/tint2/wiki/Welcome

# Background definitions

# ID 1

rounded = 0

border_width = 2

background_color = #000000 45

border_color = #000000 100

#il s'adig tdu bg et du border inner "cells"

rounded = 5

border_width = 2

background_color = #000000 15

border_color = #000000 70

#Il s'agit du bg et border de l'icƓne

rounded = 0

border_width = 1

background_color = #000000 20

border_color = #000000 20

#---------------------------------------------

# PANEL

#---------------------------------------------

panel_monitor = all

panel_position = top middle horizontal

panel_size = 100% 40

panel_margin = 0 0

panel_padding = 15 5 15

font_shadow = 0

panel_background_id = 1

wm_menu = 0

#---------------------------------------------

# TASKBAR

#---------------------------------------------

taskbar_mode = multi_desktop

taskbar_padding = 0 0 0

taskbar_background_id = 2

#---------------------------------------------

# TASK

#---------------------------------------------

task_icon = 10

task_text = 0

task_width = 25

task_centered = 0

task_padding = 0 2

task_font = kiloji 10

task_font_color = #333333 80

task_active_font_color = #333333 100

task_background_id = 3

task_active_background_id = 3

#---------------------------------------------

# SYSTRAYBAR

#---------------------------------------------

systray_padding = 2 5 5

systray_background_id =2

#---------------------------------------------

# CLOCK

#---------------------------------------------

#time1_format = %H:%M:%S

time1_font = sans bold 10

clock_font_color = #ffffff 76

clock_padding = 4 4

clock_background_id = 1

#---------------------------------------------

# MOUSE ACTION ON TASK

#---------------------------------------------

mouse_middle = none

mouse_right = close

mouse_scroll_up = toggle

mouse_scroll_down = iconify

Una vez hecho esto, seguĆ­ con el compositor

# aptitude install compton-git

Me dirigí al archivo /home/alf/.config/compton.config, y mi configuración:

# Shadow

shadow = true;

no-dnd-shadow = true;

no-dock-shadow = true;

#clear-shadow = true;

#shadow-radius = 7;

#shadow-offset-x = -7;

#shadow-offset-y = -7;

# shadow-opacity = 0.7;

# shadow-red = 0.0;

# shadow-green = 0.0;

# shadow-blue = 0.0;

#shadow-exclude = [ "n:e:Notification" ];

# shadow-exclude = "n:e:Notification";

#shadow-ignore-shaped = false;

# Opacity

menu-opacity = 0.9;

#inactive-opacity = 0.8;

#frame-opacity = 0.7;

inactive-opacity-override = false;

alpha-step = 0.06;

# Fading

fading = false;

# fade-delta = 30;

fade-in-step = 0.03;

fade-out-step = 0.03;

# no-fading-openclose = true;

# Other

mark-wmwin-focused = true;

mark-ovredir-focused = true;

detect-rounded-corners = true;

detect-client-opacity = true;

#refresh-rate = 0;

#vsync = "none";

dbe = false;

paint-on-overlay = false;

sw-opti = false;

# Window type settings

wintypes:

{

tooltip = { fade = true; shadow = false; opacity = 0.85; };

};

Seguí con Conky, /home/alf/.conkyrc, mi configuración:

background yes

use_xft yes

xftfont HandelGotD:size=9

xftalpha 0.5

update_interval 4.0

total_run_times 0

own_window yes

own_window_type normal

own_window_transparent yes

own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager

double_buffer yes

minimum_size 200 5

maximum_width 250

draw_shades no

draw_outline no

draw_borders no

draw_graph_borders yes

default_color grey

default_shade_color red

default_outline_color grey

alignment top_right

gap_x 12

gap_y 65

no_buffers yes

uppercase no

cpu_avg_samples 2

override_utf8_locale no

TEXT

Date & Time ${hr 2}

${alignc}${font Arial Black:size:24}${time %H:%M}${font}

${alignc}${Time %A %m %d %Y}

System ${hr 2}

$sysname $kernel on $machine

Hostname $alignr $nodename

Uptime $alignr $uptime

AMD Dual-Core A4 3300 MHz

RAMM 4 GB

CPU $alignr ${cpu cpu0}%

${cpubar cpu0}

MEM $alignc $mem / $memmax $alignr $memperc%

$membar

Swap $alignc $swap / $swapmax $alignr $swapperc%

${swapbar}

Root $alignc ${fs_used /} / ${fs_size /} $alignr ${fs_free_perc /}%

${fs_bar /}

Processes ${hr 2}

$processes processes ($running_processes running)

NAME $alignr PID CPU MEM

${top name 1} $alignr ${top pid 1} ${top cpu 1} ${top mem 1}

${top name 2} $alignr ${top pid 2} ${top cpu 2} ${top mem 2}

${top name 3} $alignr ${top pid 3} ${top cpu 3} ${top mem 3}

${top name 4} $alignr ${top pid 4} ${top cpu 4} ${top mem 4}

${top name 5} $alignr ${top pid 5} ${top cpu 5} ${top mem 5}

${top name 6} $alignr ${top pid 6} ${top cpu 6} ${top mem 6}

${top name 7} $alignr ${top pid 7} ${top cpu 7} ${top mem 7}

${top name 8} $alignr ${top pid 8} ${top cpu 8} ${top mem 8}

Network ${hr 2}

${alignc} eth0 ${addr eth0}

Inbound $alignr ${downspeed eth0} kb/s

${downspeedgraph eth0}

Outbound $alignr ${upspeed eth0} kb/s

${upspeedgraph eth0}

Configuración de archivo autostart, /home/alf/.config/autostart

## GNOME PolicyKit and Keyring

eval $(gnome-keyring-daemon -s --components=pkcs11,secrets,ssh,gpg) &

## Set root window colour

hsetroot -solid "#2E3436" &

## Grupo que inicia:

## 1. nitrogen - wallpapers

## 2. compositor

## 3. compositor

## 4. tint2

(\

nitrogen --restore && \

cb-compositor --start && \

sleep 2s && \

tint2 \

) &

## Volume control for systray

(sleep 2s && pnmixer) &

## Volume keys daemon

xfce4-volumed &

## Enable power management

xfce4-power-manager &

## Start Thunar Daemon

thunar --daemon &

## Detect and configure touchpad. See 'man synclient' for more info.

if egrep -iq 'touchpad' /proc/bus/input/devices; then

synclient VertEdgeScroll=1 &

synclient TapButton1=1 &

fi

## Start xscreensaver

xscreensaver -no-splash &

## Start Clipboard manager

(sleep 3s && clipit) &

## Set keyboard settings - 250 ms delay and 25 cps (characters per second) repeat rate.

## Adjust the values according to your preferances.

xset r rate 250 25 &

## Turn on/off system beep

xset b off &

## The following command runs hacks and fixes for #! LiveCD sessions.

## Safe to delete after installation.

cb-cowpowers &

## cb-welcome - post-installation script, will not run in a live session and

## only runs once. Safe to remove.

(sleep 10s && cb-welcome --firstrun) &

## cb-fortune - have Waldorf say a little adage

#(sleep 120s && cb-fortune) &

## Run the conkyesto

conky -q &

Veré cuanto me dura openbox, como me quedó

Debo decir que mi laptop se mueve como el rayo, no se calienta, y los temas oscuros me gustan, pero extraƱo trabajar en KDE, no se, creo que podrƭa acostumbrarme a este entorno, solo el timempo me dirƔ.

Las ayudas que segui para la configuración:

Openbox  https://wiki.archlinux.org/index.php/Openbox_(Español)

Tint2 http://code.google.com/p/tint2/wiki/Welcome

compton https://wiki.archlinux.org/index.php/Compton

conky https://wiki.archlinux.org/index.php/Conky_EspaƱol)

autostart http://debianfacil.wordpress.com/tag/openbox/ http://openbox.org/wiki/Help:Autostart