Mount NTFS with permissions

Identify the partition

sudo blkid

Mount the partition once

sudo mount /dev/sdXN -t ntfs-3g -o permissions [Mount point]

Map the users defined on the Windows system present on [Mount point].

When there are no more significant files, ntfs-3g.usermap creates the mapping file into the file UserMapping in the current directory. This file has to be moved to the hidden directory .NTFS-3G in the root of [Mount point]

ntfs-3g.usermap [Mount point]
#or
ntfsusermap [Mount point]

Mount the partition on boot by editing /etc/fstab

UUID=[The UUID of the partition]   [Mount point]     ntfs-3g permissions     0       1

Example:

UUID=7FC482015907F743   /media/Data     ntfs-3g permissions     0       1

Then, reboot the computer. On boot, it should automatically mount the partition on the specified mount point with options ‘permissions’ and you will be able to edit the permissions of the files on the NTFS partition with ‘chmod’ and ‘chown’ !

NOTE: Performing a full shutdown on Windows will allow the drives to be fully mounted by Ubuntu. This can be accomplished by holding the SHIFT key as you press the “Shut down” button on the “Power” menu.

More info at the following address: https://wiki.archlinux.org/index.php/NTFS-3G

Image Convert

Make sure ImageMagick is installed or install it

ls -al /etc/ImageMagick-6/policy.xml
#if not present, install
sudo apt install imagemagick

Once you have it installed, use the ‘convert’ command-line tool of ImageMagic. Just provide the paths to individual images and at the end of the command, name the output file. For example, something like this:

convert image1.jpg image2.png image3.bmp output.pdf
#or resize by procentage
convert  -resize 50% source.png dest.jpg
#or resize to specific size
convert -resize 1024X768  source.png dest.jpg

If the following error appears:

convert: not authorized `pictures.pdf' @ error/constitute.c/WriteImage/1028.

Edit /etc/ImageMagick-6/policy.xml and change\ the PDF rights from none to read|write there. 

<policy domain="coder" rights="read|write" pattern="PDF" /> 

Install Node.js and npm

You can install Node.js and npm directly from NodeSource repository. Node.JS provides an easy to use a bash script for this purpose.
What you have to keep in mind that you need to specify which major version of Node.Js you want to install.
Let’s say you want to install Node.Js version 11. You can use the following commands:

curl -sL https://deb.nodesource.com/setup_11.x | sudo -E bash -

To install the Node.js package, use the following command. Npm is also installed with this package.

sudo apt install nodejs

To upgrade Node.js, please execute the following:

sudo npm cache clean -f
sudo npm install -g n
sudo n stable

And in the end, check the installation.

node --version
npm --version

Desktop shortcut

  • Create Symlink in LinuxDesktop way: To create a symlink without a terminal, just hold Shift+Ctrl and drag the file or folder you want to link to to the location where you want the shortcut.