Gentoo Bugzilla CSS Love

Hello, so today I was bored and gave the Gentoo Bugzilla some CSS love. There were a lot of changes. Here's what I'm talking about:


The first image in each GIF is the default Bugzilla and the second is the result of adding the CSS.

If you're still reading and like what you've just seen, there are a couple of ways to add the CSS code on the fly. There are addons/plugins for different browsers that can do that.

For Google Chrome or Chromium download the addon Stylebot (or whatever other addon that can add CSS to a page on the fly). Then go to this Stylebot post and click the "Install style" button in the upper right corner.

For Firefox download the addon Stylish (or whatever other addon that can add CSS to a page on the fly or use 'user scripts'). Then go to this post (which is a Firefox/Stylish addaptation by threesixes) and click the "Install style" somewhere in the page.

If you just want the CSS code either to install it by other means or just look at it, here it is:

Custom Kernel Version

Hello, for some time I've been using a custom kernel version for my system and from what I've seen, for some reason, I'm the only one doing this. I'm refering to only changing the kernel version (not using some special kernel sources or something).

Someone might ask 'Why?'. The answer is very simple - because I was bored and wanted something different.

Here's what I'm talking about:

Normal Kernel Version

Changed Kernel Version

How to do this?

It's very simple. In short, you need to custom compile a kernel.
  1. Download a kernel sources tarball of your choice.
  2. Extract the contents.
  3. Modify the file Makefile and change the first three/four lines to whatever you want. In my case:
  4. Compile your kernel and reboot.
  5. Enjoy.

You can change your version to whatever you want:
  • 0.0.1
  • 1.0.0-beta
  • 2.4.12
  • 3.8.500
  • 4.0.0-rc1
  • 9.9.9
  • etc...

Keep in mind

... that there are problems you might face if doing this. Specially if you're compiling or using software that must exhibit different behaviour depending on the kernel version. For example: 
  • ati-drivers
  • icedtea
  • virtualbox-modules
  • etc...

An example case is this: you're using a kernel source tarball of 3.8.13 and you've changed your version to be 4.5.6 and then you try to compile ati-drivers or virtualbox-modules:
  1. The sources have various checks so if you're using a kernel version bigger than 3.9 and/or 3.10 they add/change code.
  2. As the package thinks you're using >3.9/3.10 kernel but you're really using 3.8.x - it will fail to compile.
In these cases, if you haven't reverted back to the original kernel version (yet), you must be knowledgeable enough to be able to write your own patches like these: my ati-drivers patch or my virtualbox-modules patch.

There are packages like icedtea where they have an environment variable you can use to skip such kernel checks (like if your kernel is too old to use package X). In the case of icedtea, it's: DISABLE_HOTSPOT_OS_VERSION_CHECK=ok

That's it, any questions or suggestions are welcome.

Twitter Bootstrap Icons in JQuery UI DatePicker

Hello, this is actually a very random blog post. I had to face this problem and there was no solution for it on the internets so I had to face re-coding JQuery's DatePicker code myself.

What I wanted to achieve is to add Twitter's Bootstrap icons (or Font Awesome's icons) as a trigger into the DatePicker without providing a link to an image like in this example.

If you don't know what I'm talking about here are pics:
- Before: - After:

As you can notice, I have used Twitter's Bootstrap input-append class to add the icon into the text field.

To achieve this what you need to do is:

1. You need to have your call like this:

2. Open your jquery.js file and around line 7436 (in JQuery UI 1.9.2) you'll find:

Replace that snipped of code with:

NOTE: You can change the class with another icon of your taste. By the way, I'm using Font Awesome's icons.

3. (optional) If you want your icon to be appended into the text field, you need to put your <input> call of datepicker inside a <div class="input-append"> like this:

NOTE: You can, of course, change the div's class into input-prepend.

It's a newbie approach and I hope there is an easier/fancier/better solution to this (and if you have a link for such please post in the comments), but as I couldn't find one I had to improvise.

How to get my HexChat classic icons again

Hi, since HexChat >=2.9.4 there are some not very pleasant (UGLY AS HELL) icons in the userlist and channel tree. If you want to get back the nice classic coloured dots in your userlist do this:

  1. Download the old icons from HERE(all icons) or HERE(only userlist icons).
  2. Stop HexChat if you have it running.
  3. Put them into your data directory.
    1. Linux: usually ~/.config/hexchat/icons/ (if the folder does not exist - create it).
    2. Windows: go find it yourself.
  4. Start HexChat and enjoy.


Bedrock Linux - Momo (1.0alpha2) Unofficial Builds

Hello, if you don't know already, a new Linux distro named Bedrock has emerged. It brings a new concept to working with different distros at the same time.

Please visit the official website for more info.

First of all, I'll recommend you to go through the install instructions, as it will might earn you a good experience with managing such packages. It's the best and preferible way of getting a working Bedrock.

If you follow the install steps described there you might encounter with some difficulties compiling the packages. This mostly depends on your host's environment (gcc version, glibc version, etc... etc...).

PART 1: Unofficial Repository
The problem comes if you hit a compilation issue that you are not able to solve by yourself. In this case, we (a couple of volunteers) have created an unofficial repository. 

The repo's url is:

It includes:
  • Two supported architectures (for now): amd64 and x86
    • Static binaries (already compiled packages that are ready for use).
    • A couple of extra static binaries that might be useful for you (for example grub-static)
Reading the README file on how to use the packages is advised. With these, you should be able to get yourself a running Bedrock - just follow the install instructions and where you should compile/install the packages by yourself, just use the already compiled static binaries provided by the unofficial repo.

PART 2: rootfs and VirtualBox images.
As a try to make an even easier and faster way for users to be able to play with Bedrock's environment and functionality, I've tried to provide completely working solutions to the laziest people here ;).

What this contains: grub (0.97), 3.4 kernel (only ext4 support available), udev and a bunch of other useful tools provided by buildroot.

Unfortunately, currently only amd64 images are provided here:

  • BedrockLinux.vdi-VERSION.tar.xz - A VirtualBox .vdi image (used as a hard disk). Just create a VM and attach the this .vdi image as only hard disk (as SATA). 
  • rootfs-VERSION.tar.xz - It's a complete tree of files that you need to populate your Bedrock's partition.

Keep in mind that the two methods BedrockLinux.vdi-VERSION.tar.xz or rootfs-VERSION.tar.xz contain only a base Bedrock environment. You need to properly configure Bedrock and a Bedrock client to your liking.

The BedrockLinux+DISTRO-VERSION.vdi.tar.xz method is an already configured Bedrock base with an already configured client. You can use this as an example so you can configure more/others clients to your liking.

Bedrock boot process.

Here you can see a couple of chinese students trying out Bedrock following this blog post (no photoshop used, really! :-P).
Chinese students installing Bedrock Linux.