Archive for seqizz

Yup, boredom creates another distro

Hadron GNU/Linux 1.0 (a.k.a. Dennis Ritchie) is out. So you’ll probably say “what?”.

We’re trying to create a distro which is source based, fast and follows KISS principles. Package manager of Hadron is lpms, which has written from scratch (with python). And uses portage-like trees as software repositories. We don’t hurry. And I mean really few people while calling us “we”.

We also have a wiki and a channel named #hadron on freenode IRC server. Please feel free to try and hang around. We need more manpower.

 

Update: I saw some comments about Hadron like “What is the point”. Take it easy guys. We didn’t say that is the best lion in the arena. We’re just bored :)

About domain names..

Today I checked the registered distro domains about the shiny +18 “.xxx” extension.

Really? No one tried to buy “ubuntu.xxx” just for fun? I was about to buy “gentoo.xxx”, then I saw the price and NOPE! GoDaddy says they’re still available, while some other registrars acting like they’re registered by someone.

For now, gentoo.in is good and cheap enough for me.

 

*Un*stable KDE

I was getting a plasma error on one of my Arch+KDE4.7 laptops (upgraded from 4.6). It was crashing on every logout/shutdown/etc..

I saw same error on the bug reports with different distros. No solution, a.f.a.i.k. Even KDE crash helper couldn’t find enough information to fill a bug report in my box.

Strangely the issue was still present while my trial with a brand new user account. So I’ve decided to re-install all the KDE&Qt related packages with a pacman query. Made a hard KDM reset afterwards, fix’d.

Why you should use Zsh?

First of all, I’m a long-time zsh user. So probably with help of .bashrc you can do these examples in bash. But I’ll write about some zsh usage tips which helps me do things faster here. Also probably you will need a .zshrc in zsh, otherwise it can make you crazy. It’s dangerous to go alone, take my zshrc for example: here. Btw if you use this you’ll get a prompt like:

Here we go,

Fast navigation:

user@computer:$ pwd
/var/lib/dbus

user@computer:$ cd lib run
/var/run/dbus

user@computer:$ pwd
/var/run/dbus
Substitute previous command (use gs instead of s for "replace all"):
user@computer:$ cp /this/is/very/long/lib/path/file.txt /this/is/the/destination/

user@computer:$ !!:s/lib/proc/
cp /this/is/very/long/proc/path/file.txt /this/is/the/destination/
Completion you say?
user@computer:$ cd /u/li/zs<TAB> completes /usr/lib/zsh
Somehow bookmarks:
user@computer:$ hash -d zsh="/usr/lib/zsh"

user@computer:$ cd ~zsh

user@computer:$ pwd
/usr/lib/zsh

Oh no, I can’t tell more. zcalc, zmv, zftp aaarrrggh.. I love them but there are too much.

Here is a detailed text about zsh capabilities. You know what?

Gentoo Logo Theme Suite

Pure boredom. I edited Suse.Logo.Green KDM4, Ksplash4 and powered_by_gentoo bootsplash themes. Main concept is this:

Also the links:
KDM: http://goo.gl/7C8bB
Ksplash: http://goo.gl/dyF0T
Bootsplash: http://goo.gl/JdCXJ

compcache

I’ve accidentally discovered this in kernel:

compcache [link] creates block devices like /dev/zram0, acting like a swap device. But it’s using RAM actually, compressed. I can feel the difference on my 1gb-ram netbook a little.

It’s not a new project, I don’t know how did I miss this.

Setting up a “ramswap” is pretty easy. Here is my /etc/conf.d/local:

 

local_start() {

modprobe zram num_devices=2

echo 67108864 > /sys/block/zram0/disksize
echo 67108864 > /sys/block/zram1/disksize

mkswap /dev/zram0
mkswap /dev/zram1

swapon /dev/zram0
swapon /dev/zram1

return 0
}

local_stop() {

swapoff /dev/zram0

swapoff /dev/zram1

echo 1 > /sys/block/zram0/reset
echo 1 > /sys/block/zram1/reset

return 0
}

I guess you got the message  ;)

#EDIT: conf.d/local, sorry for mistake

Gentoo Linux on Sony Vaio VPCM13M1E

Meh. Here is the 64Bit .config file for 2.6.37 kernel (for ck-sources, you can use with gentoo-sources too). Don’t forget to configure. E.g. I’m not using usb-based wireless cards, nor printer, so didn’t enable it.
Most problematic hardware is RaLink RT3090 Wireless, which still has a staging driver. I’m using this as module (rt2870sta), don’t forget the firmware, if it goes crazy about connecting just reload the module.
Only non-working thing is Fn-F5 and F6 (setting screen brightness with keyboard), however i’m good with software, you can use battery applets (e.g. in kde or gnome).

Download Config File

Some usefulness

Problem Officer?