04-03-2022

This commit is contained in:
2022-03-04 17:56:50 +01:00
parent e6fc2251ec
commit 5b45dc0863
70 changed files with 3189 additions and 673 deletions

View File

@@ -1,30 +1,26 @@
# Raspberry (divers)
#### Installer le correcteur orthographique français:
### Installer le correcteur orthographique français:
```bash
$ sudo apt-get install myspell-fr
sudo apt-get install myspell-fr
```
#### Installer LibreOffice français:
### Installer LibreOffice français:
```bash
$ sudo apt-get install libreoffice-l10n-fr
$ sudo apt-get install myspell-fr
$ sudo apt-get install hyphen-fr
$ sudo apt-get install mythes-fr
$ sudo apt-get install libreoffice-help-fr
sudo apt-get install libreoffice-l10n-fr
sudo apt-get install myspell-fr
sudo apt-get install hyphen-fr
sudo apt-get install mythes-fr
sudo apt-get install libreoffice-help-fr
```
#### Installer avec Git:
### Installer avec Git:
```bash
cd /SourceCache
@@ -35,7 +31,7 @@ make
#### Installer une appli depuis un .deb:
### Installer une appli depuis un .deb:
```bash
pi@framboise:~/Downloads $ wget http://www.bristolwatch.com/rpi/dl/beaver_0.4.1-1_armhf.deb
@@ -45,70 +41,68 @@ pi@framboise:~/Downloads $ sudo dpkg -i beaver_0.4.1-1_armhf.deb
#### Editer un fichier de config:
### Editer un fichier de config:
```bash
$ sudo leafpad /etc/samba/smb.conf &
sudo leafpad /etc/samba/smb.conf &
```
#### Virer les fichiers .DS_Store:
### Virer les fichiers .DS_Store:
```bash
$ find /my/data/to/move -name '*.DS_Store' -type f -delete
find /my/data/to/move -name '*.DS_Store' -type f -delete
```
#### Installer clé bluetooth (pas utile avec Raspian):
### Installer clé bluetooth (pas utile avec Raspian):
```bash
$ lsusb
$ update-rc.d -f dbus defaults
$ apt-get install bluetooth bluez-utils blueman
$ hcitool scan
lsusb
update-rc.d -f dbus defaults
apt-get install bluetooth bluez-utils blueman
hcitool scan
```
[:fa-link: http://blog.petrilopia.net/linux/raspberry-pi-bluetooth-keyboard-work/](http://blog.petrilopia.net/linux/raspberry-pi-bluetooth-keyboard-work/)
#### Installer clé wifi (pas utile avec Raspian):
### Installer clé wifi (pas utile avec Raspian):
```bash
$ sudo apt-get install wicd
sudo apt-get install wicd
```
#### Permissions:
### Permissions:
Donner les permissions exécutable
```bash
$ chmod +x ./subfolder/anexecutablefile.sh
chmod +x ./subfolder/anexecutablefile.sh
```
Retirer er les permissions exécutable
```bash
$ chmod -x ./subfolder/anexecutablefile.sh
chmod -x ./subfolder/anexecutablefile.sh
```
Donner les permissions lecture/écriture
```bash
$ chmod +rw .anexecutablefile.sh
chmod +rw .anexecutablefile.sh
```
#### blkid
### blkid
locate/print block device attributes
```bash
```bash title="locate/print block device attributes"
pi@framboise:/media/pi/boot $ blkid
/dev/mmcblk0p1: LABEL="boot" UUID="E5B7-FEA1" TYPE="vfat" PARTUUID="1b38a7cf-01"
@@ -118,11 +112,9 @@ pi@framboise:/media/pi/boot $ blkid
#### lsblk
### lsblk
list block devices
```bash
```bash title="list block devices"
pi@framboise:~/Downloads/Ted-2.23 $ lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 29,8G 0 disk
@@ -134,7 +126,8 @@ mmcblk0 179:0 0 29,7G 0 disk
```
#### df -h
### df -h
```bash
pi@framboise:~ $ df -h