IT-OS-Config-Samer

From wiki.samerhijazi.net
Revision as of 12:56, 6 September 2022 by Samerhijazi (talk | contribs) (Tweaks)
Jump to navigation Jump to search

Tweaks

Needed-Apps

System Arch

- sda1: 01GB >> /boot/efi
- sda2: 02GB >> swap
- sda3: 70GB >> /
- sda4: rest >> /home

Prompt Customization

\e[00;33;41m       # Start color scheme (\e[); (Text-Format; Foreground ; Background); Stop color scheme (m).
\[\033[00;34;41m\] # Start color scheme (\[\033); (Text-Format; Foreground ; Background); Stop color scheme (m\]).
-----------
Text-Format:
00: Normal Text
01: Bold
02: ???
03: Italic
04: Underlined text
-----------
Fortground:
30: Black
31: Red
32: Green
33: Yellow
34: Blue
35: Purple
36: Cyan
37: White
-----------
Background:
40: Black
41: Red
42: Green
43: Yellow
44: Blue
45: Purple
46: Cyan
47: White
PS1="\[\033[32m\]\u@\h:\[\033[34m\][\w]\[\033[32m\]$(__git_ps1)\[\033[0m\]\n$ "
---
PROMPT_COMMAND=
echo -ne "\033]0;Git\a"
alias ls='ls -alh'
alias ll='ls -alF'
alias cls='clear'
alias sysu='sudo dnf update'
alias sysi='sudo dnf install'
alias sysr='sudo dnf remove'
alias mc='LANG=en_EN.UTF-8 mc'

Setting VIM

  • File: .vimrc
map <C-a> <esc>ggVG<CR>

Themeing

Terminal

Sams

BG= #2E2E2E
FG= #D3D7CF
Pallete: ['#073642','#dc322f','#859900','#b58900','#268bd2','#ec0048','#2aa198','#94a3a5','#586e75','#cb4b16','#859900','#b58900','#268bd2','#d33682','#2aa198','#6c71c4']

Dracula

BG= #282A36
FG= #F8F8F2
Pallete-gnome: ['#262626', '#E356A7', '#42E66C', '#E4F34A', '#9B6BDF', '#E64747', '#75D7EC', '#EFA554', '#7A7A7A', '#FF79C6', '#50FA7B', '#F1FA8C', '#BD93F9', '#FF5555', '#8BE9FD', '#FFB86C']
Pallete-eos: #262626:#E356A7:#42E66C:#E4F34A:#9B6BDF:#E64747:#75D7EC:#EFA554:#7A7A7A:#FF79C6:#50FA7B:#F1FA8C:#BD93F9:#FF5555:#8BE9FD:#FFB86C

Terminal: elementary

BG= rgba(46, 46, 46, 0.95) : #2E2E2E
FG= #a5a5a5
Pallete: '#073642:#dc322f:#859900:#b58900:#268bd2:#ec0048:#2aa198:#94a3a5:#586e75:#cb4b16:#859900:#b58900:#268bd2:#d33682:#2aa198:#6c71c4'

Terminal: Arc

Terminal-BG= #4B5162 alternativ #282A36
Terminal-FG= #D3D7CF
Taskbar    = #001823 bzw. rgba(0, 24, 35, 1)
Taskbar    = #001923 bzw. rgba(0, 25, 35, 1)

Mix-Colors

###############################################
# Created by cinnamon-settings - please do not edit or reformat.
#
style "cs-scrollbar-style" {
GtkScrollbar::slider-width = 10
}
class "GtkScrollbar" style "cs-scrollbar-style"
###############################################

CSS-Style

~/.config/gtk-3.0/gtk.css
/*********************/
notebook tab {
  min-height: 0;
  padding: 2px;
}
notebook tab button {
  min-height: 0;
  min-width: 0;
  padding: 1px;
  margin: 1px;
}
/*********************
* wingpanel support *
********************/
.panel {  
   background-color: rgba(47,55,66,1.0);  
   transition: all 1s ease-in-out;
}    
.panel.maximized {  
   background-color: rgba(47,55,66,1.0); 
}
/*********************/
VteTerminal,
TerminalScreen {
padding: 10px 10px 10px 10px;
-VteTerminal-inner-border: 10px 10px 10px 10px;
}

Plank-Theme

Save the new Theme under the following Folder:

~/.local/share/plank/themes

Fonts

{
"background": "#282C34",
"black": "#282C34",
"blue": "#61AFEF",
"brightBlack": "#5A6374",
"brightBlue": "#61AFEF",
"brightCyan": "#56B6C2",
"brightGreen": "#98C379",
"brightPurple": "#C678DD",
"brightRed": "#E06C75",
"brightWhite": "#DCDFE4",
"brightYellow": "#E5C07B",
"cursorColor": "#FFFFFF",
"cyan": "#56B6C2",
"foreground": "#DCDFE4",
"green": "#98C379",
"name": "One Half Dark",
"purple": "#C678DD",
"red": "#E06C75",
"selectionBackground": "#FFFFFF",
"white": "#DCDFE4",
"yellow": "#E5C07B"
}

Setting OS

OS: ubuntu

  • Ubuntu 18.04 LTS: ubuntu/bionic64
sudo apt install curl
sudo apt install nodejs
sudo apt install npm
sudo apt install python
...
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
sudo apt install docker-ce
sudo usermod -aG docker $USER
...
sudo curl -L "https://github.com/docker/compose/releases/download/1.25.4/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
sudo chmod +x /usr/local/bin/docker-compose
...
sudo apt update
sudo apt-get upgrade

OS: fedora


Images

sudo dnf install ImageMagick
convert howtogeek.png howtogeek.jpg
convert howtogeek.png -quality 95 howtogeek.jpg
convert example.png -resize 200x100 example.png
convert example.png -resize 200x100! example.png
convert example.png -resize 200 example.png         # Width 200
convert example.png -resize x100 example.png        # Hight 100
inkscape –-export-type=png image.svg