Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| notes:ubuntu_tips [2020/02/11 13:52] – admin | notes:ubuntu_tips [2026/10/25 19:30] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== Ubuntu tips ====== | ====== Ubuntu tips ====== | ||
| + | ===== 20.04 post-install steps ===== | ||
| + | * install VBox guest additions | ||
| + | < | ||
| + | # apt install gcc make perl | ||
| + | # / | ||
| + | # reboot | ||
| + | </ | ||
| + | * install and configure additional software | ||
| + | < | ||
| + | # apt install net-tools openssh-server vim tmux mc autofs | ||
| + | # vim / | ||
| + | # vim / | ||
| + | # service autofs restart | ||
| + | </ | ||
| + | * create dxxx user account (plus related groups) and set up the account | ||
| + | < | ||
| + | # groupadd -g 501 dxx | ||
| + | # groupadd -g 508 gr_share | ||
| + | # useradd -c " | ||
| + | -m -s /bin/bash -u 501 dxxx | ||
| + | # passwd dxxx | ||
| + | </ | ||
| + | * copy dxxx's config from the server | ||
| + | < | ||
| + | $ scp -r .ssh < | ||
| + | $ scp -r .tmux < | ||
| + | $ scp .tmux.conf .bash_aliases < | ||
| + | </ | ||
| + | * configure dxxx's account | ||
| + | < | ||
| + | $ cd ~ | ||
| + | $ mv Documents/ Documents.local | ||
| + | $ ln -s / | ||
| + | $ ln -s / | ||
| + | </ | ||
| ===== Allow users with UID < 1000 appear on login screen ===== | ===== Allow users with UID < 1000 appear on login screen ===== | ||
| By default users with UID lesser than 1000 do not appear on graphical login screen. That can be changed in **/ | By default users with UID lesser than 1000 do not appear on graphical login screen. That can be changed in **/ | ||
| Line 13: | Line 48: | ||
| ... | ... | ||
| </ | </ | ||
| - | ===== Resize JPG in nautilus | + | ===== Convert JPG to PDF ===== |
| + | < | ||
| + | $ img2pdf image.jpg > image.pdf | ||
| + | </ | ||
| + | ===== Resize JPG ===== | ||
| + | ==== in nautilus ==== | ||
| Install necessary packages and restart nautilus... | Install necessary packages and restart nautilus... | ||
| < | < | ||
| Line 21: | Line 61: | ||
| </ | </ | ||
| Resize image via right mouse click... | Resize image via right mouse click... | ||
| + | ==== CLIs ==== | ||
| + | < | ||
| + | $ man mogrify | ||
| + | $ man convert | ||
| + | </ | ||
