This commit is contained in:
2019-06-18 20:44:10 +02:00
parent 64bedc7966
commit 112174c11b
9 changed files with 1522 additions and 0 deletions

View File

@@ -17,6 +17,23 @@ Machine:
Type: Laptop System: Apple product: MacBookPro11,3
```
Quel hardware ?
```bash
# macOS
$ sysctl hw.model
hw.model: MacBookPro13,3
```
```bash
# ubuntu
$ sudo dmidecode -s system-product-name
MacBookPro11,3
```
https://wiki.ubuntu.com/MactelSupportTeam/CommunityHelpPages
https://help.ubuntu.com/community/MacBookPro
#### Firefox (et Thunderbird) en français:
@@ -26,6 +43,14 @@ Machine:
#### Chromium en français:
```bash
$ sudo apt-get install chromium-browser-l10n
```
#### SSH:
**Créer une clé SSH:**
@@ -106,3 +131,42 @@ $ nohup gedit .dircolors >/dev/null &
$ gedit .dircolors &
```
#### Convertir une man-page en pdf:
```bash
man ls | gedit -
man ls | zenity --text-info
man -t ls | ps2pdf - ls.pdf
man -Tps ls | ps2pdf - > ls.pdf
# fonctions pur .zshrc:
fman () { until [[ -z $1 ]] ;do man -f "$1" 2>/dev/null && coproc man --html=firefox "$Extra close brace or missing open brace1"; shift; done; }
eman() { man -t "$1" | ps2pdf - "$1".pdf && setsid evince "$1".pdf; }
#Ouvrir. le .pdf:
xdg-open /path/to/file.pdf
evince /path/to/file.pdf
pdfopen, pdfclose - open or close a PDF file viewer
```
#### [cinnamon] Les Préférences ne se chargent pas:
cinnamon-settings doesn't open with pillow >= 6.0.0 (Python)
https://github.com/linuxmint/cinnamon/issues/8495#issuecomment-480221648
#### Impossible d'écrire sur le disque USB
```bash
$ id
uid=501(bruno) gid=20(staff) groups=20(staff),701(com.apple.sharepoint.group.1),12(everyone),61(localaccounts),79(_appserverusr),80(admin),81(_appserveradm),98(_lpadmin),33(_appstore),100(_lpoperator),204(_developer),250(_analyticsusers),395(com.apple.access_ftp),398(com.apple.access_screensharing),399(com.apple.access_ssh)
$ sudo chown bruno:users /mnt/MyDisk
```