add Cheatsheet

This commit is contained in:
naoufal zerai 2022-08-28 19:43:47 -04:00
parent a7c7f388d6
commit 9810652543
4 changed files with 100 additions and 0 deletions

View File

@ -0,0 +1,32 @@
+++
title = "Gnome Application Theme"
date = 2022-08-28T13:42:37-04:00
lastmod = 2022-08-28T13:42:37-04:00
tags = [
"gtk",
"cusomisation"
]
categories = ["Linux"]
imgs = []
cover = "" # image show on top
readingTime = true # show reading time after article date
toc = true
comments = false
justify = false # text-align: justify;
single = false # display as a single page, hide navigation on bottom, like as about page.
license = "" # CC License
draft = false
+++
GTK+ ≥ 3.12 allows you to theme specific applications, such as nevolution.
<!--more-->
You can use the <kbd>GTK_THEME=[theme-name] [application]</kbd> command to run a specific application with a specific theme. For example, you can enter <kbd>GTK_THEME=Yaru-dark evolution</kbd> in the terminal to run the evolution of the Yaru dark theme.
If you want to keep this theme permanently in a program,
You should go to <kbd>/usr/share/applications</kbd> and find and copy the application's .desktop file, in this case mine was org.gnome.Evolution.desktop. Then paste it into <kbd>~/.local/share/applications</kbd> and open it with a text editor,
Then after <kbd>=</kbd> add env <kbd>GTK_THEME=<theme-name></kbd> look for each line starting with <kbd>Exec=</kbd> and put a space after it so the rest of the line comes before it, eg: <kbd>Exec=env GTK_THEME= Yaru-Dark Evolution -c stream</kbd>
All done 😄

View File

@ -0,0 +1,17 @@
+++
title = "Cheatsheet Ranger"
date = 2022-08-28T19:16:08-04:00
lastmod = 2022-08-28T19:16:08-04:00
tags = ["ranger","cheatsheet"]
categories = ["Linux"]
imgs = []
cover = "" # image show on top
readingTime = true # show reading time after article date
toc = true
comments = false
justify = false # text-align: justify;
single = false # display as a single page, hide navigation on bottom, like as about page.
license = "" # CC License
draft = true
+++

View File

@ -0,0 +1,34 @@
+++
title = "Cheatsheet Tmux"
date = 2022-08-28T19:15:25-04:00
lastmod = 2022-08-28T19:15:25-04:00
tags = ["cheatsheet","tmux"]
categories = ["Linux"]
imgs = []
cover = "" # image show on top
readingTime = true # show reading time after article date
toc = true
comments = false
justify = false # text-align: justify;
single = false # display as a single page, hide navigation on bottom, like as about page.
license = "" # CC License
draft = false
+++
Tmux is a terminal multiplexer. It lets you switch easily between several programs in one terminal, detach them (they keep running in the background) and reattach them to a different terminal.
<!--more-->
|||
|---|---|
| Create window | <kbd>Ctrl + b</kbd> <kbd>c</kbd> |
| Switch window by number| <kbd>Ctrl + b</kbd> <kbd>0</kbd>...<kbd>9</kbd> |
| Previous window | <kbd>Ctrl + b</kbd> <kbd>p</kbd> |
| Next window | <kbd>Ctrl + b</kbd> <kbd>n</kbd> |
| Split pane with vertical layout | <kbd>Ctrl + b</kbd> <kbd>"</kbd> |
| Split pane with horizontal layout | <kbd>Ctrl + b</kbd> <kbd>{</kbd> |
| Switch pane | <kbd>Ctrl + b</kbd> <kbd>⬆️</kbd><kbd>⬇️</kbd><kbd>➡️</kbd><kbd>⬅️</kbd> |
#### Acknowledgement :
- https://github.com/tmux/tmux/wiki

View File

@ -0,0 +1,17 @@
+++
title = "Cheatsheet Vi"
date = 2022-08-28T19:15:33-04:00
lastmod = 2022-08-28T19:15:33-04:00
tags = ["cheatsheet","vi","vim"]
categories = ["Linux"]
imgs = []
cover = "" # image show on top
readingTime = true # show reading time after article date
toc = true
comments = false
justify = false # text-align: justify;
single = false # display as a single page, hide navigation on bottom, like as about page.
license = "" # CC License
draft = true
+++