Ubuntu Logo

Ubuntu Tips

New Ubuntu #!/usr/bin/bash # Restore backup cp .bashrc .bashrc.orig rsync -av /media/kurome/DataBackup/Backup/Home/latest/ /home/kurome/ # Update system # sudo sed -i 's@//.*archive.ubuntu.com@//mirrors.ustc.edu.cn@g' /etc/apt/sources.list # will list in "Other Software" sudo apt update sudo apt upgrade -y # Enable custom systemd service sudo cp ~/.opt/clash/clash.service /usr/lib/systemd/system sudo cp ~/.opt/aria2/aria2.service /usr/lib/systemd/system sudo systemctl enable --now clash.service sudo systemctl enable aria2.service # Install apps sudo sh -c 'echo "deb [arch=amd64 trusted=yes] https://dl.google.com/linux/chrome/deb/ stable main" > /etc/apt/sources.list.d/google-chrome.list' sudo apt update sudo apt install -y \ adb fastboot \ aria2 \ qemu-system-x86 samba \ git \ proxychains \ tree zfsutils-linux \ fcitx5 fcitx5-chinese-addons \ google-chrome-stable \ timeshift \ libfuse2 \ vlc \ curl \ vim \ fdupes \ python3-pip \ libavcodec-extra \ unrar \ goldendict \ kdeconnect \ gnome-tweaks gnome-shell-extensions chrome-gnome-shell \ gnome-shell-extension-gsconnect \ breeze qt5ct sudo apt install -y --no-install-recommends ubuntu-restricted-extras sudo dpkg -i ~/.opt/pkgs/wps-office_11.1.0.11664.XA_amd64.deb sudo dpkg -i ~/.opt/pkgs/Xmind-for-Linux-amd64bit-22.11.2556.deb sudo sed -e 's/9050$/7890/g' -i /etc/proxychains.conf # System settings gsettings set org.gnome.desktop.media-handling automount false gsettings set org.gnome.shell.extensions.dash-to-dock show-mounts false gsettings set org.gnome.shell.extensions.dash-to-dock click-action cycle-windows gsettings set org.gnome.shell app-picker-layout "[]" # ufw sudo ufw enable sudo ufw allow proto tcp from 192.168.2.0/24 to any port 1714:1764 sudo ufw allow proto udp from 192.168.2.0/24 to any port 1714:1764 # utc sudo timedatectl set-local-rtc 0 Backup Your System Ubuntu Help Arch Wiki Rsync 备份 ...

March 8, 2022 · 85 min · Sakamoto Kurome
Ubuntu Logo

Ubuntu System

Package Management dpkg 管理软件包 dpkg 意即 Debian 包管理器(Debian PacKaGe manager)。dpkg 是一个可以安装、构建、删除及管理 Debian 软件包的命令行工具。 其它的一些工具如 dpkg-deb 和 dpkg-query 等使用 dpkg 作为执行某些操作的前端。 ...

March 8, 2022 · 211 min · Sakamoto Kurome
Ubuntu Logo

Ubuntu Virtualization

Wine 简介 Wine 是在x86、x86-64容许类Unix操作系统在X Window System运行Microsoft Windows程序的软件。另外,Wine也提供程序运行库(Winelib)来帮助计算机程序设计师将Windows程序移植到类Unix系统;也有不少软件经过Wine测试后发布,比如Picasa、uTorrent、MediaCoder。 ...

March 8, 2022 · 75 min · Sakamoto Kurome
Ubuntu Logo

Ubuntu Applications

GUI Utilities Chrome 因为 Chrome 安装包的时候会自动添加 gpg,因此可以参考 Bypass GPG signature checks only for a single repository 执行如下操作 sudo sh -c 'echo "deb [arch=amd64 trusted=yes] https://dl.google.com/linux/chrome/deb/ stable main" > /etc/apt/sources.list.d/google-chrome.list' sudo apt update sudo apt install google-chrome-stable PS:之前直接複製網上的,結果一直報錯,原因在於要寫 https 而非 http。 ...

March 8, 2022 · 143 min · Sakamoto Kurome
Ubuntu Logo

Ubuntu Desktop

友邦拓 乌班图 During the first ten years of this HOWTO’s life, I reported that from a new user’s point of view, all Linux distributions are almost equivalent. But in 2006-2007, an actual best choice emerged: Ubuntu. While other distros have their own areas of strength, Ubuntu is far and away the most accessible to Linux newbies. Beware, though, of the hideous and nigh-unusable “Unity” desktop interface that Ubuntu introduced as a default a few years later; the Xubuntu or Kubuntu variants are better. ...

March 8, 2022 · 204 min · Sakamoto Kurome