2014年3月5日水曜日

tar.gz ファイルの中身一覧

tar -tvf [filename]

txz,tar.xzなども

deb ファイルの中身一覧

dpkg -c [filename]

2014年3月3日月曜日

無線LAN - CentOS

/etc/wpa_supplicant/wpa_supplicant.conf
wpa_passphraseから作成、編集


/etc/sysconfig/wpa_supplicant
INTERFACES="-iwlanX"
DRIVERS="-DXXXX"

 /etc/sysconfig/network-scripts/ifcfg-wlanX
 DEVICE=wlanX
ONBOOT="yes"
IPADDR=XXX.XXX.XXX.XXX
NETMASK=XXX.XXX.XXX.XXX
GATEWAY=XXX.XXX.XXX.XXX
DNS1=XXX.XXX.XXX.XXX

chkconfig NetworkManager off
chkconfig network on
chkconfig wpa_supplicant on

2014年3月1日土曜日

2014年2月9日日曜日

shntool - ubuntu

shnsplit CDImage.wav -f CDImage.cue

cueシートがエラーの場合
nkf CDImage.cue > new_CDImage.cue

2014年1月9日木曜日

bluetooth - xubuntu 13.10

sudo apt-get install pulseaudio-module-bluetooth

pactl load-module module-bluetooth-discover

http://askubuntu.com/questions/366032/pulseaudio-not-detecting-bluetooth-headset-automatically

2013年10月22日火曜日

セッション保存をしない - xubuntu 13.10

$HOME/.cache/session 内のファイルを削除
ディレクトリのパーミッションを変更

rm $HOME/.cache/session/*
chmod 444 $HOME/.cache/session