歡迎來到Linux教程網
Linux教程網
Linux教程網
Linux教程網
Linux教程網 >> Linux綜合 >> Linux資訊 >> 更多Linux >> 個性化啟動之語音篇--讓你的 Linux 開口和你說話

個性化啟動之語音篇--讓你的 Linux 開口和你說話

日期:2017/2/27 14:30:04   编辑:更多Linux
  我們的口號 -- 打造個性化的 Gentoo! ---------------------------------------------------------- 想不想在每次進入系統時都能聽到你的 Linux 熱烈歡迎你回來 ? O.K. It is so easy! come with me ! 1. 安裝 speechd 和 festival : 源碼: emerge speechd 只要 emerge speechd 會同時把 festival 一起裝上。 2. emerge 完畢後鍵入: 源碼: ebuild /var/db/pkg/media-sound/speechd-0.56/speechd-0.56.ebuild config 這會在 /dev 中建立 speech 設備。 3. OK! 現在讓我們來測試一下: (as root 同時把你的音箱打開音量調到最大 ) 源碼: speechd & echo "Hello my Linux" > /dev/speech 聽到了什麼?呵呵... 4. 最後的設置:如果要其他用戶也能使用 speech,需要修改 /etc/group 將該用戶名加入 speech 組。要想讓你開機進入系統後你的電腦對你說出什麼的話,只要利用 local.start 就可以了,比如加入下面兩行: 源碼: speech & echo "Hello my Master, your gentoo box is up and running now, please log in" > /dev/speech 有了 speech 是不是更期待系統啟動的那一刻了?




Copyright © Linux教程網 All Rights Reserved