Re: [gentoo-user] Fails to login with no network connected/setup

2010-11-18 Thread Dale

William Kenworthy wrote:

I am having problems logging into a laptop (gdm) after its moved to a
new network.  Its fine once its setup on the network in question, but if
I hibernate it then resume with it either not connected at all, or
connected to a new network (but not configured for it) it takes so long
to login to X via gdm it times out.

Its a 6+ year old install, but up to date otherwise (just did a major
update which is when this started - nearly 400 packages so no idea what
might have done it).  All logins are local and no network should be
required.  GDM looks to be correct (and hasnt changed)

Where should I look? - its obviously trying to do something on the
network but cant access it until its properly up and I need to login to
get the network up after moving it.  I can get into a console and run
things manually, after which its fine, but that misses the point :)

BillK

   



If I recall correctly, this is a DNS issue.  I tried to search my old 
emails for this but can't find the thread.  I did find this on the 
forums tho:


http://forums.gentoo.org/viewtopic-p-5409131.html#5409131

Sounds weird at first but if it works, weird is OK too.  ;-)

Hope that helps.

Dale

:-)  :-)



Re: [gentoo-user] migrating disks (from mounts to disklabels

2010-11-18 Thread Andrea Conti
 Disk /dev/sdb: 2000.4 GB, 2000398934016 bytes
 255 heads, 63 sectors/track, 243201 cylinders
 Units = cylinders of 16065 * 512 = 8225280 bytes
 Sector size (logical/physical): 512 bytes / 512 bytes

A small caveat -- if this is an advanced format drive be sure to use
fdisk in sector mode (fdisk -uc) and start the first partition on a
sector number which is a multiple of 8.

(Yes, I know it says 512 bytes physical sector size above, but all
five of my 1TB AF WD greens happily advertise a 512 byte physical sector
size)

 Ok now I was going to use same reiserfs  no big deal
 unless I can use reiser4? good idea? discuss-caveats

Assuming you care about your data, my advice is to drop reiserfs for
everything but unimportant, easily replaceable stuff (like
/usr/portage). Reiserfs undoubtedly has performance advantages in some
areas, but its structure is more prone to damage and it has lousy fs
utils. Ext4 might be slower at times but it is backed by a very well
tested and maintained fsck.
Reiser4? Not a chance in hell.

 Just replace /dev/sdb1 with LABEL=boot

Small caveat: labels in /etc/fstab are ok (even for swap partitions,
just create them with mkswap -L), but you must still use a device name
in the root parameter on the kernel command line. Labels/UUIDs are not
supported there.

 Another approach (less readable but arguably less easy to break) is
 using UUID= You can find these out with dumpe2fs. I guess
 something similar exists for reiserfs, as well.

or just ls -al /dev/disk/by-uuid

 dd if=/dev/sda of=/dev/sdb bs=32768 

Definitely not. Sure, you can grow the fs to fill the partition
aftwerwards (resize2fs or its reiser equivalent), but you will be
wasting time and taking unnecessary risks.
Boot from a livecd, create a new filesystem on the target, mount both
filesystems and use

rsync -aHPv /path/to/old/mountpoint/ /path/to/new/mountpoint/
or simply
tar c /path/to/old/ | tar xvp /path/to/new

rsync can show you the progress of the operation, which is nice, but it
is not available on all live cds (for example, gentoo-minimal did not
ship with it last time I checked). If you use rsync, pay special
attention to the -H option as -a (archive mode) does not preserve hard
links by default.

HTH,
andrea




Re: [gentoo-user] Re: How to configure thochpad sensitivity (using hal)?

2010-11-18 Thread Sebastian Beßler

Am 18.11.2010 02:46, schrieb Grant Edwards:

On 2010-11-18, Alan McKinnonalan.mckin...@gmail.com  wrote:



Looks like the *actual* problem is non-application of OYFEAL[1],not what the
devs do.


Google doesn't seem to know what OYFEAL means.  Do we get any hints?



Google says this: OYFEAL: Open your fscking eyes and look




Re: [gentoo-user] Fails to login with no network connected/setup

2010-11-18 Thread William Kenworthy
On Thu, 2010-11-18 at 02:38 -0600, Dale wrote:
 William Kenworthy wrote:
  I am having problems logging into a laptop (gdm) after its moved to a
  new network.  Its fine once its setup on the network in question, but if
  I hibernate it then resume with it either not connected at all, or
  connected to a new network (but not configured for it) it takes so long
  to login to X via gdm it times out.
 
  Its a 6+ year old install, but up to date otherwise (just did a major
  update which is when this started - nearly 400 packages so no idea what
  might have done it).  All logins are local and no network should be
  required.  GDM looks to be correct (and hasnt changed)
 
  Where should I look? - its obviously trying to do something on the
  network but cant access it until its properly up and I need to login to
  get the network up after moving it.  I can get into a console and run
  things manually, after which its fine, but that misses the point :)
 
  BillK
 
 
 
 
 If I recall correctly, this is a DNS issue.  I tried to search my old 
 emails for this but can't find the thread.  I did find this on the 
 forums tho:
 
 http://forums.gentoo.org/viewtopic-p-5409131.html#5409131
 
 Sounds weird at first but if it works, weird is OK too.  ;-)
 
 Hope that helps.
 
 Dale
 
 :-)  :-)
 
Thanks Dale, looks like thats the trick.

BillK






Re: [gentoo-user] Fails to login with no network connected/setup

2010-11-18 Thread Dale

William Kenworthy wrote:

On Thu, 2010-11-18 at 02:38 -0600, Dale wrote:
   

William Kenworthy wrote:
 

I am having problems logging into a laptop (gdm) after its moved to a
new network.  Its fine once its setup on the network in question, but if
I hibernate it then resume with it either not connected at all, or
connected to a new network (but not configured for it) it takes so long
to login to X via gdm it times out.

Its a 6+ year old install, but up to date otherwise (just did a major
update which is when this started - nearly 400 packages so no idea what
might have done it).  All logins are local and no network should be
required.  GDM looks to be correct (and hasnt changed)

Where should I look? - its obviously trying to do something on the
network but cant access it until its properly up and I need to login to
get the network up after moving it.  I can get into a console and run
things manually, after which its fine, but that misses the point :)

BillK


   


If I recall correctly, this is a DNS issue.  I tried to search my old
emails for this but can't find the thread.  I did find this on the
forums tho:

http://forums.gentoo.org/viewtopic-p-5409131.html#5409131

Sounds weird at first but if it works, weird is OK too.  ;-)

Hope that helps.

Dale

:-)  :-)

 

Thanks Dale, looks like thats the trick.

BillK


   


Glad to help.

Dale

:-)  :-)



Re: [gentoo-user] How to configure thochpad sensitivity (using hal)?

2010-11-18 Thread Fernando Antunes
On Sat, Nov 13, 2010 at 11:10 PM, Grant Edwards
grant.b.edwa...@gmail.comwrote:

 Can anybody point me to a hint on how to configure synaptics touchapad
 sensitivity?

 The touchpad on my Thinkpad T500 is so sensitive you don't even have
 to touch it. Merely bringing a thumb or finger within 1/8 - 1/4 inch
 will cause the cursor to twitch spasmodically for a second and then
 jump to the lower left corner of the screen.  Once you have a finger
 on the touchpad, it seems to work OK.

 I've figured out how to disable it temporarily using the xinput
 command, but I would like to actually get it working right.

 All the docs I can find seem to assume two things:

  1) an xorg.conf file

  2) the xf86-input-synpatics driver

 I'm using neither.

 I decided finally to give in and let Xorg use HAL like it wants to by
 default when you do a Gentoo install.

 I have a Thinkpad T61 and I do not use xorg.conf. But I am using HAL. The
touchpad works pretty good.

You can adjust synaptics changing the configuration on the
/etc/hal/fdi/policy/11-x11-synaptics.fdi file.
man 4 synaptic can give you a lot of extra options.


 What a huge mistake.  I really, really hate HAL.  With xorg.conf, all
 the settings were in one file, in an easy to read, easy to edit
 format. Now with HAL, they're scattered over several files.  And to
 make sure you can't edit or read them, they're in XML.  I have no idea
 what problem HAL is supposed to be solving, but it apprently wasn't
 a problem I ever had -- AFAICT HAL is nothing but pain.

 --
 Grant






Re: [gentoo-user] One machine sends emerge text output to stderr, not stdout

2010-11-18 Thread Neil Bothwick
On Wed, 17 Nov 2010 19:20:25 -0500, Walter Dnes wrote:

   Because I don't want a repeat of the ipv6 fiasco where I had an almost
 non-functional browser, mediaplayer (for internet files), etc, etc.

Hardly non-functional - desperately slow maybe but far from
non-functional. Blaming the devs for your broken modem/router is rather
unfair. If you'd known it was unable to handle IPv6 correctly, why didn't
you set the flag accordingly? If you didn't know, HTH were the devs
supposed to know?

Bear in mind the current thread discussing Gentoo following upstream
closely and setting suitable defaults. Upstream include IPv6 support,
Gentoo provides an option to turn this off, you missed it. That's a very
poor performance for a control freak (speaking from a personal
perspective).


-- 
Neil Bothwick

A man wrapped up in himself makes a very small package.



signature.asc
Description: PGP signature


Re: [gentoo-user] One machine sends emerge text output to stderr, not stdout

2010-11-18 Thread Neil Bothwick
On Thu, 18 Nov 2010 04:46:16 +, Stroller wrote:

 If you're not using a GUI terminal emulator with a scrollbar, then may
 I respectfully suggest you install `tmux` (a replacement for GNU
 `screen`) and use it. It takes a little while to get familiar with it,
 and with its keybindings and stuff, and perhaps even to get into the
 habit and mindset of using it, but it really is brilliant,

How does it differ from screen? Is it sufficiently better to relearn
keystrokes etc?


-- 
Neil Bothwick

If you think talk is cheap, try hiring a lawyer.


signature.asc
Description: PGP signature


Re: [gentoo-user] Re: How to configure thochpad sensitivity (using hal)?

2010-11-18 Thread Neil Bothwick
On Thu, 18 Nov 2010 00:42:52 +0200, Alan McKinnon wrote:

 c. our devs are assumed to only pretend to be pedantic geeky gits who
 nit-pick about words, and not to actually *be* like that their entire
 life 24/7/365/75. 

Indeed. After all, if they were really pedantic, they would point out that
you should have written either 24/7/52/75 or 24/365/75 :P


-- 
Neil Bothwick

On the other hand, you have different fingers.


signature.asc
Description: PGP signature


Re: [gentoo-user] migrating disks (from mounts to disklabels

2010-11-18 Thread Andrea Conti
 tar c /path/to/old/ | tar xvp /path/to/new

Whoops... That should be

tar c -C /path/to/old/ . | tar xvp -C /path/to/new/

Sorry,
andrea



Re: [gentoo-user] Re: How to configure thochpad sensitivity (using hal)?

2010-11-18 Thread J. Roeleveld
On Thursday 18 November 2010 12:37:16 Neil Bothwick wrote:
 On Thu, 18 Nov 2010 00:42:52 +0200, Alan McKinnon wrote:
  c. our devs are assumed to only pretend to be pedantic geeky gits who
  nit-pick about words, and not to actually *be* like that their entire
  life 24/7/365/75.
 
 Indeed. After all, if they were really pedantic, they would point out that
 you should have written either 24/7/52/75 or 24/365/75 :P

pedantic mode
Or that you both seem to forget the actual reason for the use of leap-years.. 
:P
/pedantic mode

Anyway, I do hope to live past my 75th birthday ;)

--
Joost



Re: [gentoo-user] Re: How to configure thochpad sensitivity (using hal)?

2010-11-18 Thread Neil Bothwick
On Thu, 18 Nov 2010 12:43:40 +0100, J. Roeleveld wrote:

  Indeed. After all, if they were really pedantic, they would point out
  that you should have written either 24/7/52/75 or 24/365/75 :P  
 
 pedantic mode
 Or that you both seem to forget the actual reason for the use of
 leap-years.. :P
 /pedantic mode

I thought the real reason for leap years was to boot the turnover of the
wedding industry.

 Anyway, I do hope to live past my 75th birthday ;)

Someone that pedantic is unlikely to get more than halfway there :)


-- 
Neil Bothwick

If you can smile when things go wrong then you have someone in mind to
blame.


signature.asc
Description: PGP signature


Re: [gentoo-user] Re: How to configure thochpad sensitivity (using hal)?

2010-11-18 Thread J. Roeleveld
On Thursday 18 November 2010 12:52:40 Neil Bothwick wrote:
 On Thu, 18 Nov 2010 12:43:40 +0100, J. Roeleveld wrote:
   Indeed. After all, if they were really pedantic, they would point out
   that you should have written either 24/7/52/75 or 24/365/75 :P
  
  pedantic mode
  Or that you both seem to forget the actual reason for the use of
  leap-years.. :P
  /pedantic mode
 
 I thought the real reason for leap years was to boot the turnover of the
 wedding industry.

Oh? How does that work?
 
  Anyway, I do hope to live past my 75th birthday ;)
 
 Someone that pedantic is unlikely to get more than halfway there :)

:)  Am glad I'm not that pedantic then :)

--
Joost



Re: [gentoo-user] Re: How to configure thochpad sensitivity (using hal)?

2010-11-18 Thread Alan McKinnon
Apparently, though unproven, at 13:37 on Thursday 18 November 2010, Neil 
Bothwick did opine thusly:

 On Thu, 18 Nov 2010 00:42:52 +0200, Alan McKinnon wrote:
  c. our devs are assumed to only pretend to be pedantic geeky gits who
  nit-pick about words, and not to actually *be* like that their entire
  life 24/7/365/75.
 
 Indeed. After all, if they were really pedantic, they would point out that
 you should have written either 24/7/52/75 or 24/365/75 :P

y'know, you have this very annoying habit of catching me out every time I talk 
shit in public 

:-)


-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] Re: How to configure thochpad sensitivity (using hal)?

2010-11-18 Thread Alan McKinnon
Apparently, though unproven, at 05:47 on Thursday 18 November 2010, Stroller 
did opine thusly:

 On 18/11/2010, at 1:46am, Grant Edwards wrote:
  ...
  Looks like the *actual* problem is non-application of OYFEAL[1],not what
  the devs do.
  
  Google doesn't seem to know what OYFEAL means.  Do we get any hints?
 
 Yes, if you're patient he'll give you [1].


Note to self: stop composing mails at 3 in the morning.

So it *should* have gone like this:

==
Looks like the *actual* problem is non-application of OYFEAL[1],not what the 
devs do.

insert arb stuff here

[1] Open Your F*cking Eyes And Look
==


It's an old hangover from my bench techies days when I had juniors who 
insisted on assuming they knew the cause of a problem even before they'd taken 
the covers off the faulty unit

-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] Re: How to configure thochpad sensitivity (using hal)?

2010-11-18 Thread Neil Bothwick
On Thu, 18 Nov 2010 14:42:39 +0200, Alan McKinnon wrote:

  Indeed. After all, if they were really pedantic, they would point out
  that you should have written either 24/7/52/75 or 24/365/75 :P  
 
 y'know, you have this very annoying habit of catching me out every time
 I talk shit in public 

Those who can, do.
Those who can't, teach.
Those who can't teach, find fault in others.


-- 
Neil Bothwick

If it ain't broke, break it and charge for repair.


signature.asc
Description: PGP signature


Re: [gentoo-user] Re: How to configure thochpad sensitivity (using hal)?

2010-11-18 Thread Alan McKinnon
Apparently, though unproven, at 11:31 on Thursday 18 November 2010, Sebastian 
Beßler did opine thusly:

 Am 18.11.2010 02:46, schrieb Grant Edwards:
  On 2010-11-18, Alan McKinnonalan.mckin...@gmail.com  wrote:
  Looks like the *actual* problem is non-application of OYFEAL[1],not what
  the devs do.
  
  Google doesn't seem to know what OYFEAL means.  Do we get any hints?
 
 Google says this: OYFEAL: Open your fscking eyes and look


Where'd you find that?

It shouldn't be on the intarwebs, I made it up about 10 years ago and never 
posted it anywhere till now :-)


-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] Re: How to configure thochpad sensitivity (using hal)?

2010-11-18 Thread Neil Bothwick
On Thu, 18 Nov 2010 13:32:42 +0100, J. Roeleveld wrote:

  I thought the real reason for leap years was to boot the turnover of
  the wedding industry.  

s/boot/boost/
 
 Oh? How does that work?

There's a tradition here that women propose to men on the leap day, which
is why most men go into hiding on that day thereby boosting the profits
of pubs and other hiding places.


-- 
Neil Bothwick

We are Microsoft of Borg. Prepare to
The application assimilation has caused a General Protection Fault
and must exit immediately.


signature.asc
Description: PGP signature


Re: [gentoo-user] One machine sends emerge text output to stderr, not stdout

2010-11-18 Thread Vincent Launchbury
On 2010/11/18 06:25AM, Neil Bothwick wrote:
 How does it differ from screen? Is it sufficiently better to relearn
 keystrokes etc?

The major difference is that you can split the screen into panes,
showing multiple ptys at the same time (similar to vim's :[v]sp, layout
wise). Besides that, I think they have mostly similar functionality.



Re: [gentoo-user] Re: How to configure thochpad sensitivity (using hal)?

2010-11-18 Thread Alan McKinnon
Apparently, though unproven, at 15:18 on Thursday 18 November 2010, Neil 
Bothwick did opine thusly:

 On Thu, 18 Nov 2010 13:32:42 +0100, J. Roeleveld wrote:
   I thought the real reason for leap years was to boot the turnover of
   the wedding industry.
 
 s/boot/boost/
 
  Oh? How does that work?
 
 There's a tradition here that women propose to men on the leap day, which
 is why most men go into hiding on that day thereby boosting the profits
 of pubs and other hiding places.

I fail to see how the pub's profits are boosted at all by this.

Aren't they just doing exactly the same thing they do every other day of the 
year?

ducks

-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] Re: How to configure thochpad sensitivity (using hal)?

2010-11-18 Thread J. Roeleveld
On Thursday 18 November 2010 14:18:55 Neil Bothwick wrote:
 On Thu, 18 Nov 2010 13:32:42 +0100, J. Roeleveld wrote:
   I thought the real reason for leap years was to boot the turnover of
   the wedding industry.
 
 s/boot/boost/
 
  Oh? How does that work?
 
 There's a tradition here that women propose to men on the leap day, which
 is why most men go into hiding on that day thereby boosting the profits
 of pubs and other hiding places.

One could actually argue that the profits of pubs are reduced because then the 
men don't take the women to the pubs. And that the pubs then miss half of 
their customers.

--
Joost



Re: [gentoo-user] Re: How to configure thochpad sensitivity (using hal)?

2010-11-18 Thread Neil Bothwick
On Thu, 18 Nov 2010 14:33:45 +0100, J. Roeleveld wrote:

  There's a tradition here that women propose to men on the leap day,
  which is why most men go into hiding on that day thereby boosting the
  profits of pubs and other hiding places.  
 
 One could actually argue that the profits of pubs are reduced because
 then the men don't take the women to the pubs. And that the pubs then
 miss half of their customers.

Only if one were a pedant :P


-- 
Neil Bothwick

If at first you don't succeed you'll get lots of advice.


signature.asc
Description: PGP signature


Re: [gentoo-user] Re: How to configure thochpad sensitivity (using hal)?

2010-11-18 Thread Sebastian Beßler

Am 18.11.2010 13:47, schrieb Alan McKinnon:

Apparently, though unproven, at 11:31 on Thursday 18 November 2010, Sebastian
Beßler did opine thusly:


Am 18.11.2010 02:46, schrieb Grant Edwards:

On 2010-11-18, Alan McKinnonalan.mckin...@gmail.com   wrote:

Looks like the *actual* problem is non-application of OYFEAL[1],not what
the devs do.


Google doesn't seem to know what OYFEAL means.  Do we get any hints?


Google says this:OYFEAL: Open your fscking eyes and look



Where'd you find that?


https://groups.google.com/group/linux.gentoo.user/msg/3e1d8a230d9834ac?hl=uz

It is from 2009

Greetings

Sebastian Beßler



Re: [gentoo-user] Re: How to configure thochpad sensitivity (using hal)?

2010-11-18 Thread Alan McKinnon
Apparently, though unproven, at 16:12 on Thursday 18 November 2010, Sebastian 
Beßler did opine thusly:

 Am 18.11.2010 13:47, schrieb Alan McKinnon:
  Apparently, though unproven, at 11:31 on Thursday 18 November 2010,
  Sebastian
  
  Beßler did opine thusly:
  Am 18.11.2010 02:46, schrieb Grant Edwards:
  On 2010-11-18, Alan McKinnonalan.mckin...@gmail.com   wrote:
  Looks like the *actual* problem is non-application of OYFEAL[1],not
  what the devs do.
  
  Google doesn't seem to know what OYFEAL means.  Do we get any hints?
  
  Google says this:OYFEAL: Open your fscking eyes and look
  
  Where'd you find that?
 
 https://groups.google.com/group/linux.gentoo.user/msg/3e1d8a230d9834ac?hl=u
 z
 
 It is from 2009

I must be getting old and forgetful. Forgot about that post.

What were we talking about again?

-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] Re: How to configure thochpad sensitivity (using hal)?

2010-11-18 Thread Sebastian Beßler

Am 18.11.2010 15:21, schrieb Alan McKinnon:

Apparently, though unproven, at 16:12 on Thursday 18 November 2010, Sebastian
Beßler did opine thusly:


Am 18.11.2010 13:47, schrieb Alan McKinnon:

Apparently, though unproven, at 11:31 on Thursday 18 November 2010,
Sebastian

Beßler did opine thusly:

Am 18.11.2010 02:46, schrieb Grant Edwards:

On 2010-11-18, Alan McKinnonalan.mckin...@gmail.comwrote:

Looks like the *actual* problem is non-application of OYFEAL[1],not
what the devs do.


Google doesn't seem to know what OYFEAL means.  Do we get any hints?


Google says this:OYFEAL: Open your fscking eyes and look


Where'd you find that?


https://groups.google.com/group/linux.gentoo.user/msg/3e1d8a230d9834ac?hl=u
z

It is from 2009


I must be getting old and forgetful. Forgot about that post.

What were we talking about again?



That is why we have the internet.. It never forgets ;-)



Re: [gentoo-user] tmux vs. screen

2010-11-18 Thread Stroller

On 18/11/2010, at 11:25am, Neil Bothwick wrote:
 On Thu, 18 Nov 2010 04:46:16 +, Stroller wrote:
 
 If you're not using a GUI terminal emulator with a scrollbar, then may
 I respectfully suggest you install `tmux` (a replacement for GNU
 `screen`) and use it. It takes a little while to get familiar with it,
 and with its keybindings and stuff, and perhaps even to get into the
 habit and mindset of using it, but it really is brilliant,
 
 How does it differ from screen? Is it sufficiently better to relearn
 keystrokes etc?

I wondered if I'd get asked this. The fundamental feature, I think, is that you 
can move a window from one session to another. This isn't something I've needed 
yet, but it seems like it could be useful if you need it.

tmux has panes within windows - I'm not sure if screen has that? tmux is 
supposed to be more efficient, better architected and use a fraction of the 
resources of screen.

tmux doesn't have an equivalent of `screen -Rd`, which tells screen to start 
working in an existing session, or create a new one if that doesn't work. So I 
have `tmux a -d || tmux` in my Bash scrollback buffer, and run it as soon as I 
log on.

You absolutely *have* to change tmux's default control key. It was set to 
ctrl-b to avoid collisions with screen's ctrl-a when the author was first 
developing it, when he was still using screen himself, and it has never 
changed. I originally wanted to stay with the default bindings so that I'd be 
familiar with them just in case I ever sometime had to log on to a different 
system without a personalised .tmux.conf. It drove me crazy very quickly - 
because b is on the wrong side of the (qwerty) keyboard you can't activate 
tmux controls one-handed until you change it back to ctrl-a. Obviously it's 
very easy to change the bindings. I will hereafter refer to ctrl-a as the 
default and as if it were the default, because that's what everyone immediately 
changes it to.

Because of tmux's architecture you can change options on the fly in a way 
that (I think) you can't with screen. If I want to change the key binding I can 
just type `tmux set  -g prefix C-a` (or `tmux set  -g prefix C-b`) and the 
change happens immediately. I think this is because the tmux command is not 
starting the tmux program, but instead talking to the existing tmux server 
(which was started when I ran just `tmux` with no parameters). Oh, you can 
apply changes only to particular sessions or windows - the -g before stands 
for global, but I think you could have different sessions as different colours, 
if you wanted to.

Likewise, with screen you can press ctrl-a then the  key to show what windows 
you have open. With tmux this is `ctrl-a w`, but you can also type `tmux 
list-windows` (or `tmux list-w` for short) at your bash prompt and get the same 
thing on stdout. You could grep that if you wanted to and I think you could use 
that output to make functions or bash scripts that act upon it. You can do the 
`ctrl-a :` thing first and enter the tmux command-line if you want to - in that 
case it would be `ctrl-a :list-windows` without the `tmux` in front - but you 
don't have to, and I find it clearer and more useful to have the output on 
stdout.

I believe the scrollback buffer on tmux is better, and that you can copy and 
paste from it in ways that you can't with screen. The default key binding to 
enter scrollback is `ctrl-a [`, instead of `ctrl-a esc` - I'm not entirely sure 
how I feel about that yet. Navigating in scrollback you can choose between vi 
and emacs keybindings (for page up, page down c).

I think what really won my heart, and did so quite quickly, is that tmux has a 
status bar configured by default. I'm pretty sure you can do that with screen, 
too, but I've never bothered, because it seemed too much effort to learn and it 
just seemed flashy and pointless. I realised how mistaken I was within a couple 
of hours of using tmux. It has absolutely changed the way I use terminal 
multiplexers, and so I spent several hours the next day configuring mine and 
getting the colours and stuff perfect. 

The status bar makes navigating between windows much easier because you can see 
at a glance which window is which, and what's going on in them. If you don't 
name a window then tmux will try to show something sensible for the window 
title, so they show emerge or vi or sudo or bash without you having to 
do anything. And this will change, when the command finishes and you run 
something else, so basically naming windows becomes redundant and less useful. 
tmux will also do slightly intelligent searching, so you type `ctrl-a f` then 
`eme` it will suggest the window in which emerge is running.

But mostly I don't need to do tricks, because I have the status bar there 
showing me what's happening in which window, so I tend just to switch to 
windows numerically. I think having the status bar actually kinda gives you a 
better spatial orientation or a mental 

Re: [gentoo-user] Re: How to configure thochpad sensitivity (using hal)?

2010-11-18 Thread Neil Bothwick
On Thu, 18 Nov 2010 16:21:23 +0200, Alan McKinnon wrote:

 What were we talking about again?

OYFEAL


-- 
Neil Bothwick

Top Oxymorons Number 1: Microsoft Works



signature.asc
Description: PGP signature


[gentoo-user] Re: How to configure thochpad sensitivity (using hal)?

2010-11-18 Thread Grant Edwards
On 2010-11-18, Fernando Antunes fs.antu...@gmail.com wrote:
 On Sat, Nov 13, 2010 at 11:10 PM, Grant Edwards
grant.b.edwa...@gmail.comwrote:

 Can anybody point me to a hint on how to configure synaptics touchapad
 sensitivity?

 All the docs I can find seem to assume two things:

  1) an xorg.conf file

  2) the xf86-input-synpatics driver

 I'm using neither.

 You can adjust synaptics changing the configuration on the
 /etc/hal/fdi/policy/11-x11-synaptics.fdi file.
 man 4 synaptic can give you a lot of extra options.

That only works if you're using the synaptics driver -- which I'm not.

I haven't figured out how to do that yet.  It was built, since I
included it in INPUT_DEVICES, but HAL decided not to use it.

-- 
Grant Edwards   grant.b.edwardsYow! Wait ... is this a FUN
  at   THING or the END of LIFE in
  gmail.comPetticoat Junction??




[gentoo-user] /etc/portage/package.use/java

2010-11-18 Thread Mike Edenfield
Is there something special about the file name
/etc/portage/package.use/java ?  For some reason, if I create this file
to hold USE flags for my java packages, bash tries to source it when I
log in.  As far as I can tell this is the only filename that gets this
wierd treatment:

platypus kutulu # cat /etc/portage/package.use/java
echo This is /etc/portage/package.use/java!

Last login: Thu Nov 18 10:35:07 EST 2010 from mike-desktop on pts/2
This is /etc/portage/package.use/java!
kut...@platypus ~ $




[gentoo-user] time for an emerge -e world?

2010-11-18 Thread Allan Gottlieb
I was having trouble with my standard update world emerge on one of my
machines.

I can't download because I don't have libssl.so.0.9.8.  The exact error
msg is
  wget: error while loading shared libraries: libssl.so.0.9.8: cannot
  open shared object file: No such file or directory

I seem to have the 1.0.0 version installed.

ls -l /usr/lib/libssl*
-rw-r--r-- 1 root root 458092 Nov 18 09:01 /usr/lib/libssl.a
lrwxrwxrwx 1 root root 15 Nov 18 09:02 /usr/lib/libssl.so - libssl.so.1.0.0
-r-xr-xr-x 1 root root 322556 Nov 18 09:01 /usr/lib/libssl.so.1.0.0
lrwxrwxrwx 1 root root 13 Nov  1 18:57 /usr/lib/libssl3.so - libssl3.so.12
-rwxr-xr-x 1 root root 191392 Nov  1 18:57 /usr/lib/libssl3.so.12

On *other* machines I see that openssl was just installed as part of the
world update and a
   revdep-rebuild --library libssl.so.0.9.8
   rm '/usr/lib64/libssl.so.0.9.8'
called for.

I realize that this strongly suggests that I did the rm on this machine by
mistake.  However
  1.  I don't think I did (weak argument)
  2.  history | grep libssl doesn't find an rm
  3.  Other files proved missing as well

This machine has CHOST=i686-pc-linux-gnu

I went to another machine which is multilib and copied the libssl from
the lib32 directory.  Then it asked for libcrypto so I copied that
now it asks for libkrb5.so.3.  After a few more iterations, I succeeded!

But clearly something is wrong.

It is NO problem for me to take this machine out of service for a few
days and run an emerge -e world.  Are there risks in this?
Is there a better idea?

thanks,
allan




[gentoo-user] Re: migrating disks (from mounts to disklabels

2010-11-18 Thread James
Dale rdalek1967 at gmail.com writes:


 LABEL=boot/bootext2noatime1 2
 LABEL=root /reiserfsdefaults0 1
 LABEL=swapnoneswapsw0 0
 LABEL=portage/usr/portageext3defaults0 1
 LABEL=home/homereiserfsdefaults1 1
 LABEL=data/datareiserfsdefaults0 1

Exactly
what I was looking for!



 I use a variety of file systems don't I?  lol  

Yes,
but as an example it is GREAT!



thx,
James








Re: [gentoo-user] time for an emerge -e world?

2010-11-18 Thread Neil Bothwick
On Thu, 18 Nov 2010 11:29:21 -0500, Allan Gottlieb wrote:

   3.  Other files proved missing as well
 
 I went to another machine which is multilib and copied the libssl from
 the lib32 directory.  Then it asked for libcrypto so I copied that
 now it asks for libkrb5.so.3.  After a few more iterations, I succeeded!
 
 But clearly something is wrong.
 
 It is NO problem for me to take this machine out of service for a few
 days and run an emerge -e world.  Are there risks in this?
 Is there a better idea?

If files are disappearing, I'd say fsck is needed more that emerge.


-- 
Neil Bothwick

Never get into fights with ugly people because they have nothing to lose.


signature.asc
Description: PGP signature


Re: [gentoo-user] KDE-4 multi-monitor + fullscreen applications

2010-11-18 Thread YoYo Siska
On Wed, Nov 17, 2010 at 11:41:25PM +0100, Florian Philipp wrote:
 Am 17.11.2010 23:26, schrieb Alan McKinnon:
  Apparently, though unproven, at 00:08 on Thursday 18 November 2010, Florian 
  Philipp did opine thusly:
  
  Hi list!
 
  Today, KDE nearly killed a presentation I held and now I want to
  understand what's going on:
 
  Following setup: One laptop, two outputs (internal display + projector).
 
  Now I configure KDE to expand the desktop on both (instead of simple
  cloning). So far, so good.
  
  For anyone to help at all, we'll need to know your hardware and video 
  drivers, 
  plus versions in use of X.org and it's drivers, plus relevant config stuff.
  
  Everything else is highly configurable and subject to the whim of driver 
  writers and the user. And there's always nVidia's stance to be taken into 
  account as well
  
 
 Ah, right, forgot about that. Intel GMA HD graphics (i915 driver),
 x11-base/xorg-server-1.8.2 (USE=udev -hal) and x11-base/xorg-drivers-1.8
 
 No xorg.conf. Tried it with composite effects off and on.
 
 KDE is on version 4.4.5 and some packages 4.4.7 (current stable).
 
 
  First question: How does KDE choose on which output the standard
  desktop ends up and which gets the second set of desktop background +
  plasma widgets? It seems like the one with the higher resolution is
  standard and on a draw, it is the right-most. Is that correct? Can it be
  configured?
 
  Now that I have both desktops, I open Acroread or Okular and start the
  fullscreen/presentation mode. What happens is that the presentation is
  deterministically opened on one of the displays. What I don't understand
  is how it chooses which one it uses?
xrandr 1.3 has a new option to say which output should be 'primary'

you can try something like

xrandr --output LVDS1 --mode 1024x768 --pos 0x0 --primary --output VGA1
--mode 1024x768 --righ-of LVDS1

However IIRC kde used to ignore which display was primary (reported as
xinerama screen 0) and somehow decided on its own order...

Here okular works correclty (well, at least Current screen and Screen
XX used to work, don't remember for Default screen and can't test
right now...), but right now I'm using fluxbox as window manager and not
kwin, but I it would be weird if it actually made things break.. ;)

yoyo

 
  It doesn't depend on the placement of the window (although other
  applications like Flash in Firefox, MPlayer, Kaffeine and Gwenview do).
  It doesn't always open on the secondary or standard desktop (as
  specified above). It rather seems like it always opens on the one with
  the higher resolution and if both are equal, it opens on the left-most.
 
  So, what happened when I tried to hold my presentation? The projector
  had a low resolution (1024x768) and therefore neither Acroread nor
  Okular showed on fullscreen on the projector. None of my previous tests
  showed that problem since I used two displays with equal resolution.
  Great fun! In the end, I cloned the output and thereby gave Okular no
  other choice. (Lucky me that I didn't any additional notes or anything
  on the other display ...)
 
  What can I do to influence this behavior?
 
  Edit: I just noticed that both applications have settings for this.
  However, they are ignored and the setting in Acroread is even reset to
  Current display each time I close the settings dialog! What is going
  on here?
 
  Thanks in advance!
  Florian Philipp
  
 
 




Re: [gentoo-user] time for an emerge -e world?

2010-11-18 Thread Mark Knecht
On Thu, Nov 18, 2010 at 8:29 AM, Allan Gottlieb gottl...@nyu.edu wrote:
 I was having trouble with my standard update world emerge on one of my
 machines.

 I can't download because I don't have libssl.so.0.9.8.  The exact error
 msg is
  wget: error while loading shared libraries: libssl.so.0.9.8: cannot
  open shared object file: No such file or directory

 I seem to have the 1.0.0 version installed.

 ls -l /usr/lib/libssl*
 -rw-r--r-- 1 root root 458092 Nov 18 09:01 /usr/lib/libssl.a
 lrwxrwxrwx 1 root root     15 Nov 18 09:02 /usr/lib/libssl.so - 
 libssl.so.1.0.0
 -r-xr-xr-x 1 root root 322556 Nov 18 09:01 /usr/lib/libssl.so.1.0.0
 lrwxrwxrwx 1 root root     13 Nov  1 18:57 /usr/lib/libssl3.so - 
 libssl3.so.12
 -rwxr-xr-x 1 root root 191392 Nov  1 18:57 /usr/lib/libssl3.so.12

 On *other* machines I see that openssl was just installed as part of the
 world update and a
   revdep-rebuild --library libssl.so.0.9.8
   rm '/usr/lib64/libssl.so.0.9.8'
 called for.

 I realize that this strongly suggests that I did the rm on this machine by
 mistake.  However
  1.  I don't think I did (weak argument)
  2.  history | grep libssl doesn't find an rm
  3.  Other files proved missing as well

 This machine has CHOST=i686-pc-linux-gnu

 I went to another machine which is multilib and copied the libssl from
 the lib32 directory.  Then it asked for libcrypto so I copied that
 now it asks for libkrb5.so.3.  After a few more iterations, I succeeded!

 But clearly something is wrong.

 It is NO problem for me to take this machine out of service for a few
 days and run an emerge -e world.  Are there risks in this?
 Is there a better idea?

 thanks,
 allan



Possibly

lafilefixer --justfixit

??



Re: [gentoo-user] KDE-4 multi-monitor + fullscreen applications

2010-11-18 Thread BRM
- Original Message 

 From: YoYo Siska y...@gl.ksp.sk
 To: gentoo-user@lists.gentoo.org
 Sent: Thu, November 18, 2010 12:41:03 PM
 Subject: Re: [gentoo-user] KDE-4 multi-monitor + fullscreen applications
 
 On Wed, Nov 17, 2010 at 11:41:25PM +0100, Florian Philipp wrote:
  Am  17.11.2010 23:26, schrieb Alan McKinnon:
   Apparently, though  unproven, at 00:08 on Thursday 18 November 2010, 
Florian 

   Philipp  did opine thusly:
   
   Hi list!
   
   Today, KDE nearly killed a presentation I held and now  I want to
   understand what's going on:
  
Following setup: One laptop, two outputs (internal display +  
projector).
  
   Now I configure KDE to expand the  desktop on both (instead of simple
   cloning). So far, so  good.
   
   For anyone to help at all, we'll need to know  your hardware and video 
drivers, 

   plus versions in use of X.org and  it's drivers, plus relevant config 
stuff.
   
   Everything  else is highly configurable and subject to the whim of driver 
writers and the user. And there's always nVidia's stance to be taken 
   into 

   account as well
   
  
  Ah, right, forgot  about that. Intel GMA HD graphics (i915 driver),
   x11-base/xorg-server-1.8.2 (USE=udev -hal) and  x11-base/xorg-drivers-1.8
  
  No xorg.conf. Tried it with composite  effects off and on.
  
  KDE is on version 4.4.5 and some packages  4.4.7 (current stable).
  
  
   First  question: How does KDE choose on which output the standard
desktop ends up and which gets the second set of desktop background +
plasma widgets? It seems like the one with the higher resolution  is
   standard and on a draw, it is the right-most. Is that  correct? Can it be
   configured?
  
Now that I have both desktops, I open Acroread or Okular and start  the
   fullscreen/presentation mode. What happens is that the  presentation is
   deterministically opened on one of the  displays. What I don't understand
   is how it chooses which one  it uses?
 xrandr 1.3 has a new option to say which output should be  'primary'
 
 you can try something like
 
 xrandr --output LVDS1 --mode  1024x768 --pos 0x0 --primary --output VGA1
 --mode 1024x768 --righ-of  LVDS1
 
 However IIRC kde used to ignore which display was primary (reported  as
 xinerama screen 0) and somehow decided on its own order...
 
 Here  okular works correclty (well, at least Current screen and Screen
 XX used  to work, don't remember for Default screen and can't test
 right now...),  but right now I'm using fluxbox as window manager and not
 kwin, but I it  would be weird if it actually made things break.. ;)
 


snip
You may be interested in this post by Aaron Seigo:

http://aseigo.blogspot.com/2010/11/multihead-plasma-desktop-needs-you.html

Also, check the KDE System Settings as I mentioned in my first post on this 
thread.
I don't have an Xorg config file, and yet I can do multiple displays through 
KDE;
I also don't configure xRandr. This is all independent of any video card; 
though,
as A. Seigo points out there are some issues still being fixed.

Not sure if you're trying to run multi-head or simply multi-screen; though I 
think
multi-screen since you don't have an xorg.conf file too. Please read Aaron's 
post.

Ben



Re: [gentoo-user] /etc/portage/package.use/java

2010-11-18 Thread Alan McKinnon
Apparently, though unproven, at 17:52 on Thursday 18 November 2010, Mike 
Edenfield did opine thusly:

 Is there something special about the file name
 /etc/portage/package.use/java ?  For some reason, if I create this file
 to hold USE flags for my java packages, bash tries to source it when I
 log in.  As far as I can tell this is the only filename that gets this
 wierd treatment:
 
 platypus kutulu # cat /etc/portage/package.use/java
 echo This is /etc/portage/package.use/java!
 
 Last login: Thu Nov 18 10:35:07 EST 2010 from mike-desktop on pts/2
 This is /etc/portage/package.use/java!
 kut...@platypus ~ $

I think you have a

. /etc/portage/package.use/java

in your .profile somewhere :-)

grep -r is your friend here. Most likely it happened when you typed an 
echo  file type command sometime and botched the redirectors

-- 
alan dot mckinnon at gmail dot com



[gentoo-user] jack and headaches

2010-11-18 Thread meino . cramer
Hi,

I got some headaches from trying to use jack (the audio-connector).

Following this:

http://en.gentoo-wiki.com/wiki/JACK

I finally tried this:

jackd -d alsa

and got this:

solfire:/home/mccramersudo jackd -d alsa
jackd 0.118.0
Copyright 2001-2009 Paul Davis, Stephane Letz, Jack O'Quinn, Torben Hohn 
and others.
jackd comes with ABSOLUTELY NO WARRANTY
This is free software, and you are welcome to redistribute it
under certain conditions; see the file COPYING for details

JACK compiled with System V SHM support.
loading driver ..
creating alsa driver ... hw:0|hw:0|1024|2|48000|0|0|nomon|swmeter|-|32bit
control device hw:0
configuring for 48000Hz, period = 1024 frames (21.3 ms), buffer = 2 periods
ALSA: final selected sample format for capture: 32bit integer little-endian
ALSA: use 2 periods for capture
ALSA: final selected sample format for playback: 32bit integer little-endian
ALSA: use 2 periods for playback
jackd watchdog: timeout - killing jackd

same when using qjackctrl.

Any hint what I can do to get jack running?

Best regards,
mcc




Re: [gentoo-user] time for an emerge -e world?

2010-11-18 Thread Allan Gottlieb
Neil Bothwick n...@digimed.co.uk writes:

 On Thu, 18 Nov 2010 11:29:21 -0500, Allan Gottlieb wrote:

   3.  Other files proved missing as well
 
 I went to another machine which is multilib and copied the libssl from
 the lib32 directory.  Then it asked for libcrypto so I copied that
 now it asks for libkrb5.so.3.  After a few more iterations, I succeeded!
 
 But clearly something is wrong.
 
 It is NO problem for me to take this machine out of service for a few
 days and run an emerge -e world.  Are there risks in this?
 Is there a better idea?

 If files are disappearing, I'd say fsck is needed more that emerge.

Thanks.

I suspected emerge since all the files seemed to be related to openssl and
everything else was working.  But, as usual, you are doubtless right.

All files except root checked fine.

I used to do fsck on root via

mount -o remount,ro /dev/sdaX
e2fsck -f /dev/sdaX

But now the mount replies that / is busy.

I read the e2fsck man page.  It says using -n is safe on a mounted file
system unless fsck itself tells you not to but you can't trust the
output.

The output was a few errors reported, but of course not fixed.

Then I read the source and found /forcefsck

This worked fine and the next reboot checked all filesystems and
reported no errors.

Should I now run emerge -e world?  If so, I suppose I should stop cron
from running an emerge --sync during the night.

thanks again,
allan




Re: [gentoo-user] /etc/portage/package.use/java

2010-11-18 Thread Mike Edenfield
On 11/18/2010 1:40 PM, Alan McKinnon wrote:
 Apparently, though unproven, at 17:52 on Thursday 18 November 2010, Mike 
 Edenfield did opine thusly:
 
 Is there something special about the file name
 /etc/portage/package.use/java ?  For some reason, if I create this file
 to hold USE flags for my java packages, bash tries to source it when I
 log in.  As far as I can tell this is the only filename that gets this
 wierd treatment:

 grep -r is your friend here. Most likely it happened when you typed an 
 echo  file type command sometime and botched the redirectors

Huh.  Found it, but now I'm even more confused than before:

platypus ~ # ls -alF /etc/bash_completion.d/java
lrwxrwxrwx 1 root root 30 Nov 16 08:18 /etc/bash_completion.d/java -
//etc/portage/package.use/java

I'm pretty sure I didn't actually make that softlink myself, and I have
no idea where it came from:

platypus ~ # equery belongs /etc/bash_completion.d/java
 * Searching for /etc/bash_completion.d/java ...
platypus ~ #

--Mike



Re: [gentoo-user] time for an emerge -e world?

2010-11-18 Thread Allan Gottlieb
Mark Knecht markkne...@gmail.com writes:

 On Thu, Nov 18, 2010 at 8:29 AM, Allan Gottlieb gottl...@nyu.edu wrote:
 I was having trouble with my standard update world emerge on one of my
 machines.

 I can't download because I don't have libssl.so.0.9.8.  The exact error
 msg is
[[ big snip ]]
 But clearly something is wrong.

 It is NO problem for me to take this machine out of service for a few
 days and run an emerge -e world.  Are there risks in this?
 Is there a better idea?


 Possibly

 lafilefixer --justfixit

Thanks that did find a bunch.

allan



Re: [gentoo-user] tmux vs. screen

2010-11-18 Thread Paul Hartman
On Thu, Nov 18, 2010 at 8:27 AM, Stroller
strol...@stellar.eclipse.co.uk wrote:
 I think what really won my heart, and did so quite quickly, is that tmux has a
status bar configured by default. I'm pretty sure you can do that with screen,
too, but I've never bothered, because it seemed too much effort to learn and it
just seemed flashy and pointless. I realised how mistaken I was within a couple
of hours of using tmux. It has absolutely changed the way I use terminal
multiplexers, and so I spent several hours the next day configuring mine and
getting the colours and stuff perfect.

I have not used tmux but I agree completely, I hate to use screen
without the status bar. I'm using one I copied from here or the forums
or the gentoo wiki or someplace out there in WWW land. (Thanks to the
person who made it, whoever you are)

Add this to your .screenrc:
caption always %{= kw}%-w%{= BW}%n %t%{-}%+w %-= @%H - %LD %d %LM - %c



[gentoo-user] E17 and package.use

2010-11-18 Thread Mick
I have installed E17 using layman and the efl overlay, but today I just ran 
dispatch-conf and these changes showed up:
=
--- /etc/portage/package.use2010-11-15 12:50:46.0 +
+++ /etc/portage/._cfg_package.use  2010-11-18 19:35:35.0 +
@@ -8,11 +8,11 @@
 net-wireless/bluez gstreamer pcmcia
 app-portage/layman subversion
 #entrance
-x11-libs/evas X jpeg png svg xpm
-x11-libs/ecore X curl
+media-libs/evas X jpeg png svg xpm
+dev-libs/ecore X curl
 #E17
-x11-libs/e_dbus X
-x11-libs/evas X jpeg png svg xpm fontconfig
+dev-libs/e_dbus X
+media-libs/evas X jpeg png svg xpm fontconfig
 #efl overlay
 dev-libs/ecore glib threads xim curl ssl inotify evas opengl X xinerama 
xprint xscreensaver -sdl -gnutls
 dev-libs/eet ssl threads -gnutls

 (1 of 1) -- /etc/portage/package.use
 q quit, h help, n next, e edit-new, z zap-new, u use-new
   m merge, t toggle-merge, l look-merge:
=

Why is this?  Do I want to accept these changes?  I am not sure if they are 
caused by layman or portage proper.
-- 
Regards,
Mick


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] Re: migrating disks (from mounts to disklabels

2010-11-18 Thread Dale

James wrote:

Dalerdalek1967at  gmail.com  writes:


   

LABEL=boot/bootext2noatime1 2
LABEL=root /reiserfsdefaults0 1
LABEL=swapnoneswapsw0 0
LABEL=portage/usr/portageext3defaults0 1
LABEL=home/homereiserfsdefaults1 1
LABEL=data/datareiserfsdefaults0 1
 

Exactly
what I was looking for!



   

I use a variety of file systems don't I?  lol
 

Yes,
but as an example it is GREAT!



thx,
James

   


I'm planning to add one more file system soon, ext4.  Thinking about 
switching from reiserfs to ext4.  I got to read up and see if it will 
help but it appears reiserfs is not being worked on to much.  We all 
know what happens when things ain't getting fixed.  They break.  ;-)


Dale

:-)  :-)



Re: [gentoo-user] /etc/portage/package.use/java

2010-11-18 Thread Alan McKinnon
Apparently, though unproven, at 21:36 on Thursday 18 November 2010, Mike 
Edenfield did opine thusly:

 On 11/18/2010 1:40 PM, Alan McKinnon wrote:
  Apparently, though unproven, at 17:52 on Thursday 18 November 2010, Mike
  
  Edenfield did opine thusly:
  Is there something special about the file name
  /etc/portage/package.use/java ?  For some reason, if I create this file
  to hold USE flags for my java packages, bash tries to source it when I
  log in.  As far as I can tell this is the only filename that gets this
  
  wierd treatment:
  grep -r is your friend here. Most likely it happened when you typed an
  echo  file type command sometime and botched the redirectors
 
 Huh.  Found it, but now I'm even more confused than before:
 
 platypus ~ # ls -alF /etc/bash_completion.d/java
 lrwxrwxrwx 1 root root 30 Nov 16 08:18 /etc/bash_completion.d/java -
 //etc/portage/package.use/java
 
 I'm pretty sure I didn't actually make that softlink myself, and I have
 no idea where it came from:
 
 platypus ~ # equery belongs /etc/bash_completion.d/java
  * Searching for /etc/bash_completion.d/java ...
 platypus ~ #

Maybe you had the bad luck to install an awesomely dodgy ebuild. Here's what 
it should be:

# ls -al /etc/bash_completion.d/java
lrwxrwxrwx 1 root root 31 Oct 27 03:08 /etc/bash_completion.d/java - 
/usr/share/bash-completion/java


You can either just fix the symlink, or remerge bash-completion.

I'd also check /etc/bash_completion.d/ for any more dodgy symlinks


-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] E17 and package.use

2010-11-18 Thread Alan McKinnon
Apparently, though unproven, at 22:10 on Thursday 18 November 2010, Mick did 
opine thusly:

 I have installed E17 using layman and the efl overlay, but today I just ran
 dispatch-conf and these changes showed up:
 =
 --- /etc/portage/package.use2010-11-15 12:50:46.0 +
 +++ /etc/portage/._cfg_package.use  2010-11-18 19:35:35.0 +
 @@ -8,11 +8,11 @@
  net-wireless/bluez gstreamer pcmcia
  app-portage/layman subversion
  #entrance
 -x11-libs/evas X jpeg png svg xpm
 -x11-libs/ecore X curl
 +media-libs/evas X jpeg png svg xpm
 +dev-libs/ecore X curl
  #E17
 -x11-libs/e_dbus X
 -x11-libs/evas X jpeg png svg xpm fontconfig
 +dev-libs/e_dbus X
 +media-libs/evas X jpeg png svg xpm fontconfig
  #efl overlay
  dev-libs/ecore glib threads xim curl ssl inotify evas opengl X xinerama
 xprint xscreensaver -sdl -gnutls
  dev-libs/eet ssl threads -gnutls
 
  (1 of 1) -- /etc/portage/package.use
  q quit, h help, n next, e edit-new, z zap-new, u use-new
 
m merge, t toggle-merge, l look-merge:
 =
 
 Why is this?  Do I want to accept these changes?  I am not sure if they are
 caused by layman or portage proper.


You have a mixture of vapier's overlay from layman and barberi's overlay from 
enlightenment.org, evas and ecore changed category from x11-libs to dev-libs 
in barberi's overlay. You can't have both, they conflict. Do this:

delete the vapier overlay - it's WY outdated
accept conf-update changes related to e17
install the efl overlay from enlightenment.org - it's currently maintained
delete any and all e17 packages.
emerge @e17

keep in mind for the future that you can't update the e17 packages why they 
are at version . You must update the entire lot, in order, anytime you 
want to update anything. This is normal for - packages


-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] /etc/portage/package.use/java

2010-11-18 Thread Mike Edenfield
On 11/18/2010 3:20 PM, Alan McKinnon wrote:

 Maybe you had the bad luck to install an awesomely dodgy ebuild. Here's what 
 it should be:
 
 # ls -al /etc/bash_completion.d/java
 lrwxrwxrwx 1 root root 31 Oct 27 03:08 /etc/bash_completion.d/java - 
 /usr/share/bash-completion/java

Thanks, all fixed.  These appear to be dynamically linked/unlinked by
eselect, so that musta gone haywire at some point.

--Mike



Re: [gentoo-user] E17 and package.use

2010-11-18 Thread Mick
On Thursday 18 November 2010 20:26:36 Alan McKinnon wrote:
 Apparently, though unproven, at 22:10 on Thursday 18 November 2010, Mick
 did
 
 opine thusly:
  I have installed E17 using layman and the efl overlay, but today I just
  ran dispatch-conf and these changes showed up:
  =
  --- /etc/portage/package.use2010-11-15 12:50:46.0 +
  +++ /etc/portage/._cfg_package.use  2010-11-18 19:35:35.0
  + @@ -8,11 +8,11 @@
  
   net-wireless/bluez gstreamer pcmcia
   app-portage/layman subversion
   #entrance
  
  -x11-libs/evas X jpeg png svg xpm
  -x11-libs/ecore X curl
  +media-libs/evas X jpeg png svg xpm
  +dev-libs/ecore X curl
  
   #E17
  
  -x11-libs/e_dbus X
  -x11-libs/evas X jpeg png svg xpm fontconfig
  +dev-libs/e_dbus X
  +media-libs/evas X jpeg png svg xpm fontconfig
  
   #efl overlay
   dev-libs/ecore glib threads xim curl ssl inotify evas opengl X xinerama
  
  xprint xscreensaver -sdl -gnutls
  
   dev-libs/eet ssl threads -gnutls
   
   (1 of 1) -- /etc/portage/package.use
   q quit, h help, n next, e edit-new, z zap-new, u use-new
   
 m merge, t toggle-merge, l look-merge:
  =
  
  Why is this?  Do I want to accept these changes?  I am not sure if they
  are caused by layman or portage proper.
 
 You have a mixture of vapier's overlay from layman and barberi's overlay
 from enlightenment.org, evas and ecore changed category from x11-libs to
 dev-libs in barberi's overlay. You can't have both, they conflict. Do
 this:
 
 delete the vapier overlay - it's WY outdated
 accept conf-update changes related to e17
 install the efl overlay from enlightenment.org - it's currently maintained
 delete any and all e17 packages.
 emerge @e17
 
 keep in mind for the future that you can't update the e17 packages why they
 are at version . You must update the entire lot, in order, anytime you
 want to update anything. This is normal for - packages

Thank you Alan, I seem to recall that at one point I did try Vapier's overlay, 
but it didn't work and then you kindly suggested that I used this:

$ layman -l
* efl [Subversion] (http://svn.enlightenment.org/svn/e/trunk/packaging/gentoo

Now, when I try to delete vapier's I get this:

# layman -d enlightenment
* Overlay enlightenment does not exist.

Am I right then to assume that it is no longer installed?

$ ls -la /var/lib/layman/
total 158
drwxr-xr-x  3 root root  8 Nov  1 20:10 .
drwxr-xr-x 32 root root 36 Nov 18 19:14 ..
-rw-r--r--  1 root root 154200 Nov 18 21:21 
cache_ac494f50f5736be7871962c0dec7b3bb.xml
-rw-r--r--  1 root root379 Nov 18 21:06 
cache_f4870c06236b316a7c7915b9c5fa4960.xml
drwxr-xr-x 20 root root 21 Nov 18 20:08 efl
-rw-r--r--  1 root root  0 Nov  1 20:10 .keep_app-portage_layman-0
-rw-r--r--  1 root root 57 Jun 11 07:23 make.conf
-rw-r--r--  1 root root480 Jun 11 07:23 overlays.xml

So I *should* be safe to accept the changes that dispatch-conf suggests, 
right?
-- 
Regards,
Mick


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] time for an emerge -e world?

2010-11-18 Thread Mick
On Thursday 18 November 2010 19:20:51 Allan Gottlieb wrote:
 Neil Bothwick n...@digimed.co.uk writes:
  On Thu, 18 Nov 2010 11:29:21 -0500, Allan Gottlieb wrote:
3.  Other files proved missing as well
  
  I went to another machine which is multilib and copied the libssl from
  the lib32 directory.  Then it asked for libcrypto so I copied that
  now it asks for libkrb5.so.3.  After a few more iterations, I succeeded!
  
  But clearly something is wrong.
  
  It is NO problem for me to take this machine out of service for a few
  days and run an emerge -e world.  Are there risks in this?
  Is there a better idea?
  
  If files are disappearing, I'd say fsck is needed more that emerge.
 
 Thanks.
 
 I suspected emerge since all the files seemed to be related to openssl and
 everything else was working.  But, as usual, you are doubtless right.
 
 All files except root checked fine.
 
 I used to do fsck on root via
 
 mount -o remount,ro /dev/sdaX
 e2fsck -f /dev/sdaX
 
 But now the mount replies that / is busy.
 
 I read the e2fsck man page.  It says using -n is safe on a mounted file
 system unless fsck itself tells you not to but you can't trust the
 output.
 
 The output was a few errors reported, but of course not fixed.
 
 Then I read the source and found /forcefsck
 
 This worked fine and the next reboot checked all filesystems and
 reported no errors.
 
 Should I now run emerge -e world?  If so, I suppose I should stop cron
 from running an emerge --sync during the night.


I used to do the same with reiserfs, but since I borked badly a reiser4 fs I 
decided it is safer to use a LiveCD for this job.  So I have to say YMMV. ;-)
-- 
Regards,
Mick


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] Re: How to configure thochpad sensitivity (using hal)?

2010-11-18 Thread Mick
On Thursday 18 November 2010 15:48:23 Grant Edwards wrote:
 On 2010-11-18, Fernando Antunes fs.antu...@gmail.com wrote:
  On Sat, Nov 13, 2010 at 11:10 PM, Grant Edwards
 
 grant.b.edwa...@gmail.comwrote:
  Can anybody point me to a hint on how to configure synaptics touchapad
  sensitivity?
  
  All the docs I can find seem to assume two things:
   1) an xorg.conf file
   
   2) the xf86-input-synpatics driver
  
  I'm using neither.
  
  You can adjust synaptics changing the configuration on the
  /etc/hal/fdi/policy/11-x11-synaptics.fdi file.
  man 4 synaptic can give you a lot of extra options.
 
 That only works if you're using the synaptics driver -- which I'm not.
 
 I haven't figured out how to do that yet.  It was built, since I
 included it in INPUT_DEVICES, but HAL decided not to use it.

What does your Xorg.0.log say about synaptics?

$ cat /var/log/Xorg.0.log | grep synaptics
(II) LoadModule: synaptics
(II) Loading /usr/lib64/xorg/modules/input/synaptics_drv.so
(II) Module synaptics: vendor=X.Org Foundation
-- 
Regards,
Mick


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] tmux vs. screen

2010-11-18 Thread Florian CROUZAT

On 18 nov. 2010, at 20:52, Paul Hartman wrote:

 On Thu, Nov 18, 2010 at 8:27 AM, Stroller
 strol...@stellar.eclipse.co.uk wrote:
 I think what really won my heart, and did so quite quickly, is that tmux has 
 a
 status bar configured by default. I'm pretty sure you can do that with 
 screen,
 too, but I've never bothered, because it seemed too much effort to learn and 
 it
 just seemed flashy and pointless. I realised how mistaken I was within a 
 couple
 of hours of using tmux. It has absolutely changed the way I use terminal
 multiplexers, and so I spent several hours the next day configuring mine and
 getting the colours and stuff perfect.
 
 I have not used tmux but I agree completely, I hate to use screen
 without the status bar. I'm using one I copied from here or the forums
 or the gentoo wiki or someplace out there in WWW land. (Thanks to the
 person who made it, whoever you are)
 
 Add this to your .screenrc:
 caption always %{= kw}%-w%{= BW}%n %t%{-}%+w %-= @%H - %LD %d %LM - %c

Also, amongst other things, =tmux-1.3 has mouse support.
You can scroll using your mouse in copy mode and use your mouse to select one 
of the splitted panes of your active window.
You can also break/join panes in and out the active window and it has awesome 
predefined layouts.
I'll add that tmux has a readable and even understandable man page and the 
dev(s) is really reactive on the ml/irc.

ps : in case anyone needs a customized tmux.conf, here's mine 
http://sprunge.us/WHNU

-
Florian.
/ For security reasons, all text in this mail 
  is double-rot13 encrypted. /




Re: [gentoo-user] E17 and package.use

2010-11-18 Thread Alan McKinnon
Apparently, though unproven, at 00:04 on Friday 19 November 2010, Mick did 
opine thusly:

 On Thursday 18 November 2010 20:26:36 Alan McKinnon wrote:
  Apparently, though unproven, at 22:10 on Thursday 18 November 2010, Mick
  did
  
  opine thusly:
   I have installed E17 using layman and the efl overlay, but today I just
   ran dispatch-conf and these changes showed up:
   =
   --- /etc/portage/package.use2010-11-15 12:50:46.0 +
   +++ /etc/portage/._cfg_package.use  2010-11-18 19:35:35.0
   + @@ -8,11 +8,11 @@
   
net-wireless/bluez gstreamer pcmcia
app-portage/layman subversion
#entrance
   
   -x11-libs/evas X jpeg png svg xpm
   -x11-libs/ecore X curl
   +media-libs/evas X jpeg png svg xpm
   +dev-libs/ecore X curl
   
#E17
   
   -x11-libs/e_dbus X
   -x11-libs/evas X jpeg png svg xpm fontconfig
   +dev-libs/e_dbus X
   +media-libs/evas X jpeg png svg xpm fontconfig
   
#efl overlay
dev-libs/ecore glib threads xim curl ssl inotify evas opengl X
xinerama
   
   xprint xscreensaver -sdl -gnutls
   
dev-libs/eet ssl threads -gnutls

(1 of 1) -- /etc/portage/package.use
q quit, h help, n next, e edit-new, z zap-new, u use-new

  m merge, t toggle-merge, l look-merge:
   =
   
   Why is this?  Do I want to accept these changes?  I am not sure if they
   are caused by layman or portage proper.
  
  You have a mixture of vapier's overlay from layman and barberi's overlay
  from enlightenment.org, evas and ecore changed category from x11-libs to
  dev-libs in barberi's overlay. You can't have both, they conflict. Do
  this:
  
  delete the vapier overlay - it's WY outdated
  accept conf-update changes related to e17
  install the efl overlay from enlightenment.org - it's currently
  maintained delete any and all e17 packages.
  emerge @e17
  
  keep in mind for the future that you can't update the e17 packages why
  they are at version . You must update the entire lot, in order,
  anytime you want to update anything. This is normal for - packages
 
 Thank you Alan, I seem to recall that at one point I did try Vapier's
 overlay, but it didn't work and then you kindly suggested that I used
 this:
 
 $ layman -l
 * efl [Subversion]
 (http://svn.enlightenment.org/svn/e/trunk/packaging/gentoo
 
 Now, when I try to delete vapier's I get this:
 
 # layman -d enlightenment
 * Overlay enlightenment does not exist.
 
 Am I right then to assume that it is no longer installed?
 
 $ ls -la /var/lib/layman/
 total 158
 drwxr-xr-x  3 root root  8 Nov  1 20:10 .
 drwxr-xr-x 32 root root 36 Nov 18 19:14 ..
 -rw-r--r--  1 root root 154200 Nov 18 21:21
 cache_ac494f50f5736be7871962c0dec7b3bb.xml
 -rw-r--r--  1 root root379 Nov 18 21:06
 cache_f4870c06236b316a7c7915b9c5fa4960.xml
 drwxr-xr-x 20 root root 21 Nov 18 20:08 efl
 -rw-r--r--  1 root root  0 Nov  1 20:10 .keep_app-portage_layman-0
 -rw-r--r--  1 root root 57 Jun 11 07:23 make.conf
 -rw-r--r--  1 root root480 Jun 11 07:23 overlays.xml
 
 So I *should* be safe to accept the changes that dispatch-conf suggests,
 right?


Now there's another confusion. This just got committed to the efl overlay:

http://cia.vc/stats/project/e/.message/1897db5

Note that the dev says we should be moving back to the enlightenment overlay 
:-)

With all these changes it's hard to give firm advice, except to say this:

If conf-update wants to make changes to package categories, and eix on your 
machine gives the same new ones as the new config file, then make the change. 
Otherwise find out why you are out of step.

having said that, yes it does look like you have enlightenment overlay 
uninstalled and the efl one installed. And it looks like you are now going to 
switch them back around again. Life on the bleeding edge is fun, right?


-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] tmux vs. screen

2010-11-18 Thread Alan McKinnon
Apparently, though unproven, at 00:25 on Friday 19 November 2010, Florian 
CROUZAT did opine thusly:

 On 18 nov. 2010, at 20:52, Paul Hartman wrote:
  On Thu, Nov 18, 2010 at 8:27 AM, Stroller
  
  strol...@stellar.eclipse.co.uk wrote:
  I think what really won my heart, and did so quite quickly, is that tmux
  has a status bar configured by default. I'm pretty sure you can do that
  with screen, too, but I've never bothered, because it seemed too much
  effort to learn and it just seemed flashy and pointless. I realised how
  mistaken I was within a couple of hours of using tmux. It has
  absolutely changed the way I use terminal multiplexers, and so I spent
  several hours the next day configuring mine and getting the colours and
  stuff perfect.
  
  I have not used tmux but I agree completely, I hate to use screen
  without the status bar. I'm using one I copied from here or the forums
  or the gentoo wiki or someplace out there in WWW land. (Thanks to the
  person who made it, whoever you are)
  
  Add this to your .screenrc:
  caption always %{= kw}%-w%{= BW}%n %t%{-}%+w %-= @%H - %LD %d %LM - %c
 
 Also, amongst other things, =tmux-1.3 has mouse support.
 You can scroll using your mouse in copy mode and use your mouse to select
 one of the splitted panes of your active window. You can also break/join
 panes in and out the active window and it has awesome predefined layouts.
 I'll add that tmux has a readable and even understandable man page
     ^^ ^^^ 

I'm sold. 4 words, that's all it took. 

-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] Re: migrating disks (from mounts to disklabels

2010-11-18 Thread Neil Bothwick
On Thu, 18 Nov 2010 14:14:05 -0600, Dale wrote:

 We all 
 know what happens when things ain't getting fixed.  They break.  ;-)

I'd say the opposite is true, no maintenance can be better than
provocative maintenance.


-- 
Neil Bothwick

WinErr 011: Window open - Do not look outside


signature.asc
Description: PGP signature


Re: [gentoo-user] Re: X crashing

2010-11-18 Thread Mick
On Wednesday 17 November 2010 17:27:28 Jacques Montier wrote:
 Le 17/11/2010 18:07, walt a écrit :
  On 11/17/2010 07:17 AM, Jacques Montier wrote:
  Hi all,
  
  I use an astronomical open source imaging software
  (http://www.audela.org/)
  which works fine except when launching a tcl photometry script
  (Calaphot).
  X crashes with the error message :
  
  X Error of failed request:  BadMatch (invalid parameter attributes)
  
 Major opcode of failed request:  148 (RENDER)
 Minor opcode of failed request:  4 (RenderCreatePicture)
 Serial number of failed request:  51329
 Current serial number in output stream:  51338
  
  I get the same crash on two PCs with Gentoo.
  I use an ATI graphic card
  01:00.0 VGA compatible controller: ATI Technologies Inc RV350 [Mobility
  Radeon 9600 M10]
  and the open source radeon driver.
  
  You may have found a bug in the open source driver.  Is there a binary
  driver available from ATI that you can try?
 
 Binary ati drivers don't work with this old graphic card (RV350 Radon
 9600), but i can try again for see..

Have you tried enabling CONFIG_DRM_RADEON_KMS=y in your kernel, disabling 
vesa/uvesa and testing xorg-server-1.9.x it to see if it is more 
stable/reliable?

-- 
Regards,
Mick


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] [OT] some two more rsync questions

2010-11-18 Thread Mick
On Wednesday 17 November 2010 12:16:48 Helmut Jarausch wrote:
 Hi,
 
 I have two problems with rsync
 
 1st) if I give both commandline options  -u and -c
  it looks as if a file which is more recent but different
  on the destination is not updated, i.e. -u overrules -c
  Is that true?
 
 2nd) There is a symlink A on SourceDir which refers to a directory
  On the other hand, A is the name of a (real) subdirectory of
  DestDir
 
  Now doing
  rsync -auHz --delete --exclude=/A SourceDir/  DestDir/
  does remove A on DestDir - why ?

I don't know the answer to your 1st question, but I think that the answer to 
your 2nd question is that A on the DestDir is removed because of the --
delete option.  According to the man page:

--delete   delete extraneous files from dest dirs.

-- 
Regards,
Mick


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] Re: migrating disks (from mounts to disklabels

2010-11-18 Thread Dale

Neil Bothwick wrote:

On Thu, 18 Nov 2010 14:14:05 -0600, Dale wrote:

   

We all
know what happens when things ain't getting fixed.  They break.  ;-)
 

I'd say the opposite is true, no maintenance can be better than
provocative maintenance.

   


My thoughts were that is something breaks then no one fixes it, we got 
issues.  That would be really bad if it was a corruption problem that 
the user doesn't see until it is to late.


It just depends on what is wrong I guess.  Sometimes when you fix one 
thing, you break a few others.  We have all seen that before.  We don't 
want that for sure.  I just want something that I am pretty sure is 
being maintained and is really stable.


Dale

:-)  :-)



Re: [gentoo-user] tmux vs. screen

2010-11-18 Thread Dale

Alan McKinnon wrote:

Apparently, though unproven, at 00:25 on Friday 19 November 2010, Florian
CROUZAT did opine thusly:

   

On 18 nov. 2010, at 20:52, Paul Hartman wrote:
 

On Thu, Nov 18, 2010 at 8:27 AM, Stroller

strol...@stellar.eclipse.co.uk  wrote:
   

I think what really won my heart, and did so quite quickly, is that tmux
has a status bar configured by default. I'm pretty sure you can do that
with screen, too, but I've never bothered, because it seemed too much
effort to learn and it just seemed flashy and pointless. I realised how
mistaken I was within a couple of hours of using tmux. It has
absolutely changed the way I use terminal multiplexers, and so I spent
several hours the next day configuring mine and getting the colours and
stuff perfect.
 

I have not used tmux but I agree completely, I hate to use screen
without the status bar. I'm using one I copied from here or the forums
or the gentoo wiki or someplace out there in WWW land. (Thanks to the
person who made it, whoever you are)

Add this to your .screenrc:
caption always %{= kw}%-w%{= BW}%n %t%{-}%+w %-= @%H - %LD %d %LM - %c
   

Also, amongst other things,=tmux-1.3 has mouse support.
You can scroll using your mouse in copy mode and use your mouse to select
one of the splitted panes of your active window. You can also break/join
panes in and out the active window and it has awesome predefined layouts.
I'll add that tmux has a readable and even understandable man page
 

  ^^ ^^^ 

I'm sold. 4 words, that's all it took.

   


That makes me want to try it too.  Most man pages are like Greek to me.  
I use screen pretty often, especially when OOo is compiling.  Nothing 
worse than starting that thing in a Konsole and realizing you need to 
log out about 6 hours in.  o-O


Dale

:-)  :-)



Re: [gentoo-user] Kernel multitasking improvement

2010-11-18 Thread Alan McKinnon
Apparently, though unproven, at 01:36 on Friday 19 November 2010, Daniel D 
Jones did opine thusly:

 Has anyone running Gentoo tried this?  If so, what were your results?
 
 http://www.webupd8.org/2010/11/alternative-to-200-lines-kernel-patch.html
 
 The instructions include adding the following command to .bashrc:
 
 mkdir -m 0700 /sys/fs/cgroup/cpu/user/$$
 
 Under /sys/fs/, the only subdirectory I have is fuse.  It isn't clear to me
 if simply creating the entire tree will work or if some alteration is
 necessary for this to work under Gentoo.

cgroup is control group. I'll bet you don't have it included in your kernel.

It's under the first menu item in menuconfig.

The article doesn't mention it, it assumes you run redhat or ubuntu


-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] migrating disks (from mounts to disklabels

2010-11-18 Thread Mick
On Wednesday 17 November 2010 22:24:23 Alan McKinnon wrote:
 Apparently, though unproven, at 23:59 on Wednesday 17 November 2010, James
 did opine thusly:
  Hello,
  
  I have a ~250 gig sata disk I want to migrate to a 2T
  Sata disk. This is simple, but, I have a few caveats.
[snip ...]

  
  Ok now I was going to use same reiserfs  no big deal
 
 I dropped my beloved reiserfs systems of many years in favour of ext4. I
 was seeing ext4 (and the much-hyped btrfs) racing forward into the
 distance with improvements, useful features and more, while reiser3
 languished. The last straw was when I started getting fs errors for no
 good reason.
 
 Let's face it, reiser was Hans. The team he left behind can do maintenance
 and bug-fixes, but how many features have you seen added in two years?
 
  unless I can use reiser4? good idea? discuss-caveats
 
 Yuck.
 It's not in mainline and will never go in mainline.
 It's not in the tree and will never go in the tree.

Hmm ... that's not what is mooted here:

http://www.phoronix.com/scan.php?page=news_itempx=NzY4OQ


 My understanding is it never actually got finished; and with all those
 plugins it is just not possible to write a *real* fsck. I would not touch
 it myself with your bargepole.

It seems that it is still under development, but perhaps not as fast as it 
were when Hans Reiser was at it full time.


I have been using reiser4 for almost a year.  It *is* fast!

http://www.phoronix.com/scan.php?page=articleitem=reiser4_benchmarksnum=1


However, Alan's point about a aheam! questionable fsck.reiser4 seems correct 
if my experience is anything to go by:

I've had a number of fs corruptions (could be dodgy hardware?) and some of 
them have not recovered gracefully.  :-(

Some data (files) were lost a couple of times.  I don't know if I should blame 
the disk, the fs or the fsck.reiser4 command, but it is clear to me that 
reiser4 is not as reliable as reiserfs was for me for over 6 years.

YMMV.
-- 
Regards,
Mick


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] time for an emerge -e world?

2010-11-18 Thread Allan Gottlieb
Mick michaelkintz...@gmail.com writes:

 On Thursday 18 November 2010 19:20:51 Allan Gottlieb wrote:
 
 Should I now run emerge -e world?  If so, I suppose I should stop cron
 from running an emerge --sync during the night.

 I used to do the same with reiserfs, but since I borked badly a reiser4 fs I 
 decided it is safer to use a LiveCD for this job.  So I have to say YMMV. ;-)

I am not sure I understand.  If I use a liveCD, won't I have to chroot
to the disk with my real system?  In that case can't I get the same
fs breakage?

allan



Re: [gentoo-user] migrating disks (from mounts to disklabels

2010-11-18 Thread Walter Dnes
On Wed, Nov 17, 2010 at 10:20:52PM -0600, Dale wrote

 This is mine and it worked when I rebooted a bit ago.
 
 LABEL=boot/bootext2noatime1 2
 LABEL=root /reiserfsdefaults0 1
 LABEL=swapnoneswapsw0 0
 LABEL=portage/usr/portageext3defaults0 1
 LABEL=home/homereiserfsdefaults1 1
 LABEL=data/datareiserfsdefaults0 1
 
 I use a variety of file systems don't I?  lol  I hope that helps.

  I have my own weird setup that optimizes disk usage, without LVM.  It
consists of a 256 *MEGA*byte / partition (ext2fs), some swap, and the
rest of the drive is one big reiserfs3 partition mounted as /home.
/opt, /var, /usr/, and /tmp physically reside on the big /home
partition, but are bindmounted into the / partition.

   Device Boot  Start End  Blocks   Id  System
/dev/sda1   1  121601   9767600015  Extended
/dev/sda5   1  33  265009+  83  Linux
/dev/sda6  341209 9446188+  82  Linux swap / Solaris
/dev/sda71210  121601   967048708+  83  Linux

/dev/sda5   / ext2 noatime,nodiratime,async0 1
/dev/sda7   /home reiserfs noatime,nodiratime,async,notail 0 1
/home/bindmounts/opt/opt  auto bind0 0
/home/bindmounts/var/var  auto bind0 0
/home/bindmounts/usr/usr  auto bind0 0
/home/bindmounts/tmp/tmp  auto bind0 0
/dev/sda6   none  swap   sw0 0


-- 
Walter Dnes waltd...@waltdnes.org



Re: [gentoo-user] Re: How to configure thochpad sensitivity (using hal)?

2010-11-18 Thread Walter Dnes
On Thu, Nov 18, 2010 at 04:21:23PM +0200, Alan McKinnon wrote

 I must be getting old and forgetful. Forgot about that post.
 
 What were we talking about again?

  They say that memory is the second thing to go; I forget what the
first is.

-- 
Walter Dnes waltd...@waltdnes.org



[gentoo-user] FYI - 2.6.38 desktop responsiveness patch + how to do it now

2010-11-18 Thread Adam Carter
2.6.38 should contain a ~200 line patch that makes a huge difference to
desktop responsiveness under load;
Tests done by Mike show the maximum latency dropping by over ten times and
the average latency of the desktop by about 60 times
Ref:
http://www.phoronix.com/scan.php?page=articleitem=linux_2637_videonum=1

And a RedHat dev reckons you can get the same via configuration;
Ref:
http://www.webupd8.org/2010/11/alternative-to-200-lines-kernel-patch.html

I havent tried it yet...


Re: [gentoo-user] Re: How to configure thochpad sensitivity (using hal)?

2010-11-18 Thread Walter Dnes
On Thu, Nov 18, 2010 at 02:59:32AM +0200, Alan McKinnon wrote

 How would your method of handling USE have assisted in preventing
 that breakage? Please note that the breakage in jpeg is much *much*
 more common than changes to default USE.

  This is not about ipv6 or hal or dbus in particular.  My approach is
to only have the bare minimum necessary flags, and not allow *ANY NEW
AND UNNECESSARY OPTIONAL* flags.  Any additional extra stuff involves
additional bloat and complexity, and a chance of breakage.  If Dale had
had -*, a *NEW OPTIONAL* use flag (e.g. hal) would not have been
implemented for X.  Some other ebuild that had hal as a hard-coded
dependancy might have pulled it, but X still wouldn't have linked to it.

  I can't fully browse the web without jpeg enebled, I get occasional
jpeg photos in emails, and the camera club I belong to insists on all
uploads being in jpeg format.  So yes, jpeg is necessary *FOR ME*.  I
accept it into USE, because it of that.  So far, I've done OK without
ipv6, or hal, or dbus, and I will continue to do without them until/
unless they offer me additional functionality that I want/need.

  I do get the occasional complaint from emerge when application A
requires that application B be emerged with a specific USE flag that I
don't have enabled.  If I want/need application A, then I will insert
the required flag for application B into /etc/package.use.  Once I see
several entries for that flag in /etc/package.use, I'll run...

USE=flag emerge -pv --update --newuse world

...and see what else links to it.  If it doesn't look bad, I'll move the
flag into USE.

-- 
Walter Dnes waltd...@waltdnes.org



Re: [gentoo-user] time for an emerge -e world?

2010-11-18 Thread Stroller

On 19/11/2010, at 12:57am, Allan Gottlieb wrote:
 Mick michaelkintz...@gmail.com writes:
 
 Should I now run emerge -e world?  If so, I suppose I should stop cron
 from running an emerge --sync during the night.
 
 I used to do the same with reiserfs, but since I borked badly a reiser4 fs I 
 decided it is safer to use a LiveCD for this job.  So I have to say YMMV. ;-)
 
 I am not sure I understand.  If I use a liveCD, won't I have to chroot
 to the disk with my real system?  In that case can't I get the same
 fs breakage?

You don't have to chroot to run fsck. You can just boot from the LiveCD and run 
`fsck -o -p -t -i -o -n -s /dev/sda1`.

I feel a bit more confident fscking my root filesystem from a LiveCD, because 
you know that you're not repairing the floor you're standing on, and fsck can 
have full leeway to do what it needs to do to clear up the problem properly.

Stroller.






Re: [gentoo-user] Re: How to configure thochpad sensitivity (using hal)?

2010-11-18 Thread Walter Dnes
On Thu, Nov 18, 2010 at 04:52:39AM +, Stroller wrote

 You claim to be a control freak but you seem to be doing this to
 avoid the chore of properly inspecting USE flags each time you
 emerge. If you `emerge --pretend` before every update you make,
 you would see what's changed! What's the point in running `emerge
 --pretend` if you don't look at it!?!? Further to the aside in
 the email I sent a minute or two ago, all the changed USE flags in
 Portage's output show up in bright yellow or green, BTW, so they're
 easy to spot.

  Actually, I do run emerge -pv --update world before doing the real
thing.  As I mentioned in another email, my minimalist approach to USE
flags occasionally results in emerge complaining that application A
requires that application B be emarged with a flag that I don't have
enabled.  In that case, I do have to do something.  I always take a
quick scan to see what has changed.  I realize that being a
control-freak and micro-managing my system takes a bit of extra work,
but it's worth it for me.  Robo-emerging is what looks risky to me.

-- 
Walter Dnes waltd...@waltdnes.org



Re: [gentoo-user] time for an emerge -e world?

2010-11-18 Thread Allan Gottlieb
Stroller strol...@stellar.eclipse.co.uk writes:

 On 19/11/2010, at 12:57am, Allan Gottlieb wrote:
 Mick michaelkintz...@gmail.com writes:
 
 Should I now run emerge -e world?  If so, I suppose I should stop cron
 from running an emerge --sync during the night.
 
 I used to do the same with reiserfs, but since I borked badly a reiser4 fs 
 I 
 decided it is safer to use a LiveCD for this job.  So I have to say YMMV. 
 ;-)
 
 I am not sure I understand.  If I use a liveCD, won't I have to chroot
 to the disk with my real system?  In that case can't I get the same
 fs breakage?

 You don't have to chroot to run fsck. You can just boot from the LiveCD and 
 run `fsck -o -p -t -i -o -n -s /dev/sda1`.

 I feel a bit more confident fscking my root filesystem from a LiveCD, because 
 you know that you're not repairing the floor you're standing on, and fsck can 
 have full leeway to do what it needs to do to clear up the problem properly.

The question was about emerge -e world not fsck (see quoted material
above).

The fsck succeeded prior to this (I did touch /forcefsck; reboot).

thanks,
allan



[gentoo-user] Re: How to configure thochpad sensitivity (using hal)?

2010-11-18 Thread Grant Edwards
On 2010-11-18, Mick michaelkintz...@gmail.com wrote:
 On Thursday 18 November 2010 15:48:23 Grant Edwards wrote:

 You can adjust synaptics changing the configuration on the
 /etc/hal/fdi/policy/11-x11-synaptics.fdi file. man 4 synaptic can
 give you a lot of extra options.
 
 That only works if you're using the synaptics driver -- which I'm not.
 
 I haven't figured out how to do that yet.  It was built, since I
 included it in INPUT_DEVICES, but HAL decided not to use it.

 What does your Xorg.0.log say about synaptics?

 $ cat /var/log/Xorg.0.log | grep synaptics
 (II) LoadModule: synaptics
 (II) Loading /usr/lib64/xorg/modules/input/synaptics_drv.so
 (II) Module synaptics: vendor=X.Org Foundation

$ grep -i synaptic /var/log/Xorg.0.log
(II) config/hal: Adding input device SynPS/2 Synaptics TouchPad
(**) SynPS/2 Synaptics TouchPad: always reports core events
(**) SynPS/2 Synaptics TouchPad: Device: /dev/input/event6
(II) SynPS/2 Synaptics TouchPad: Found 3 mouse buttons
(II) SynPS/2 Synaptics TouchPad: Found absolute axes
(II) SynPS/2 Synaptics TouchPad: Found x and y absolute axes
(II) SynPS/2 Synaptics TouchPad: Found absolute touchpad.
(II) SynPS/2 Synaptics TouchPad: Configuring as touchpad
(**) SynPS/2 Synaptics TouchPad: YAxisMapping: buttons 4 and 5
(**) SynPS/2 Synaptics TouchPad: EmulateWheelButton: 4, EmulateWheelInertia: 
10, EmulateWheelTimeout: 200
(II) XINPUT: Adding extended input device SynPS/2 Synaptics TouchPad (type: 
TOUCHPAD)
(**) SynPS/2 Synaptics TouchPad: (accel) keeping acceleration scheme 1
(**) SynPS/2 Synaptics TouchPad: (accel) acceleration profile 0
(II) SynPS/2 Synaptics TouchPad: initialized for absolute axes.


$ emerge --search synaptics
Searching...
[ Results for search key : synaptics ]
[ Applications found : 1 ]

*  x11-drivers/xf86-input-synaptics
  Latest version available: 1.2.1
  Latest version installed: 1.2.1
  Size of files: 288 kB
  Homepage:  
http://cgit.freedesktop.org/xorg/driver/xf86-input-synaptics/
  Description:   Driver for Synaptics touchpads
  License:   MIT

  
$ grep -i synaptics /etc/make.conf
INPUT_DEVICES=evdev keyboard mouse synaptics 


$ find /usr/lib -name '*synaptics*'
/usr/lib/xorg/modules/input/synaptics_drv.so
/usr/lib/pkgconfig/xorg-synaptics.pc






Re: [gentoo-user] time for an emerge -e world?

2010-11-18 Thread Allan Gottlieb
Allan Gottlieb gottl...@nyu.edu writes:

 Stroller strol...@stellar.eclipse.co.uk writes:

 On 19/11/2010, at 12:57am, Allan Gottlieb wrote:
 Mick michaelkintz...@gmail.com writes:
 
 Should I now run emerge -e world?  If so, I suppose I should stop cron
 from running an emerge --sync during the night.
 
 I used to do the same with reiserfs, but since I borked badly a reiser4 fs 
 I 
 decided it is safer to use a LiveCD for this job.  So I have to say YMMV. 
 ;-)
 
 I am not sure I understand.  If I use a liveCD, won't I have to chroot
 to the disk with my real system?  In that case can't I get the same
 fs breakage?

 You don't have to chroot to run fsck. You can just boot from the LiveCD and 
 run `fsck -o -p -t -i -o -n -s /dev/sda1`.

 I feel a bit more confident fscking my root filesystem from a LiveCD, 
 because you know that you're not repairing the floor you're standing on, and 
 fsck can have full leeway to do what it needs to do to clear up the problem 
 properly.

 The question was about emerge -e world not fsck (see quoted material
 above).

 The fsck succeeded prior to this (I did touch /forcefsck; reboot).

 thanks,
 allan

I now understand your comment better.  I should have run my previous
fsck's under a liveCD.  You are right and I am running them again now
under a liveCD.  I am please to report that no errors were found.

So is it now an appropriate time for me to run an

   emerge -e world

I do not mind taking this machine offline for the few days of the
emerge.

thanks again,
allan



Re: [gentoo-user] FYI - 2.6.38 desktop responsiveness patch + how to do it now

2010-11-18 Thread Florian Philipp
Am 19.11.2010 03:37, schrieb Adam Carter:
 2.6.38 should contain a ~200 line patch that makes a huge difference to
 desktop responsiveness under load;
 Tests done by Mike show the maximum latency dropping by over ten times
 and the average latency of the desktop by about 60 times
 Ref:
 http://www.phoronix.com/scan.php?page=articleitem=linux_2637_videonum=1 
 http://www.phoronix.com/scan.php?page=articleitem=linux_2637_videonum=1
 
 And a RedHat dev reckons you can get the same via configuration;
 Ref:
 http://www.webupd8.org/2010/11/alternative-to-200-lines-kernel-patch.html
 
 I havent tried it yet...

Very interesting. Finally something to make cgroup scheduling worthwhile.

Thanks! I'll try it.
Florian Philipp



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] One machine sends emerge text output to stderr, not stdout

2010-11-18 Thread Walter Dnes
On Thu, Nov 18, 2010 at 11:21:33AM +, Neil Bothwick wrote

 Blaming the devs for your broken modem/router is rather unfair. If
 you'd known it was unable to handle IPv6 correctly, why didn't you
 set the flag accordingly?

  My ISP didn't support ipv6 at that time.  They're now running a beta
for native ipv6 (no tunneling) but I don't have the time to play with
bleeding edge stuff.  Regardless of the fact that my router/modem does
or does not support ipv6, if I don't have ipv6 service from my ISP (or a
tunnel broker) ipv6 is pointless.

 If you didn't know, HTH were the devs supposed to know?

  The devs *CHANGED AN EXISTING DEFAULT FLAG* from -ipv6 to ipv6.  What
percentage of the user base was running ipv6 a couple of years ago?  Why
couldn't they have left the default at -ipv6?  Ever heard of the
principle of least surprise aka the principle of least astonishment?
See http://en.wikipedia.org/wiki/Principle_of_least_astonishment
Unnecessarily changing defaults violates that principle in the worst way.

  There's an old saying...
* good judgement is the result of experience
* experience is the result of bad judgement

  As a result of my experience with the ipv6 flag, I no longer
robo-update.  Note that in the first post of this thread, I said...

   I normally...
 
 emerge -pv --deep --update world | less
 
 ...before updating, to check for booby-traps.

  So you see, I did learn from my experience.  I do check for stuff
like this now.  As an additional safety measure, I also begin the USE
variable with -*.

-- 
Walter Dnes waltd...@waltdnes.org



Re: [gentoo-user] One machine sends emerge text output to stderr, not stdout

2010-11-18 Thread Dale

Walter Dnes wrote:

   So you see, I did learn from my experience.  I do check for stuff
like this now.  As an additional safety measure, I also begin the USE
variable with -*.

   


I'm starting to like the way Walter thinks.  LOL

Dale

:-)  :-)