以下是本人在使用 Arch linux 過程中遇到的一些問題及解決思路,當前一段時間會不斷更新,也會不適當去除某些不再復現(xiàn)的問題。
一、 掛載硬盤掛載報錯
因斷電等原因,再次啟動電腦時,硬盤分區(qū)偶爾會出現(xiàn)掛載失敗的情況,并提示如下所示錯誤信息:
Failed to mount '/dev/sda1': Input/output error
NTFS is either inconsistent, or there is a hardware fault, or it's a SoftRAID/FakeRAID hardware. In the first case run chkdsk /f on Windows then reboot into Windows twice. The usage of the /f parameter is very
important! If the device is a SoftRAID/FakeRAID then first activate it and mount a different device under the /dev/mapper/ directory, (e.g.
/dev/mapper/nvidia_eahaabcc1). Please see the 'dmraid' documentation
for more details.
這是因為硬盤分區(qū)的 $MFT 文件出現(xiàn)了問題, 可以使用 ntfsfix 命令進行修復,再次掛載就會成功了。
$ sudo ntfsfix /dev/sda1
二、wps-office 常見問題處理
1.字體加粗過于夸張(網(wǎng)友稱之為字體爆炸)。
解決辦法是將 freetype2 軟件包降級
$ sudo pacman -S downgrade #首先安裝降級軟件工具
$sudo downgrade freetype2 #降級 freetype2 軟件,選擇上一個版本 2.13.0-1
2. 無法打開 pdf 文件
wpspdf 依賴于 libtiff5.so.5 以支撐其 PDF 功能。而系統(tǒng)更新后,Arch Linux 提供的是 libtiff.so.6 或更新版本,導致其無法正常工作。有兩種解決辦法:
1) 安裝 libtiff5
$ paru libtiff5
2) 創(chuàng)建硬鏈接,讓 WPS 將 libtiff.so.6 當作 libtiff.so.5 使用
$ sudo ln /usr/lib/libtiff.so.6 /usr/lib/libtiff.so.5
三、deepin-wine-wechat 安裝時無法下載 https://github.com/ 站點中的資源
因為 github 網(wǎng)站在國內(nèi)訪問速度慢,因此使用 paru 安裝時,往往無法下載 mmmojo.dll 、mmmojo_64.dll、和 WeChatSetup-3.9.0.28.exe 這三個文件,可以通過其他途徑下載這 3 個文件,并用本地打包方式安裝
3個文件的百度網(wǎng)盤分享地址:https://pan.baidu.com/s/1-p_3b-fUy2nKKDhpxUXGpw?pwd=love文章來源:http://www.zghlxwxcb.cn/news/detail-682027.html
$ git clone https://aur.archlinux.org/deepin-wine-wechat.git #克隆打包源碼
$ cd deepin-wine-wechat-arch #切換到打包源碼目錄
$ cp 3個下載文件所在目錄/* ./ #將3個文件復制到當前目錄
$ makepkg -si #打包安裝
四、linuxqq 閃退
可能是配置沖突原因,騰訊官方 linuxqq 的某些版本經(jīng)常會出現(xiàn)閃退情況,個人目前用的解決辦法是刪除數(shù)據(jù)文件目錄,然后重啟(不過最近的 3.2.0-16449 版本又不閃退了)文章來源地址http://www.zghlxwxcb.cn/news/detail-682027.html
$ rm -r ~/.config/QQ/
到了這里,關(guān)于Arch Linux 使用問題集錦的文章就介紹完了。如果您還想了解更多內(nèi)容,請在右上角搜索TOY模板網(wǎng)以前的文章或繼續(xù)瀏覽下面的相關(guān)文章,希望大家以后多多支持TOY模板網(wǎng)!