Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| notes:ubuntu_tips [2019/09/01 09:27] – [Allow users with UID < 1000 appear on login screen] 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 **/ | ||
| + | \\ | ||
| //Note: Does not seem to work on 18.04.// | //Note: Does not seem to work on 18.04.// | ||
| ===== Enable auto login for user with UID < 1000 on 18.04 ===== | ===== Enable auto login for user with UID < 1000 on 18.04 ===== | ||
| Line 11: | Line 47: | ||
| AutomaticLogin=userid | AutomaticLogin=userid | ||
| ... | ... | ||
| + | </ | ||
| + | ===== Convert JPG to PDF ===== | ||
| + | < | ||
| + | $ img2pdf image.jpg > image.pdf | ||
| + | </ | ||
| + | ===== Resize JPG ===== | ||
| + | ==== in nautilus ==== | ||
| + | Install necessary packages and restart nautilus... | ||
| + | < | ||
| + | $ sudo apt install imagemagick | ||
| + | $ sudo apt install nautilus-image-converter | ||
| + | $ nautilus -q | ||
| + | </ | ||
| + | Resize image via right mouse click... | ||
| + | ==== CLIs ==== | ||
| + | < | ||
| + | $ man mogrify | ||
| + | $ man convert | ||
| </ | </ | ||
