Recursively renaming files in Linux

One thing I liked about Linux is it’s hidden simplicity. When in a hurry, I usually go for the first working solution of a given problem. If the same problem appears often, I can get used to the first solution so much that I don’t even think about simplifying it.

Continue reading Recursively renaming files in Linux

New color scheme for Vim

I’ve been using dante color scheme for Vim for as long as I can remember. It’s a nice one and suits me perfectly. Sometime though I feel that need for a change and than I have to go through a rather painful process of getting something new. This time I decided to change my Vim color scheme. This process is particularly painful because:

  • there are a lot of color schemes available for Vim
  • screenshots are rarely available
  • most color schemes are designed for graphical mode (gvim), while I use console only

Anyway, I went through a number of color schemes today and decided that I like Impact. Not only it is designed for console, but it also defaults for black background, which is exactly what I use.

I tried it with both Perl files and email messages and I am satisfied with my choice. Now for some useful stuff…

Update: I came across a great page that is generated by a perl script once in a while. The goal of the page is to provide an easy way of finding a colorscheme appropriate for your tastes without the hassle of installing numerour colorschemes on your computer.

Yet another bug closed

Yet another bug that I submitted to Red Hat Bugzilla got fixed. This time it took more than a year – from 21 May 2004 until 12 September 2005 – but a workaround was found much earlier and could be easily applied.

P.S.: I was stupid enough not to notice that the bug was closed and add another comment today. Nuthead!

Finding files in Linux

Many beginning Linux users experience difficulties getting used to the filesystem structure. Indeed, there are many files and directories, the structure of which are not as obvious as it could be. Choosing an appropriate location for a new file or directory is difficult and many choose to follow their own instincts.

With more experience, the file hierarchy becomes clearer and old concepts of placing files and directories start to fade out. When it happens, finding things becomes difficult. It is than that users learn that Linux has many tools for finding things. And it is than that they become confused once again.

Read on for a quick introduction into searching tools available in Linux.

Continue reading Finding files in Linux

Progress with the Gallery2

I am satisfied with the process of my migration to Gallery2. Most of the things work already. Here is a brief round-up:

  • All images and albums are imported, sorted, and thumbnailed.
  • Few albums are tagged for easier searching.
  • Old style of URLs is configured and working. All old links should be fine now.
  • I have familiarized myself with Gallery2 internals a bit. Maybe even more than I intended to.

Continue reading Progress with the Gallery2