- clone (this repo) or move script directory (SETUP_SCRIPT/) to (your) home directory of current user:
git clone https://github.com/Dimorng/SETUP_SCRIPT.git ~/SETUP_SCRIPT/
- run script
cd ~/SETUP_SCRIPT/ && chmod +x setup.sh && sudo ./setup.sh
- IMPORTANT: during script is running, after Bitwarden is installed, add SSH key to GitHub account (and deleted unused SSH Key). SSH KEY IS STORED IN
~/Desktop/ssh_key_must_add_to_github
.
Alias command created:
clean
: system clean up, equivalant tosudo apt clean && sudo apt autoclean && sudo apt autoremove
pbcopy path/to/file
: copy content of file to clipboardpbpaste path/to/file
: paste content from clipboard
Command (shell function) created:
cLO
check lastest version of LibreOffice (.deb) available to download on official LibreOffice websitecLO -U
update LibreOffice to the(/that) latest version (.deb)
- Linux Mint 20.1 (Ulyssa) Cinnamon Edition (on 4 May 2021)
- Linux Mint 20.2 (Uma) Cinnamon Edition (on 19 Oct 2021)
- Setting Bitwarden
- Ctrl + , to access setting
- enable Minimize when copying to clipboard
- Clear Clipboard: 10 seconds
- Ctrl + , to access setting
- Assign Shortcut key for closing all open windows
- Menu > Keyboard > Shortcut
- Assign Super + Backspace to
~/Others/Apps/close-all-windows.sh
-
Configure LibreOffice
- install extensions in
~/Desktop/LOextension/
- SBBIC Khmer Spelling Checker
- TexMath
- LanguageTool (download from https://languagetool.org/)
- add addtional preamble (in
~/Desktop/LOextension/extra-line-to-put-in-texmath-preamble-and-save-as-global
) of TexMath and Save as Global
- enable Complex text layout and choose Khmer
- Tools > Options > Language Settings > Languages > Complex text layout > Khmer
- change Measurement unit to Centimeters
- Tools > Options > LibreOffice * > General > Measurement unit > Centimeters
- install extensions in
-
Welcome Screen
Menu > Welcome Screen > First Steps:
-
create System Snapshots: leave everything as default except Schedule: Weekly (Keep 3)
-
install additional drivers using Driver Manager
-
Enable Firewall:
- Profile → Home
- Status → Enable
- Incoming → Deny
- Outgoing → Allow
-
disable Show this dislog at startup
-
-
Enable Redshift Autostart
- Menu > Redshift
- Redshift applet (left hand side panel) > autostart
-
Add Khmer Keyboard Layout and change switching layout shortcut
- Menu → Keyboard → Layout → + → Khmer (Cambodia) → Add
- Options... → Switching to another layout → Both Shift Together (fix conflict with LibreOffice shortcut Shift + Crtl + Alt + v [Paste Unformatted Text Shortcut])
-
Change Clock & Date Format
- disable 24h clock: clock applet (left click) > Date & Time Settings > disable Use 24h clock
-
suggeted clock format on the panel:
%l:%M %p (%Z)%n(%a) %d/%m/%Y
- clock applet (right click) > configure... > enable Use a custom date format > Date format:
%l:%M %p (%Z)
- clock applet (right click) > configure... > enable Use a custom date format > Date format:
-
suggeted clock format on the login screen top panel:
%a.%e.%b.%Y ⏲️ %l:%M %p (%Z)
- Menu > Login window > Settings > Clock format:
%a.%e.%b.%Y ⏲️ %l:%M %p (%Z)
- Menu > Login window > Settings > Clock format:
-
Install Additional Applets
recommended applets:
a. Color Picker (easily activate (pick up color) by
Ctrl + Alt + P
Key Binding)b. Clipboard QR code applet (required to
sudo apt install python3-zbar
to activate bar/qr code scanning fuctionality) -
Customize bottom panel
Recommended customize to look like this:
-
Enable and disable some sounds
Menu > Sound > Sounds:
- sounds to disable:
- Starting Cinnamon
- Switching Workspace
- sound to enable: Showing Notification
- sounds to disable:
-
(Optional) Download songs:
git clone https://github.com/Dimorng/SongCollection.git ~/Music
-
(Optional) Install Ttyper to Test Your Typing Speed in Linux Terminal
- installation
sudo apt update sudo apt install cargo cargo install ttyper
- crate symbolic link to call (lanch) ttyper in terminal
sudo ln -s ~/.cargo/bin/ttyper /usr/local/bin/ttyper
-
Ulauncher setting
Preference
- Number of frequenct apps to show:
4
- Show indicator icon:
disable
- Lauch at login:
enable
Shortcut
- Name:
Emojipedia
, Keyword:emp
, Query or Script:https://emojipedia.org/
, Run without argument:enable
, Icon:~/Others/customIcons/220px-Emojipedia_logo.png
Extensions
- Name:
Emoji
, by:Aleksandr Gornostal
, URL:https://github.com/Ulauncher/ulauncher-emoji
- Number of frequenct apps to show:
-
Customized Bash Prompt (optional)
- copy
SETUP_SCRIPT/other/aliasesNfuctions/bash_custom_promt
and paste to~
and rename it to.bash_custom_promt
- add this code to
.bashrc
(see picture):
#Add custom promt file if [ -f ~/.bash_custom_promt ]; then . ~/.bash_custom_promt fi
- copy
-
Install More App
a. Mailspring Email Client (recommended to install via .deb package)