|  About Me  |  Blogs  |  Photos  |  Publications  |  Resume  | 

Archive for the 'System' Category

Windows maximizes across dual screen

Thursday, August 4th, 2005

I run dual screen using mergefb but when I maximize windows in gnome it spans across both screen. To fix this I needed to recompile metacity with the xinerama USE flag, i.e.,

USE=”xinerama”

$ emerge -newuse metacity

udev permission problem

Wednesday, August 3rd, 2005

After I performed an update on a freshly installed base gentoo system, udev was not assigning the right permissions to devices. Every device was only read and writable by root. Changing the config files doesn’t give any effect, nor does recreating the devices.

In the end, I finally realised that the problem was with etc-update. [...]

Use Gentoo binary packages

Wednesday, August 3rd, 2005

Download the binaries to /usr/portage/packages/All, then use emerge with -k.

Enable scroll wheel

Wednesday, August 3rd, 2005

To enable scroll wheel, add Option ZAxisMapping to the mouse section in xorg.conf, i.e.,

Section “InputDevice”
Identifier “Mouse1″

Option “ZAxisMapping” “4 5″
EndSection

Then restart xdm.

Chinese fonts in Gentoo

Wednesday, August 3rd, 2005

Here’s a good overview of chinese fonts in Gentoo. Here’s the shortcut:

$ emerge hkscs-ming

Emerge tools

Wednesday, August 3rd, 2005

There’re a couple of tools to make working with emerge nicer.

esearch is like emerge search but uses a search index to make it much faster. esync replaces emerge sync and runs eupdatedb to update the search index for esearch.

$ emerge esearch
$ eupdatedb
$ esync

eix is another search tool, maybe even better than esearch since it takes [...]