Bash script doesn’t work on Linux Mint
Today I wanted to run (once again) a bash script on Linux Mint. (I had downloaded it from Pastebin.com). But unfortunately nothing happened. Not even an error message. Whereas solution was quite simple. The script was apparently stored with line breaks in Windows format (r), so the bash interpreter couldn’t parse it correctly.
Quick and easy solution was promised by fromdos. To repair the script, you just have to call the following command:
fromdos myScriptFile.sh
Should you have fromdos not yet installed, you can catch up by simply typing the following into a shell window.
sudo apt-get install tofrodos
And now, have fun fix you files! ;)
Meanwhile, I have used Linux Mint for a few weeks and I’m in between, of course, repeatly encountered one or another obstacle. One of them is for example the fact that some programs that are installed by the shell, are only visible to the the Gnome menu, but aren’t showing up in Linux Mint start menu. How to fix this, I want to show you today. (Who does not know the difference between Linux Mint start menu and the Gnome menu should simply click once on the little picture above-left of the article.)
Today I want to point you to a plugin for WordPress, that I use for a few days here on my blog. It’s called Lightbox Plus Colorbox and is mainly used to display photos. I had already installed some lightbox plugins in my blog but none of them met all my requirements …
These days you will get faced with the term “cloud” everywhere. I am, for my part, not really a fan of cloud streaming because nearly every solution that I tried did not work without complications.
Today there is again a bit of C# code. I’m writing about how you can create video files in C # from individual images or bitmaps. Using the AForge library, which I have used in the already in the C# webcam tutorial, this is going to be relatively simple.