Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Last revision Both sides next revision | ||
notes:ubuntu_tips [2019/09/01 08:49] admin [Allow users with UID<1000 appear on login screen] |
notes:ubuntu_tips [2020/02/25 20:05] admin [Resize JPG] |
||
---|---|---|---|
Line 2: | Line 2: | ||
===== 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 **/etc/login.defs** file by customizing **UID_MIN**, **GID_MIN** settings. \\ | By default users with UID lesser than 1000 do not appear on graphical login screen. That can be changed in **/etc/login.defs** file by customizing **UID_MIN**, **GID_MIN** settings. \\ | ||
- | 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 ===== | ||
<code> | <code> | ||
Line 11: | Line 12: | ||
AutomaticLogin=userid | AutomaticLogin=userid | ||
... | ... | ||
+ | </code> | ||
+ | ===== Convert JPG to PDF ===== | ||
+ | <code> | ||
+ | $ img2pdf image.jpg > image.pdf | ||
+ | </code> | ||
+ | ===== Resize JPG ===== | ||
+ | ==== in nautilus ==== | ||
+ | Install necessary packages and restart nautilus... | ||
+ | <code> | ||
+ | $ sudo apt install imagemagick | ||
+ | $ sudo apt install nautilus-image-converter | ||
+ | $ nautilus -q | ||
+ | </code> | ||
+ | Resize image via right mouse click... | ||
+ | ==== CLIs ==== | ||
+ | <code> | ||
+ | $ man mogrify | ||
+ | $ man convert | ||
</code> | </code> |