Portage. From Gentoo Linux Wiki Portage is the package manager used in Gentoo.
Unlike most package managers, it is primarily used to handle source packages: Portage can automatically build source packages as you need them, while binary package managers primarily install pre-built tarballs. The purpose of this article is to teach the "best-known practices" for working with Portage on a daily basis. This is not a primer or introduction to using Portage or emerge. Manage Linux Hardware with udev (Part 2) - www.enterprisenetworkingplanet.com. Last week we learned the basics of the udev filesystem, and how to dig up device names.
Today we dive into writing custom udev rules. Why would you want to acquire this strange knowledge? Because, believe it or not, computers are not yet perfect, so sometimes we must fix them. Gentoo udev Guide. Udev is the device manager for the Linux kernel.
Primarily, it manages device nodes in /dev and handles all user space actions when adding/removing devices. Also have a look at eudev, a fork of udev. What is udev? The /dev directory When Linux-users talk about the hardware on their system in the vicinity of people who believe Linux is some sort of virus or brand of coffee, the use of "slash dev slash foo" will return a strange look for sure. Power Management. Handling of hardware events Power state switching Letting disks idle (buffering disk writes, aka laptop-mode) Though power management will deal with these, the objectives of the tasks do not solely lie in power management.
It may be adviseable to rely on tools specialized for their tasks, instead of implementing an incomplete power management utility. Launchpad Entry: desktop-lucid-powermanagement-tweaks Created: Contributors: Packages affected: Related: Handling hardware events. Pm-utils - openSUSE. From openSUSE pm-utils is the new suspend and powerstate setting framework.
It is usually used by HAL to execute the various hacks needed to work around bugs in drivers and subsystems that are not yet aware of suspend. It is easily extensible by putting custom hooks into a directory, which can either be done by the system administrator or those hooks can be part of a package, especially if this package needs special attention during a system suspend or power state transition. Gentoo Wiki Archives - Pm-utils. Note: This page was copied from the TuxOnIce page.
The information should probably be externalized to here to reduce the length and size there. For desktop environments that utilize the Hal framework, like Gnome and KDE, usage of hibernate-script has become depreciated in favor of pm-utils. Short for Power Management Utilities, pm-utils does most of the needed legwork outside of the kernel. This package gives you three commands to play with once installed: pm-hibernate, pm-suspend and pm-suspend-hybrid. Hibernate + Ubuntu. [ubuntu] Slow hibernate / resume - Ubuntu Forums First, install uswsusp.
(sudo apt-get install uswsusp) The version in Intrepid is pretty old, but it might work for you. Manage Linux Hardware with udev - www.enterprisenetworkingplanet.com. In the olden days Linux administrators had a static /dev directory.
It was inflexible and obese, containing 99% irrelevant entries, and we liked it that way. We didn't mind hassling with makedev and struggling with major and minor numbers to enter the devices we actually wanted, or manually deleting the 1,000 useless /dev entries, because Real System Administrators love doing things the hard way. It makes us feel close to our hardware. The best part of the job is spending years acquiring and hoarding arcane bits of knowledge, which are then passed on to eager, fresh-faced noobs with the magical incantation, "RTFM, luser. " Gentoo Linux Use Variable Descriptions. Gentoo Install. Picking use flags for someone is like picking out shoes for someone without even knowing them.
There is a cool search tool called beagle, much like OSX's spotlight. to enable that you must add 'beagle' and 'mono' to your gnomeuse line. Two more use flags are 'cdr' and 'dvdr' you can add them to your system use line, if your cdrom/dvdrom drive supports that function. 'esd' Adds support for media-sound/esound (Enlightened Sound Daemon) 'eds' Enables support for Evolution-Data-Server. The perennially late Gentoo gnome-light ebuilds. If you run Gentoo Linux for your desktop, and you happen to favor the Gnome desktop environment, you may have noticed the incredible number of packages that need to be installed in order to install the gnome ebuild.
The ability to pick and choose just those components you need for a system is one of the reasons I personally haven't switched away from Gentoo to another Linux distribution. This ebuild however, seems to me to go somewhat against the original intent of the OS. Well, for the rest of the crowd like me, there is the gnome-light ebuild. Gentoo Linux Tidbits « Helpful Linux Tidbits. I’ve been using Gentoo for about two years now and I took notes on managing my system. These are those notes. I’ve since created a bash script that does many of the functions and I’ll just post it here because it is pretty self-explanatory. Gentoo Linux Tidbits « Helpful Linux Tidbits. Additional options for the radeon driver. Options for the radeon driver are documented on the radeon(4x) man page. External Monitors First of all, suppose you want to plug in your laptop into a projector occasionally, but you don't want to restart X when you do so.
Metacity …for the adult in you. Trees January 18, 2011 – 8:10 pm I know what you’re thinking: you thought this blog was dead. Well, I have to apologise for the lack of attention to Metacity recently. Gentoo maintenance. From Gentoo Linux Wiki The focus of this tutorial is installing new software and updating existing software, in the most common and basic style. Rough understanding of portage is expected. For complicated tinkering, see other pages in this wiki. Installing new software.
Make Linux faster and lighter. With just a few tweaks, your Linux box can be lighter, sprightlier and quicker than ever before. Read on for the best ways to speed up your boot sequence, optimise KDE and Gnome, and get better performance from your favourite apps. We've also got some top tips from our favourite free software gurus...