ArchLinux安裝Gnome桌面

給Arch安裝Gnome桌面美化及經常使用軟件配置

一.建立普通用戶

1.安裝zsh

我的比較喜歡的一個shell,大家能夠和我不一樣python

# pacman -S zsh

2.建立用戶

kain是我建立用戶的名字linux

# useradd -m -G wheel -s /bin/zsh kain

3.爲新用戶設置密碼

# passwd kain

4.賦予新用戶sudo權限

將/etc/sudoers中# %wheel ALL=(ALL) ALL前面的#去掉git

# vim /etc/sudoers

二.安裝桌面

1.安裝基本桌面

# pacman -S xorg
# pacman -S gnome

2.開啓登陸管理器

這裏使用gdmgithub

# systemctl enable gdm

三.安裝第三方應用

1.火狐瀏覽器

# pacman -S firefox

2.安裝Tilix

這是一個第三方終端,推薦裝上shell

自帶終端太難看了,二來可能自帶的終端沒法使用vim

# pacman -S tilix

四.配置中文環境

在/etc/locale.gen中取消掉zh_CN.UTF-8前面的註釋api

而後瀏覽器

# locale-gen
# vim ~.xprofile

寫入
export LANG=zh_CN.UTF-8
export LANG=zh_CN:en_US
export LC_CTYPE=en_US.UTF-8
# vim /etc/locale.conf
加入
LANG=zh_CN.UTF-8

下載中文字體app

# pacman -S wqy-zenhei

五.重啓

# reboot

注意再次進入時選擇GNOME on Xorgcurl

六.更改pacman.conf

1.編輯pacman.conf文件

1.在 /etc/pacman.conf 文件末尾添加:

[archlinuxcn]
Server = https://mirrors.ustc.edu.cn/archlinuxcn/$arch

2.打開32位倉庫

將下面的文字註釋去掉

[multilib]
Include = /etc/pacman.d/mirrorlist

3.刷新

# sudo pacman -Syy

4.安裝密鑰包

# sudo pacman -S archlinuxcn-keyring

七.安裝中文輸入法

1.安裝命令

# pacman -S fcitx-im
# pacman -S fcitx-sogoupinyin
# pacman -S fcitx-configtool

以後打開fcitx-configtool選擇搜狗輸入法便可

2.編輯xprofile文件

# vim ~/.xprofile

寫入
export XIM=fcitx
export XIM_PROGRAM=fcitx
export GTK_IM_MODULE=fcitx
export QT_IM_MODULE=fcitx
export XMODIFIERS=@im=fcitx"

3.重啓

# reboot

八.安裝網易雲音樂

# sudo pacman -S netease-cloud-music

九.美化zsh

1.安裝git

# sudo pacman -S git

2.安裝ohmyzsh

# sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"

3.編輯ohmyzsh

# vim .zshrc
修改ZSH_THEME爲你喜歡的
在plugins裏面添加上sudo

4.生效.zshrc

# source .zshrc

5.右鍵打開tilix

# sudo pacman -S python-nautilus

十.AUR

# pacman -S yay yaourt

十一.gnome主題美化

1.安裝gnome-tweaks

# pacman -S gnome-tweaks

2.安裝主題和圖標

先打開User themes App menu

# yay flat-remix
# yay vimix
# pacman -S papirus-icon-theme

3.安裝docky

# pacman -S docky
# pacman -S gconf-editor

取消docky圖標

取消gconf-editor --> apps --> docky-2 --> Docky --> items --> Dockyitem --> show

4.兩個美化網站

extensions.gnome.org
gnome-look.org
相關文章
相關標籤/搜索