Kanru’s 探險日誌

當發現美好的事物時,所要做的第一件事,就是把它分享給所有人

Archive for the ‘Linux’ Category

Emacs 使用 Xft

with 5 comments

Emacs 22 有新的 gtk 介面以及更進步的 unicode 支援,而使用 xft 來顯示字體的部份程式則進了 emacs-unicode-2 這個 branch,據說這會是 Emacs 23 的候選之一。

從 CVS 編譯好 emacs 23 之後,照著一些網路上的教學,的確讓英文的部份變成了 Xft 顯示的漂亮字型,但是中文部份仍然是使用醜醜的 bitmap (X font, 因為我沒有安裝中文字型所需要的相關檔案),網路上也甚少提及如何設定中文的 Xft 字型,大部份都還是用 X font。

其實很簡單,只要:

  1. 設定與設使用 Xft backend,把以下加入 ~/.Xresources 中

    Emacs.FontBackend: xft
    
  2. 在 ~/.emacs 中指定使用的中文字型

    (set-default-font "Bitstream Vera Sans Mono-14")
    (set-fontset-font (frame-parameter nil 'font)
      'han '("cwTeXHeiBold" . "unicode-bmp"))
    
  3. 啟動 emacs

    emacs-snapshot --enable-font-backend
    

“–enable-font-backend” 一定要加,因為預設沒有開啟除了 X font 以外其他任何 backend。

Screenshot: emacs-unicode-2-xft

Update: 先前設定字型的部份,英文的設定會蓋掉中文的部份,現在已經修正。

Written by Kanru Chen

December 4th, 2006 at 1:05 am

Posted in Linux, 小工具, 爬網探險

Tagged with

Xorg and Logitech V450 Cordless Mouse

with 3 comments

這隻無線老鼠算起來有 7 個鍵(左、右、滾輪、滾輪左、滾輪右、滾輪上、滾輪下),但是 xorg.conf 怎麼設都只有原本的 1~5 個鍵,滾輪左右都沒辦法驅動。

後來試了新的 evdev driver,終於所有的鍵都偵測到了。

xorg.conf:

Section "InputDevice"
    Identifier  "USB Mouse"
    Driver      "evdev"
    Option      "CorePointer"
    Option      "Device"        "/dev/input/event2"
    Option      "Protocol"      "Auto"
EndSection

Xorg.0.log:

(**) USB Mouse-usb-0000:00:1d.0-2/input0: Core Pointer
(II) USB Mouse-usb-0000:00:1d.0-2/input0: Found 4 relative axes.
(II) USB Mouse-usb-0000:00:1d.0-2/input0: Configuring as pointer.
(**) USB Mouse-usb-0000:00:1d.0-2/input0: HWHEELRelativeAxisButtons: 6 7.
(**) USB Mouse-usb-0000:00:1d.0-2/input0: WHEELRelativeAxisButtons: 4 5.

但是這個問題其實沒有想像中簡單,因為根據 evdev(4)

       Option "Device" "string"
              Specifies the device  note  through  which  the  device  can  be
              accessed.   At  this time ONLY /dev/input/event<N>, where <N> is
              an integer, are matched against this this field.
              This option uses globbing.
              Please note that use of this option is strongly discouraged.

因為 /dev/input/event<N> 會隨 usb 的插入順序而改變,所以並不是一個很好的介面來設定滑鼠。而使用 udev 萊特製 device name 也行不通,因為 evdev 不認得。所以要改用 evdev(4) 推薦使用的用 <map>Bits 的方法來設定,通常使用以下的設定就可以抓到滑鼠:

Section "InputDevice"
    Identifier "mouse"
    Driver "evdev"
    Option "evBits"  "+1-2"
    Option "keyBits" "~272-287"
    Option "relBits" "~0-2 ~6 ~8"
    Option "Pass"    "3"
         ...
EndSection

可是不知道為什麼只要一使用到 <map>Bits 來設定,每次啟動 X 的時候都會 block 在某個地方,只能用 ssh 進去把 X 砍掉。而使用 “Name” 的方法來設定也不行,因為這隻 V450 很奇怪,在 /proc/bus/input/devices 裡面會顯示兩個 “Logitech USB Receiver” 的節點,其中一個被顯示為 kbd 設備…。

I: Bus=0003 Vendor=046d Product=c518 Version=4203
N: Name="Logitech USB Receiver"
P: Phys=usb-0000:00:1d.0-2/input0
S: Sysfs=/class/input/input2
H: Handlers=mouse1 event2 
B: EV=7
B: KEY=ffff0000 0 0 0 0 0 0 0 0
B: REL=143

I: Bus=0003 Vendor=046d Product=c518 Version=4203
N: Name="Logitech USB Receiver"
P: Phys=usb-0000:00:1d.0-2/input1
S: Sysfs=/class/input/input3
H: Handlers=kbd event3 
B: EV=f
B: KEY=c0002 400 0 0 1 f80 78000 6639fa d84157ad 8e0000 0 0 0
B: REL=40
B: ABS=1 0

最後我還是暫時用 /dev/input/event2 來設定。

待補: References, xinput

Written by Kanru Chen

September 23rd, 2006 at 11:03 pm

Posted in Linux

org.freedesktop.Notifications

with 2 comments

這東西可有趣了,freedesktop 定義了這個 dbus 介面,只要有支援的程式都可以透過它來顯示 notifywindow,比如說,我可以簡單的幫 xchat 加上有人跟我說話時自動提醒的 plugin

org.freedesktop.Notifications

下載這隻 plugin 後只需要把它放在 $HOME/.xchat2/ 底下,這樣每次開啟 xchat 時就會自動讀取了。它目前還很簡單,如果要設定圖示或是顯示樣式或秒數等等,自己看 code 改應該很快 :P

其中 class Notification 是從這裡抄來的。

Written by Kanru Chen

September 1st, 2006 at 4:13 am

Posted in Linux, Programming, 小工具, 爬網探險

Tagged with

Goodbye, ifrename

with one comment

從 udev 0.090-1 開始,預設會在 /etc/udev/rules.d 產生 z45_persistent-net-generator.rules 這個檔案,裡面是關於 net interfaces 的命名。

以前總是因為 eth1, eth2 每次開機都不一樣而需要用 ifrename, nameif 等工具來固定住它們。現在自動在 z45_persistent-net-generator.rules 產生一行

# PCI device 8086:4220 (ipw2200)
ACTION=="add", SUBSYSTEM=="net", SYSFS{address}=="00:0e:35:49:99:57", NAME="eth2"

就解決了,在也不需要 ifrename 或是 nameif。

引用 README.Debian

Network Interfaces<br/> ~~~~~~~~~~~~~~~~~~<br/> After receiving events about network interfaces, net.agent will call ifupdown using the –allow=hotplug option. This makes the program act only on interfaces marked with the “allow-hotplug” statement. E.g: “allow-hotplug eth0″ instead of the usual “auto eth0″. The loopback interface must always be configured with “auto lo”.

The persistent names of network interfaces by default are automatically written to /etc/udev/rules.d/z25_persistent-net.rules . Users can add their own rules there or at any other place before z45. Generation of rules for persistent names can be disabled by removing the z45_persistent-net-generator.rules symlink.

Beware: programs which rename network interfaces like ifrename and nameif will let udev relay events for the old names and should not be used.

Written by Kanru Chen

August 24th, 2006 at 5:20 pm

Posted in Linux

Tagged with

Fancy Conversation Layout of Gaim

with 3 comments

從以前就覺得 gaim 的 conversaiton 的視窗做的像 irc 的樣子很奇怪,因為有時候對方會發送多行訊息,這時候在 gaim 的視窗中就會斷的很奇怪,或是有人同時發送多個訊息時,視窗一大部分都被 nick 佔滿了。

所以才會出現底下這個 hack,把 gaim 的文字多做了一層縮排,單獨顯示,每個人每次的發言會串連在一起,而不是每次顯示一行。

Fancy MSN layout of gaim.

BTW, gaim 的 faq 提到不要使用 SVN 版,不過我改了 code,所以應該可以用吧?wahaha

Update:

補上 patch 的連結 ;-)

這個 patch 只能用在 svn trunk 的 gaim 喔,不會用的,最好先看一下上面那個 faq XD

Written by Kanru Chen

August 20th, 2006 at 2:19 am

Posted in Linux, Programming

Tagged with

Debian Weekly News #31 — August 1st, 2006

leave comments »

歡迎閱讀本年度第三十一期的 DWN,每週 Debian 社群周報Debian 社群快訊。 Christoph Berg 宣佈有九個新的 QA 成員正在處理影響 etch 釋出的顯著問題。Gintautas Miliauskas 報告他正在進行一個基於 WordForge 計畫,給 Debian 用的完整 l10n 基礎建設。

【使用合適的「急切程度」】 Adeodato Simó 提醒開發人員,欲上載的更新套件若為安全性修正,應該將急切程度設為 high。而 medium 程度則是用在修正影響發行的問題,包含解決那種在某些平台上無法正確編譯的情況。這些套件在 unstable 中等待進入 testing 的時間會比較短,因此在處理時也該特別用點心思。

【套件的所有權】 Martin Krafft 提出這樣的議題:Debian 的套件維護者是不是能接受和他人合作維護套件?Adeodato Simó 認為,在接受非該套件維護人員提供的修補(non-maintainer diff)前,若能讓它待在臭蟲追蹤系統中一些時日,對品質確保(QA)會有一定的幫助,因為這讓其他人能有機會幫忙檢視該修補的正確性。

【在 Debian GNU/Linux 3.1 上安裝 Xen】 Aike de Jongste 的一篇文章說明如何在一個 stable Debian 系統上安裝 backported 版的 Xen。所需的步驟包括了使用 APT pinning 安裝一些套件,製作一個特別的 RAM disk,在 grub 的開機選單中加上新的項目,以及建立 Xen 虛擬機器。

【讓衍生產品可以得到 Debian 名號的加持】 Anthony Towns 提議建立官方對衍生 distributions 的授權方式,讓這些衍生產品可以享受 Debian 信譽帶來的好處。當然,想要享有這些好處,這些衍生產品必須願意傾聽來自使用者的意見,並且和自由軟體社群保持良好合作關係。相對的,Debian 應該提供一個 logo,在網頁上加上該衍生產品的連結,協助發佈消息,以及建立未來合作和諮詢的準則。

【管理 Secure APT 的鑰匙】 Joey Schulze 好奇金鑰管理功能是否能在 etch 釋出前即時加入 APT中。Martin Krafft 反對僅僅只有自動更新金鑰,因為這實在太脆弱而易遭到攻擊。他較喜歡有第三方來替金鑰簽章。Florian Weimer 指出現在已知可行的辦法是給 stable releases 和 stable 安全更新使用不會改變的金鑰。

【在 Etch 中支援 Exim 3?】 Marc Haber 列出Exim version 3 從 etch 中移除所需的步驟,因為現在不但 Exim 官方不再對此版本提供支援,就連套件維護者都已停止使用該套件。我們必須提供 sarge 的更新套件,而且,當使用者從 sarge 更新至 etch 時需要手動修改設定。

【產生程式的說明文件】 Marcio Roberto Teixeira 問道,Debian 套件中的文件檔應該要在編譯套件前就預先處理好,以節省編譯的時間,還是應該在編譯時一起處理。Goswin von Brederlow 表示,文件應該在該套件編譯時一併處理。如果這樣會嚴重影響該套件編譯的時間,那表示要把文件的部份獨立出來,另外包成一個各平台通用的套件,如此就不會在編譯每個平台的套件時一直重覆地處理那些文件。

【安裝 setuid 的程式】 Yui-wah Lee 當一個程式需要 setuid 或是 setgid 時,它的套件該如何製作。Matthew Palmer 表示,此時套件維護人員除了要把檔案的權限設好,還可能要調整 dh_fixperms,以免權限又被改回預設的樣子。使用這些套件的系統管理者則可以用 dpkg-statoverride 來修改檔案的權限。

【套件描述文字的翻譯情況】 Michael Vogt 大家幫忙測試 experimental 中的 APT。這個版本支援本地化的套件描述,這些翻譯過的描述其實在許多 sid 的 mirror 中都已經可以找到,在 Debian 套件描述翻譯計畫 (Debian description translation project)的網站上也可以取得。供大家參與翻譯的系統尚未完備,例如目前並未支援之前提供的校閱功能,但這些不足的部份都已有要著手進行開發的計畫

【安全更新】您知道該怎麼做。如果您安裝了下列任何套件, 請務必更新系統。

  • DSA 1125: drupal — Execution of arbitrary web script code.
  • DSA 1126: asterisk — Denial of service.
  • DSA 1127: ethereal — Several vulnerabilities.
  • DSA 1128: heartbeat — Denial of service.
  • DSA 1129: osiris — Arbitrary code execution.
  • DSA 1130: sitebar — Cross-site scripting.

【新的或值得注意的軟體套件】 下列套件是最近被加到 unstable Debian 檔案庫或是有重大更新。

  • bcfg2 — Configuration management client.
  • beaglefs — Implements a filesystem representing a live Beagle query.
  • biloba — Turn based strategy board game for up to 4 players.
  • byzanz — Small screencast creator.
  • console-setup-mini — Experimental micro version of console-setup package.
  • cryptmount — Management and user-mode mounting of encrypted file systems.
  • gshare — Easy user-level file sharing for GNOME.
  • jpnevulator — Serial sniffer.
  • multisync-tools — PIM Synchronisation Command Line Tools.
  • necpp — NEC2 Evolution Antenna Modelling System.
  • open-iscsi — High performance, transport independent implementation of RFC3720.
  • openser — Very fast and configurable SIP proxy.
  • p3nfs — Mount the file systems on the Psion/Symbian PDA/Phone.
  • pdfcrack — PDF files password cracker.
  • phpgedview — Web-based genealogy viewer and editor.
  • qrfcview — Viewer for IETF RFCs.
  • rant — Flexible, Ruby based make.
  • serpentine — Application for creating audio CDs.
  • splashy — Complete user-space boot splash system.
  • tshark — Network traffic analyser (console).
  • vbindiff — Visual binary diff, visually compare binary files.
  • wireshark — Network traffic analyser.
  • wise — Comparison of biopolymers, commonly DNA and protein sequence.

【孤兒套件】本週又有 7 個套件變成孤兒啦! 他們需要新的維護者照顧。這造成目前總共有 343 個孤兒套件。非常感謝 那些前維護者對於自由軟體社群的貢獻。請閱覽 WNPP 網頁查詢完整的列表。如果你有興趣接手任一個套件的話,請 手加上一個臭蟲報告並把標題改成 ITA。devscripts 套件中的 wnpp-alert 程式可以幫您找出有哪些孤兒套件裝在您系統上。

【被移除的套件】 過去一週內,有 18 個套件被移出 Debian 檔案庫了:

  • openldap2.2 — OpenLDAP utilities
    Bug#340349: Request of QA, superseded by openldap2.3; RC-buggy (non-free content)
  • ultrapossum — Multi-functional LDAP Solution
    Bug#378885: Request of QA, dead upstream, unmaintained, depends on removed openldap2.2
  • installwatch — Track installation of local software
    Bug#347469: Request of QA, merged into checkinstall
  • webmin-ldap-netgroups — LDAP webmin module for editing netgroups
    Bug#347773: Request of maintainer, depends on removed webmin
  • kimberlite — High Availability Clustering Package
    Bug#348195: Request of QA, orphaned, unused, dead upstream
  • mozilla-firefox-locale-it — Mozilla Firefox Italian Language/Region Package
    Bug#348357: Request of maintainer, superseded by mozilla-firefox-locale-all
  • mgapdesk — X configuration tool for Matrox video card
    Bug#364344: Request of QA, orphaned, RC-buggy
  • libzlib-ruby — Extension library to use zlib from Ruby 1.6
    Bug#367903: Request of maintainer, ruby 1.6 removal
  • libiconv-ruby — Wrapper class of iconv for the Ruby 1.6.x
    Bug#367907: Request of maintainer, ruby 1.6 removal
  • libstrscan-ruby — Fast string scanning library for Ruby
    Bug#369417: Request of maintainer, ruby 1.6 removal
  • xerces26 — validating XML parser library for C++ (development files)
    Bug#375929: Request of maintainer, superseded by xerces27
  • gtk-smooth-engine — Smooth Engine for GTK+ 1.2
    Bug#378663: Request of maintainer, superseded by gtk2-engines
  • fisg — Fast IRC Statistics Generator
    Bug#378910: Request of maintainer, dead upstream
  • parted-swig — Perl5 bindings for libparted
    Bug#379293: Request of maintainer, upstream gone; out of date; RC buggy
  • python-orbit — Python bindings for ORBit
    Bug#379436: Request of maintainer, obsolete
  • tkpgp — Tcl/Tk script that serves as a GUI shell for PGP or GnuPG
    Bug#379509: Request of maintainer, upstream gone
  • mindi-kernel — Failsafe Linux kernel for Mindi/Mondo
    Bug#379570: Request of maintainer, replaced by using stock Debian kernels; 2.4 only
  • libflorist-3.15p-1 — POSIX.5 Ada interface to operating system services
    Bug#379795: Request of maintainer, superseded by libflorist, RC-buggy

【想繼續閱讀 DWN 嗎?】 請幫助我們製作這份新聞。 我們需要更多的自願作家盯著 Debian 社群,為我們報導社群中的動態。請見 投稿網頁瞭解 如何幫助我們。我們的信箱 dwn@debian.org 期待著您的來信!

Written by Kanru Chen

August 2nd, 2006 at 10:58 pm

Posted in Linux

Tagged with ,

Cowdancer - 用 cowbuilder 加快你的 pbuilder

leave comments »

Cowdancer 是一個利用 copy-on-write 技術,在 ‘cp -la’ 建出來的目錄中進行開發的好用軟體。cowbuilder 則是給 pdebuild 用的 pbuilder wrapper,透過 cowdancer 的幫忙,可以大大減少每次解開 base.tgz 所需的時間,加快利用 pdebuild 測試編譯套件的速度。

首先安裝 cowdancer

apt-get install cowdancer

然後建立 chroot 環境

cowbuilder --create

設定 pdebuild, 編輯 /etc/pbuilderrc 或是 ~/.pbuilderrc 加入

PDEBUILD_PBUILDER=cowbuilder

這樣以後使用 pdebuild 時就會自動呼叫 cowbuilder 了 :)

實際使用,大約可以將解壓縮時間由三分鐘減至五十秒!

 _______________
< Let's dancing >
 ---------------
        \   ^__^
         \  (oo)\_______
            (__)\       )\/\
                ||----w |
                ||     ||

Written by Kanru Chen

July 27th, 2006 at 1:16 pm

Posted in Linux, 小工具, 爬網探險

Tagged with

lftp 好招!

with one comment

我用 UTF-8,要存取 Big5 的站台都是亂碼怎麼辦?

進入 lftp 後用 set ftp:charset Big5 就可以設定編碼,讚。

Written by Kanru Chen

July 26th, 2006 at 10:23 pm

Debian Weekly News #30 — July 25th, 2006

leave comments »

久違的 DWN 中文版又來了!之前因為 Debian 伺服器遭到入侵導致到現在都還沒有辦法存取 CVS 所以無法更新到網頁上,但還是會繼續在 Blog 張貼最新 DWN!

歡迎閱讀本年度第三十期的 DWN,每週 Debian 社群快訊。 Christoph Berg 寫了一個工作的綜覽頁面 packages overview。他也宣佈倉儲已經搬到 Subversion,提交通知現在是直接由套件追蹤系統管理。

【DzongkhaLinux 啟動】 Debian 計畫宣佈釋出 DzongkhaLinux,一個基於 Debian GNU/Linux 3.1 的發行版,已經被本地化為不丹國語。這個系統由一片可以用來安裝亦可以當作 LiveCD 的光碟組成。不丹的資訊工業部門選擇 Debian 是因為它的功能齊全、可靠度和保證永遠是 100% 的自由軟體。

【統一 SSL 證書】 Jaldhar Vyas 想知道是否應該讓所有使用到 SSL 認證的套件統一使用 ssl-cert 套件中的 snake oil 證書。Petter Reinholdtsen 解釋Debian-Edu 已經自動設定好一些使用 SSL 認證的服務,這樣的改變會讓這個工作更簡單。

【處理 Stable 中的文件問題】 Osamu Aoki 要求臭蟲追蹤系統增加 faq 標籤。很多時候關於 stable 的臭蟲回報是屬於常被問的問題,解答卻是被藏在不明顯的位置。關閉這樣的報告或是將其標示為 wontfix 聽起來不甚合理。

【管理計畫的資產】 Manoj Srivastava 提出針對 Debian 組織章程的修正案並尋求協助。這將使章程符合現在的需求以及管理各種財產的需要,允許加入或除去現在授權可以掌握 Debian 資產的合夥組織。

【套件追蹤系統升級】 Raphaël Hertzog 報告現在套件追蹤系統可以用來轉送衍生發行版的資訊。這使得對套件有興趣的人可以收到個別的小補釘,而不是合在一起的一大坨補釘。此外他也在徵求對新功能的幫助。

【釋出現況更新】 Marc Brockschmidt 對於 etch釋出現況所作的評論。他澄清釋出目標的意思並且要求開發者們努力降低影響到釋出進度的重大問題數量。臭蟲碾碎派對將在世界各地舉行。即將釋出的版本將使用 4.0 版號,並且可能會包含 Python 2.4、Linux 2.6.17 或更新、X.org 和大部分 sarge 支援的平台加上 AMD64

【結束 /usr/doc 過渡期】 Amaya Rodrigo Sastre 要求一個半自動的方法再一次測試套件庫以確定沒有任何套件安裝符號連結至 /usr/doc。Stefan Hühner 建議使用現有的 lintian 檢查。Joey Hess 證實這正是當初他用來回報臭蟲的方法,Luk Claes 補充說 piuparts 也對這樣的檢查很有幫助。

【Debian Installer 釋出 Beta 3】 Frans Pop 宣佈debian-installer 的第三個 beta 版已經釋出,Linux 2.6.16 已經包含在在 etch。他解釋安裝程式要求更多記憶體是因為加上了加密支援,這會在 beta 之後繼續改進,另外一個原因就是支援更多的語言。

【標示加強過的 CD/DVD】 Radu-Cristian Fotescu 想知道如何標示以凸顯出加強過的 sarge CD 不是官方原始的版本。MJ Ray 指出官方的標記只能用在官方的 CD 上,而改變過的 CD 應該標示為非官方

【安全更新】您知道該怎麼做。如果您安裝了下列任何套件, 請務必更新系統。

  • DSA 1112: mysql-dfsg-4.1 — Denial of service.
  • DSA 1113: zope2.7 — Information disclosure.
  • DSA 1114: hashcash — Arbitrary code execution.
  • DSA 1115: gnupg2 — Denial of service.
  • DSA 1116: gimp — Arbitrary code execution.
  • DSA 1117: libgd2 — Denial of service.
  • DSA 1118: Mozilla — Several vulnerabilities.
  • DSA 1119: hiki — Denial of service.
  • DSA 1120: Mozilla Firefox — Several vulnerabilities.
  • DSA 1121: postgrey — Denial of service.
  • DSA 1122: libnet-server-perl — Denial of service.

【新的或值得注意的軟體套件】 下列套件是最近被加到 unstable Debian 檔案庫或是有重大更新。

  • awffull — Web server log analysis program.
  • cdpr — Cisco Discovery Protocol Reporter.
  • courieruserinfo — Retrieve courier user account information.
  • dates — Calendar optimised for embedded devices.
  • dwm — Dynamic window manager.
  • fslint — Toolkit to fix various problems with filesystems’ data.
  • ggzd — GGZ Gaming Zone: main server.
  • gnome-user-guide — GNOME user’s guide.
  • jpegoptim — Utility to optimise JPEG files.
  • jwchat — Full featured, web-based Jabber chat client.
  • jython — Python seamlessly integrated with Java.
  • klamav — Graphical front-end for ClamAV.
  • live-package — Debian Live framework.
  • min12xxw — Printer driver for KonicaMinolta PagePro 1[234]xxW.
  • pcf2bdf — Convert X11 font from PCF to BDF format.
  • pootle — Web-based translation and translation management tool.
  • pypar2 — Graphical frontend for the par2 utility.
  • qemu-launcher — GTK+ front-end to QEMU computer emulator.
  • ri-li — Toy simulator game.
  • scim-thai — Thai Input Method Engine for SCIM.
  • sudoku — Console based sudoku.
  • trigger — Free 3D rally racing car game.
  • unicode-data — Property data for the Unicode character set.
  • yeahconsole — Drop-down X terminal emulator wrapper.
  • zimpl — Mathematical modelling language for optimisation problems.

【孤兒套件】本週又有 42 個套件變成孤兒啦! 他們需要新的維護者照顧。這造成目前總共有 357 個孤兒套件。非常感謝 那些前維護者對於自由軟體社群的貢獻。請閱覽 WNPP 網頁查詢完整的列表。如果你有興趣接手任一個套件的話,請 手加上一個臭蟲報告並把標題改成 ITA。devscripts 套件中的 wnpp-alert 程式可以幫您找出有哪些孤兒套件裝在您系統上。

【被移除的套件】 過去一週內,有 10 個套件被移出 Debian 檔案庫了:

  • kernel-latest-powerpc — Linux kernel headers on PowerPC
    Bug#353717: Request of maintainer, outdated, unmaintained
  • kernel-image-2.4.27-alpha — Headers for building modules for Linux 2.4.27
    Bug#367518: Request of maintainer, outdated, not used anymore, ftbfs
  • sfio — Enhanced library for managing I/O streams (development)
    Bug#279812: Request of QA: rc-buggy, unmaintained, almost no users
  • doxymacs — E-lisp package for making doxygen usage easier under Emacs
    Bug#321821: Request of QA: rc-buggy, unmaintained, no users
  • tcltk8.0-ja — Japanese localised version of Tcl 8.0
    Bug#360500: Request of QA, uninstallable, obsolete version of Tcl/Tk
  • gnome-ruby — Ruby binding of libart
    Bug#367680: Request of maintainer: obsolete
  • xmule — eMule client for the edonkey2000 network
    Bug#370524: Request of maintainer, rc-buggy, unmaintained at the moment
  • barrendero — delete messages on the spool dir depending on their age
    Bug#378485: Request of maintainer, old, unused, buggy
  • ipsc — IP Subnet Calculator for X
    Bug#378772: Request of QA, rc-buggy (uninstallable), obsolete, dead upstream, maintainer MIA
  • ipfwadm — Linux 2.0.x firewalling tools
    Bug#378548: Request of QA: unmaintained, very outdated, doesn’t work anymore on more recent kernels

【想繼續閱讀 DWN 嗎?】 請幫助我們製作這份新聞。 我們需要更多的自願作家盯著 Debian 社群,為我們報導社群中的動態。請見 投稿網頁瞭解 如何幫助我們。我們的信箱 dwn@debian.org 期待著您的來信!

Written by Kanru Chen

July 26th, 2006 at 2:25 pm

Posted in Linux

Tagged with ,

檢查 /etc/X11/Xsession.d

with one comment

最近發現 ps 裡面可以看到很多重複執行的程式,像是 ssh-agent ~/.xsession 等等,很奇怪。看了一下 /etc/X11/Xsession.d 才發現裡面有以前跟很久以前的套件遺留下來的設定檔… 因為 debian 的 X 經過幾次的改名,所以這些檔案雖然都做一樣的工作卻用不同的名字,所以不會互相覆蓋,刪除舊套件時不知道為什麼沒有一併移除這些重複的檔案,結果就變成現在奇怪的樣子。

把 x-common purge 掉之後,再手動砍掉 xfree86-common 的檔案,現在啟動 X 正常多了。

Written by Kanru Chen

July 19th, 2006 at 10:52 am

Posted in Linux

Tagged with