- The first step to removing hal is to update your USE flags to exclude hal (USE="-hal").
- Then update your system with emerge --update --deep --newuse world
- Now you need to determine what packages require hal, these will have to be removed. Execute: emerge --depclean --verbose --pretend hal.
- You will now have a list of programs that you need to unmerge. In my case gnome-mount. I removed it after checking the dependencies with emerge --depclean gnome-mount.
- Now once your system is clean of any dependencies to hal, remove it with emerge --unmerge hal.
- Congratulations hal is no longer in control. I recommend you re-emerge xf86-input-evdev before restarting X, if you don't you may run into a situation where your mouse and keyboard are not recognized by X.
Saturday, January 1, 2011
Removing Hal From Gentoo
As you may know already hal has been depreciated, its functionally has been merged with udev. If you are having issues with hal or just want it removed then there are some things you need to know.
Subscribe to:
Post Comments (Atom)
Without gnome-mount, how do you automount USB drives etc...?
ReplyDeleteYou can automount drives using udev rules.
ReplyDeleteThe rules look something like this:
RUN+="/bin/mount -t auto /dev/usbstick /media/usbstick". As a bonus it is not GUI dependant unlike gnome-based mounting tools. Have a look here http://www.debianhelp.org/node/9937 for further details and links.