Wednesday, May 11, 2011

Cygwin/X

I have just opened my blog, and I am very excited about this. So here comes the second post.

Last week, my brother brought me a laptop from Canada: Asus U36JC. The laptop is awesome: intel i5 processor, one usb3.0 port, total weight is 1.6kg, long battery life -- I am very happy. After using my EeePC for last 2 years, the 13.3'' screen looks like a 50'' plasma in a hall.

But the laptop comes with Windows 7. Last time I used MS Windows in my daily life, was more than 3 years ago. It was Windows XP, and it was disgusting. In that time a migration from Windows XP to Linux (Ubuntu/Debian) was very popular (it is right at least for the forums I used to visit). So I decided to be ะช as well and to migrate to Linux.

During the short period of using Linux I got used to all this Unix-utilities and I can't imagine now a life without shell, grep and gvim. Fortunately, I am not alone, and some people who faced this problem solved it: Cygwin is an open-source project that provides an easy way to port *nix-utilities to Windows platform. If you are interested, visit the site, the installation is pretty easy and straightforward.

One of the coolest features of Cygwin is Cygwin/X. That is, it's an open-source X Server port for Windows. The problem is when I want to  run some X app I need, first, to make sure the X Server is already running. That's very annoying. So I googled, and one of the first results I got was this one. It's short description is:
use Cygwin's run command, whose only purpose is to run other programs in background; add "<path-to-cygwin>\bin\run.exe -p /usr/X11R6/bin XWin -multiwindow -clipboard -silent-dup-error" to your Startup group and enjoy!

That's exactly what I wanted. But now I want more: on EeePC I was using wmii window manager. It's a nice lightweight tiled WM, excluding its developer team philosophy break-config-compatibility-on-each-release. And I got used to its shortcuts, one of which is Alt+<Enter> to open the xterm (urxvt in my case). So the next goal is to find out an easy way to make it.

Hello, world!

This is my first post. I doubt someone will ever read it. Still I have to say some opening words.

A few months ago I started to think about managing my own blog. The reasons for this are:

1. I am very lazy. When I come home after a hard-work day, usually I just do nothing: watch some stupid clips on Youtube, read some shitty comments for recent news, and the shitty news either. So this could be a good reason to change my life style, it is a little effort to write a word or two in a week regarding something that interests you.

2. I need to practice to express myself --- to visualize my thoughts. I think a lot of time, just as all people do, but I have discovered that it is very difficult to me sometimes to explain myself, even in my native language.

3. I need to practice my English. The more I write, the more I learn from my spell checker.

4. And, finally, I think it could be nice to write down my thoughts, so later I could read it, and to make some conclusions: where I was wrong, did I achieve my goals and etc.

4.5. Additionally, I think I will store here many technical notes. As a CS student, as a SW developer, and as a end-user I have many technical notes stored on my laptop, home PC, work PC, mail and etc. It seems to be a much easier to manage it centralized.

So, these are my initial goals. I plan to post at least weekly, but... who knows))

Nevertheless, I finally did it - Hello, WWWorld!