Author Archives: Thomas Cokelaer

Fedora 15: firefox bookmarks subfolder icons missing

You need first to install dconf-editor if not already done: sudo yum install dconf-editorsudo yum install dconf-editor launch it and go to org->gnome->desktop->interfaceorg->gnome->desktop->interface set menus-have-icons=true.

Posted in Linux | Tagged , | Leave a comment

How to setup PHP under fedora

The following solution to install Apache, MySQL and PHP was checked under Fedora 15 distribution. First, you need to install the relevant packages: su #for root login, enter password when prompted yum install mysql-server service mysqld start mysqladmin -u root … Continue reading

Posted in Linux | Tagged , | Leave a comment

How to mount a USB key

With the most recent distributions of Linux, and their GUI environment, mounting a USB key is automatically done when inserting the key. Yet, sometimes, it is useful to mount it yourself (for instance, when running Linux in level 3). Once … Continue reading

Posted in Linux | Tagged | Leave a comment

Fedora 15: how to enable the “delete” key

A “missing” shortcut in Fedora 15 as compared to previous Fedora distributions is the “delete” key: when you wanted to remove a file or a folder, you simply had to press the “delete” key. There is no such keyboard short … Continue reading

Posted in Linux | Tagged | Leave a comment

Fedora 15: post installation

Once in a while I install a fresh version of Fedora (or ubuntu). Of course, the installation process provides most of the basic tools (browser, editor…) but you miss you favorite ones. Each time, you need to repeat some identical … Continue reading

Posted in Linux | Tagged , | Leave a comment

Linux command: cut (to extract information from text files)

It is very common in data analysis to have to deal with text files containing CSV data or data in columns/rows. Sometimes you just want to look at the third column only, so you try to find a nice little … Continue reading

Posted in Linux | Tagged | Leave a comment

Skype video missing under linux

In principle in the options->advanced section you should have a section called video devices If not, then quit Skype, and create this environmental variable export LD_PRELOAD=/usr/lib/libv4l/v4l1compat.soexport LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so Restart Skype and go to options->advanced->video devices that should be available now. Tested … Continue reading

Posted in Linux | Tagged , | Leave a comment

What is Virtualenv

Virtualenv is a tool to create isolated Python environments. Its usage could be very useful when dependencies and versions are tricky. Imagine you have an application that needs version 1 of a library, but another application requires version 2. If … Continue reading

Posted in Python | Tagged , | Leave a comment

Mount an ISO file under linux with bchunk

The tool bchunk can be used to mount an ISO file. Under Fedora 9, you could use it as follows. First, you need to install it: yum install bchunkyum install bchunk bchunk converts a .cue (and its pair-wise .bin) file … Continue reading

Posted in Linux | Tagged , | Leave a comment

Combine AWK and SED to create symbolic links

The unix tools AWK and SED are very powerful tools to manipulate files and perform text processing tasks. It’s true that the syntax is not always very intuitive but it can help you in performing task in a single line. … Continue reading

Posted in Linux | Tagged , | 1 Comment