Giter Club home page Giter Club logo

setup_script's Introduction

Run

  1. 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/
  1. run script
cd ~/SETUP_SCRIPT/ && chmod +x setup.sh && sudo ./setup.sh
  1. 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.

Command created after successully running script

Alias command created:

  • clean : system clean up, equivalant to sudo apt clean && sudo apt autoclean && sudo apt autoremove
  • pbcopy path/to/file : copy content of file to clipboard
  • pbpaste path/to/file : paste content from clipboard

Command (shell function) created:

  • cLO check lastest version of LibreOffice (.deb) available to download on official LibreOffice website
    • cLO -U update LibreOffice to the(/that) latest version (.deb)

Tested with:

  • Linux Mint 20.1 (Ulyssa) Cinnamon Edition (on 4 May 2021)
  • Linux Mint 20.2 (Uma) Cinnamon Edition (on 19 Oct 2021)

Complete the setup (manually done)

  1. Setting Bitwarden
    • Ctrl + , to access setting
      • enable Minimize when copying to clipboard
      • Clear Clipboard: 10 seconds

Bitwarden setting

  1. Assign Shortcut key for closing all open windows
    • Menu > Keyboard > Shortcut
    • Assign Super + Backspace to ~/Others/Apps/close-all-windows.sh

Assign Shortcut key for closing all open windows

  1. Configure LibreOffice

    • install extensions in ~/Desktop/LOextension/
    • add addtional preamble (in ~/Desktop/LOextension/extra-line-to-put-in-texmath-preamble-and-save-as-global) of TexMath and Save as Global

    add addtional preamble of TexMath and Save as Global

    • enable Complex text layout and choose Khmer
      • Tools > Options > Language Settings > Languages > Complex text layout > Khmer

    enable Complex text layout and choose Khmer

    • change Measurement unit to Centimeters
      • Tools > Options > LibreOffice * > General > Measurement unit > Centimeters

    change Measurement unit to Centimeters

  2. 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

    Linux Mint Cinnamon Welcome

  3. Enable Redshift Autostart

    • Menu > Redshift
    • Redshift applet (left hand side panel) > autostart

    enable redshift autostart

  4. 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])

    Keyboard Layout Configure

  5. Change Clock & Date Format

    • disable 24h clock: clock applet (left click) > Date & Time Settings > disable Use 24h clock

    disable 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)

      change clock format on the panel

    • 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)

      change clock format on the login screen top panel

  6. 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)

    Recommended Additonal Applets

  7. Customize bottom panel

    Recommended customize to look like this:

    Suggested Customized bottom panel

    • to arrange icons on left hand side panel, just drag it

    • to arrange icons on right hand side panel

      • first enale Panel edit mode
      • then arrange the applets by dragging it

      enale Panel edit mode to arrange applets on the right hand side of the panel

  8. Enable and disable some sounds

    Menu > Sound > Sounds:

    • sounds to disable:
      • Starting Cinnamon
      • Switching Workspace
    • sound to enable: Showing Notification

    Enable and disable some sounds

  9. (Optional) Download songs:

git clone https://github.com/Dimorng/SongCollection.git ~/Music
  1. (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
    

    guid about ttyper by itsfoss

  2. 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
  3. 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
    

    custom bash promt

    bash prompt after customized: bash prompt after customized

  4. Install More App

    a. Mailspring Email Client (recommended to install via .deb package)

    Mailspring Email Client

setup_script's People

Contributors

dimorng avatar

Stargazers

 avatar

Watchers

James Cloos avatar  avatar

Forkers

chhoukgoldadmin

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.