After installing manjaro gnome

After installing manjaro gnome

Article directory

  • After installing manjaro gnome
    • Zero, final effect
    • 1. Starting configuration
      • 1. Turn off night light mode, turn off suspend and other configurations
      • 2. Configure command line shortcut keys
      • 3. Set screenshot shortcut keys
      • 4. Set win + e to open the home directory
      • 5. Set the shortcut key to hide all windows
    • 2. Basic installation
      • 1. Switch to domestic software source
      • 2. Install vim
      • 3. Add archlinuxcn installation yay
      • 4. Install Pinyin input method
      • 5. Set the calendar to start a week on Sunday
    • 3. Software installation
      • 1. Install edge browser
      • 2. Install wps
      • 3. Development tool installation
      • 4. Install chat tools
      • 5. Other software installation
    • 4. Preparation work
      • 1. Enter the extension and close the plug-in
      • 2.Install the plug-in
    • 5. Install the theme
      • 1. Theme WhiteSur-gtk-theme
      • 2. Theme: Qogir-theme
      • 3. Theme: Fluent
      • 4. Theme: grub2-themes
    • 6. markdown online drawing bed
      • 1. Install typora-free pigco
      • 2. Create github public warehouse images
      • 3. Configure PicGo
    • 7. Install VirtualBox
    • 8. DDNS
    • 9. Add swap area

Zero, final effect

1. Starting configuration

1. Turn off night light mode, turn off suspend and other configurations

Settings->Display/Power

2. Configure command line shortcut keys

Settings -> Keyboard -> Shortcut keys -> Custom shortcut keys
image.png

3. Set screenshot shortcut keys

Settings -> Keyboard -> Shortcut keys -> Screenshot
image.png

4. Set win + e to open the home directory

Settings -> Keyboard -> Shortcuts -> Launcher
image.png

5. Set the shortcut key to hide all windows

Settings -> Keyboard -> Shortcuts -> Navigation
image.png

  1. Switch to English and then to Chinese
    Settings -> Language
    Switch from Chinese to English: Update the main directory file name in English, do not check the Do not ask option
    Then switch from English to Chinese: Choose to keep the old directory name and check the Do not ask option

  2. Terminal configuration
    Terminal -> Settings -> Shortcut keys
    Copy: ctrl + c, paste ctrl + v. After configuration, the interrupt shortcut key automatically becomes ctrl + shift + c.

2. Basic installation

1. Switch to domestic software source

sudo pacman-mirrors -i -c China -m rank

Select the source of USTC: mirrors.ustc.edu.cn

sudo pacman-Syyu

2. Install vim

sudo pacman -S vim
sudo pacman -Rns vi
sudo ln -s /usr/bin/vim /usr/bin/vi

vi ~/.zshrc
---------------
alias ll='ls -lh'
alias la='ls -lha'
---------------

Disable mouse access to visual insertion functionality

sudo vim /usr/share/vim/vim90/defaults.vim

/mouse
Comment out the following
if has('mouse')
...
endif

3. Add archlinuxcn to install yay

sudo vim /etc/pacman.conf
----------
[archlinuxcn]
Server = https://mirrors.ustc.edu.cn/archlinuxcn/$arch
----------
sudo pacman-Syyu
sudo pacman -S archlinuxcn-keyring
sudo pacman -S yay

#Install the compilation tool chain
sudo pacman -S base-devel binutils net-tools

4. Install Pinyin input method

Yun Pinyin

sudo pacman -S fcitx5 \
fcitx5-configtool \
fcitx5-qt \
fcitx5-gtk \
fcitx5-chinese-addons \
fcitx5-material-color \
kcm-fcitx5 \
fcitx5-lua

sudo vim /etc/environment
------------------
GTK_IM_MODULE DEFAULT=fcitx
QT_IM_MODULE DEFAULT=fcitx
XMODIFIERS DEFAULT=@im=fcitx
INPUT_METHOD DEFAULT=fcitx
SDL_IM_MODULE DEFAULT=fcitx
------------------

sudo vim /etc/profile
-------------------
#Append later
export GTK_IM_MODULE=fcitx
export QT_IM_MODULE=fcitx
export XIM=fcitx
export XIM_PROGRAM=fcitx
export XMODIFIERS="@im=fcitx"
export SDL_IM_MODULE DEFAULT=fcitx

-------------------

#Restart to take effect
reboot

#Set input method
fcitx5-configtool

5. Set calendar week to start on Sunday

locale
---------------
LANG=zh_CN.UTF-8
---------------
sudo vi /usr/share/i18n/locales/zh_CN
---------------
# first_weekday 2 changed to 1
first_weekday 1
---------------
sudo locale-gen
#Restart or logout takes effect
reboot

3. Software installation

1. Install edge browser

Log in to your account to synchronize bookmarks

yay -S microsoft-edge-stable-bin

2. Install wps

yay -S wps-office
yay -S libtiff5 ttf-wps-fonts ttf-ms-fonts wps-office-fonts wps-office-mime wps-office-mui-zh-cn



#Solution to thick font problem:
sudo pacman -U https://arch-archive.tuna.tsinghua.edu.cn/2023/06-26/extra/os/x86_64/freetype2-2.13.0-1-x86_64.pkg.tar.zst
vi /etc/pacman.conf
----------------
[options]
IgnorePkg = freetype2
----------------


#rollback
sudo pacman -S downgrade
sudo downgrade freetype2
#Then run sudo pacman -Syu and the system update will no longer be prompted.

3. Development tool installation

#Search version
yay -Ss vscode
#Download this version
yay -S visual-studio-code-bin
# After installing vscode, the win + e shortcut key was tampered with to open vscode. Modify it back with the following command
#org.gnome.Nautilus.desktop Refer to the desktop file under /usr/share/applications
# Check the default file manager xdg-mime query default inode/directory
xdg-mime default org.gnome.Nautilus.desktop inode/directory

#idea
yay -Ss idea
yay -S intellij-idea-community-edition

#jdk11-dragonwell-standard-bin
yay-Ss dragonwell
yay -S jdk11-dragonwell-standard-bin
yay -S jdk17-dragonwell-standard-bin

#View installed jdk version
archlinux-java status
#Switch default jdk
archlinux-java set java-11-dragonwell-standard
#jdk installation directory
/usr/lib/jvm/<version name>

#Install maven
 yay -S maven
 mvn -v
---------------
Apache Maven 3.8.7 (b89d5959fcde851dcb1c8946a785a163f14e1e29)
Maven home: /opt/maven
Java version: 17.0.8, vendor: Alibaba, runtime: /usr/lib/jvm/java-17-dragonwell-standard
Default locale: zh_CN, platform encoding: UTF-8
OS name: "linux", version: "6.1.49-1-manjaro", arch: "amd64", family: "unix"
---------------

GRADLE_HOME: /usr/share/java/gradle
# Install gradle
yay -S gradle
gradle -v
-------------
-------------------------------------------------- ----------
Gradle 8.3
-------------------------------------------------- ----------

Build time: 2023-08-17 09:37:48 UTC
Revision: <unknown>

Kotlin: 1.9.0
Groovy: 3.0.17
Ant: Apache Ant(TM) version 1.10.13 compiled on January 4 2023
JVM: 17.0.8 (Alibaba 17.0.8 + 7)
OS: Linux 6.1.49-1-MANJARO amd64


-------------

# Install nodejs
yay -S nodejs
node -v
----------
v20.5.1
----------
yay -S npm
npm -v
----------
9.8.1
----------


#nginx
yay -S nginx

#Install dbeaver database connection tool
yay -S aur/dbeaver-git
yay -S dbeaver-plugin-office dbeaver-plugin-svg-format

4. Install chat tools

#nail
yay -S aur/dingtalk-bin
#QQ
yay -S aur/linuxqq-appimage
#微信linux The best version (20230908) but the enterprise WeChat information cannot be displayed
yay -S aur/electronic-wechat-uos-bin
# Enterprise WeChat currently has no solution. Wine is too difficult to use.

5. Other software installation

# clash
yay -S clash clash-verge

# USB boot disk production
yay -S balena-etcher

# File synchronization artifact
download: https://freefilesync.org/download.php
./FreeFileSync_13.0_Install.run

#markdown
yay -S typora-free
yay -S noto-fonts-emoji pandoc texlive-core


#UPNP/DLNA music player
yay -S upplay

4. Preparation

1. Enter the extension to close the plug-in

Close plug-ins that affect the theme. If you do not close the plug-in and restart it, the theme will return to its original state.
legacy-gtk3-theme-scheme-auto-switcher

image.png

2. Install plug-in

#blur-my-shell
yay -S gnome-shell-extension-blur-my-shell-git
#burn-my-windows
yay -S gnome-shell-extension-burn-my-windows-git

#----The following are recommended plug-ins (optional)---------------
#topbarpaste version
yay -S gnome-shell-extension-clipboard-indicator-git
# Top bar terminal (modify the copy and paste shortcut keys after installation, and set the focus to be hidden)
yay -S gnome-shell-extension-ddterm-git
#todotxt Record work to be done
yay -S gnome-shell-extension-todotxt-git
#Transparent window when moving
yay -S gnome-shell-extension-transparent-window-moving-git
# Animation effects
yay -S gnome-shell-extension-compiz-alike-magic-lamp-effect-git

5. Install the theme

1. Theme WhiteSur-gtk-theme

  1. git clone theme
mkdir ~/.themes
cd ~/.themes
git clone https://github.com/vinceliuice/WhiteSur-gtk-theme
cd WhiteSur-gtk-theme
#apple icon
./install.sh -o solid -c Dark -t orange -a normal -i standard -N mojave -HD -s 180 -m -P smaller
#manjaro icon
./install.sh -o solid -c Dark -t orange -a normal -i standard -N mojave -HD -s 180 -m -P smaller
# Firefox browser
./tweaks.sh -o normal -c Dark -t orange -i manjaro -f -F -d

#install icon
mkdir ~/.icons
#downloadmouse
https://github.com/ful1e5/apple_cursor/releases/tag/v2.0.0
# Download icon
https://www.pling.com/s/Gnome/p/1305429
Extract the file to ~/.icons
  1. Open tweak
    Configure theme
    image.png

  2. Install terminal
    The default terminal does not support background transparency

# Install terminal
yay -S gnome-terminal-fedora
# Configure terminal transparency

#Install terminal information printing

yay -S screenfetch
  1. final effect

Screenshot 2023-09- 10 19-57-00.png

2. Theme: Qogir-theme

cd ~/.themes
git clone https://github.com/vinceliuice/Qogir-theme.git
cd Qogir-theme
./install.sh -i manjaro -t manjaro --tweaks image -c dark -l
#Open tweak and select theme

image.png

3. Theme: Fluent

cd ~/.themes
git clone https://github.com/vinceliuice/Fluent-gtk-theme
cd Fluent-gtk-theme
./install.sh -t orange -c dark -s compact -i manjaro -l --tweaks float
#Open tweak and select theme

image.png

4. Theme: grub2-themes

splash page theme

cd ~/.themes
git clone https://github.com/vinceliuice/grub2-themes.git
cd grub2-themes
./install.sh -t tela -s 4k -b
# Restart to see the effect

6. markdown online drawing bed

1. Install typora-free pigco

yay -S typora-free picgo-git
#pigo-git running file location:/opt/appimages/picgo.AppImage

The image configuration is as follows

image-20230911111359383

2. Create github public warehouse images

Open Settings -> Developer settings -> Personal access tokens, and finally click generate new token;

Screenshot 2023-09-11 11-01-16

3. Configure PicGo

Screenshot 2023-09-11 11-01-42

Use jsdelivr to speed up

https://www.jsdelivr.com/?docs=gh

7. Install VirtualBox

# Install linux-headers
#View kernel version
uname -r
sudo pacman -S linux-headers
# Select the corresponding kernel version to install

yay -S virtualbox-bin
yay -S virtualbox-bin-guest-iso virtualbox-ext-oracle virtualbox-bin-sdk

#Check whether the driver module has been installed
dkms status

#Start module
sudo modprobe vboxdrv

# Open virtualbox to create a virtual machine and install windows > install enhanced components > install WeChat and Enterprise WeChat
# Download windows11 image: https://www.microsoft.com/zh-cn/software-download/windows11

8. DDNS

#Close pip3 prompt
sudo mv /usr/lib/python3.x/EXTERNALLY-MANAGED /usr/lib/python3.x/EXTERNALLY-MANAGED.bk
#Install Alibaba Cloud Library
pip3 install aliyun-python-sdk-core-v3
#git clone python code
git clone https://github.com/mgsky1/DDNS.git

cdDDNS
vi src/config.json
{<!-- -->
    "AccessKeyId": "Your_AccessKeyId",//Your Alibaba Cloud AccessKeyId
    "AccessKeySecret": "Your_AccessKeySecret",//Your Alibaba Cloud AccessKeySecret
    "First-level-domain": "Your_First-level-domain",//First-level domain name, such as example.com
    "Second-level-domain": "Your_Second-level-domain"//Second-level domain name, such as ddns.example.com, just fill in ddns
}
cd src
python3DDNS.py-6
/usr/bin/python3 /app/application/ddns/DDNS/src/DDNS.py -6

9. Add swap area

#Create swap directory
sudo mkdir /swap
# Current view of memory size
free -m
#Generate partition file 32G
sudo dd if=/dev/zero of=/swap/swapfile bs=1M count=32768
#format
sudo mkswap /swap/swapfile
#Enable partition file
sudo swapon /swap/swapfile
# Current view of memory size
free -m
----------------------------------
               total used free shared buff/cache available
Memory: 31Gi 4.3Gi 353Mi 1.3Gi 28Gi 26Gi
Exchange: 31Gi 0B 31Gi
----------------------------------
#Configuration completed
#Close partition file command
swapoff /swap/swapfile