SUSE
WirelessLAN
- 11.1 にて
- ネットワークマネージャでは繋がらなかったのでコマンドライン
- route コマンドで defaut route も決める
- ルータがアレなのか WPA だと断続的に切断されるので WEP
sudo /usr/sbin/iwconfig eth1 essid ESSID key s:WEPKEY sudo /sbin/dhclient eth1 sudo sudo /sbin/route add default gw IPADDRESS
GNU screen で backspace が効かない
- 正確には Xfce 付属のターミナルエミュレータでは効かない。
- mlterm なら効いた→解決
- 同じ症状っぽい人もいたので .screenrc 編集したけど効果なしであった(Xfce 付属のターミナルエミュレータの場合)。
bindkey -d -k kb stuff "\010"
Python setuptools
- python-setuptools というパッケージ
- そのままじゃん
- そして easy_install のインストール先が /usr/locla/lib 以下で困る
> sudo easy_install genshi
パスワード:
/usr/lib/python2.6/site-packages/setuptools/package_index.py:7: DeprecationWarning: the md5 module is deprecated; use hashlib instead
from md5 import md5
error: can't create or remove files in install directory
The following error occurred while trying to add or remove files in the
installation directory:
[Errno 2] No such file or directory: '/usr/local/lib/python2.6/site-packages/test-easy-install-10384.pth'
The installation directory you specified (via --install-dir, --prefix, or
the distutils default setting) was:
/usr/local/lib/python2.6/site-packages/
This directory does not currently exist. Please create it and try again, or
choose a different installation directory (using the -d or --install-dir
option).- 素直に --install-dir を指定した
> sudo easy_install --install-dir=/usr/lib/python2.6/site-packages/ genshi /usr/lib/python2.6/site-packages/setuptools/package_index.py:7: DeprecationWarning: the md5 module is deprecated; use hashlib instead from md5 import md5 Searching for genshi Reading http://pypi.python.org/simple/genshi/ Reading http://genshi.edgewall.org/ Reading http://genshi.edgewall.org/wiki/Download Best match: Genshi 0.5.1 Downloading http://ftp.edgewall.com/pub/genshi/Genshi-0.5.1.zip Processing Genshi-0.5.1.zip Running Genshi-0.5.1/setup.py -q bdist_egg --dist-dir /tmp/easy_install-HeZHrR/Genshi-0.5.1/egg-dist-tmp-HRevpb warning: no previously-included files found matching 'doc/2000ft.graffle' warning: no previously-included files matching '*' found under directory 'doc/logo.lineform' unable to execute gcc: No such file or directory ********************************************************************** WARNING: An optional C extension could not be compiled, speedups will not be available. ********************************************************************** error: Setup script exited with error: can't copy 'Genshi.egg-info/native_libs.txt': doesn't exist or not a regular file
- 開発系のパッケージ入れてなかった
> sudo easy_install --install-dir=/usr/lib/python2.6/site-packages/ genshi パスワード: /usr/lib/python2.6/site-packages/setuptools/package_index.py:7: DeprecationWarning: the md5 module is deprecated; use hashlib instead from md5 import md5 Searching for genshi Reading http://pypi.python.org/simple/genshi/ Reading http://genshi.edgewall.org/ Reading http://genshi.edgewall.org/wiki/Download Best match: Genshi 0.5.1 Downloading http://ftp.edgewall.com/pub/genshi/Genshi-0.5.1.zip Processing Genshi-0.5.1.zip Running Genshi-0.5.1/setup.py -q bdist_egg --dist-dir /tmp/easy_install-PiLx39/Genshi-0.5.1/egg-dist-tmp-fiUFv7 warning: no previously-included files found matching 'doc/2000ft.graffle' warning: no previously-included files matching '*' found under directory 'doc/logo.lineform' Adding Genshi 0.5.1 to easy-install.pth file Installed /usr/lib/python2.6/site-packages/Genshi-0.5.1-py2.6-linux-i686.egg Processing dependencies for genshi Finished processing dependencies for genshi
- 完了
フォントアンチエイリアス
デフォルトでアンチエイリアスオフなのでオンにする。
/etc/fonts/fonts.conf
<match target="font">
<edit name="embeddedbitmap">
<bool>false</bool>
</edit>
<edit name="antialias">
<bool>true</bool>
</edit>
</match>