Linux


Linux is the kernel of the operating system my computer runs. If you don’t know about it, you won’t find anything for you here.

Quitting KDE

Sunday, December 3rd, 2006

Blahblah… Text in spanish only. Sorry.

Konqueror service menu for PDF files

Monday, June 5th, 2006

Some modifications I’ve made to a konqueror service menu for PDFtk. Download here. Sorry, no more english text yet!

Read the rest of this entry »

TV-Out, KDE and Xine

Friday, February 24th, 2006

If, like me, you happen to be using an NVidia based graphics adapter with TV-Out, you might find useful the following instructions to configure it, adding a KDE service menu to watch your movies on the TV with a single click.

Three steps are necessary:

  1. Configure your X server, creating a TV dedicated layout. We’ll later start X using this setup.
  2. Create a script to start X, running xine with the file we want.
  3. Create a .desktop file which inokes this script for the MIME types video/*.

Read the rest of this entry »

Bandwith limiting for Apache 2 (+ bw_mod 64bit RPM)

Thursday, February 23rd, 2006

Sorry, there is no english version of this text for the moment, please select “Spanish” on the right menu bar if you can read it, and still wish to.

Fixing slow USB speeds with SuSE10.0

Saturday, January 28th, 2006

Sorry, there is no english version of this text for the moment, please select “Spanish” on the right menu bar if you can read it, and still wish to.

Read the rest of this entry »

Running cron jobs at the right time

Tuesday, January 24th, 2006

There are two ways of programming the time that cron jobs are run on SuSE Linux systems. One is adding entries to the user’s crontab using crontab -e, the other adding scripts (be it linked or copied) to the directories /etc/cron.hourly, /etc/cron.daily, /etc/cron.weekly and /etc/cron.monthly.

But the time, using the second method, is not configured the usual way: we see in /etc/crontab that every 15 minutes /usr/lib/cron/run-crons is run, a script which compares the timestamps of certain files with the current time in order to decide which cron jobs are to be run. These files are located at /var/spool/cron/lastrun and, quite expectedly, are named cron.hourly, cron.daily, etc.

So, if we want the daily jobs to be run at 6:00 AM, we must touch those files:

touch -t 200601240600 /var/spool/cron/lastrun/cron.daily

And that’s all. I don’t know when crontab usage was deprecated for daily, weekly, etc. task programming in SuSE, but it seems it was long ago.

[Old stuff] RPM building mini HOWTO

Sunday, October 23rd, 2005

More stuff from the past… I am now copying a little howto I wrote a long time ago as an introductory guide to RPM creation. It’s several years old, but I guess it’s still valid.

Read the rest of this entry »

Extracting files from RPMs

Monday, October 3rd, 2005

This one can come very handy: as it is said here, one can use rpm2cpio (instructions here) and cpio to extract files from an RPM:

rpm2cpio pack.rpm | cpio --extract --make-directories --preserve-modification-time --verbose ./path/to/file

As simple as that.

Logitech Cordless Trackman FX

Thursday, August 18th, 2005

Suceeding in having not-so-common mice work with X-Window is not always an easy task for the newcomer. Here is what you should add to your X.org configuration in order to have the fourth button of your mouse act as a wheel.

Read the rest of this entry »

Bazaar RPM for SuSE 9.2 64 bit

Tuesday, August 9th, 2005

Bazaar is one of several implementations of the GNU-Arch version control system (the other one being TLA), and the one we use at my job due to its simpler interface and improved usability.

Here I make available a 64bit RPM of Bazaar 1.4, with a little patch of mine which makes the environment variable ARCH_LOG available to the hook upon commit.

As usual, the package is signed with my public GnuPG key.