Utility configuration guide after installing the Ubuntu system

1. Modify the software source

The default software source of Ubuntu is overseas, and there will be some problems in speed. We can Software & Updateschoose the domestic image in (software and update).

insert image description here
Generally, we choose Tsinghua source or Alibaba cloud source.

2. Install Chorme browser

Under ubuntu, I am more accustomed to using Firefox and Google Chrome .

Google Chrome directly downloads the deb installation package from the official website and installs it.

For the Firefox browser, after we install the system, the system will have its own firefox browser, but it is an international version and cannot log in to the domestic Firefox account. Therefore, you need to download the domestic version of Firefox and uninstall the international version of Firefox.

Uninstall method:

  1. View related content of Firefox browser

    dpkg --get-selections |grep firefox
    
  2. Uninstall all files in the above command

    sudo apt-get purge +每一个包名字
    

    For example

     sudo apt-get purge firefox   firefox-globalmenu  firefox-gnome-support   firefox-locale-en   firefox-locale-zh-hans
    

Here is how to download.

  • Enter the Chinese version of the official website to download the software
    insert image description here

    Note: firefox.com.cn is the Chinese version of the official website operated by Beijing Mozilla, a wholly-owned subsidiary of the Mozilla Foundation, and mozilla.org is the international version of the official website operated by the Mozilla Foundation.

  • Open a terminal and go to the directory where you downloaded Firefox, such as

    cd ~/Downloads
    
  • Extract the contents of the downloaded file:

    tar xjf firefox-*.tar.bz2
    
  • Move the unpacked Firefox directory to /opt:

    sudo mv firefox /opt
    
  • (This step is optional) Create a symlink pointing to the Firefox executable:

    sudo ln -s /opt/firefox/firefox /usr/local/bin/firefox
    
  • Download a desktop file:

    sudo wget https://raw.githubusercontent.com/mozilla/sumo-kb/main/install-firefox-linux/firefox.desktop -P /usr/local/share/applications
    

    If wget is not installed, the file can be created manually:

    #移动到/usr/share/applications目录
    cd /usr/share/applications
    #修改firefox.desktop文件
    sudo gedit firefox.desktop
    

    Paste the following into the opened file:

    [Desktop Entry]
    Name=firefox
    Name[zh_CN]=火狐浏览器
    Comment=火狐浏览器
    Exec=/opt/firefox/firefox
    Icon=/opt/firefox/browser/chrome/icons/default/default128.png
    Terminal=false
    Type=Application
    Categories=Appliction;
    Encoding=UTF-8
    StartupNotify=true
    
  • Finally, restart the system to take effect

    sudo reboot
    

2. Chinese input method

It is generally recommended to install the Sogou input method , but I always encountered various problems when installing it before, so I no longer toss about the choice ibus-libpinyin. .

# 安装
sudo apt install ibus-libpinyin 
sudo apt install ibus-clutter
  • Language SupportThen find " " ( ) in the application 语言支持and change " Keyboard input method system" ( 键盘输入法系统) to " IBUS".

    insert image description here
    insert image description here

  • Restart the system, and then Settings>Region & Language>Input Sources(设置>区域与语言>输入源)add in 「Chinese(Intelligent Pinyin)」(中文(智能拼音))the Chinese input method to use it.

    insert image description here
    In addition, you can also install the Google Pinyin input method, the installation method refers to the link .

3. Flame Screenshot

Under ubuntu, there is a screenshot texture tool similar to Snipaste in windows, called Flameshot .

Under ubuntu, you can run the following command to install:

sudo apt install flameshot

After the installation is complete, set the shortcut keys.

  • Open 设置, 设置>键盘快捷键slide down and click on the +icon to set shortcut keys.
    insert image description here

  • Write in the name column flameshot, enter in the command column: , and then set the shortcut key, the shortcut key flameshot guiI set hereF1

    insert image description here

4. Terminator+zsh terminal configuration

The one that comes with ubuntu terminaldoes not support split screen, so it is recommended to use it here terminator, and it can be called an engineering weapon when paired with it zsh shell.

Terminator+zsh configuration reference blog .

6. Install typora (the last free version)

Anyone who has used typora knows that this is a very simple and easy-to-use markdown note-taking tool, but the latest version has already started charging. Here is the last official free version for download. The download address can be found in Baidu Netdisk:

Link: https://pan.baidu.com/s/1qTR0daJ_g25KkCkmHgYefA?pwd=997r Extraction code: 997r

After downloading the corresponding linux version, the installation method is very simple, just run the following command directly:

sudo spkg -i typora_0.11.18_amd64.deb

7. Install qq

  • There is currently no WeChat client under the ubuntu system, but there is a web version .
  • Tencent officially supports the linux version of qq under ubuntu, just download the installation package from the official website and install it.

8. vscode

Vscode is an excellent code editor that provides various plug-ins. It is highly recommended for programming buddies.

The installation method is to download and install the corresponding installation package directly from the official website.
insert image description here

9. Install tweek

Desktop beautification tweaktools can be installed

sudo apt install gnome-tweak-tool

After the installation is complete, just search and open it.

insert image description hereIt includes various appearance, font and other settings.
insert image description here
For friends who want to change the mouse cursor, you can refer to this blog .

10. Remote Desktop Tools

Remote desktop tool selection can refer to this blog .

In addition to the remote desktop tools mentioned in the above blog, here is also a recommended remote desktop tool commonly used in LAN: nomachine .

  • Download the corresponding installation package on the official website, for example, I downloaded the deb package here

    insert image description here

  • Run the following command to install (change the name of the installation package to the one you downloaded)

    sudo dpkg -i nomachine_8.4.2_1_amd64.deb
    
  • After the installation is complete, there will be two software: nomachine and nomachine server, the former is used as a client to connect to other computers, and the latter is used as a server to be connected by other computers. Open the software, the welcome interface will display the connection steps.

    insert image description here

  • Click to addadd host (it is worth mentioning here that nomachine can search all other computer devices connected to the same LAN)

    insert image description here

  • Enter nameand ipaddress, which namerefers to the current user name, hostwhich is the ip address. Then click addthe button in the upper right corner to add a device

    insert image description here

  • Finally, double-click the device to connect

    insert image description here

11. Install mind map mindmaster

Mindmaster is a very useful mind map, just download the deb installation package from the official website and install it.

insert image description here

12. Micro force synchronization

If there is a need for multi-device file synchronization, it is strongly recommended to install Microsync .

The installation method is also very simple, just refer to the official tutorial .

13. Screen recording software obs-studio

obs studio is a software that supports Chinese, is permanently free, has powerful functions, is easy to operate, has no ads, and supports live streaming.

The installation steps are summarized as follows:

sudo apt install ffmpeg
sudo apt update
sudo apt install obs-studio

If the last step shows that the package cannot be found, you can add the following warehouse source and execute the installation command:

sudo add-apt-repository ppa:obsproject/obs-studio

You can refer to this blog .

14. Press spacebar to preview in Ubuntu

There is a "press the space bar to preview the file/directory function" on the Mac, which is very easy to use. This function is not available by default in Ubuntu.

There is a tool in ubuntu gnome-sushithat can realize the function of holding down the space bar to preview. You can install it directly from the command line.

sudo apt install gnome-sushi

15. Use barriers to share a set of mouse and keyboard with multiple devices under the same network

  • Mac computers and windows computers can directly download the corresponding client on the github webpage .

insert image description here

  • For the ubuntu system, the easiest way is to use the command to install directly in the terminal

    sudo apt install barrier
    

    However, it is possible to encounter the problem that the software package cannot be located
    insert image description here

    • Solution 1: Follow the prompts sudo snap install barrierto install

    • Solution 2 : Compile from source code. Download the source code (source code(tar.gz)) on the github page just now, for example, the source code of version 2.4.0 is downloaded here (the file name is after the download is complete barrier-2.4.0.tar.gz)

      • Enter the download directory and execute the decompression command

        tar -xzvf barrier-2.3.3-release.tar.gz
        
      • Enter the decompressed directory and execute

        mkdir build && cd build
        cmake ../
        
      • If all goes well, the output will look like this:

        ...
        ...
        -- Full Barrier version string is '2.4.0-release-release'
        -- Configuring directory /home/mpc/barrier/barrier-2.4.0-release/build/rpm
        -- Configuring file barrier.spec
        -- Configuring done
        -- Generating done
        -- Build files have been written to: /home/mpc/barrier/barrier-2.4.0-release/build
        
      • If an error is reported, execute the following command:

        • Could NOT find CURL (missing: CURL_LIBRARY CURL_INCLUDE_DIR)report error

          sudo apt install libcurl4-openssl-dev
          
        • No package 'avahi-compat-libdns_sd' foundreport error

          sudo apt install libavahi-compat-libdnssd-dev
          
        • Missing library: Xtstreport error

          sudo apt install libxtst-dev
          
        • By not providing "FindQt5.cmake" in CMAKE_MODULE_PATHreport error

          sudo apt install qt5-default
          
      • After cmake is successfully executed, execute the make command to compile

        make
        

        If an error is reported during the compilation process: fatal error: openssl/ssl.h: No such file or directory, then execute the following command to install and then re-make

        sudo apt install libssl-dev
        
      • Finally, after the compilation is successful, execute the installation command

        sudo make install
        
      • After the installation is successful, the barrier can be found in the application.

    • Solution 3 : Use flatpakinstall.

      • Install with commandflatpak

        sudo apt install flatpak
        
      • Click the link to download the installation package

      • Enter the download path of the installation package, execute the following command to install:

        flatpak install com.github.debauchee.barrier.flatpakref
        

        The installation process will download a lot of dependencies, it will take a long time, just wait.

      • After the installation is complete, execute the run command.

        flatpak run com.github.debauchee.barrier
        
  • As for how to use it, there are many articles on the Internet that can be found.

16. Click the launcher icon to minimize the window

Enter the following command in the terminal:

gsettings set org.gnome.shell.extensions.dash-to-dock click-action 'minimize'

If you want to set it back, run the following command:

gsettings set org.gnome.shell.extensions.dash-to-dock click-action 'previews'

Guess you like

Origin blog.csdn.net/weixin_42301220/article/details/130169404