IT-OS-Config-Samer

From wiki.samerhijazi.net
Revision as of 13:59, 3 October 2020 by Samerhijazi (talk | contribs) (bashrc)
Jump to navigation Jump to search

Needed-Apps

System Arch

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

bashrc

\[\033[0m\]    #No Format
\[\033[0;32m\] #Green
\[\033[0;33m\] #Yellow
\[\033[0;34m\] #Blue
\[\033[0;36m\] #Cyan 
PS1="\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\][\w]\[\033[00m\]\n\$ "
PS1="\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\][\w] \[\033[00;32m\]\`__git_ps1\`\[\033[00m\]\n\$ "
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'

DPI-Resoulation

# http://dpi.lv/
# HP-Box: 15.6" @ (1366 x 768) >> 100 DPI
# HP-Box: 17.3" @ (1366 x 768) >> 91 DPI
xdpyinfo | grep dots

Setting VIM

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

Themeing

Terminal: gnome

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

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"
###############################################
~/.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;
}
...
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

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