Commit 7e478c9a authored by Pavel Mashliakovskiy's avatar Pavel Mashliakovskiy 🤹🏻
Browse files

add more info for Ubuntu from scratch

parent 1487721e
### Basic
# Basic
```
sudo apt install mc evolution evolution-ews chromium-browser git nodejs npm postgresql-client
sudo apt install net-tools curl mc evolution evolution-ews chromium-browser git htop postgresql-client
```
#### Git addition
If completion (Tab after git command) or prompty (repo status in command prompt) not work:
## Additianal
- nodeJS + npm - see [nodesource instruction](https://github.com/nodesource/distributions/blob/master/README.md#debinstall)
- [Psensor - CPU temp, fan speed etc](https://wpitchoune.net/psensor/)
- WebStorm - `sudo snap install webstorm --classic`
- Skype: `sudo snap install skype`
- Database Tool DBeaver
```
wget https://dbeaver.io/files/dbeaver-ce_latest_amd64.deb
sudo apt install dbeaver-ce_latest_amd64.deb
```
- UnityBase development env (Free Pascal): see [setup instruction]()
### Disable Spectre/Meltdown patch
```bash
sudo nano /etc/default/grub
```
add to GRUB_CMDLINE_LINUX_DEFAULT='..." next params
pti=off spectre_v2=off l1tf=off nospec_store_bypass_disable no_stf_barrier
```bash
sudo update-grub
```
## Yaru UI theme (already installed in 18.10, recommended for 18.04)
More on https://github.com/ubuntu/yaru
```
sudo snap install communitheme
sudo apt install gnome-tweak-tool
```
Change theme in tweak as described [in ubuntu-community-theme](https://itsfoss.com/ubuntu-community-theme/)
Dark variant - select Communitheme-Dark in tweek
## Tips
### Git addition
If prompty (repo status in command prompt) not work:
```
curl https://raw.githubusercontent.com/git/git/master/contrib/completion/git-completion.bash -o ~/.git-completion.bash
curl https://raw.githubusercontent.com/git/git/master/contrib/completion/git-prompt.sh -o ~/.git-prompt.sh
chmod +x .git-prompt.sh
```
add lines below to `~./bashrc`
```
if [ -f ~/.git-completion.bash ]; then
. ~/.git-completion.bash
fi
~/.git-prompt.sh
GIT_PS1_SHOWDIRTYSTATE=true
GIT_PS1_SHOWCOLORHINTS=true
......@@ -25,6 +56,11 @@ GIT_PS1_UNTRACKEDFILES=true
PROMPT_COMMAND="__git_ps1 '\u@\h:\w' '\\$ '"
```
### MC
- change folder using left\righr arrow: Optins->Panel options-> check Linx Like motion
- dark theme: Options-Appearance
- remote folder: Rigth -> Shell link... sh://user@host
### Docker
if https://docs.docker.com/install/linux/docker-ce/ubuntu/ fail
......@@ -83,4 +119,4 @@ In Command field put command with absolute paths like
```
/home/user/path/to/unzipped/firefox --no-remote -P "ubDebug" -chrome chrome://devtools/content/framework/connect/connect.xhtml
```
\ No newline at end of file
```
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment