If you're interested in helping with this, join us on IRC: #elementary-dev on irc.freenode.net
Prerequisite: install the
I managed to get Gala to run in a VT with:
dbus-run-session -- gala --display-server --wayland
It even works with just
gala --display-server --wayland, but the session still doesn't start.
Building with debug symbols with cmake
cmake -DCMAKE_BUILD_TYPE=Debug .. should do the trick of building the binaries and including the debug symbols.
Enable debug messages
Set the following environment variable
G_MESSAGES_DEBUG=all. This will allow you to see messages you print with
debug in Vala.
I hereby claim:
- I am matzipan on github.
- I am matzipan (https://keybase.io/matzipan) on keybase.
- I have a public key whose fingerprint is A097 394B 1430 335F CD2A 11E6 FB8D EECC BD87 E38E
To claim this, I am signing this object:
As elementary OS is going to add letter tiles (similar to Android's) to act as default avatars for contacts, there was discussion about the color allocation algorithm. As some of the proposals were about using a boring lookup tables, I decided to try my hand at some hashing and color format conversion.
The algorithm generates a 32 bit hash and squashes it in the [0, 1]
interval by dividing it with
uint32.MAX. This hash value then gets multiplied
with 2*PI and used as the hue component of HSL. This gets converted back to RGB
for further manipulation.