Posts Tagged ‘editor’

Atom 1.0 has arrived

June 27, 2015 Leave a comment

Atom is a text editor that’s modern, approachable, yet hackable to the core—a tool you can customize to do anything but also use productively without ever touching a config file.” (source)

This text editor is developed by GitHub. I remember the early versions didn’t exist for Linux, so I was disappointed, but this is no longer an issue. The editor is cross-platform and since version 1.0 came out, I decided to give it a try.

It’s very similar to the excellent Sublime Text editor. It’s visible that they copied lots of things from it :) However, ST is not open source and there is one guy behind ST, Jon Skinner. Atom is fully open source with a large community behind it that is hard to beat…

How to use Atom for Python editing?

I found a blog post that can get you started: . In addition, I also installed the package ‘script‘ that lets you run your script inside Atom.

Atom has the nice feature to change your settings via a GUI. In ST you need to edit JSON files directly.

All in all, Atom seems to be a nice editor. It’s still version 1.0, so I’m sure it’ll improve a lot, but I already like it.

Remarkable: a nice markdown editor with live preview

December 3, 2014 1 comment

Update (20150820): I found a better solution. Check out the last update at the end of this post.

At last a cool markdown editor with live preview. Check it out here:


I read about it here:

Open .md files with Midnight Commander

# markdown
    Open=remarkable %f 1>/dev/null 2>&1 &
Categories: Uncategorized Tags: ,

mp3 tag editor

February 26, 2011 Leave a comment

EasyTAG is a utility for viewing and editing tags for MP3, MP2, MP4/AAC, FLAC, Ogg Vorbis, MusePack, Monkey’s Audio and WavPack files. Its simple and nice GTK+ interface makes tagging easier under GNU/Linux or Windows.” (source)


sudo apt-get install easytag

With EasyTAG you can process your mp3 files in batch mode. For instance, you can set the album name for several files with just one click.

Tip: if you want to edit the MP3s in the current directory, launch the application with “easytag .“.

Categories: ubuntu, windows Tags: , , ,

Remove the newline character from a text file

October 19, 2010 Leave a comment


I had a text file that contained only one line. For some reason I wanted to remove the trailing newline character (‘\n‘). However, it’s not that easy :) Most text editors automatically add a newline after every line. This is a normal behaviour actually, every line should end with a newline character. But if you want to get rid of it, how to do that?


You can remove the trailing newline with a hex editor. In the Ubuntu repositories I found hex (from package ‘hex‘) and ghex2 (from package ‘ghex‘). The first one, hex, is very simple, it just prints out the contents of a file, similarly to cat. It is good to identify the newline character. To edit the file, you can use the latter, ghex2.

Update (20140601): another hex editor is called “hexedit“. To use it, install it from the package with the same name.


To test your favourite text editor, create a simple file that contains the word “test”, without quotes (i.e. 4 characters). Do not press ENTER at the end. Save it and check its size. If it’s larger than 4 bytes, then the newline character was added automatically. With the command hex you can verify it.

If you need a hex editor for Windows, try HxD. It’s a freeware hex editor and disk editor.

Categories: bash, windows Tags: , , , , , ,