Slackware 12.x 启动xterm等待时间长的解决办法

在$HOME/.Xdefaults文件里添加一条:
XTerm*preeditType: Root

Slackware中安装picasa_for_linux的方法

下载 .rpm 文件,用 rpm2tgz 将其转化成 .tgz 格式,解开此文件,将整个 picasa 目录放到 $HOME/,运行 $HOME/picasa/bin/picasa

libgpod识别ipod nano

Starting with the iPod Classics and the Video Nanos, libgpod needs an additional configuration step to correctly modify the iPod content. libgpod needs to know the so-called iPod “firewire id”, otherwise the iPod won't recognize what libgpod wrote to it and will behave as if it's empty.

The last method requires more manual intervention. First, you need to get your firewire id manually. To do that, run “sudo lsusb -v | grep -i Serial” (without the ””) with your iPod plugged in, this should print a 16 character long string like 00A1234567891231. For an iPod Touch, this number will be much longer than 16 characters, the firewire ID is constituted by the first 16 characters.

Once you have that number, create/edit /mnt/ipod/iPod_Control/Device/SysInfo (if your iPod is mounted at /mnt/ipod). Add to that file the line below:

    FirewireGuid: 0xffffffffffffffff
(replace ffffffffffffffff with the string you obtained at the previous step and don't forget the trailing 0x before the string)

Save that file, and you should be all set. Be careful when using apps which lets you manually specify which iPod model you own, they may overwrite that file when you do that. So if after doing that libgpod still seems to write invalid content to the iPod, double-check the content of that SysInfo file to make sure the FirewireGuid line you added isn't gone. If that happens, readd it to the end of the file, and make sure libgpod rewrite the iPod content.

conky 在非utf-8环境中显示汉字的几个条件

  1. .conkyrc 文件使用 UTF-8 编码
  2. 设置 override_utf8_locale yes
  3. 指定使用中文字体显示,例如 xftfont WenQuanYi Zen Hei:size=8

Adobe AIR on Slackware

http://www.fresco20.com/slacky-dairy-adobe-air-on-slackware-122/

In order to get AIR apps to run on your Slackware box, you will need AIR SDK. Follow these steps:

  1. Create a directory, e.g. “~/AIR-SDK”. Extract the AIR-SDK’s .tar.bz2 file in this directory (cd ~/AIR-SDK; tar jxvf /path/to/adobeair_linux_sdk_a1_033108.tbz2) so that adl can be found at “~/AIR-SDK/bin/adl”.
  2. Create a directory, e.g. “~/app”. Use “unzip” to extract the contents of an AIR application: cd ~/app; unzip /path/to/application_package.air
  3. Use adl to launch the application:

    ~/AIR-SDK/bin/adl -nodebug ~/app/META-INF/AIR/application.xml ~/app

Older entries >>

 
wiki/note.txt · 最后更改: 2009/04/07 09:22 由 wiki
 
RSS - Template by 7throot HeadQuarters