Volete un window manager tiling? Provate i3
Inviato: ven 22 giu 2012, 22:58
Salve, ho sempre avuto attrazione per i window manager essenziali ma tutte le volte sono incappato in problemi di configurazione, gestione delle finestre ecc ecc. Ho preferito sempre Xfce, però l'altro giorno per curiosità ho installato i3 e sono rimasto a bocca aperta. http://i3wm.org/ a parte il fatto che è l' unico sito riguardante un wm che non sembra degli anni '90, la documentazione è tantissima. Su due monitor ha fatto tutto lui impostando i workspace 1 primo monitor, 2 secondo monitor, poi all' avvio ti fà alcune domande per la configurazione base ad esempio la scelta del tasto Mod (io ho scelto il mai uttilizzato tasto Win). Con due file di configurazione hai subito il desktop pronto, stabile e veloce.
Questi sono i miei config:
i3status (temp cpu, carico, data e ora)
Cambiate i core ovviamente e il modulo per sensors
e su config aggiungete questo comando per il resize della finestra lasciata float
Questi sono i miei config:
i3status (temp cpu, carico, data e ora)
Codice: Seleziona tutto
general {
colors = true
interval = 2
}
order += "disk /home"
order += "cpu_usage"
order += "cpu_temperature 1"
order += "cpu_temperature 2"
order += "cpu_temperature 3"
order += "time"
time {
format = "%a:%d-%b-%Y %I:%M:%S %p"
}
cpu_usage {
format = "Cpu: %usage"
}
cpu_temperature 1 {
format = "T1: %degrees °C"
path = "/sys/devices/platform/w83627ehf.656/temp1_input"
}
cpu_temperature 2 {
format = "T2: %degrees °C"
path = "/sys/devices/platform/w83627ehf.656/temp2_input"
}
cpu_temperature 3 {
format = "T3: %degrees °C"
path = "/sys/devices/platform/w83627ehf.656/temp3_input"
}
disk "/home" {
format = "/home: %free"
}
e su config aggiungete questo comando per il resize della finestra lasciata float
Codice: Seleziona tutto
mode "resize" {
# These bindings trigger as soon as you enter the resize mode
# Pressing left will shrink the window’s width.
# Pressing right will grow the window’s width.
# Pressing up will shrink the window’s height.
# Pressing down will grow the window’s height.
bindsym j resize shrink width 10 px or 10 ppt
bindsym k resize grow height 10 px or 10 ppt
bindsym l resize shrink height 10 px or 10 ppt
bindsym semicolon resize grow width 10 px or 10 ppt
# same bindings, but for the arrow keys
bindsym 113 resize shrink width 10 px or 10 ppt
bindsym 116 resize grow height 10 px or 10 ppt
bindsym 111 resize shrink height 10 px or 10 ppt
bindsym 114 resize grow width 10 px or 10 ppt
bindsym Left resize shrink left 10 px or 10 ppt
bindsym Shift+Left resize grow left 10 px or 10 ppt
bindsym Down resize shrink down 10 px or 10 ppt
bindsym Shift+Down resize grow down 10 px or 10 ppt
bindsym Up resize shrink up 10 px or 10 ppt
bindsym Shift+Up resize grow up 10 px or 10 ppt
bindsym Right resize shrink right 10 px or 10 ppt
bindsym Shift+Right resize grow right 10 px or 10 ppt
# back to normal: Enter or Escape
bindsym Return mode "default"
bindsym Escape mode "default"
}
bindsym $mod+r mode "resize"
# Start i3bar to display a workspace bar (plus the system information i3status
# finds out, if available)
bar {
status_command i3status
}