HOME | Links | About | Read

推荐一个窗口管理器——i3

同是平铺形桌面,相比awesome,配置更简单些,上手快,类vim的操作非常舒适。i3的安装和配置可以参看官方文档,archlinux的的wiki和中文的deepin的文档

Mod + d 无法调出demnu,原来是没安装demnu,还以为是桌面自带的一个程序。迅速装上。

在配置i3status时出错了,可能出在PATH上。换了种方法,用conkyrc来输出信息。在.i3/config中的bar里添加`stauts_command conky -c ~/.conkyrc`,OK!

.conkyrc如下

## No output to X <yes/no>
out_to_x no

## Create own window to draw <yes/no>
own_window no

## Print everything to console?
out_to_console yes

## Use double buffering (reduces flicker, not needed for console output)
double_buffer no

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

## Update interval in seconds
update_interval 5.0

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

## Shortens units to a single character (kiB->k,GiB->G, etc.). Default is off.
short_units yes

if_up_strictness address

## Add spaces to keep things from moving about? This only affects certain objects.
## use_spacer should have an argument of left, right,or none
use_spacer left

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

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

## Sensors examples
# Top Process: ${top name 1}
# Root: {fs_used /}/${fs_size /} /home ${fs_free
# Load: ${loadavg 1} ${loadavg 2} ${loadavg 3}
# Load: $loadavg
# Swap: ${swap}/${swapmax} (${swapperc}%)
# Processes: ${running_processes} / ${processes}
# CPU: $cpu%
# HDD: $diskio_read :Read $diskio_write :Write
# Temp: Core0: ${exec sensors | awk '/Core 0/ {print
# Freq: ${freq cpu0}Mhz
# Uptime: $uptime
# Kernel:$kernel on $machine
# Name: $nodename - $sysname
# Battery: ${battery_percent BAT0}%

## Stuff after 'TEXT' will be formatted on screen
TEXT
${time %H:%M} ${time %y-%m-%d} | \
# Free space on /home
uptime: $uptime | \
# /home ${fs_free /home} | \
Load: ${loadavg 1} ${loadavg 2} ${loadavg 3} | \
# Ethernet status
D: ${downspeed eth0}/s | \
U: ${upspeed eth0}/s | \
#Battery
Battery ${battery_percent BAT0}% | \
# CPU stats
CPU ${cpu cpu1 cpu2 cpu3 cpu4 cpu5}% | \
RAM ${mem} | \