Manjaro linux 簡單配置
1. Mirror Source
1.1 配置官方源
sudo pacman-mirrors -i -c China -m rank
//排列並選擇源
1.2 配置AUR源
- 修改
/etc/pacman.conf
-> 末尾添加
[archlinuxcn]
# SigLevel = Optional TrustedOnly
SigLevel = Never
Server = https://mirrors.tuna.tsinghua.edu.cn/archlinuxcn/$arch
[arch4edu]
SigLevel = Never
Server = https://mirrors.tuna.tsinghua.edu.cn/arch4edu/$arch
sudo pacman-mirrors -g
//更新並選擇最快的源列表sudo pacman -Syy
//更新數據源pacman -S archlinux-keying
//更新archlinux簽名
1.3 配置AUR源、使用yaourt
sudo pacman -S yaourt
//yaourt aur前端工具/用於軟件安裝修改/etc/yaourtrc
//去除#AURURL
注釋
AURURL=“https://aur.tuna.tsinghua.edu.cn”
sudo pacman -Syyu
//更新系統
1.3 Yay
sudo pacman -S yay
//yay aur前端工具yay -S vim
安裝VIM文本編輯器、vi
用不習慣- 使用yay 更改pacman配置
/etc/pacman.conf
打開Color
- 搜索:yay -Ss
- 安裝: yay -S
- 搜索:yay -Ss
2. SoftWare
軟件安裝方式: yay -S software
軟件搜索方式: yay -Ss software
常用軟件 | ||
---|---|---|
wps-office | typora | visual-studio-code-bin |
netease-cloud-music | chromium | deadbeef |
thunderbird | vlc | |
fcitx-im | fcitx-configtool | fcitx-libpinyin |
fcitx-cloudpinyin |
圖形 | ||
---|---|---|
krita | pinta | gimp |
cheese | peek錄屏 | SimpleScreenRecorder錄屏 |
hotshots截圖 |
解碼器 | |||
---|---|---|---|
flashplugin | pepper-flash | FFmpeg | gstreamer |
字體 | ||
---|---|---|
wqy-microhei | wqy-zenhei | ttf-wps-fonts |
adobe-source-code-pro-fonts | adobe-source-sans-pro-fonts | adobe-source-serif-pro-fonts |
adobe-source-han-sans-cn-fonts | adobe-source-han-serif-cn-fonts |
圖標與主題 | ||
---|---|---|
numix-circle-icon-theme | papirus-icon-theme | la-capitaine-icon-theme |
arc-kde | arc-gtk-theme | |
sddm-theme-kde-plasma-chili |
工具 | ||
---|---|---|
calibre | i-nex | teamviewer |
redshift護眼軟件 | redshift-qt | pandoc |
mycli | bash-completion | |
rar rar -x file |
rdesktop | nutstore 堅果雲 |
htop進程管理 | bleachbit 磁盤清理 | gpick取色工具 |
neofetch 查配置 | uget |
KDE軟件 | ||
---|---|---|
ktouch | kgeography | umbrello |
kblocks | kollision | imagewriter |
KDE部件 | ||
Redshift-Control | 控制屏幕色溫 | |
顏色拾取器 | 取色 | |
Netspeed Widget | 顯示網速 | |
Resource Monitor | 顯示CPU和內存使用情況 |
備選軟件 | ||
---|---|---|
foxitreader | electronic-wechat | dingtalk |
p7zip | wiznote | leanote |
deepin-wine-tim | deepin-qq-im | deepin-screenshot |
deepin-screenshot | deepin-screen-recorder | deepin-voice-recorder |
deepin-image-viewer | deepin-music | deepin-calendar |
deepin-calculator | fcitx-sougoupinyin | deepin-wechat |
deepin-wine-thunderspeed |
新軟件 | test |
---|---|
scribus | 出版物設計軟件(設計雜志、海報、演示稿件等等) |
mockingbot | 墨刀 原型設計工具 |
pencil | 設計稿制作(web頁面、桌面程序界面、移動應用界面……) |
dia | 示意圖制作(豐富的類型:流程圖、UML、氣象、地理、工程……) |
vym/xmind | 思維圖 |
pycharm-community-edition |
3. Proglem
3.1 WPS 無法輸入中文
1. sudo vim /usr/bin/wps
# 添加在第二行
export XMODIFIERS="@im=fcitx"
export QT_IM_MODULE="fcitx"
2. sudo vim /usr/bin/et
# 添加在第二行
export XMODIFIERS="@im=fcitx"
export QT_IM_MODULE="fcitx"
3.2 Fcitx無法輸出中文
1. sudo vim /etc/environment
2. GTK_IM_MODULE=fcitx
QT_IM_MODULE=fcitx
XMODIFIERS=fcitx
3.3 Rdesktop
-
連接windwos遠程桌面
-
基本參數
-f 全屏模式 _Ctrl+Alt+Enter_退出全屏
-g 顯示的分辨率
-g workarea 自適應
sound:on/off
-
使用方法
rdesktop -f 192.168.1.1
rdesktop -f -u administrator -p xxxx 192.168.1.1 -g 1400*900
3.4 VirtualBox
- sudo pacman -S virtualbox
- uname -r eg: 4.14.25-1-MANJARO 內核版本為414
- 擴展包
sudo pacman -S virtualbox-ext-oracle
- 添加用戶到vboxusers組
sudo usermod -a -G vboxusers $YourUsername
- 重啟或執行
sudo modrobe vboxdrv
????
3.5 Oh-my-zsh
- 查看本地有哪幾種shell
cat /etc/shells
- 切換到zsh
chsh -s /bin/zsh
- 安裝 oh-my-zsh的配置文件
via wget
sh -c "$(wget https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh -O -)"
**或者**
via curl
sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
- 更改konsole配置 關閉打開終端
3.6 You-get
yay -S you-get
-
sudo pip3 install you-get --user
-
pip3 install --upgrade you-get
-
you-get -i 'https://www.xxx'
查看視頻相關信息you-get -o ~/video -O name 'https://www.xxx'
指定下載地址和名稱you-get -p vlc&chromium 'https://www.xxx'
通過播放器/瀏覽器播放 -
you-get 'https://www.xxx'
下載視頻
3.7 中文漢化
sudo pacman -S --noconfirm firefox-i18n-zh-cn thunderbird-i18n-zh-cn gimp-help-zh_cn libreoffice-still-zh-CN man-pages-zh_cn
Firefox漢化
- 輸入 about:config
- 搜索 intl.locale.requested
- 值 zh_CN
4. KDE
4.1 個性化
應用程序 ➡ 位置 ➡ 更換個人文件位置 ➡ 改英文名 //方便使用
desktop / document / download / movie / music / picture
4.2 外觀
-
字體 ➡ 思源黑體
常規 ➡13 小字 ➡11 工具欄和菜單 ➡13 窗口標題 ➡14等寬字 Source Code Pro Medium ➡13
-
圖標主題 ➡
epapirus
numix circle
-
標題欄樣式:
Breezemite
BreezemiteForman
-
應用程序風格 ➡ Gnome風格 ➡ 更換圖標與字體 思源黑體 13
4.3 HotKey
- 系統設置 ➡ 快捷鍵 ➡ 自定義快捷鍵 ➡ 編輯
- 新建 ➡ 全局快捷鍵 ➡ 命令/url ➡ 編輯名字 ➡ 右邊窗口 ➡ 觸發器 ➡ 設置快捷鍵 ➡ 動作 軟件名稱
- 自定義快捷鍵 Eg: dolphin
Meta+e
...
- 添加KWin快捷鍵
Meta Shift PgUp
窗口鋪至左上方Meta Shift PgDown
窗口鋪至右上方Meta Shift Left
窗口鋪至左下方Meta Shift Rigth
窗口鋪至右下方Meta F1
更改窗口大小Meta F2
移動窗口
4.4 KDE 全局菜單1
-
右鍵桌面 - 添加部件 - 全局菜單
-
安裝一堆包
yay -S appmenu-gtk-module gmenu-dbusmenu-proxy-git libdbusmenu-glib libdbusmenu-gtk2 libdbusmenu-gtk
-
適配 Firefox 和 LibreOffice
.xprofile
中加入下面這一行:
export SAL_USE_VCLPLUGIN=gtk