U盘安装Debian KDE 输入法 Manjaro Linux WPS 字体

Manjaro:

首先下载Manjaro Linux,然后用USBWriter(https://pan.baidu.com/s/1bZGb5k)写入,重启选择USB启动。

更改软件仓库(Debian称源):

编辑 /etc/pacman.d/mirrorlist 将中国的源放在前面,清华tuna支持IPV6,点击右下角Octopi同步数据库。pacman下载软件包时将按照源的顺序查找。仓库中包含了core、extra、community、multilib、testing,他们的必要性与安全性递减,core中存放了启动arch所必须的、联网、自检等系统级包,extra存放了如网页浏览器、窗口管理器等非必须性包,谨慎使用testing包!

打开Octopi安装软件,Octopi支持搜索。右键点击要安装的软件包后,选择菜单栏的 ‘处理’ >> '提交' 即可完成安装。


  Debian:

(Windows10安装Debian9.4,双系统)

制作U盘启动盘(我在官方下载的amd64-xfce)

fdisk -l(或df -h)查看U盘的设备编号,这里以/dev/sdb为例

dd if=/path/to/debian.iso of=/dev/sdb 等U盘指示灯不闪后拔下即可

为debian分出空闲磁盘,(划出了20GB)

一般要关闭bois安全启动(security boot),开机按F12,选择启动介质。


软件源

编辑/etc/apt/source.list:

mousepad /etc/apt/source.lsit

# 
deb http://mirrors.ustc.edu.cn/debian stable main contrib non-free
# deb-src http://mirrors.ustc.edu.cn/debian stable main contrib non-free
deb http://mirrors.ustc.edu.cn/debian stable-updates main contrib non-free
# deb-src http://mirrors.ustc.edu.cn/debian stable-updates main contrib non-free

# deb http://mirrors.ustc.edu.cn/debian stable-proposed-updates main contrib non-free
# deb-src http://mirrors.ustc.edu.cn/debian stable-proposed-updates main contrib non-free

apt update


 中文字体、输入法

apt install xfonts-wqy ttf-arphic-uming

apt install fcitx fcitx-table-wbpy fcitx-googlepinyin

微软字体库,包含Times_New_Roman、Arial,不包含雅黒、宋体、黑体等:

sudo apt-get install ttf-mscorefonts-installer


 系统区域、字符集

dpkg-reconfigure locales

按 空格 键选择,勾选的前面是*

如果不设置,terminal中的中文是问号乱码

安装完KDE后,system settings > region,语言(language)和格式(formate)都选择中文即可,可能需要注销后生效。


 KDE  (xfce简约但丑啊,不人性化)

安装过程中选择SDDM,没选择lightdm:

apt install aptitude tasksel

aptitude install ~t^desktop$ ~t^kde-desktop$ 

重启选择Plasma session,进入KDE。


 wps-office

sudo apt install qt4-qtconfig

在Qt Conifiguration GUI中选择GTK+,wps与Breeze风格不兼容:

System Stettings > Application Style > Widget Style > Applications > Widget Style: GTK+ Style > Apply > Reboot

wps是32位的应用,为64位系统添加32位支持:

dpkg --add-architecture i386,apt-get update

安装依赖:apt install libpng12-0

下载wps4linux:wget http://kdl1.cache.wps.com/ksodl/download/linux/a21//wps-office_10.1.0.5707~a21_amd64.deb -O wps-office.deb

dpkg -i wps-office.deb

下载字体:wget http://kdl.cc.ksosoft.com/wps-community/download/fonts/wps-office-fonts_1.0_all.deb -O fonts.deb

dpkg -i fonts.deb

还缺字体,进入系统设置管理字体,单击添加后,进入windows/Fonts目录,选择symbol, msyh, MT Extra, Wingdings*,基本够用了。


 卸载wps-office4linux:

sudo apt remove --purge wps-*,sudo rm -fr /opt/kingsoft

 


无线网卡驱动可能没装好,搜索不到无线网络。失败的尝试(乱投医):

安装 firmware-*,安装了一堆无用的东西

去Realtek下载驱动原文件安装驱动

安装plasma-nm


最终修改了BIOS的启动顺序,把Windows boot manager放在了第一,debian放在了第二,开机直接进入Windows,想用Debian就进BIOS修改启动顺序。

 

posted @ 2017-10-20 20:05  Bug之吻  阅读(850)  评论(0编辑  收藏  举报