平衡点


2009/06/09

_ 電球交換

玄関入った所の電球が切れた.

入居してから 2 度目なんだけれど, 手が届かない所なんだ.

...以前どうやって交換したのだろう.

あれ?

_ MR.BIG Next Time Around

思わず購入

ネクスト・タイム・アラウンド-ベスト・オブ・MR.BIG(デラックス・エディション)
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 2009-06-09 13:03:26.000000000 +0900
+++ 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

とりあえず修正待ち.


連絡先など
最近の日記
  • 2024/10/09
    • 1. Mastodon でのメール通知, というか Exim4 と Apparmor
  • 2024/06/19
    • 1. WSL2 での gpg-agent, ssh-agent
  • 2024/06/18
    • 1. WSL で Windows 側のフォントを利用する
  • 2024/06/17
    • 1. WSLとWindowsの時刻同期
  • 2024/06/12
    • 1. wsl2 で systemd
    • 2. wslg の設定
一覧
2006|03|04|05|06|07|08|09|10|11|12|
2007|01|02|03|04|05|06|07|08|09|10|11|12|
2008|01|02|03|04|05|06|07|08|09|10|11|12|
2009|01|02|03|04|05|06|07|08|09|10|11|12|
2010|01|02|03|04|05|06|07|08|09|10|11|12|
2011|01|02|03|04|05|06|07|08|09|10|11|12|
2012|02|03|04|08|09|10|11|12|
2013|01|02|03|04|05|06|08|09|10|11|12|
2014|01|02|04|05|06|07|08|09|10|11|12|
2015|01|02|03|04|05|06|07|09|10|
2016|02|03|
2017|01|02|03|05|06|07|09|11|12|
2018|03|06|07|10|11|12|
2019|01|02|03|04|05|07|10|12|
2020|01|02|03|04|05|08|09|10|11|12|
2021|01|02|03|05|06|07|08|09|11|12|
2022|01|02|03|04|05|06|08|10|11|12|
2023|02|03|04|06|08|09|11|12|
2024|01|02|03|04|05|06|10|
Back to Top ▲