Difference between revisions of "IT-OS-Config-Samer"

From wiki.samerhijazi.net
Jump to navigation Jump to search
(Needed-Apps)
(Needed-Apps)
Line 11: Line 11:
 
* https://github.com/elementary/stylesheet
 
* https://github.com/elementary/stylesheet
 
* https://github.com/elementary/icons
 
* https://github.com/elementary/icons
 +
* https://www.gnome-look.org/p/1334194/
 
* https://unetbootin.github.io/
 
* https://unetbootin.github.io/
  

Revision as of 11:04, 10 June 2020

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 branch 2>/dev/null | grep "^*"))\[\033[00m\]\n\$ "
alias ls='ls -alh'
alias cls='clear'
alias sysu='sudo dnf update'
alias sysi='sudo dnf install'
alias sysr='sudo dnf remove'

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-BG= #4B5162 alternativ #282A36
Terminal-FG= #D3D7CF
Taskbar    = #001823 bzw. rgba(0, 24, 35, 1)
Taskbar    = #001923 bzw. rgba(0, 25, 35, 1)
###############################################
# 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;
}

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