Thy’s desktop environment
Contents
Thy’s desktop environment#
How I configure my desktop environment
Operating System#
I use Linux Mint 21.1, codename Vera which is based on Ubuntu 22.04, codename Jammy Jellyfish.
Cinnamon Desktop Environment derives from GNOME 3 but follows traditional desktop metaphor conventions.
Settings#
Update apt’s sources.list
#
Change to local mirror, for example http://mirror.0x.sg/ubuntu
sudo sed -i 's!http://archive.ubuntu.com/ubuntu!http://mirror.0x.sg/ubuntu!g' /etc/apt/sources.list
sudo sed -i 's!http://security.ubuntu.com/ubuntu!http://mirror.0x.sg/ubuntu!g' /etc/apt/sources.list
Get the URL from https://launchpad.net/ubuntu/+archivemirrors or run
curl mirrors.ubuntu.com/mirrors.txt
Jetbrains PyCharm shortcuts conflict#
Some shortcuts conflict with global system actions. To fix these conflicts, I reassign or disable the conflicting shortcut.
Taken from jetbrains, here are a few examples of system shortcut conflicts with the default keymap in PyCharm
Shortcut |
System action |
IntelliJ IDEA action |
---|---|---|
Ctrl+Alt+S |
Shade window |
Open the Settings dialog |
Ctrl+Alt+L |
Lock screen |
Reformat Code |
Ctrl+Alt+T |
Launch Terminal |
Surround With |
Ctrl+Alt+F12 |
Open the tty12 virtual console File path |
|
Ctrl+Alt+Left/Right |
Switch between Workspaces |
Undo/redo navigation operations |
Alt+F7 |
Move window |
Find Usages |
Alt+F8 |
Resize window |
Evaluate Expression |
Applications#
Miniconda#
Miniconda is a free minimal installer for conda. It is a small, bootstrap version of Anaconda that includes only conda, Python, the packages they depend on, and a small number of other useful packages, including pip, zlib and a few others.
Install#
Download the installer and verify SHA256 hash
wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh -O ~/miniconda.sh
sha256sum ~/miniconda.sh
Run miniconda.sh
bash ~/miniconda.sh -b -p $HOME/miniconda
rm -f ~/miniconda.sh
Update conda
. ~/miniconda/etc/profile.d/conda.sh
conda init
conda config --set auto_activate_base false
conda update -yn base -c defaults conda
Create thy
environment#
If there is an existing thy
environment, remove it
conda deactivate
conda env remove -n thy
Create thy
environment
conda create -n thy --no-default-packages -y python=3.9
conda activate thy
pip install -U pip