SUSE

WirelessLAN

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 が効かない

bindkey -d -k kb stuff "\010"

Python setuptools

> 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).

> 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>


CategorySuse CategoryLinux

Linux/SUSE (last edited 2009-04-21 04:37:17 by ssk)