平衡点
2009/06/09
_ MR.BIG Next Time Around
思わず購入
MR.BIG, ワーナーミュージック・ジャパン, ¥4,800
Best 版なので特にコメントは無い((ええい, 新曲はまだか(笑)))
_ conky の設定 その2
この間の続き.
Xft を有効にしていると double_buffer yes でも更新時にちらつくことがある. ので, xft を止めた.
shinonome フォントを入れておいて
# Use Xft?
use_xft no
font -*-marumoji-medium-r-*-*-12-*-*-*-*-*-*-*
# 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 yes
own_window_transparent yes
own_window_type desktop
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
# Use double buffering (reduces flicker, may not work for everyone)
double_buffer yes
# Minimum size of text area
#minimum_size 80 0
maximum_width 150 0
# Draw shades?
draw_shades yes
# Draw outlines?
draw_outline no
# Draw borders around text
draw_borders no
# Stippled borders?
stippled_borders 0
# border margins
border_margin 4
# border width
border_width 1
# Default colors and also border colors
default_color #c4c4c4
#default_shade_color black
#default_outline_color grey
own_window_colour grey
# Text alignment, other possible values are commented
#alignment top_left
alignment top_right
#alignment bottom_left
#alignment bottom_right
# Gap between borders of screen and text
# same thing as passing -x at command line
gap_x 2
gap_y 30
# 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 2
# number of net samples to average
# set to 1 to disable averaging
net_avg_samples 2
# 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 right
TEXT
SYSTEM ${hr 2}
${voffset 4}Kernel: ${alignr}${kernel}
${voffset 4}Governor:${alignc} ${execi 20 ~/bin/cpufreq.sh gov}
${voffset 4}${color #f09000}CPU1${color}: ${cpu cpu1}% ${alignr}${color #ff0000}${cpubar cpu1 8,45}${color}
${voffset 4}${alignr} ${execi 20 ~/bin/cpufreq.sh info0}/1.4GHz
${voffset 4}${color #f09000}CPU2${color}: ${cpu cpu2}% ${alignr}${color #ff0000}${cpubar cpu2 8,45}${color}
${voffset 4}${alignr} ${execi 20 ~/bin/cpufreq.sh info1}/1.4GHz
${voffset 4}${color #f09000}RAM${color}: $memperc% ${alignr}${color #0000ff}${membar 8,45}${color}
${voffset 4}${color #f09000}SWAP${color}: $swapperc% ${alignr}${color #ffff00}${swapbar 8,45}${color}
${voffset 4}${color #f09000}BAT${color}: ${battery_percent BAT0}% ${alignr}${color #00ff00}${battery_bar 8,45 BAT0}${color}
HD ${hr 2}
${voffset 4}${fs_used /}/${fs_size /}
${voffset 4}${alignr}${fs_bar 8,45 /}
${voffset 4}${color #f09000}IO Read${color}: ${alignr}${diskiograph_read /dev/sda 8,45 F57900 FCAF3E}
${voffset 4}${color #f09000}IO Write${color}: ${alignr}${diskiograph_write /dev/sda 8,45 F57900 FCAF3E}
NETWORK ${hr 2}
${voffset 4}${if_existing /proc/net/route wlan0}${color #f09000}wlan0${color}
${voffset 4} IP: ${alignr}${addr wlan0}
${voffset 4} Upload: ${alignr}${upspeed wlan0} kb/s
${voffset 4} Download: ${alignr}${downspeed wlan0} kb/s
${voffset 4} TotalUp: ${alignr}${totalup wlan0}
${voffset 4} totalDown: ${alignr}${totaldown wlan0}
${else}${if_existing /proc/net/route eth0}${color #f09000}eth0${color}
${voffset 4} Upload: ${alignr} ${upspeed eth0} kb/s
${voffset 4} Download: ${alignr} ${downspeed eth0} kb/s
${voffset 4} TotalUp: ${alignr}${totalup eth0}
${voffset 4} TotalDown: ${alignr}${totaldown eth0}
${voffset 4} IP: ${alignr}${addr eth0}
${else}${if_existing /proc/net/route ppp0}${color #f09000}ppp0${color}
${voffset 4} Upload: ${alignr} ${upspeed ppp0} kb/s
${voffset 4} Download: ${alignr} ${downspeed ppp0} kb/s
${voffset 4} TotalUp: ${alignr}${totalup ppp0}
${voffset 4} TotalDown: ${alignr}${totaldown ppp0}
${else}
${voffset 4}Network Unavailable
${endif}${endif}${endif}
で. ちなみに cpufreq.sh は以下の通り
#!/bin/sh
CPUFREQ=/usr/bin/cpufreq-info
case $1 in
info0)
$CPUFREQ -c 0 -mf | tr -d '\n'
;;
info1)
$CPUFREQ -c 1 -mf | tr -d '\n'
;;
gov)
$CPUFREQ -p | awk '{print $3}'
;;
esac
_ ghostscript の upgrade
unstable に ghostscript の 8.6.4~dfsg-6 が入ってきた訳です.
# cat /var/log/aptitude.log | grep ghostscript [更新] ghostscript 8.64~dfsg-5 -> 8.64~dfsg-6 [更新] ghostscript-x 8.64~dfsg-5 -> 8.64~dfsg-6
debian-users:52555 で山下さんが報告されている通り
- /usr/share/ghostscript/8.64/Resource/CMap が追加された
- /usr/share/ghostscript/8.64/Resource/Init/cidfmap が削除された
ので, 注意が必要です.
もう一つ困った点は gs_init.ps のバージョン指定が変なので gs 関係を使用するパッケージがのきなみ動きません.
とりあえず困るのは dvipdfmx が動かないこと.ad hoc に/usr/share/ghostscript/8.64/Resource/Init/gs_init.ps の該当行を弄ると動作した訳ですけれど.
+++ gs_init.ps.bk 2009-06-09 13:02:47.000000000 +0900 @@ -30,7 +30,7 @@ % Interpreter library version number % NOTE: the interpreter code requires that the first non-comment token % in this file be an integer, and that it match the compiled-in version! -864 +865 % Check the interpreter revision. dup revision ne
とりあえず修正待ち.
[ツッコミを入れる]