makes your windows stay on top, toggle it.

August 11th, 2007 mysurface

Do you wish to have a shortcut way to make your window stay on top and toggle it after without needing it anymore ? Any EWMH compatible Windows Manager(WM) may support it, WM such as GNOME (metacity), fluxbox, xfce, compiz, beryl etc. You can find the option at Window Menu, where it usually appear as [...]

Posted in fluxbox, Misc, wmctrl | Hits: 57106 | 4 Comments »

Filter what to backup with rsync

August 11th, 2007 Felix Leong

It’d be easy to rsync if you have everything in one folder with simple folder hierarchy, but when it comes to things like backing up your /home folder, you’d might want to be selective to what to backup. Rsync provides this function via the –include=* and –exclude=* command line options, however, if you want to [...]

Posted in Misc, rsync | Hits: 84736 | 5 Comments »

text to speech synthesizer

August 3rd, 2007 mysurface

Recently I discover a nice software synthesizer called espeak from a post at Fedora Daily Package. It reminds me that there is another text to speech synthesizer known as festival. Festival speaks english. For example to ask festival to say “Sound check 1 2 3″, you can do this: echo “Sound check 1 2 3″ [...]

Posted in espeak, festival, fortune, Misc | Hits: 88851 | 12 Comments »

stellarium, A real-time realistic planetarium

July 26th, 2007 mysurface

Stellarium is an education tools for those who enjoy astronomy. Stellarium present you the starry sky in different period of time, different locations and different directions in 3D. It allows you to choose the view port, any location from the earth and some other planets. Press 1 and select location tab to select your location [...]

Posted in Misc, stellarium | Hits: 37124 | 7 Comments »

convert audio encoding format with ffmpeg

June 30th, 2007 mysurface

ffmpeg is a very powerful tools, as it is a general tool for audio/video encoding and decoding as well as ripper, converter and even provided API for programmers. I came across a tutorial uses ffmpeg libs for writting a video player less than 1000 lines of codes, which is cool. I have one time needed [...]

Posted in ffmpeg, Misc | Hits: 79074 | 4 Comments »

A better svndiff, allow comparision between different revision

May 18th, 2007 mysurface

Refers back to svn command line tutorial for beginners 2, I introduces a bash script that uses svn cat and vimdiff to compare files. This simple script written by Erik C. Thauvin only allows you to compare latest revision source with working source. What if I would like to compare my current working source with [...]

Posted in Developer, Misc, svn, vimdiff | Hits: 51424 | 4 Comments »

record the terminal session and replay later

May 11th, 2007 mysurface

I have read this at linuxinsight, which is amazing. You can actually record down your typing, screen output even you are running ncurses cli, all the data will store into a file and the timing will be into another file. With this two files, you can have scriptreplay to replay it all with the correct [...]

Posted in Misc, script, scriptreplay | Hits: 69038 | 15 Comments »

units of measurement

May 1st, 2007 mysurface

To measure a quantitative object, we usually use certain standard of units. To measure width or length of a piece of paper, we may use inches, centimeter or meter. Sometimes, the conversion between one system unit to another might not be straight forward. For examples convert inch to cm approximately, 1 inch is 2.54cm, 1 [...]

Posted in bc, Common, Misc, units | Hits: 34282 | 3 Comments »

compromise copy and paste schemes in linux

April 25th, 2007 mysurface

In Linux, usually we have two major schemes for copy and paste. We can copy by pressing control+c , paste by pressing control+v ( right click and select copy or paste in context menu) in various GTK/KDE application. Another ways of perform copy and paste is highlight the text and hit middle mouse click. Certain [...]

Posted in autocutsel, Common, nohup | Hits: 47945 | 3 Comments »

Something for my mouse cursor

April 15th, 2007 mysurface

Sometimes mouse cursor can be very annoying, when you are reading some articles, writing blog post. Especially when you are using a low quality optical mouse that always have jitter motion on mouse cursor, it will disturbs your reading and writing as well. To cater this issue, we have a package called unclutter to hide [...]

Posted in Misc, oneko, pkill, unclutter, xsetroot | Hits: 56316 | 1 Comment »