2019年7月13日 星期六

EZ100pu讀卡機, Ubuntu 趨動程式.

自然人憑證讀取, EZ 100pu讀卡機趨動程式.
參考網址: Ubuntu正體中文站論壇

2019年7月4日 星期四

找檔案指令

find: 要指定搜尋的路徑,否則就只有搜尋目前所在的資料夾.ie:  find /etc hosts
在目前目錄下,尋找檔名含 "foo" 字母的檔案
$ find ./ -name "*foo*"
找尋 近100天內 被修改的檔案
$ find / -mtime -100 
找尋 100天之前被修改的檔案
$  find / -mtime +100 
locate: 搜尋 updatedb指令所建的資料庫.快! 但未執行 updatedb之前的新檔,會找不到.
whereis: 只會搜尋/usr、/bin 或 /etc 等幾個特定的路徑(找執行檔、原始檔及man說明),不適於找家目錄的檔.
which: 只用來搜尋 Ubuntu/Linux 的指令程式.

2019年3月2日 星期六

Gnome Alsa Mixer調整麥克風音量

Xubuntu 麥克風錄音,skype和 Audacity都錄不到聲音,設了半天,沒成功.後來裝了 Gnome Alsa Mixer, 調了音量,就出來了.

2018年11月2日 星期五

HP 印表機安裝

Linux 的 HP LaserJet Professional m1132 驅動設定

1. USB 接上後, 新增印表機 (這邊就會自動抓到了)
2. 新增完印表機, 需要再做下述事情:
3. 開啟 "終端機 Terminal" (或 CTRL + ALT + T)
4. sudo hp-plugin -i 安裝完後就可以使用了~
註1: HP 還有很多相關的設定可以用, 以後若有其他 HP 的機器, 可以試試看 hp-setup -i, hp-scan -i, apt-get install hplip-gui ... 等等.
註2: 以上執行還是有問題的狀況,可以使用這兩隻程式看看: sudo hp-check、hp-doctor
摘錄自:https://blog.longwin.com.tw/2014/06/linux-hp-laserjet-m1132-driver-2014/

2018年8月23日 星期四

Ubuntu語系,沒中文台灣可選

1.先 update
2.把 /etc/locale.gen 檔案中的 zh_TW.UTF8, uncomment
3.sudo locale-gen
就可以找到 中文台灣  

2018年5月31日 星期四

掛載 exfat 格式硬碟

Ubuntu 預設未支援 exfat格式硬碟,但在system中,已備有趨動程式。
執行 sudo apt-get install exfat-fuse exfat-utils
即可。

2018年5月16日 星期三

2018年4月30日 星期一

fcitx 加倉頡輸入法

sudo apt-get install fcitx-table-cangjie3

2018年4月29日 星期日

apt-get autoclean, autoremove等的差別

apt-get autoremove :
删除为了满足其他软件包的依赖而安装的,系统会自动卸载这些不再需要的软件包
apt-get remove [+软件包名称]:
删除已安装的软件包(保留配置文件)。
apt-get –purge remove [+软件包名称]:
删除已安装包,同时删除配置文件。
autoclean:
删除已经卸载的软件包的.deb安装文件
apt-get clean:
删除安装了的软件包的安装包(如果你确定这些安装包不会再用)。
clean:
类似上面的命令,但它删除包缓存中的所有包。
----------
參考:https://blog.csdn.net/songyu0120/article/details/45771349

2018年1月26日 星期五

注音鍵盤

2017年6月1日 星期四

檢查硬碟壞磁區

1. sudo fdisk -l
2. sudo badblocks -v /dev/sda10 > badsectors.txt
參考: https://www.tecmint.com/check-linux-hard-disk-bad-sectors-bad-blocks/

2017年4月15日 星期六

中文字形可放位置

/usr/share/fonts/truetype/
-------------------------------------
For system wide installation, copy the fonts to /usr/share/fonts and run
sudo fc-cache to rebuild the font cache, or for user local installation,
make sure ~/.fonts exists, copy them into there, then rebuild the font cache.

2017年1月2日 星期一

Inkscape 0.91閃退問題

inkscape 0.91容易閃退問題解決 :
原來是繁體中文的語系檔的bug,難怪英文界面沒問題。
解決方法:
先下載修改過的 inkscape.zip 解壓縮後,複製「inkscape.mo

◎在Linux下,找到下面這個路徑,取代原檔。
/usr/share/locale-langpack/zh_TW/LC_MESSAGES/inkscape.mo
/usr/share/locale/zh_TW/LC_MESSAGES/inkscape.mo 
參考網址:http://jackedu.blogspot.tw/2016/03/inkscape-091.html

2016年12月23日 星期五

kdenlive ppa 新增

For Ubuntu >= 15.04 and other *buntu based distros like LinuxMint you can download latest Kdenlive from our official PPA’s:
sudo add-apt-repository ppa:kdenlive/kdenlive-stable
sudo apt-get update
sudo apt-get install kdenlive
Note: you can easily remove our PPA and revert back to official distro package using:
sudo ppa-purge ppa:kdenlive/kdenlive-stable
參考:https://kdenlive.org/download/

2016年12月15日 星期四

開機自動啟動程式

執行「工作階段與初始啟動」,選「應用程式自動啟動」-->「加入」
將要執行的指令加入。