2011-07-29
2010-03-09
OpenPGP key generation for GnuTLS
Create key pair. Write down the key number.
gpg --gen-keyEdit the key with the command below.
gpg --edit-key 1F8D4A4CIn gpg prompt enter passwd and specify empty password, type quit.
gpg --armor --export 1F8D4A4C> public.key gpg --armor --export-secret-keys 1F8D4A4C> secret.keyDelete keys from keyrings if required.
gpg --delete-secret-keys 1F8D4A4C gpg --delete-keys 1F8D4A4C
2010-02-24
2009-12-04
Subversion repository part migration
svnadmin dump /srv/svn/old-repo | svndumpfilter include --drop-empty-revs --renumber-revs /directory-name > directory.svndump svnadmin load /srv/svn/new-repo < directory.svndumpPlease 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.
2009-12-03
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 Windows XP as host, 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:
1. Restore old xorg.conf :
3. Add Option "CorePointer" to InputDevice section of Mouse[1]
4. Add Option "SendCoreEvents" to InputDevice section of Mouse[2]
5. Rename Device option from InputDevice section of Mouse[2] from /dev/vboxadd to /dev/vboxguest
1. Restore old xorg.conf :
cp /etc/X11/xorg.conf.bak /etc/X11/xorg.conf2. Add Option "CoreKeyboard" to InputDevice section of Keyboard[0]
3. Add Option "CorePointer" to InputDevice section of Mouse[1]
4. Add Option "SendCoreEvents" to InputDevice section of Mouse[2]
5. Rename Device option from InputDevice section of Mouse[2] from /dev/vboxadd to /dev/vboxguest
2009-10-28
2009-09-17
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.
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.
2009-09-14
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.
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.
2009-09-09
How to set up library paths for configure
env CPPFLAGS="-I/opt/local/include" LDFLAGS="-L/opt/local/lib" ./configure
Subscribe to:
Posts (Atom)