Skip to content

Latest commit

 

History

History

ubuntu

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

Ubuntu

Start

Remove Snap

Package List

snap list

bare
core20
core22
firefox
gnome-3-38-2004
gnome-42-2204
gtk-common-themes
snap-store
snapd
snapd-desktop-integration

Remove Packages

snap remove --purge firefox
snap remove --purge snap-store
snap remove --purge gtk-common-themes
snap remove --purge gnome-3-38-2004
snap remove --purge gnome-42-2004
snap remove --purge snapd-desktop-integration
# snap remove --purge core22
snap remove --purge core20
snap remove --purge bare
sudo rm -rf /var/cache/snapd

Unmount /snap

df -ah

/dev/loop3       74M   74M     0  100% /snap/core22/858
/dev/loop14      41M   41M     0  100% /snap/snapd/19993
umount /snap/core22/858
umount /snap/core22/858

Unmount ZFS /var/snap

zfs list

rpool/ROOT/ubuntu_3bss94/var/snap    488K  /var/snap
sudo zfs unmount /var/snap

Remove snapd

sudo apt autoremove --purge snapd

Remove Directories

sudo rm -rf /snap
sudo rm -rf /var/snap
sudo rm -rf /var/lib/snapd

Remove the last snap directory

cd $HOME
rm -rf ./snap

Stop snapd

sudo systemctl list-units | grep snapd

# nothing
# sudo systemctl disable snapd.service
# sudo systemctl disable snapd.socket
# sudo systemctl disable snapd.seeded.service

sudo systemctl mask snapd.service

Mark APT

apt mark
sudo apt-mark hold snapd
apt-mark showhold

snapd
dpkg hold
echo "snapd hold" | sudo dpkg --set-selections
dpkg --get-selections | grep snap
aptitude hold
sudo aptitude hold snapd
sudo aptitude upgrade

Block Snap

sudo vi /etc/apt/preferences.d/nosnap

Package: snapd
Pin: release a=*
Pin-Priority: -10
sudo vi /etc/apt/preferences.d/nosnap-firefox

Package: firefox*
Pin: release o=Ubuntu*
Pin-Priority: -1
sudo apt update

Install gnome-software

sudo apt install --install-suggests gnome-software

gnome tweaks

  1. Search: tweaks
  2. Download GNOME Tweaks
Caps Lock to Ctrl
  1. Tweaks
  2. Keyboard & Mouse
  3. Additional Layout Options
  4. Ctrl position
  5. Caps Lock as Ctrl
Hangul
ibus-setup
  1. Input Method
  2. Add: Hangul in Korean

Settings:

  1. Keyboard
  2. Input Sources
  3. Add Hangul
  4. Preferences - IBusHangul Setup
  5. Hangul Toggle Key

Install Firefox

sudo add-apt-repository ppa:mozillateam/ppa

Auto PPA Update:

sudo vi /etc/apt/apt.conf.d/51unattended-upgrades-firefox

Unattended-Upgrade::Allowed-Origins {
    "LP-PPA-mozillateam:${distro_codename}";
};
sudo vi /etc/apt/preferences.d/ppa-firefox

Package: firefox*
Pin: release o=LP-PPA-mozillateam*
Pin-Priority: 501
sudo apt update
sudo apt install -t 'o=LP-PPA-mozillateam' firefox

Install Packages

sudo apt install build-essential
sudo apt install curl

zsh

sudo apt install zsh
chsh -s $(which zsh)
autoload -Uz zsh-newuser-install
zsh-newuser-install -f

Terminal

xclip for nvim

sudo apt install xclip

.deb

Get a .deb package

apt download [package]

Extract a .deb package

mkdir package_deb
dpkg-deb -R pakcage.deb package_deb/

.deb:

DEBIAN/
usr/

Extract a control file

mkdir package_deb
dpkg-deb -e package.deb/

DEBIAN:

control
md5sums