[Solved] Linux Mint 18 not waking up from Suspend / Hibernate after Lid close

My Linux Mint 18 today was refusing to wake up from Suspend/Hibernate after I had closed the lid. It’s a little odd, because I went for the cinnamon and all other niceness installation variant, an image that wouldn’t even fit on a 2GB USB flash drive.

The only thing I apparently had to do was to open the driver manager and install the graphics drivers, followed by an apt-get update && apt-get dist-upgrade

Continue reading “[Solved] Linux Mint 18 not waking up from Suspend / Hibernate after Lid close”

vnstat – Error: Interface “eth0” not available, exiting.

I recently came across this error message on one of my virtual private servers, where I was trying to have a closer look at the traffic. vnstat is a really cool tool for that sort of thing and on most Linux servers you should be able to install it with sudo apt-get install vnstat.

I was running vnstat -l and got the following response:

getting traffic...Error: Unable to get interface "eth0" statistics.
Error: Interface "eth0" not available, exiting.

Continue reading “vnstat – Error: Interface “eth0” not available, exiting.”

How to use SSH keys for Authentication (for beginners)

SSH keys make my life easier on a daily basis. I use them to log into remote root and virtual private servers for various work and spare time projects, which is probably the most common use case.

The point of an SSH key is to authenticate you with another host, also for example with a git server in order to prove that you’re really you.

In this example I’ll create a Digital Ocean Droplet to create a Linux Server for the examples. Click the link for a 10$ credit with them 😉 Another host I can recommend is Linode!

Continue reading “How to use SSH keys for Authentication (for beginners)”

GitKraken – Git GUI client with Linux support

For about a month now I’ve been using GitKraken every day, which has entered public beta some weeks ago.

It’s quite a neat GUI client for git, making all kinds of tasks nicer to perform and the best thing: It’s really cross platform and available for Linux, my operating system of choice.

Continue reading “GitKraken – Git GUI client with Linux support”

Filezilla, great/best FTP and SFTP client for Windows, Mac, Linux

FileZilla is another program I simply would have a very hard time living without. It’s simply the one of the BEST FTP/SFTP clients ever, mostly because it works on Windows, Mac OS and Linux.

I use it for my company projects and as a standard practise for my students as a teacher. It’s an open source project, which makes it a very available tool. FTP and SFTP/SCP are quite essential for transferring and publishing in the web development world.

Continue reading “Filezilla, great/best FTP and SFTP client for Windows, Mac, Linux”

Screencasting for Video Tutorials on Linux with recordMyDesktop

Obviously screencasting falls into my domain of things to do, because it’s publishing digital media and also I’m currently recording some Linux tutorials of how to get some games working for Unganked. Secondly I’m negotiating to have a video course published, which I’ll mainly record on Linux, because the topic is partly command line specific. So I needed a way to record what ever is going on on my desktop, in full HD, with flawless audio and lots of frames per second. A program that is advertised for all this is recordMyDesktop. Continue reading “Screencasting for Video Tutorials on Linux with recordMyDesktop”

CigTrack Day #3: Open Source Software

Linux and other open source software play a significant role in technology nowadays. Linux runs on most supercomputers, server systems and most smartphones (inside Android) in the world.

I also use Linux on the desktop and especially for development it’s just great. You can test in an environment that is very close to your server and there’s many great tools that are made for developers. Also Linux makes it easy to write your own tools. Continue reading “CigTrack Day #3: Open Source Software”

Copy MarkDown HTML to Clipboard from the Terminal / Shell

I have a quite terminal based workflow. I needed a way to copy the HTML version of a MarkDown file, straight to my clipboard. I love writing in my favourite text editor and I know a lot of other people do. They don’t want to bother with browser windows and their lack of key bindings and shortcuts. Projects like GHOST certainly make things easier for people like me, but I still have a majority of my blogs running WordPress. Continue reading “Copy MarkDown HTML to Clipboard from the Terminal / Shell”

Retext – Split View MarkDown Editor on Linux

Retext is a great MarkDown editor for beginners and is widely available on the Linux platform.

After introducing Uberwriter I thought it would be time to introduce Retext, which focuses on different features.

retext_markdown_editor_linux

Retext features that are most valuable to me are the display of files in split view and PDF export. It’s a solid editor for both MarkDown and plain text files and I think it’s great for beginners to check the MarkDown syntax right away.

Having said that, it’s much like Mou, my favourite MarkDown editor on Mac OS X, but not as feature rich.

Features I’d love to see in Retext

  • custom CSS for PDF export
  • theming support for the editor itself
  • changing the “copy HTML” functionality so it only exports the body, without surrounding <body> and <html> tags

Installing Retext

Retext is available in most package managers, called retext, so for Debian / Ubuntu you would run:

    sudo apt-get install retext

On Arch Linux you currently have to remember to install python-markdown with it, since it is not automatically required as a dependency:

    sudo yaourt -S markdown-python retext