Recently I rebuilt a laptop and installed a few scripts from a working machine. The other day I went to run one of the scripts from a command line and got the following:
/bin/bash^M: bad interpreter: No such file or directory
Now the new machine had an identical setup to the old and the script I was trying to run had the right permissions(and of course ran perfectly on the old machine), so the problem had to lie with the formatting of the script file ( and the ^M was a bit of a hint too?). Somehow the file transfer had corrupted the script file and trying to edit it didn't fix it.
Latest: Mint 18.3/Google appears to have sorted the problems. However there is still an issue with some video drivers. ————————-
Now that Mint 18 has been released, the first thing I noticed was that Google Earth is not available in the repositories and requires a manual download and install.
Before doing that, make sure Mint updates have been applied as the LSB libraries are missing from the installation disk, but are now available as an update.
Occasionally I like to set myself little mental exercises to keep the brain ticking over. My latest bright idea was to replace my desktop background wallpaper with a live [or nearly live] image from the Internet.
There is a site with a live webcam pointing to a view that I love. The webcam updates roughly once a minute producing a JPG image. My task was to use that image as a desktop background.
For the purposes of illustration, I have used imaginary URLs but you can take it from me that it works.
The first part was to write a shell script to retrieve the file from the website. This was short and simple –
#!/bin/bash # retrieves newest image from web camera # and sets this as desktop background in cinnamon
It has a 1Tb hard disk so I allocated 500Gb for Windows and 500Gb for Linux [Mint 17.3 Cinnamon].
My problem was that I wanted to be able to permanently access the Windows NTFS partition from Linux as there were some files that I wanted to be able to edit from either OS, and it made sense to retain those files on NTFS where they can be accessed seamlessly from either OS.
So how do I get Linux to automatically mount the NTFS partition on boot?