linux

I ♥ Free (as in speach, not in bear) Software - Valentine's Day 2010

Submitted by fabio on Fri, 2010-02-12 19:38.

I love Free Software!

The Free Software Foundation Europe started a new campaign called I ♥ Free Software - Valentine's Day 2010.

I think this is a pretty cool way to promote free software so, as I do ♥ Free Software and I do hate proprietary software, I'm giving the campaign visibility here on my blog.

Unfortunately the campaign landing page fails to explain what is free software, so if you are interested you might want to read the What is free software page at fsf.org.

If you already support Free Software you might want to get some of the banners available on the campaign page and put them on your blog or personal website.

GNU/Linux bash: execute a command every X seconds indefinitely (without cron)

Submitted by fabio on Sat, 2010-01-16 11:38.

If you use the GNU/Linux operating system intensely as development environment or as a server you'll probably find yourself in need of running a determinate command or script every X seconds forever.

This could be useful for example to check that a service you run on your server is working correctly (e.g. your Apache httpd server), to clear some cache your system is using or to periodically check for software updates. Personally I needed this to periodically update the DNS entry of my home server with its current IP (my ISP gives dynamic IP, not static ones).

Posted in:

ffmpeg: some useful tricks

Last updated on Thu, 2009-12-17 19:51. Originally submitted by fabio on 2009-05-20 23:12.

If you are interested in audio/video conversions and general manipulation you should really have a look at ffmpeg.

ffmpeg it's a little command line utility which will let you do some really great things with multimedia files.

During the time, I collected some examples of usages of ffmpeg which I found useful. I posted here some and continue to update this page everytime I find a new ffmpeg trick.

two fingers scrolling on a linux synaptics notebook touchpad with X.org 7.4 (xorg-server 1.5)

Last updated on Sat, 2009-05-02 20:21. Originally submitted by fabio on 2008-12-02 12:37.

X.org version 7.4 with xorg-server 1.5 introduces a new way of handling input devices (keyboards, mouses, touchpads, trackball, etc..).

Instead of using some configuration rules in xorg.conf like in Xorg 7.3 and previous versions, input devices are now automatically configured and enabled in Xorg once the system found them.

Serial RS232 connection in DOS dosemu

Submitted by fabio on Thu, 2008-05-08 13:49.

Recently I had to play with serial RS232 connections in order to control a robot we have here in the Robotics course at the ULPGC.

We have some pretty old (1989!!!) applications to control and configure the robots which used to run under DOS. I tried to run them under dosemu: unfortunately it didn't work. Maybe because the code the applications use is not really good (direct access to the hardware, incorrect driver usage etc..).

linux how-to: two fingers scrolling on a regular synaptics notebook touchpad

Last updated on Tue, 2008-12-02 15:06. Originally submitted by fabio on 2008-03-27 23:20.

UPDATE: the following guide is useful if you are using Xorg 7.3 or previous versions. If you are using Xorg 7.4 there is a guide to configure two fingers scrolling on a regular synaptics touchpad if you are using Xorg 7.4 or superior.

One of the features I really love about Apple's notebooks is the two fingers scrolling enabled touchpad they have.

It's easier and faster to use than the regular side scrolling available on normal notebooks.

Disable vim automatic visual mode using mouse

Submitted by fabio on Thu, 2007-07-12 11:41.

I usually use Vim for command line text file editing.

Some days ago, probably due to a change in /etc/vimrc after a system update, the behavior of the mouse changed.

Selecting some text with the mouse automatically enter visual mode. I rarely use the visual feature and when I use it I prefer using the v keyboard command.

I found this new setting pretty annoying. So I decided to disable it.

Posted in:

Converting Boot Loader from LILO to GRUB

Submitted by fabio on Mon, 2007-04-30 10:47.

When I installed Arch Linux on my notebook I choose to install LILO as Boot Loader.

Why? Because, as a long time Slackware user, I didn't use GRUB enough and I didn't have the time to learn it.

Unfortunately, maintaining an Arch Linux system with LILO as boot loader is quite tiring because every time the default kernel is changed lilo needs to be reinstalled.

ArchLinux pacman: use a mirror next to you

Submitted by fabio on Sun, 2007-03-25 18:10.

The main ArchLinux ftp server recently had some bandwith problems due to a lot of people using it has their main mirror for their pacman updates.

This issues have been fixed by the archlinux administrators by throttling the bandwith of ftp.archlinux.org. This means that downloading from it will be extremely slow.

WPA-PSK on Linux Intel centrino ipw2100

Last updated on Sat, 2008-02-16 15:09. Originally submitted by fabio on 2007-03-14 19:01.

I recently converted my wired LAN to a wireless WLAN.

This is the steps I made to create a WPA-PSK secured WLAN with my Intel centrino ipw2100 wireless card under Linux.
I report here the commands and configuration files used . I hope those will be helpful for someone else.