Files
mkdocs/docs/Mint/Mint.md
2019-06-14 17:22:29 +02:00

109 lines
2.1 KiB
Markdown

# Linux Mint
#### Configuration matérielle:
```bash
System:
Host: MintBook
Kernel: 4.15.0-50-generic x86_64 bits: 64 compiler: gcc v: 7.3.0
Desktop: Cinnamon 4.0.10 wm: muffin dm: LightDM
Distro: Linux Mint 19.1 Tessa base: Ubuntu 18.04 bionic
```
```bash
Machine:
Type: Laptop System: Apple product: MacBookPro11,3
```
#### Firefox (et Thunderbird) en français:
-gestionnaire de paquets Synaptic. Chercher Firefox et installer le paquet de langue Fr
-dans `about:config` mettre `'fr'` à l'option `'general.useragent.locale'`
#### SSH:
**Créer une clé SSH:**
```bash
$ ssh-keygen -t rsa -b 4096 -C "Clé sur MintBook"
Generating public/private rsa key pair.
Enter file in which to save the key (/home/bruno/.ssh/id_rsa):
Created directory '/home/bruno/.ssh'.
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in /home/bruno/.ssh/id_rsa.
Your public key has been saved in /home/bruno/.ssh/id_rsa.pub.
The key fingerprint is:
SHA256:DvdgIfk9VTr4jQHW2/ehbu/1tX8iMkRAlcpfEwbud+M Clé sur MintBook
The key's randomart image is:
+---[RSA 4096]----+
| ...=+ . |
| ..o.o+o |
| o..oo.=+ |
| oo+.o+=...|
| . So+.+.=.o|
| = ooo + ..|
| ... . E o|
| o .o. *|
| o..o==|
+----[SHA256]-----+
```
#### Installer Typora:
```bash
wget -qO - https://typora.io/linux/public-key.asc | sudo apt-key add -
# or use
# sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys BA300B7755AFCFAE
# add Typora's repository
echo -e "\ndeb https://typora.io/linux ./" | sudo tee -a /etc/apt/sources.list
sudo apt-get update
# install typora
sudo apt-get install typora
```
#### gksu est déprécié:
Depuis ubuntu 18.04, **gksu** est déprécié et n'est plus disponible.
Au lieu de la commande **gksu**:
```bash
$ gksu gedit /etc/nginx/sites-available/mint
```
il faut utiliser la commande **gedit admin://**:
```bash
$ gedit admin:///etc/nginx/sites-available/mint
```
#### Ouvrir gedit (en arrière-plan) depuis le terminal:
```bash
$ nohup gedit .dircolors >/dev/null &
```
```bash
$ gedit .dircolors &
```