Neekko33

Neekko33

Learning .NET now
playstation

Manjaro Installation Memo

Creating a Bootable Disk#

First, download the latest system image from the official website. There are multiple versions to choose from. If you are not very familiar with Linux, it is recommended to download the KDE version.

Windows System#

If you are using a Windows system, you can download Rufus to create a bootable disk.

Linux System#

If you are using a Linux system, use the dd command to create the disk. The specific command is as follows:

  # View disk information
  sudo fdisk -l
  # Assuming the disk corresponding to the USB drive is /dev/sdc

  # Unmount the USB drive first
  # Add * because: there may be multiple partitions on the USB drive, such as sdc1, sdc2
  sudo umount /dev/sdc*

  # Format the USB drive to FAT format
  # Common Linux ISO files are not larger than 4G, so FAT format can be selected.
  # -I: If there are multiple partitions on the USB drive, this parameter is needed to forcibly erase them. Without this parameter, it will fail;
  sudo mkfs.vfat /dev/sdc -I

  # Write the image directly
  # The -I parameter was used in the previous step, and there are no partitions on the USB drive, so there is no number after of=/dev/sdc
  # status=progress can display the progress
  sudo dd if=xx.iso of=/dev/sdc bs=4M status=progress

Installing the System#

Restart the computer, insert the USB drive, and press F12 to select USB to enter the installation interface. If your computer has both NVIDIA and Intel graphics cards, change drive to nonfree in the boot interface. This way, the system will automatically install the appropriate NVIDIA driver. I encountered a file system mounting error during the first installation, but it was resolved after repeating the previous step. It should be a problem with writing the image.

After entering the installation interface, follow the instructions and click Next to complete the installation. Restart the computer when finished.

Changing the Source#

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

Select a few well-known sources, such as Aliyun and Huawei Cloud. It is said that selecting only one will make it faster, but there may be a situation where the software is not complete.

Common Software#

First, download the AUR helper yay, which can be used to download software that is not available in the official repositories:

sudo pacman -S yay

Input Method#

Install the fcitx5 input method framework:

yay -S fcitx5-im

Configure environment variables:

vim ~/.pam_environment

The content is:

GTK_IM_MODULE DEFAULT=fcitx
QT_IM_MODULE  DEFAULT=fcitx
XMODIFIERS    DEFAULT=\@im=fcitx
SDL_IM_MODULE DEFAULT=fcitx

Install the input method engine:

yay -S fcitx5-rime
yay -S rime-cloverpinyin
yay -S base-devel

Create and write the input scheme for rime-cloverpinyin:

mkdir -p  ~/.local/share/fcitx5/rime
vim ~/.local/share/fcitx5/rime/default.custom.yaml

The content is:

patch:
  "menu/page_size": 5
  schema_list:
    - schema: clover

Install the theme:

yay -S fcitx5-material-color

You can also choose the Nord theme made by a senior developer, Github address.

Chat Software#

Install WeChat:

yay -S deepin-wine-wechat
/opt/apps/com.qq.weixin.deepin/files/run.sh -d # Switch to the wine environment

If the font appears blurry, switch to the deepin-wine environment and enter:

env WINEPREFIX="$HOME/.deepinwine/Deepin-WeChat" /usr/bin/deepin-wine winecfg

Backup Software#

yay -S timeshift

Network Software#

yay -S clash

Copy the configuration file to the default address ~/.config/clash/ and configure it to start up in the settings. Configure the proxy settings as follows:

HTTP Proxy: 127.0.0.1:7890

SSL Proxy: 127.0.0.1:7890

SOCKS Proxy: 127.0.0.1:7891

Exceptions: localhost,127.0.0.0/8,::1

Settings for nodes and more can be done in the Web Console. If you encounter a problem where you cannot access the console due to cross-origin in the Chrome browser, enter chrome://flags/#block-insecure-private-network-requests in the address bar, select disabled, and click the relaunch button to access normally.

To use the proxy in the current terminal, enter:

export http_proxy="http://127.0.0.1:7890"
export https_proxy="http://127.0.0.1:7890"

If you need the proxy to be persistent, add the above code to ~/.zshrc for zsh, or ~/.bashrc for bash.

IDE#

yay -S vistual-studio-code-bin
yay -S webstorm
yay -S webstorm-jre

Markdown Editor#

yay -S marktext-bin
Loading...
Ownership of this post data is guaranteed by blockchain and smart contracts to the creator alone.