Difference between revisions of "IT-OS-Config-Samer"
Jump to navigation
Jump to search
Samerhijazi (talk | contribs) (→bashrc) |
Samerhijazi (talk | contribs) (→Tweaks) |
||
| (13 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
| + | =Tweaks= | ||
| + | *https://wiki.archlinux.org/title/Mouse_acceleration#Disabling_mouse_acceleration | ||
| + | *https://freepctech.com/how-to/turn-off-mouse-acceleration/ | ||
| + | *https://www.youtube.com/watch?v=YkvTMnKajHE | ||
| + | *org/gnome/desktop/peripherals/mouse/acceleration-profile | ||
| + | |||
=Needed-Apps= | =Needed-Apps= | ||
* https://gist.github.com/grenade/6363978 | * https://gist.github.com/grenade/6363978 | ||
| Line 23: | Line 29: | ||
- sda4: rest >> /home | - sda4: rest >> /home | ||
</pre> | </pre> | ||
| − | == | + | ==Prompt Customization== |
| − | * https:// | + | * https://wiki.archlinux.org/title/Bash/Prompt_customization |
| − | |||
<pre class="code"> | <pre class="code"> | ||
\e[00;33;41m # Start color scheme (\e[); (Text-Format; Foreground ; Background); Stop color scheme (m). | \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: | Text-Format: | ||
| Line 57: | Line 63: | ||
</pre> | </pre> | ||
<pre class="code"> | <pre class="code"> | ||
| − | + | PS1="\[\033[32m\]\u@\h:\[\033[34m\][\w]\[\033[32m\]$(__git_ps1)\[\033[0m\]\n$ " | |
| − | PS1="\[\033[32m\]\u@\h:\[\033[34m\][\w]\[\033[32m\] | ||
--- | --- | ||
PROMPT_COMMAND= | PROMPT_COMMAND= | ||
| Line 71: | Line 76: | ||
alias sysr='sudo dnf remove' | alias sysr='sudo dnf remove' | ||
alias mc='LANG=en_EN.UTF-8 mc' | alias mc='LANG=en_EN.UTF-8 mc' | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
</pre> | </pre> | ||
| Line 168: | Line 165: | ||
<pre class="code"> | <pre class="code"> | ||
~/.local/share/plank/themes | ~/.local/share/plank/themes | ||
| + | </pre> | ||
| + | |||
| + | ==Fonts== | ||
| + | * "'''Cascadia Mono'''" with Size: '''10''' | ||
| + | * https://github.com/microsoft/cascadia-code/releases | ||
| + | * Use "ttf" Version | ||
| + | * Colors: One Half Dark https://github.com/sonph/onehalf | ||
| + | * https://github.com/aarowill/base16-gnome-terminal | ||
| + | <pre class="code"> | ||
| + | { | ||
| + | "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" | ||
| + | } | ||
</pre> | </pre> | ||
| Line 206: | Line 235: | ||
convert example.png -resize 200 example.png # Width 200 | convert example.png -resize 200 example.png # Width 200 | ||
convert example.png -resize x100 example.png # Hight 100 | convert example.png -resize x100 example.png # Hight 100 | ||
| + | </pre> | ||
| + | <pre class="code"> | ||
| + | inkscape –-export-type=png image.svg | ||
</pre> | </pre> | ||
Latest revision as of 12:57, 6 September 2022
Contents
Tweaks
- https://wiki.archlinux.org/title/Mouse_acceleration#Disabling_mouse_acceleration
- https://freepctech.com/how-to/turn-off-mouse-acceleration/
- https://www.youtube.com/watch?v=YkvTMnKajHE
- org/gnome/desktop/peripherals/mouse/acceleration-profile
Needed-Apps
- https://gist.github.com/grenade/6363978
- AppEditor: https://github.com/donadigo/appeditor
- gtk3-widget-factory
- gtk3-icon-browser
- https://download.jetbrains.com/fonts/JetBrainsMono-1.0.0.zip
- https://github.com/jnsh
- https://github.com/arc-design/arc-theme
- https://github.com/horst3180/arc-theme
- https://github.com/horst3180/arc-icon-theme
- https://github.com/elementary/stylesheet
- https://github.com/elementary/icons
- https://www.gnome-look.org/p/1334194/
- https://unetbootin.github.io/
- Wallpapers: https://www.wallpaperflare.com/
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
- Tool (GTK+ Demo): gtk3-demo
- Tool (GTK+ Icon Browser): gtk3-icon-browser
- Tool (GTK+ Widget Factory): gtk3-widget-factory
- Arc-Theme-Colors: https://www.color-hex.com/color-palette/36646
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
- "Cascadia Mono" with Size: 10
- https://github.com/microsoft/cascadia-code/releases
- Use "ttf" Version
- Colors: One Half Dark https://github.com/sonph/onehalf
- https://github.com/aarowill/base16-gnome-terminal
{
"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