Pop OS

Pop OS

Pop os

update

sudo apt update
sudo apt upgrade
sudo apt dist-upgrade
sudo apt autoremove
sudo apt autoclean
sudo fwupdmgr get-devices
sudo fwupdmgr get-updates
sudo fwupdmgr update
sudo apt install flatpak
flatpak update
sudo reboot now


sudo apt install curl vim

install aps from store shop:

atom; obs

wechat

Reference: Kumar, 2020
Use web app throuhg Rambox

sudo snap install ramboxpro
sudo snap install electronic-wechat

Wine based wechat: 白菜林; 2022
App source from: Ukylin

wget  -O weixin.deb "http://archive.ubuntukylin.com/software/pool/partner/weixin_2.1.1_amd64.deb"
sudo dpkg -i weixin.deb

hexo

Reference: hexo.io

sudo apt install nodejs

sudo apt upgrade node
sudo apt install npm
sudo npm install -g hexo-cli

waque

npm i -g waque

Install Atom plugs

Atom is died

More: Karobben 2020

  • markdown-preview-enhanced
  • language-r (R 语言语法高亮)
  • minimap (VS 一样小图预览)
  • atom-beautify (高亮美化)
  • emmet (emmet是HTML,CSS快速编写的神器,具体的使用可以参看emmet官网。)
  • autocomplete-* 系列 (自动补全)
  • pigments (显示颜色)
apm install markdown-preview-enhanced
apm install language-r minimap pigments atom-beautify

R

sudo apt install r-base-core

python

Python3 was pre-installed

sudo apt install python3-pip

Go lang

sudo apt install golang-go

others

Scrcpy

the best app for cast your cell on linux
Karobben, 2020

sudo apt install meson
sudo apt install adb ffmpeg libsdl2-2.0-0 make gcc pkg-config meson ninja-build \
libavcodec-dev libavformat-dev libavutil-dev libsdl2-dev libusb-1.0-0-dev

wget -c https://github.com/Genymobile/scrcpy/releases/download/v1.11/scrcpy-server-v1.11
wget -c https://github.com/Genymobile/scrcpy/archive/v1.11.tar.gz

mv scrcpy-server-v1.11 scrcpy-server-v1.11.jar
tar -zxvf v1.11.tar.gz
sudo install scrcpy-server-v1.11.jar /usr/local/bin/scrcpy-server.jar
cd scrcpy-1.11
meson build --buildtype release --strip -Db_lto=true -Dprebuilt_server=../scrcpy-server-v1.11.jar

cd build
ninja

sudo ninja install
scrcpy

Gotop

Github:

wget https://github.com/cjbassi/gotop/releases/download/3.0.0/gotop_3.0.0_linux_amd64.deb
sudo dpkg -i gotop_3.0.0_linux_amd64.deb
rm gotop_3.0.0_linux_amd64.deb
snap install gotop-cjbassi
snap connect gotop-cjbassi:hardware-observe
snap connect gotop-cjbassi:mount-observe
snap connect gotop-cjbassi:system-observe

gotop-cjbassi

else

## Set a hostname
hostnamectl set-hostname karobben

## install screenfetch
sudo apt install screenfetch
sudo apt install lolcat


## SSH keys
eval "$(ssh-agent -s)"
ssh-add ~/.ssh/id_ed25519

## Fish - A Friendly Interactive Shell (doesn't work for me)
sudo apt install -y fish util-linux-user
chsh -s /usr/bin/fish
mkdir -p /home/$USER/.local/bin
set -Ua fish_user_paths /home/$USER/.local/bin


# Snap
## Enable snap support
sudo apt install snapd

# nautilus-admin
## Right-click context menu in nautilus for admin
sudo apt install -y nautilus-admin


#Virtual machines: Quickemu and other stuff
# git clone https://github.com/wmutschl/quickemu ~/quickemu
#sudo apt install snapd bsdgames wget
#sudo snap install qemu-virgil
#sudo snap connect qemu-virgil:kvm
#sudo snap connect qemu-virgil:raw-usb
#sudo snap connect qemu-virgil:removable-media
#sudo snap connect qemu-virgil:audio-record
#sudo ln -s ~/quickemu/quickemu /home/$USER/.local/bin/quickemu

## Open-ssh
sudo apt install openssh-server



# git
sudo apt install -y git git-lfs
git-lfs install
flatpak install -y gitkraken

# latex
sudo apt install -y texlive texlive-font-utils texlive-pstricks-doc texlive-base texlive-formats-extra texlive-lang-german texlive-metapost texlive-publishers texlive-bibtex-extra texlive-latex-base texlive-metapost-doc texlive-publishers-doc texlive-binaries texlive-latex-base-doc texlive-science texlive-extra-utils texlive-latex-extra texlive-science-doc texlive-fonts-extra texlive-latex-extra-doc texlive-pictures texlive-xetex texlive-fonts-extra-doc texlive-latex-recommended texlive-pictures-doc texlive-fonts-recommended texlive-humanities texlive-lang-english texlive-latex-recommended-doc texlive-fonts-recommended-doc texlive-humanities-doc texlive-luatex texlive-pstricks perl-tk


## zoom
flatpak install -y zoom

## Flameshort
sudo apt install flameshot
flameshot gui

##Multimedia Codecs
#Install and compile multimedia codecs:
sudo apt install -y libavcodec-extra libdvd-pkg; sudo dpkg-reconfigure libdvd-pkg

#OBS
sudo apt install -y obs-studio

# xmind
snap install xmind

# cowsay
snap install cowsay

sudo apt install imagemagick-6.q16 # convert function

sudo apt install ffmpeg
sudo apt install kdenlive


## gtt-cli
sudo apt install python3-gtts

## play
sudo apt install sox
sudo apt install mplayer

# PDF reader
sudo apt-get install okular

fingerprint authority

sudo pam-auth-update

python

OpenCV

pip3 install --upgrade setuptools
pip3 install numpy Matplotlib
pip3 install opencv-python

Chinese input

download the deb: link

reference:

sudo apt install fcitx

sudo apt install fcitx5-chinese-addons fcitx5

curl -sL 'https://keyserver.ubuntu.com/pks/lookup?&op=get&search=0x73BC8FBCF5DE40C6ADFCFFFA9C949F2093F565FF' | sudo apt-key add
sudo apt-add-repository 'deb http://archive.ubuntukylin.com/ukui focal main'
sudo apt upgrade

imput themes/skin for fcitx

Source: @BrandonCardoso; 2021-github

https://github.com/BrandonCardoso/fcitx-dracula

fcitx skin

拼音词库

Reference: CodeAlex; 2019

sudo apt install fcitx-tools
mkdir /home/$USER/.config/fcitx/pinyin/

git clone https://github.com/AlessandroChen/fcitx-pinyin-lexicon.git
cd fcitx-pinyin-lexicon


Apps from stores

atom
Xmind 8
TigerVNC Viewer

software for biologist

sudo apt install clustalw bowtie bowtie2 muscle rsem t-coffee pymol ncbi-entrez-direct samtools

sudo apt install ncbi-blast+ # some system is blast2

auto mount D

Quetza, 2019

sudo echo "/dev/sda2   /media/$USER/Data/   ntfs    defaults,nls=utf-8,umask=007,gid=46   0   0" >> /etc/fstab

Themes

Reference:Abhishek Prakash, 2021, It’s FOSS

Select a theme from Website

install ocs-url from here
After download, an example code for installation could be:

sudo dpkg -i ocs-url_3.1.0-0ubuntu1_amd64.deb

Then, open Tweaks → Apearance → Applications → Theme you download

${theme.zip} is the theme zip file you download

mkdir ~/.themes
sudo apt install gnome-shell-extensions
cd ~/.themes
mv ~/Download/${theme.zip} .
unzip ${theme.zip}

Other themes for Gnome:
gnome-look.org

Exp:
Win11 style

Gnome-tweaks

sudo apt install gnome-tweaks 
sudo apt install gnome-tweak-tool
sudo apt install gnome-shell-extensions
sudo apt install $(apt search gnome-shell-extension | grep ^gnome | cut -d / -f1)

gnome-tweaks

apps for configuring Ubuntu, removes GNOME Shell Extensions support by releasing version 40. You need to launch extensions idependently Karim Buzdar,2020

After start the Extesion, choose User themesSettings → select it

video wall paper

komorebi

Zsh

A similar zsh environment from Manjaro.
zsh theme: source

Fonts for powerlevel10k

Download fonts: MesloLGS NF; from Github

# Install zsh
sudo apt install zsh
chsh -s /bin/zsh
# Install oh-my-zsh
sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
# Zsh Theme: powerlevel10k
git clone https://github.com/romkatv/powerlevel10k.git $ZSH_CUSTOM/themes/powerlevel10k
# Install the font for powerlevel10k
apt-get install fonts-powerline

# add lines below to ~/.zshrc
#ZSH_THEME="powerlevel10k/powerlevel10k"
#POWERLEVEL9K_MODE="awesome-patched"

# Set the theme
source ~/.zshrc
# configure the theme again if you wanna a change
p10k configure

# plugins
git clone https://github.com/zsh-users/zsh-autosuggestions.git $ZSH_CUSTOM/plugins/zsh-autosuggestions
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git $ZSH_CUSTOM/plugins/zsh-syntax-highlighting

# add lines below to ~/.zshrc
#plugins=(zsh-autosuggestions zsh-syntax-highlighting git)

source ~/.zshrc

You should change ~/.zshrc as below listed.

- ZSH_THEME="..."
+ ZSH_THEME="powerlevel10k/powerlevel10k"
- plugins=(git)
+ plugins=(git
+ zsh-autosuggestions
+ zsh-syntax-highlighting)

zsh didn’t load automatically: skepticNeophyte
We need to reload oh-my-zsh.sh and config again

source $ZSH/oh-my-zsh.sh

command Autosuggestion:

Thansk for Kumar Abhirup’s post, I finally get my favorate zsh environment.

zsh plunges:

Varun Kumar Manik: How to Install Zsh/ zsh-autosuggestions/ oh-my-zsh in Linux

Kivy

I Strongly recommend that build the kivy in an virtualenv. You can use either conda or python virtualenv

python virtualenv

python3.7 -m pip install -i https://pypi.tuna.tsinghua.edu.cn/simple --user --upgrade pip wheel setuptools virtualenv
cd ~
python3.7 -m virtualenv kivyven
source kivyven/bin/activate
pip install -i https://pypi.tuna.tsinghua.edu.cn/simple kivy
pip install -i https://pypi.tuna.tsinghua.edu.cn/simple cython
pip install -i https://pypi.tuna.tsinghua.edu.cn/simple buildozer
pip install -i https://pypi.tuna.tsinghua.edu.cn/simple https://github.com/kivymd/KivyMD/archive/master.zip

Conda

conda create -n kivy python==3.8.10
pip3 install -i https://pypi.tuna.tsinghua.edu.cn/simple kivy
pip3 install -i https://pypi.tuna.tsinghua.edu.cn/simple cython
pip3 install -i https://pypi.tuna.tsinghua.edu.cn/simple buildozer
pip3 install -i https://pypi.tuna.tsinghua.edu.cn/simple https://github.com/kivymd/KivyMD/archive/master.zip

Other bugs

Mouse Missing

I tried the code from ChatGPT to clean the gabage files, ant it works. To my surprise, it deleted over 100 gb. I’m not sure which code works, but it works.

sudo apt-get clean
sudo apt-get autreomve
sudo rm -rf /tmp/*
rm -rf ~/.cache/*

But after I reboot the machine, I found my mouse is gone. It only shows up when I hit the home key. And dispel when I move the mouse. I tried to change the mouse setting, but it didn’t work. After checking the posts online, and thanks for the suggestion from catsclaw. I tried to make the configuring again by sudo dpkg --configure -a, and it works after reboot. So, it seems like we shouldn’t delete all fines from ~/.cache/.

Author

Karobben

Posted on

2022-01-31

Updated on

2025-03-15

Licensed under

Comments