Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentes Révision précédente | Révision précédente | ||
welcome:ubuntu:small_tricks [2020/02/25 19:20] |
welcome:ubuntu:small_tricks [2023/01/08 15:11] (Version actuelle) arnaud [Attendre la fin du script] |
||
---|---|---|---|
Ligne 1: | Ligne 1: | ||
+ | <color # | ||
+ | |||
+ | ====== Add a network interface (Ubuntu22) by CLI ====== | ||
+ | * list the interfaces < | ||
+ | * activate the interface < | ||
+ | * set the IP of the interface: < | ||
+ | * apply the settings:< | ||
+ | ====== Auto-connect VPN and Wifi ====== | ||
+ | < | ||
+ | * < | ||
+ | #!/bin/bash | ||
+ | |||
+ | # wait 20 secondes | ||
+ | sleep 20s | ||
+ | |||
+ | #restart NetworkManager | ||
+ | service network-manager restart | ||
+ | |||
+ | exit 0</ | ||
+ | * < | ||
+ | * < | ||
+ | [SeatDefaults] | ||
+ | session-setup-script=/ | ||
+ | |||
+ | ====== Beep ====== | ||
+ | Pour activer le " | ||
+ | * < | ||
+ | * tester si le beep fonctionne: < | ||
+ | $ beep</ | ||
+ | * Rendre persistant: < | ||
+ | ....</ | ||
+ | |||
+ | |||
+ | ====== Change the keyboard layout into the login manager ====== | ||
+ | works for Lubuntu20: | ||
+ | < | ||
+ | and maek your choise. | ||
+ | |||
+ | ====== Disable the touchpad of laptops ====== | ||
+ | Source: https:// | ||
+ | For " | ||
+ | |||
+ | |||
+ | ====== Documents management ====== | ||
+ | https:// | ||
+ | |||
+ | ====== Position of the icons on the desktop not stored ====== | ||
+ | If one day all your icons are always on the left side of the desktop and their position is not remembered between the sessions: check the permissions and make a correct setting: | ||
+ | < | ||
+ | $ ls -al ./ | ||
+ | $ sudo chown -R your_user_name: | ||
+ | Logout and re-login: the problem should be gone. | ||
+ | |||
+ | ====== Remote Desktop ====== | ||
+ | **Via RDP** \\ | ||
+ | Install and run the script given here: http:// | ||
+ | See https:// | ||
+ | |||
+ | ====== Run a script at startup ====== | ||
+ | https:// | ||
+ | < | ||
+ | #!/bin/bash | ||
+ | |||
+ | / | ||
+ | < | ||
+ | $ sudo cat / | ||
+ | [Unit] | ||
+ | After=network-online.target | ||
+ | Wants=network-online.target | ||
+ | |||
+ | [Service] | ||
+ | ExecStart=/ | ||
+ | |||
+ | [Install] | ||
+ | WantedBy=default.target | ||
+ | </ | ||
+ | < | ||
+ | # chmod 664 / | ||
+ | </ | ||
+ | < | ||
+ | # systemctl enable wol-omv.service</ | ||
+ | |||
+ | ===== Attendre la fin du script ===== | ||
+ | <note important> | ||
+ | https:// | ||
+ | https:// | ||
+ | https:// | ||
+ | |||
+ | < | ||
+ | $ sudo cat / | ||
+ | [Unit] | ||
+ | After=network-online.target | ||
+ | Wants=network-online.target | ||
+ | |||
+ | [Service] | ||
+ | Type=oneshot | ||
+ | TimeoutStartSec=10s | ||
+ | ExecStart=/ | ||
+ | |||
+ | [Install] | ||
+ | WantedBy=default.target | ||
+ | </ | ||
+ | Il faut un " | ||
+ | |||
+ | ====== Terminal ====== | ||
+ | https:// | ||
+ | |||
+ | ====== Webcam ====== | ||
+ | Settings of webcam: | ||
+ | ===== v4l-utils ===== | ||
+ | * < | ||
+ | * < | ||
+ | * < | ||
+ | * < | ||
+ | |||
+ | ===== GTK+ UVC Viewer (UNOFFICIAL) ===== | ||
+ | installed via the software manager (look for " | ||