Re: [gentoo-user] Gnome 2.4 starting at level 3

2004-01-23 Thread Eric Ball
On Saturday January 24 2004 07:04 am, Kurt Guenther wrote:
 I did an:

rc-update del xdm

 and removed it.   How do I add it to runlevel 4?   No man page.
 rc-updateenter seems to indicate that

 rc-update add runlevel4

 might work, but it doesn't.

 --Kurt

You might want to have a read of the rc-scripts guide: 
http://www.gentoo.org/doc/en/rc-scripts.xml

Gentoo uses virtual runlevels -- have a look in /etc/runlevels/

What I think you want to do is something like this:

bacuhec # mkdir /etc/runlevels/gui
bacuhec # cp -P /etc/runlevels/default/* /etc/runlevels/gui/
bacuhec # rc-update add xdm gui
 * xdm added to runlevel gui
 * Caching service dependencies...   [ ok ]
 * rc-update complete.

And then to change to the gui runlevel type:

bacuhec # rc gui

and back:

bacuhec # rc default

To make init 4 work, go to /etc/inittab and change the line:

4:4:wait:/sbin/rc default

to

4:4:wait:/sbin/rc gui

and you can then use `init 4' and such to change runlevel.

HTH

-Eric
-- 
Imagine if every Thursday your shoes exploded if you tied them the usual 
way. This happens to us all the time with computers, and nobody thinks 
of complaining.
-- Jeff Raskin


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Init config files

2004-01-14 Thread Eric Ball
On Tuesday January 13 2004 11:29 pm, Sensei wrote:
 Now, who overwrites the configuration files? I had the same problem
 with modules.conf for alsa, and I had to modify /etc/modules.d/alsa
 --- and I found no documentation about this kind of init.

 Anyone can help me? I don't understand who starts who and how! And I
 have to set up the workstations...

I would check the man pages for your DHCP client. For example, to 
prevent my /etc/ntp.conf from being overwritten every boot I have to 
change my eth0 settings in the /etc/conf.d/net script to this:

iface_eth0=dhcp
dhcpcd_eth0=-Y -N

HTH

-Eric
-- 
   There's never enough time to do all the nothing you want.
  -- Calvin


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] mozilla problems

2004-01-05 Thread Eric Ball
On Monday January 5 2004 04:03 pm, Ben Munat wrote:
 Anyone else have trouble with losing the ability to type in Mozilla
 (and Firebird)? I've found that it fairly consistently locks me out
 of typing inside of web text fields *and* the address bar. It seems
 like it happens when I close another gui app... like K apps, mostly
 (I'm running fluxbox).

 b

This happens to me occasionally with Firebird in KDE. Minimising and 
maximising the browser window has fixed it so far every time. It's when 
my mouse goes haywire and starts dragging windows around, opening the K 
menu in strange places, reorganising my icons and cutting/pasting text 
randomly for about 10 seconds, it's annoying :)

-Eric
-- 
Optical computers, genetic catalogs, nanorepair modules--forget
all of that. It's when you see a megaton of steel suspended over
your head by a thread the thickness of a human hair that you
really find God in technology.

 -- Anonymous Metagenics Dockworker,
MorganLink 3DVision Live Interview


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Partition Magic

2003-09-09 Thread Eric Ball
On Monday September 8 2003 02:26 pm, Kevin Miller, Jr. wrote:
 Does anyone know where I can get a reasonably priced copy of
 Partition Magic?  When I deleted my other partitions in Windows, I
 inadvertently deleted the Linux partition I created with PM a year
 ago.  Damn Microsoft!!! Got fix that before I can reinstall Gentoo:(

 Kevin

You could try testdisk, a program that scans your hard drive for 
partitions and recreates them.

http://www.cgsecurity.org/index.html?testdisk.html

It's saved me before from bizarre interpretations of user instructions 
by the Microsoft disk management mmc snap-in.

-Eric
-- 
Work without a vision is slavery, Vision without work is a pipe dream,
But vision with work is the hope of the world.


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] ati drivers

2003-08-15 Thread Eric Ball
  so after emerge -u world
  ...trying a lot of mirrors..
  !!! Couldn't download fglrx-glc22-4.3.0-3.2.4.i586.tar.gz.
  Aborting.
 
  I have tried it for a few days now but I get still the same error.
  What is going wrong here?

 I've been having the same problem.  I used lynx to examine the
 location where the file is supposed to be...it's not there.  I am
 assuming there is a typo in the url.

I downloaded it from some mirror about a week ago. It seems to have 
disappeared for some reason.

-Eric
-- 
People will do tomorrow what they did today because that is what they
did yesterday.


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] How do I find masked dependencies.

2003-07-11 Thread Eric Ball
On Friday July 11 2003 04:33 am, Robert Young wrote:
 I am trying to follow

 http://dev.gentoo.org/~liquidx/chinese.html

 and I am trying to add zh-kcfonts
 but its dependencies seem to be masked.

 How do I find masked dependencies.

 I added ACCEPT_KEYWORDS=~x86 to make.conf and then
 emerge -p zh-kcfonts wanted to upgrade xfree to xfree-4.3.0-r3

 Is xfree-4.3.0-r3 a dependency or just now available because I added
 ACCEPT_KEYWORDS=~x86.

When in doubt, you can look at the ebuild. This one (for me) is located 
at /usr/portage/media-fonts/zh-kcfonts/zh-kcfonts-1.05.ebuild and you 
can see the line:

DEPEND=x11-base/xfree

This means the ebuild just wants any version of xfree.

I'm not sure why emerge wants to upgrade xfree for you, because when I 
run the following command I get:

# ACCEPT_KEYWORDS=~x86 emerge zh-kcfonts -p

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild  N   ] media-fonts/zh-kcfonts-1.05


If you used the -u (--upgrade) flag, then emerge would try to update all 
the dependencies (and the the dependencies of the dependencies of the 
dependencies) of the package. Does running:

# ACCEPT_KEYWORDS=~x86 emerge zh-kcfonts -up

Return a different list of packages?

And you can specify ACCEPT_KEYWORDS=~x86 on the command line as shown 
to emerge masked packages, rather than making the setting global from 
make.conf.

 Based on

 http://forums.gentoo.org/viewtopic.php?t=33534

 I should edit

 /etc/portage/package.unmask

 right?

 but this file and folder do not exist.

 Should I create it or is there not a better way.
 Any help is much appreciated thanks.

Yes, you have to create the file, and put a line in like:

=app-office/openoffice-bin-1.1_beta2

to emerge packages that are listed in /usr/portage/profiles/package.mask 
but packages are usually put in that file because the developers need 
to test them, or are known to be unstable, etc.

It has nothing to do with zh-kcfonts, that package is masked because it 
has the line

KEYWORDS=~x86

in the ebuild. One thing you can do is:

1. Set the PORTDIR_OVERLAY=/usr/local/portage variable in /etc/make.conf
2. Create the directory if necessary
3. Copy /usr/portage/media-fonts/zh-kcfonts/zh-kcfonts-1.05.ebuild to 
/usr/local/portage/media-fonts/zh-kcfonts/zh-kcfonts-1.05.ebuild
4. Edit the copied-to file and change the KEYWORDS=~x86 line to 
KEYWORDS=x86
5. emerge zh-kcfonts should stop complaining about being masked.

Hope this helps,

-Eric
-- 
Wherever you go...There you are.
- Buckaroo Banzai


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Re: mplayer help

2003-07-11 Thread Eric Ball
 It is. I've got an XP 1800+ myself, and the core speed is about
 1530 MHz. I have no idea how this works internally, but, in any case,
 your clock speed is correct.

It goes up 66 MHz per 100 points for Athlon XPs with 256 KB of cache.

-Eric
-- 
I must have a prodigious quantity of mind; it takes me as much as a
week sometimes to make it up.
-- Mark Twain, The Innocents Abroad


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] The age old (CFLAGS) question..

2003-07-03 Thread Eric Ball
On Thu, 3 Jul 2003 12:42 pm, drewbian wrote to gentoo-user:

  After looking through the huge array of optimizations people have posted
  on the discussion forum's I'm rather confused as to what the hey to put
  in there. Particularly as most posters seem to use Pent 4's or Athlon
  XP's,
 
  Also would -march=athlon be the most suitable for a Duron 1.3?

I understand that Morgan-core Durons (the 1GHz ones I believe) are just 
Athlon-XP's with less cache, so you can use -march=athlon-xp which will be 
(slightly) faster.

My CFLAGS for an Athlon XP 1800+ are:

CFLAGS=-march=athlon-xp -O3 -pipe -mcpu=athlon-xp -m3dnow -mmmx -msse 
-mfpmath=sse,387 -finline-functions -fmerge-all-constants -fthread-jumps 
-fomit-frame-pointer -fexpensive-optimizations -ffast-math -fforce-addr 
-falign-functions=64 -falign-jumps=4 -falign-loops=4 -frerun-cse-after-loop 
-frerun-loop-opt -fprefetch-loop-arrays -maccumulate-outgoing-args

Which contains some duplications but _seems_ to work perfectly. Note this will 
probably make people cry Are you crazy and/or stupid!? and developers will 
likely refuse to do troubleshooting on any problems you may have.

-Eric
-- 
I know it all.  I just can't remember it all at once.


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] The age old (CFLAGS) question..

2003-07-03 Thread Eric Ball
On Thu, 3 Jul 2003 07:14 pm, Robin H.Johnson wrote to [EMAIL PROTECTED]:

 For your list of CFLAGS there, I'd advise you to read what the gcc
 manpage has on them. Some of them are ok, but solely due the following
 ones, I personally as a developer wouldn't support your bugs until you
 recompiled without them.

 -fmerge-all-constants - using this option will result in non-conforming
 behavior.

 -fomit-frame-pointer - It also makes debugging impossible on some
 machines. (this is even in bold in the manpage)

 -ffast-math - it can result in incorrect output for programs which
 depend on an exact implementation of IEEE or ISO rules/specifications
 for math functions.

 The most of the rest of your CFLAGS I would consider as fine, and just a
 waste of your own time in compiling things (but hey, it is _your_ time
 you are wasting).

I know, I've read the info page, but it *feels* faster. And I understand that 
if I have problems the first thing to do is to re-emerge (with -e if 
necessary) with saner CFLAGS, but (surprisingly) I haven't found any yet.

And according to the emerge logs, compilation time isn't increased by more 
than ~20% on most packages, so it works for me.

-Eric
-- 
We are all born mad.  Some remain so.
-- Samuel Beckett


--
[EMAIL PROTECTED] mailing list