Blog migrated
Blog is moved to blogger
OpenPGP key generation for GnuTLS
- Create key pair. Write down the key number.
- Edit the key with the command below.
- In gpg prompt enter
passwdand specify empty password, typequit.
gpg --armor --export-secret-keys 1F8D4A4C> secret.key
- Delete keys from keyrings if required.
gpg --delete-keys 1F8D4A4C
Subversion repository part migration
svnadmin load /srv/svn/new-repo < directory.svndump
Please note, that if directory structure needs to be changed (for example, from /old-repo/projects/dir to /new-repo/dir) manual edit of dump file will not help. Instead, sed must be combined with svndumpfilter. Additional info regarding this topic can be found here.
Virtualbox 3.1.x Linux guest dead keyboard fix
After new release of Virtualbox was installed and my virtual machine with OpenSUSE on-board had started, I’ve ended up with a dead keyboard. It worked fine on host Windows XP, but OpenSUSE VM was acting like there is no keyboard at all. Couple of minutes of brain activity and finger work I’ve found that /etc/X11/xorg.conf was replaced during Virtualbox Guest Additions update. Comparing xorg.conf between two latest VB releases, I was able to get the keyboard working. Here is a fix:
- Restore old
xorg.conf:cp /etc/X11/xorg.conf.bak /etc/X11/xorg.conf - Add
Option "CoreKeyboard"toInputDevicesection ofKeyboard[0] - Add
Option "CorePointer"toInputDevicesection ofMouse[1] - Add
Option "SendCoreEvents"toInputDevicesection ofMouse[2] - Rename
Deviceoption fromInputDevicesection ofMouse[2]from/dev/vboxaddto/dev/vboxguest
A screenshot for your pleasure!
How to change language in GIMP on Windows
After installing GIMP on my laptop I’ve found it’s language is set according to my regional settings. However, I have failed trying to change it to english because there is no visible configuration option for that. Now that’s weird!
After googling for few minutes I’ve found that this is not a GIMP problem but rather GTK+ for Windows and to force it to use english translation by default you need to add lang environment variable with the value of c.
Removing MinGW dll dependencies
libgcc_s_dw2-1.dll
Passing -static-libgcc will remove this dependency for all languages other than C.
Note: C++ exceptions depends on this option.
mingwm10.dll
Remove -mthreads option from your makefile.
Note: Multithreading and C++ exceptions depends on this option.
How to set up library paths for configure
How to disable system bell in msys
$HOME/.inputrc:
set bell-style none
