Archive for the ‘linux’ Category

Format dvd+rw before writing data

Sunday, August 13th, 2017

Writing a DWD+RW under Linux should be simple, something like:

$ wodim speed=2 dev=/dev/sr0 -v -data ubuntu-16.04.3-desktop-i386.iso

However, in my case it fails. Some background knowledge suggests to format the disc first, but blanking the disc fails too.


python Selenium in Ubuntu 16.04

Thursday, December 22nd, 2016

Selenium is a web browser automation software. In Ubuntu 16.04 it doesn’t work out of the box, and external components should be installed. In this post I note how to install them locally without affecting the system.


vi editing mode set global

Tuesday, October 18th, 2016

The Linux command line and other software based on readline library support vi editing mode. After I worked on a new system with the default settings for a while, I noticed that I miss this mode very much.


fast throw-away git repository

Monday, August 22nd, 2016

Based on the article How to Run Your Own Git Server, I’ve constructed a small list for fast git setup for temporary projects.


User TeX Live 2013 repository when 2014 is the default

Monday, July 7th, 2014

I’ve tried to install a TeX package and got the error message:

tlmgr: The TeX Live versions supported by the repository
do not include the version of the local installation


how to start vmware

Monday, March 17th, 2014

By me, vmware doesn’t start without twicks. A normal rum produces something like:

process 3954: Attempt to remove filter function 0xb6ad0690 user data 0xb7896048, but no such filter has been added
D-Bus not built with -rdynamic so unable to print a backtrace

In my case the solution is to start HAL daemon before running vmware.

from an audiodisk to a mp3 player

Saturday, August 17th, 2013

My sequence to grab audiobooks from a cd to hear later on a mp3 player. Grab as mp3:

abcde -o mp3


vmware 8.0.5 (and maybe 8.0.4) on kernel 3.7.5-std-pae-alt1

Monday, February 4th, 2013

Each kernel upgrade causes a pain with vmware. This time (3.7.5 with PAE option) is not an exception. However, only two manual interventions were required to compile vmware kernel modules.


Subversion is not available, temporary switch to RCS

Wednesday, January 30th, 2013

The server with the subversion repository has crashed. Repair takes a few days. How to work during repair? Git isn’t a solution, because man had to switch before the disaster, not after.

My answer is: temporary switch to RCS.


custom tex in rpm/apt distributions

Friday, January 6th, 2012

I prefer to use TeX from TeXlive distribution, not the default TeX bundled with an operating system. The problem is that rpm and apt tools check dependencies and insist on installing the wrong TeX. To trick the system, a fake package should be made and installed.


control alt shift vmware

Thursday, July 28th, 2011

Sometimes vmware makes something very wrong, and X server do not understand the keys CTRL, ALT, SHIFT and similar anymore. Solution: “setxkbmap” without any arguments.

solved: vmware does not work anymore

Monday, April 4th, 2011

After some system update, vmware stopped working. It wrote some information which modules are loaded, and then silently exited. In a log file “ui-NNNN.log”, I found: “vmui| Caught signal 11”. The stacktrace said only that the crash was likely due to some signal.


messed Helvetica etc on a PostScript printer

Tuesday, March 22nd, 2011

I’ve got PostScript files, which does look ok on the screen, but badly printed on Lexamark E232. The letters collide each with other, seems like instead of Helvetica some monospace font is substituted.


Solved: unable to enumerate USB device on port 1

Tuesday, January 18th, 2011

At some moment, my USB WLAN stick stopped working, and the log was polluted by messages like:

usb 6-1: new high speed USB device using ehci_hcd and address 62
hub 6-0:1.0: unable to enumerate USB device on port 1
hub 6-0:1.0: unable to enumerate USB device on port 1

At first, I decided that the stick had broken after years of work, but out of curiousity tried to connect it to every USB port I found. It worked. The stick worked again when plugged into the keyboard, which in term was connected to the KVM.


eSATA hot swap in Linux

Wednesday, December 29th, 2010

I hoped that eSATA interface allows to attach and detach HDDs to Linux on the fly, and the system would notice the changes automatically. The reality was quote apposite, the system hung during experiments. Finally, after scanning internet knowledge, and trying to get commands like atacontrol or scsiadd working, I found the command for manual swap.


sharing files from linux to windows

Monday, April 27th, 2009

Yes, one installs and configures Samba. All I need is to access a big folder in the read-only mode. The quick and dirty solution is:


wrong but fast fix

Friday, December 12th, 2008

After a small system upgrade an application started to crash with the message:

*** glibc detected *** sylpheed: double free or corruption (out): 0x0839e818 ***

The right thing is to trace the application and submit a bug report to the author, but I found a fast workaround. Set an environment variable before running the program:

export MALLOC_CHECK_=0

multimedia over network III: any ALSA-enabled application

Tuesday, September 30th, 2008

ALSA is the Advanced Linux Sound Architecture. The system can forward ALSA sound to PulseAudio.


multimedia over network II: pulseaudio

Saturday, September 27th, 2008

PulseAudio is a sound server. Applications feed music to PulseAudio, and PulseAudio decides what to do with it. For example, it can send the sound over network.

When I tried to use this feature for the first time, I failed. Therefore, I experimented with a more user friendly software (see multimedia over network I, and the second attempt was successful.


multimedia over network I

Wednesday, September 24th, 2008

I want to:

* run a program on a work PC, and
* see and hear it in action on a leisure PC.

The first attempt is failed, therefore I started to search for a solution using the step-by-step approach. The first step is to make sure that multimedia over networks works at all.