Die aktuelle Seite ist eine Zusammenstellung von dem, was in so einem Internetleben anfallen kann: Eine persönliche Homepage.
Herzlich Willkommen!
Moderation activated.
As all comments so far have been spam, I activated moderation for all comments. Now, it can take some time to approve new comments.
I'd like to appologize for any inconviniance.
Farbfächer für die Evangelisch-Lutherische Landeskirche Sachsens
Submitted by keinstein on
Hibernate on Debian with LVM ond LUKS
Submitted by keinstein on
For some time I was looking for a solution to a strange problem:
My Laptop has an encrypted partition which contains two logical volumes: root and swap. According to the well-known practice I added the parameter resume=/path/to/swap
to /etc/default/grub
. Suspend worked, but the system did not resume. Even dmesg
did not give any useful information. Actully it did not report that it tried to resume from somewhere. Some time passed reading lots of websites about setting up LVM on LUKS using kernel parameters without notable success.
How to convert a git project into a submodule
Submitted by keinstein on
Today I started to add extsting git projects into my home git repository as submodules. In short: git submdule add -f ...
solves the problem…
Debuging errors in startup code in Linux
Submitted by keinstein on
Recently I got a Korg M1. When you have a synthesizer like that you want to have a good librarian that helps you organizing your sounds, have a big sound library and so on. A quick research brought nothing helpful. So I decieded to give Ctrlr a try. The downloaded Linux version did not work as I have newer binutils installed and libbfd
has no stable ABI.
HOWTO change the UUID and or label of a FAT/vfat partition on Linux.
Submitted by keinstein on
In many forums and wikis the recommended way of changing the uuid of a fat partition involves dd and a hex editor.
However the easy way is to use mtools
. Let's suppose we want to change the UUID of a fat partition on /dev/sda1
.
As a first step we have a look at the UUIDs of the different file systems:
> blkid
/dev/sda1: SEC_TYPE="msdos" LABEL="boot" UUID="4059-33BB" TYPE="vfat"
…
Notizen: Cross-Compilieren unter Debian und Ubuntu
Submitted by keinstein on
Seitdem Debian und Ubuntu verschiedene Architekturen unterstützen ist es eigentlich relativ einfach, Windows-Software zu unterstützen. Eigentlich… Aber dazu später mehr.
Colours of wxWidgets
Submitted by keinstein on
wxWidgets provides a global colour database (wxTheColourDatabase). Unfortunately the documentation doesn't show the colors for an easy selection. The following code extracts the definitions from wx/common/gdicmn.cpp and converts them into HTML:
sed -e 's;^\s*{wxT("\([^"]*\)"),\([^\}]*\)\},?;<span style="color: rgb(\2)">\1</span><br />;' gdicmn.cpp |grep '<span' > colors.html
Midi implementations – a review
Submitted by keinstein on
Debian, ALSA, Linux und bluetooth
Submitted by keinstein on
I finally found some website that allowed me to configure bluez to work both as alsa and as pulseaudio device. My Bluetooth audio device is now working. The main hint comes from this post:
I didn't check everything by now, but the most important hint seems to be #2, that told me to add
Enable=Source,Sink,Headset,Gateway,Control,Socket,Media
to /etc/bluetooth/audio.conf instead of the disable option.
Additionally I put the following contents into /etc/asound.conf: