Re: [gentoo-user] anyone using Lilo to dual-boot ?

2010-07-12 Thread Mick
On Monday 12 July 2010 06:52:03 Philip Webb wrote:
 My cousin in England wants to try out Linux  has an Ubuntu Live CD.
 To help her, I've installed the same on a separate partition in my box.
 The partition is  /dev/sda8   is formatted ReiserFS.
 I use Lilo as boot manager  don't want to change to Grub
 just to offer temporary help to someone,
 so I refused to let the Ubuntu installer overwrite my MBR,
 hoping to get Lilo to see Ubuntu via an appropriate 'lilo.conf'.
 I've managed to get Lilo to add Ubuntu to the boot menu,
 but only by mounting  /dev/sda8  as  /z/mount8   using the line
 
   image = /z/mount8/boot/vmlinuz-2.6.32-21-generic
 
 However, when I reboot  select that image via its label,
 I'm getting the hoary old 'VFS: can't open root device 808'.
 I've tried adding a dir  /z/mount8  in the Ubuntu partition
 with a symlink of 'boot' to '../../boot' there, but it doesn't help.
 This does look rather messy, but I just want to be able to boot Ubuntu
 in order to advise my cousin when she starts using her version.
 
 Is anyone successfully dual-booting Linux distros using Lilo ?
 Might it be ReiserFS ? -- should I re-install Ubuntu with another FS ?

I think Ubuntu is using GRUB2.  Anyhow, I suggest you install a separate boot 
partition with an ext2 fs and you install GRUB2 there instead of the MBR.  
Then chainload it from your LILO bootloader menu.
-- 
Regards,
Mick


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


[gentoo-user] Beta autodepclean script (not yet ready for primetime)

2010-07-12 Thread Walter Dnes
  The attached script takes the output of emerge --pretend --depclean
and formats it into a script cleanscript which contains a set of
emerge --depclean commands to remove individual items.  Do *NOT*
remove the exit and source cleanscript.  It's there to protect you.

  The script is very simple-minded about kernel-sources.  I.e. it
removes all but the latest version.  E.g.  I have 3 kernels in /usr/src,
namely 2.6.31-r10, 2.6.32-r7, and 2.6.34-r1.  I'm currently on
2.3.32-r7.  The script will want to remove 2.6.31-r10 and 2.6.32-r7 and
keep 2.6.34-r1.  I suspect that something similar may be true if you
have multiple versions of gcc.  Sources and gcc are a bit weird in that
they're not dependancies of any packages, and they aren't listed in
world.

  One other thing I have noticed is that the format...
emerge --depclean =sys-boom/bah-1.2.3.4
...will not work if it's masked.  autodepclean will find it, but you
need to use emerge --unmerge to remove it.

  Other than that, the output from autodepclean seems to be OK.  I've
manually removed a bunch of stuff (cutting--pasting lines from
cleanscript), and revdep-rebuild hasn't found any breakages.  If you are
unsure about any of its suggestions, please ask on this list.

-- 
Walter Dnes waltd...@waltdnes.org
#!/bin/bash
echo exit  cleanscript
emerge --pretend --depclean |\
  grep -A1 ^ .*/ |\
  grep -v ^ \* |\
  grep -v ^-- |\
  sed :/: {
N
s:\n::
s/selected: /-/
s/^ /emerge --depclean =/
}  cleanscript



[gentoo-user] logrotate fails since a few days

2010-07-12 Thread Helmut Jarausch
Hi,

since a few days logrotate is failing due to
error: stat of /var/account/pacct failed: No such file or directory

What has changed, what am I missing?

Many thanks for a hint,
Helmut.


-- 
Helmut Jarausch

Lehrstuhl fuer Numerische Mathematik
RWTH - Aachen University
D 52056 Aachen, Germany




Re: [gentoo-user] anyone using Lilo to dual-boot ?

2010-07-12 Thread Philip Webb
100712 Mick suggested :
 install a separate boot partition with an ext2 fs
 and install GRUB2 there instead of the MBR.  
 Then chainload it from your LILO bootloader menu.

Thanks for your very prompt response.  I'm not sure if I've got it right,
but I can easily re-install Ubuntu with a  /boot  partition using Ext2 ,
then tell Lilo to look there for the kernel image.  Is that what you mean ?

Any other suggestions are also welcome.

-- 
,,
SUPPORT ___//___,   Philip Webb
ELECTRIC   /] [] [] [] [] []|   Cities Centre, University of Toronto
TRANSIT`-O--O---'   purslowatchassdotutorontodotca




Re: [gentoo-user] Re: gcc upgrade

2010-07-12 Thread ZekeyG
In linux.gentoo.user, you wrote:
 On Saturday 10 July 2010 02:57:42 Nikos Chantziaras wrote:
 On 07/10/2010 04:16 AM, Valmor de Almeida wrote:
  Hello,
  
  I just updated the portage tree and gcc was upgraded. I have set gcc to
  the newer version
  
  -  gcc-config -l
  
[1] i686-pc-linux-gnu-4.3.4
[2] i686-pc-linux-gnu-4.4.3 *
  
  and I am trying to rebuild the whole system with
  
emerge -e system
emerge -e world
  
  assuming this all goes without trouble (will take a while), should I
  unmerge version 4.3.4?
 
 There's no reason to.  Unless you don't need it anymore.

 And why is the OP rebuilding world at all? There's no reason to do that 
 either, there's no API/ABI break between 4.3.4 and 4.3.3

The difference is between 4.3.4 and 4.4.3, not 4.3.3

Gentoo has the new GCC slotted and the handbook

http://www.gentoo.org/doc/en/gcc-upgrading.xml

Suggests emerge -e system and emerge -e world in the General Upgrade
Instructions.

If you think the handbook is wrong or my interpretation of it wrong
then *please* tell me. I would prefer *not* to go through this nightmare
whenever GCC does a major version bump.

-- 
Regards,

Gregory.
Gentoo Linux - Penguin Power



Re: [gentoo-user] kdm french keyboard

2010-07-12 Thread Neil Bothwick
On Sun, 11 Jul 2010 19:19:25 +0200, Stéphane Guedon wrote:

  How? I know how to use udev for device recognition, but how do you
  tell it to use a particular keyboard layout?  
 
 19:18:09 steph...@luciole:/etc/udev/rules.d $ cat 61-x11-input.rules 
 SUBSYSTEM!=input, GOTO=x11_input_end 
 ACTION!=add, GOTO=x11_input_end 
 
 KERNEL==event*, ENV{x11_driver}=evdev 
 KERNEL==event*, ENV{ID_INPUT_KEYBOARD}==1 
 
 ENV{ID_INPUT_KEY}==?*, ENV{xkblayout}=fr 
 
 LABEL=x11_input_end
 ===

Interesting, but it seems more complex that a simple stanza
in /etc/X11/xorg.conf.d. Using udev rules for something that will only be
used by one application adds unnecessary complication, IMO. If only X
will use the information, I'd prefer to put in in the X configuration
directory.


-- 
Neil Bothwick

The world is a tragedy to those who feel, but a comedy to those who
think.(Horace Walpole)


signature.asc
Description: PGP signature


Re: [gentoo-user] logrotate fails since a few days

2010-07-12 Thread Enrico Weigelt
* Helmut Jarausch jarau...@igpm.rwth-aachen.de wrote:
 Hi,
 
 since a few days logrotate is failing due to
 error: stat of /var/account/pacct failed: No such file or directory

do you have the process accounting deamon running ? 

did you instruct logrotate to create this logfile if missing ?


cu
-- 
--
 Enrico Weigelt, metux IT service -- http://www.metux.de/

 phone:  +49 36207 519931  email: weig...@metux.de
 mobile: +49 151 27565287  icq:   210169427 skype: nekrad666
--
 Embedded-Linux / Portierung / Opensource-QM / Verteilte Systeme
--



Re: [gentoo-user] anyone using Lilo to dual-boot ?

2010-07-12 Thread covici
Philip Webb purs...@ca.inter.net wrote:

 My cousin in England wants to try out Linux  has an Ubuntu Live CD.
 To help her, I've installed the same on a separate partition in my box.
 The partition is  /dev/sda8   is formatted ReiserFS.
 I use Lilo as boot manager  don't want to change to Grub
 just to offer temporary help to someone,
 so I refused to let the Ubuntu installer overwrite my MBR,
 hoping to get Lilo to see Ubuntu via an appropriate 'lilo.conf'.
 I've managed to get Lilo to add Ubuntu to the boot menu,
 but only by mounting  /dev/sda8  as  /z/mount8   using the line
 
   image = /z/mount8/boot/vmlinuz-2.6.32-21-generic
 
 However, when I reboot  select that image via its label,
 I'm getting the hoary old 'VFS: can't open root device 808'.
 I've tried adding a dir  /z/mount8  in the Ubuntu partition
 with a symlink of 'boot' to '../../boot' there, but it doesn't help.
 This does look rather messy, but I just want to be able to boot Ubuntu
 in order to advise my cousin when she starts using her version.
 
 Is anyone successfully dual-booting Linux distros using Lilo ?
 Might it be ReiserFS ? -- should I re-install Ubuntu with another FS ?
What I do in those cases is to copy the kernel and the initrd of the
Ubuntu system into your normal boot directory and just have a root=
directive in the append stanza and that works just fine.


-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici
 cov...@ccs.covici.com



Re: [gentoo-user] logrotate fails since a few days

2010-07-12 Thread Helmut Jarausch
On 07/12/10 11:00:00, Enrico Weigelt wrote:
 * Helmut Jarausch jarau...@igpm.rwth-aachen.de wrote:
  Hi,
  
  since a few days logrotate is failing due to
  error: stat of /var/account/pacct failed: No such file or directory
 
 do you have the process accounting deamon running ? 

No, and I've never done so.

 
 did you instruct logrotate to create this logfile if missing ?
 
No, but how to do that? I have'ne found anything in the man file?

Thanks,
Helmut.





[gentoo-user] Someone broke kde overlay :P

2010-07-12 Thread Nikos Chantziaras

What's the deal with:

  !! Couldn't download 'oxygen-icons-4.4.92.tar.xz'. Aborting.

Note the .xz extension.  Where the heck do I get that?  Why using 
something like this in the first place?  Why don't the tarballs I 
downloaded from my local KDE mirror work anymore?  Why should I trust 
tarballs that are not distributed by upstream?


Please, please, don't do that.  I'm sure whoever is responsible for this 
is just misinformed about something.  Thank you :-)





Re: [gentoo-user] Someone broke kde overlay :P

2010-07-12 Thread Albert Hopkins
On Mon, 2010-07-12 at 14:41 +0300, Nikos Chantziaras wrote:
 What's the deal with:
 
!! Couldn't download 'oxygen-icons-4.4.92.tar.xz'. Aborting.
 
 Note the .xz extension.  Where the heck do I get that?  Why using 
 something like this in the first place?  Why don't the tarballs I 
 downloaded from my local KDE mirror work anymore?  Why should I trust 
 tarballs that are not distributed by upstream?
 
 Please, please, don't do that.  I'm sure whoever is responsible for this 
 is just misinformed about something.  Thank you :-)
 

This isn't the bitch and moan mailing list.  If you've got problems with
an overlay maintainer, then take it to the overlay maintainer.  General
support questions come here.

Having said that, you *are* using an overlay.  Caveat emptor, and I'm
not absolutely certain, but I have a pretty good idea that KDE doesn't
even have a oxygen-icons-4.4.92.




Re: [gentoo-user] libvirt needs VirtualBox XPCOMC

2010-07-12 Thread Crístian Viana

 Do you want to use libvirt with virtualbox?


well, I wanted to make some tests with libvirt and VirtualBox, but I guess
I'll leave it for some other time. I removed the virtualbox USE flag.

Else try emerging virtualbox-ose or virtualbox-bin befire libvirt.


nothing's changed.

But this is probably a bug?


I believe so. emerge should never fail, in my opinion. if the ebuild lacks a
dependency, it should be pulled; if the code doesn't compile, use patches;
if it has more than one conflicting USE flags, warn the user and use a
default flag; anyway, it should never fail, specially like that.

:-)

On Wed, Jul 7, 2010 at 1:11 PM, App Deb appde...@gmail.com wrote:

 Do you want to use libvirt with virtualbox? If not (say you want to use it
 with kvm or something else) try emerging libvirt without the virtualbox flag
 using package.use .

 Else try emerging virtualbox-ose or virtualbox-bin befire libvirt.

 But this is probably a bug? libvirt should have virtualbox as a dependency
 if the use flag is enabled, I think.

 On Wed, Jul 7, 2010 at 2:32 AM, Crístian Viana 
 cristiandei...@gmail.comwrote:

 hi,

 when I was trying to emerge the newest libvirt ebuild, the following error
 appeared on configure:

 checking for VirtualBox XPCOMC location... not found
 configure: error: VirtualBox XPCOMC is required for the VirtualBox driver

 what do I need to install to make it work? I'm emerging with the USE
 flags:

 [ebuild U ] app-emulation/libvirt-0.8.2 [0.8.1-r1] USE=libvirtd lxc
 network nls python qemu virtualbox -avahi -caps -iscsi -lvm -macvtap% -nfs
 -numa -openvz -parted -pcap% -phyp -policykit -sasl (-selinux) -udev -uml
 -xen





Re: Re: [gentoo-user] Someone broke kde overlay :P

2010-07-12 Thread mellitussum
And to answer the original statement: the kde overlay often puts the ebuilds in before the sources themselves hit the mirrors. And the .xz compression format is the successor to the .lzma format, if I recall correctly...you should have xz-utils on your system.Chris ReffettOn Jul 12, 2010, Albert Hopkins mar...@letterboxes.org wrote: On Mon, 2010-07-12 at 14:41 +0300, Nikos Chantziaras wrote: What's the deal with: !! Couldn't download 'oxygen-icons-4.4.92.tar.xz'. Aborting.  Note the ".xz" extension.  Where the heck do I get that?  Why using  something like this in the first place?  Why don't the tarballs I  downloaded from my local KDE mirror work anymore?  Why should I trust  tarballs that are not distributed by upstream?  Please, please, don't do that.  I'm sure whoever is responsible for this  is just misinformed about something.  Thank you :-) This isn't the bitch and moan mailing list.  If you've got problems withan overlay maintainer, then take it to the overlay maintainer.  Generalsupport questions come here.Having said that, you *are* using an overlay.  Caveat emptor, and I'mnot absolutely certain, but I have a pretty good idea that KDE doesn'teven have a oxygen-icons-4.4.92.



Re: [gentoo-user] anyone using Lilo to dual-boot ?

2010-07-12 Thread Mick
On 12 July 2010 08:37, Philip Webb purs...@ca.inter.net wrote:
 100712 Mick suggested :
 install a separate boot partition with an ext2 fs
 and install GRUB2 there instead of the MBR.
 Then chainload it from your LILO bootloader menu.

 Thanks for your very prompt response.  I'm not sure if I've got it right,
 but I can easily re-install Ubuntu with a  /boot  partition using Ext2 ,
 then tell Lilo to look there for the kernel image.  Is that what you mean ?

 Any other suggestions are also welcome.

Yes, that's exactly what I mean.  I recall clicking on 'advanced' or
some such options during the Ubuntu install and it gave me an option
as to where GRUB should go.  I chose the /boot partition and then used
the main OS boot manager to chainload Ubuntu's GRUB.

As was already suggested by John you can instead copy the kernel image
 initrd from the Ubuntu installation and place them in your existing
/boot partition, then point LILO to it.  Doing it as I suggest you
will essentially have a mirror installation to your cousin's.

PS.  I found Ubuntu easier to update/upgrade by having separate /boot,
/ and /home partitions.
-- 
Regards,
Mick



Re: [gentoo-user] Someone broke kde overlay :P

2010-07-12 Thread Dale

Albert Hopkins wrote:

On Mon, 2010-07-12 at 14:41 +0300, Nikos Chantziaras wrote:
   

What's the deal with:

!! Couldn't download 'oxygen-icons-4.4.92.tar.xz'. Aborting.

Note the .xz extension.  Where the heck do I get that?  Why using
something like this in the first place?  Why don't the tarballs I
downloaded from my local KDE mirror work anymore?  Why should I trust
tarballs that are not distributed by upstream?

Please, please, don't do that.  I'm sure whoever is responsible for this
is just misinformed about something.  Thank you :-)

 

This isn't the bitch and moan mailing list.  If you've got problems with
an overlay maintainer, then take it to the overlay maintainer.  General
support questions come here.

Having said that, you *are* using an overlay.  Caveat emptor, and I'm
not absolutely certain, but I have a pretty good idea that KDE doesn't
even have a oxygen-icons-4.4.92.

   


According to this, they do:

http://www.kde.org/info/4.4.92.php

http://kde.mirrors.tds.net/pub/kde/unstable/4.4.92/src/

OP, may want to download them there instead.

Dale

:-)  :-)



Re: [gentoo-user] fate of nmh

2010-07-12 Thread Bill Longman
On 07/11/2010 01:47 PM, Alan McKinnon wrote:
 On Sunday 11 July 2010 20:42:54 cov...@ccs.covici.com wrote:
 # unless a new maintainer can be found, this package is
 # slated for removal.
 #
 # Removal on 2010-08-23

 This is  what I use for my mail reader -- with the emacs interface -- so
 I am wondering what I can do once this happens -- I imagine I can keep
 it installed, but it would not be a good situation.

 thanks in advance  for any ideas.
 
 Pick one:
 
 1. use another mailer. There's no shortage of them
 2. fix nmh yourself. It seems like no-one else is going to.

Or, you can choose to live with it as is. You might want to look at the
quickpkg man page and save nmh and mask it out.

This is one of the concepts that will blindside a new Gentoo user. One
usually thinks that once a package is found in Portage that he can then
rely on it ~ad infinitum~. Well, the folks who write FOSS sometimes just
move on and unless someone picks up the gauntlet to maintain the
package, it withers and dies.



Re: [gentoo-user] anyone using Lilo to dual-boot ?

2010-07-12 Thread Mateusz Arkadiusz Mierzwinski
Sure thing I use lilo on my lap. You want config for example?

2010/7/12 Mick michaelkintz...@gmail.com

 On 12 July 2010 08:37, Philip Webb purs...@ca.inter.net wrote:
  100712 Mick suggested :
  install a separate boot partition with an ext2 fs
  and install GRUB2 there instead of the MBR.
  Then chainload it from your LILO bootloader menu.
 
  Thanks for your very prompt response.  I'm not sure if I've got it right,
  but I can easily re-install Ubuntu with a  /boot  partition using Ext2 ,
  then tell Lilo to look there for the kernel image.  Is that what you mean
 ?
 
  Any other suggestions are also welcome.

 Yes, that's exactly what I mean.  I recall clicking on 'advanced' or
 some such options during the Ubuntu install and it gave me an option
 as to where GRUB should go.  I chose the /boot partition and then used
 the main OS boot manager to chainload Ubuntu's GRUB.

 As was already suggested by John you can instead copy the kernel image
  initrd from the Ubuntu installation and place them in your existing
 /boot partition, then point LILO to it.  Doing it as I suggest you
 will essentially have a mirror installation to your cousin's.

 PS.  I found Ubuntu easier to update/upgrade by having separate /boot,
 / and /home partitions.
 --
 Regards,
 Mick




-- 
Mateusz Mierzwiński

Bluebox Software http://www.blueboxsoft.pl/mateusz-mierzwinski


[gentoo-user] Re: emacs font problem

2010-07-12 Thread Grant Edwards
On 2010-07-09, Allan Gottlieb gottl...@nyu.edu wrote:

 Grant Edwards grant.b.edwa...@gmail.com writes:

 Recently emacs (running in X window mode) seems to have developed a
 font problem.

 Perhaps it is a font issue.

Yes, I think it probably is.

 I just did emacs -q (-Q eliminates the
 splash screen) and then did C-u C-x = while the cursor was on the b in
 Learn basic keystroke commands.  The help buffer includes
   display: by this font (glyph code)
 xft:-unknown-DejaVu Sans-normal-normal-normal-*-20-*-75-75-*-0-iso10646-1 
 (#x45)

 What does C-u C-x = give on your system

character: b (98, #o142, #x62)
preferred charset: ascii (ASCII (ISO646 IRV))
   code point: 0x62
   syntax: wwhich means: word
 category: .:Base, a:ASCII, l:Latin, r:Roman
  buffer code: #x62
file code: #x62 (encoded by coding system nil)
  display: no font available

 and do you have that font available?

No, I don't seem to have Sans-normal-normal-normal-*-20-*-75-75-*-0-iso10646-1
availble according to xfontsel.

-- 
Grant Edwards   grant.b.edwardsYow! My polyvinyl cowboy
  at   wallet was made in Hong
  gmail.comKong by Montgomery Clift!




Re: Re: [gentoo-user] Someone broke kde overlay :P

2010-07-12 Thread Mateusz Arkadiusz Mierzwinski
It's Overlay - this is how it work's. It's buggy stack thats why it's called
Overlay. Otherwise the Code from Overlay should be in main stream in
regular portage. Please don't complain that Overlay don't work. Try emerge
about 3-4 days after error occures.

2010/7/12 mellitus...@verizon.net

 And to answer the original statement: the kde overlay often puts the
 ebuilds in before the sources themselves hit the mirrors. And the .xz
 compression format is the successor to the .lzma format, if I recall
 correctly...you should have xz-utils on your system.
 Chris Reffett

 On Jul 12, 2010, *Albert Hopkins* mar...@letterboxes.org wrote:

 On Mon, 2010-07-12 at 14:41 +0300, Nikos Chantziaras wrote:
  What's the deal with:
 
  !! Couldn't download 'oxygen-icons-4.4.92.tar.xz'. Aborting.
 
  Note the .xz extension. Where the heck do I get that? Why using
  something like this in the first place? Why don't the tarballs I
  downloaded from my local KDE mirror work anymore? Why should I trust
  tarballs that are not distributed by upstream?
 
  Please, please, don't do that. I'm sure whoever is responsible for this
  is just misinformed about something. Thank you :-)
 

 This isn't the bitch and moan mailing list. If you've got problems with
 an overlay maintainer, then take it to the overlay maintainer. General
 support questions come here.

 Having said that, you *are* using an overlay. Caveat emptor, and I'm
 not absolutely certain, but I have a pretty good idea that KDE doesn't
 even have a oxygen-icons-4.4.92.





-- 
Mateusz Mierzwiński

Bluebox Software http://www.blueboxsoft.pl/mateusz-mierzwinski


Re: [gentoo-user] Someone broke kde overlay :P

2010-07-12 Thread Paul Hartman
On Mon, Jul 12, 2010 at 6:41 AM, Nikos Chantziaras rea...@arcor.de wrote:
 What's the deal with:

  !! Couldn't download 'oxygen-icons-4.4.92.tar.xz'. Aborting.

 Note the .xz extension.  Where the heck do I get that?  Why using
 something like this in the first place?  Why don't the tarballs I downloaded
 from my local KDE mirror work anymore?  Why should I trust tarballs that are
 not distributed by upstream?

 Please, please, don't do that.  I'm sure whoever is responsible for this is
 just misinformed about something.  Thank you :-)

Looks like it was just fixed an hour ago, resync the overlay and it
should use bz2 now:

http://git.overlays.gentoo.org/gitweb/?p=proj/kde.git;a=commit;h=4b27971ed556c29f6396414a8f5b0868f1ad61d0



Re: [gentoo-user] anyone using Lilo to dual-boot ?

2010-07-12 Thread Philip Webb
100712 Mateusz Arkadiusz Mierzwinski wrote:
 Sure thing I use lilo on my lap. You want config for example?

Please : that would help a lot !

-- 
,,
SUPPORT ___//___,   Philip Webb
ELECTRIC   /] [] [] [] [] []|   Cities Centre, University of Toronto
TRANSIT`-O--O---'   purslowatchassdotutorontodotca




Re: [gentoo-user] anyone using Lilo to dual-boot ?

2010-07-12 Thread Philip Webb
100712 Mick wrote:
 As was already suggested by John,

Thanks to John too.

 you can instead copy the kernel image  initrd from the Ubuntu installation
 to your existing /boot partition, then point LILO to it.

I tried that, Lilo runs ok, but I still get the kernel panic
due to the line in  lilo.conf  'root=/dev/sda8'.
That suggests that it doesn't like the FS on  /dev/sda8 , ie ReiserFS,
which must be due to something in the Ubuntu set-up,
as the Gentoo stanzas have 'root=/dev/sda3, which is also ReiserFS.

 I recall clicking on 'advanced' or some such options during Ubuntu install
 and it gave me an option where GRUB should go.  I chose the /boot partition
 and then used the main OS boot manager to chainload Ubuntu's GRUB.
 Then you will essentially have a mirror installation to your cousin's.

I don't know what you mean by chainload Ubuntu's GRUB;
I don't remember your specific choice during the Ubuntu install,
only Shall I overwrite the MBR ? , to which I answer No ! .
I don't want to learn how to use Grub for this simple test project:
Lilo is quite adequate for my normal needs.

 PS.  I found Ubuntu easier to update/upgrade by having separate /boot,
 / and /home partitions.

Ordinarily, that's what I would do, but this is only temporary
 I'm not even sure she'll go thro' with the project in the end
(she's yet another victim of M$ generally  Vista in particular).

-- 
,,
SUPPORT ___//___,   Philip Webb
ELECTRIC   /] [] [] [] [] []|   Cities Centre, University of Toronto
TRANSIT`-O--O---'   purslowatchassdotutorontodotca




[gentoo-user] Re: anyone using Lilo to dual-boot ?

2010-07-12 Thread 7v5w7go9ub0o

On 07/12/10 01:52, Philip Webb wrote:

[]



Is anyone successfully dual-booting Linux distros using Lilo ? Might
it be ReiserFS ? -- should I re-install Ubuntu with another FS ?



Hard to believe that the filesystem is causing a problem.

Here's my conf (I have two kernels on the same OS; one hardened, one
gentoo sources. I use an initrd only because I have loop-AES installed,
and it prompts for a password):

boot=/dev/sda
prompt
ignore-table
large-memory
timeout=100
default=Hard
image=/boot/bzImagehard
  label=Hard
  append=ramdisk_size=290
  vga=normal
  initrd=/boot/initrdhard.gz
  read-only
  root=/dev/sda3
image=/boot/bzImagegentoo
  label=Gentoo
  append=ramdisk_size=290
  initrd=/boot/initrdgent.gz
  vga=normal
  read-only
  root=/dev/sda3


HTH

.



Re: [gentoo-user] Re: emacs font problem

2010-07-12 Thread Allan Gottlieb
Grant Edwards grant.b.edwa...@gmail.com writes:

 On 2010-07-09, Allan Gottlieb gottl...@nyu.edu wrote:

 Grant Edwards grant.b.edwa...@gmail.com writes:

 Recently emacs (running in X window mode) seems to have developed a
 font problem.

 Perhaps it is a font issue.

 Yes, I think it probably is.

 I just did emacs -q (-Q eliminates the
 splash screen) and then did C-u C-x = while the cursor was on the b in
 Learn basic keystroke commands.  The help buffer includes
   display: by this font (glyph code)
 xft:-unknown-DejaVu 
 Sans-normal-normal-normal-*-20-*-75-75-*-0-iso10646-1 (#x45)

 What does C-u C-x = give on your system

 character: b (98, #o142, #x62)
 preferred charset: ascii (ASCII (ISO646 IRV))
code point: 0x62
syntax: w  which means: word
  category: .:Base, a:ASCII, l:Latin, r:Roman
   buffer code: #x62
 file code: #x62 (encoded by coding system nil)
   display: no font available

 and do you have that font available?

 No, I don't seem to have Sans-normal-normal-normal-*-20-*-75-75-*-0-iso10646-1
 availble according to xfontsel.

Three points

1.  Did you build emacs with xft support?

2.  The name you give Sans-normal-normal-normal-*-20-*-75-75-*-0-iso10646-1
looks to be just the suffix  did you mean something like
-unknown-DejaVu Sans-normal  You don't need to have DejaVu,
but I would advise getting either DejaVu or bitstream vera.

3.  Your output and mine differ in one point (before the font issue)
You have coding system nil.
I have coding system utf-8-unix.  Unfortunately I know very little
about coding systems but do wonder why ours are different since we
both did emacs -q.  Unfortunately if we do emacs -Q to eliminate
some system customization, there is no splash screen.  The
description of UTF-8 says it is for unicode.  Perhaps your nil
coding system has trouble with unicode, but I am afraid this has
gotten outside my expertise.

sorry for not being more helpful.
allan



Re: [gentoo-user] anyone using Lilo to dual-boot ? -- discovery

2010-07-12 Thread Philip Webb
Further ideas : I tried booting a Gentoo kernel with the Ubuntu  /
 avoided the kernel panic, but ran into an Ubuntu init error,
so there's nothing inherently wrong with  /dev/sda8 .

Also, I checked the Ubuntu kernel config file, conveniently in  /boot ,
which has ReiserFS configured as a module, whereas Ext2  Ext3 are 'y'.
That suggests that it's running into a road-block:
it needs to use ReiserFS to start 'init',
but can't load modules till it has already started 'init'.

In that case, I need to re-install Ubuntu using Ext2 or Ext3 .
In fact, it wb as a bug in Ubuntu's advanced install.

Does that make sense to anyone else ?

-- 
,,
SUPPORT ___//___,   Philip Webb
ELECTRIC   /] [] [] [] [] []|   Cities Centre, University of Toronto
TRANSIT`-O--O---'   purslowatchassdotutorontodotca




Re: [gentoo-user] anyone using Lilo to dual-boot ? -- discovery

2010-07-12 Thread covici

Philip Webb purs...@ca.inter.net wrote:

 Further ideas : I tried booting a Gentoo kernel with the Ubuntu  /
  avoided the kernel panic, but ran into an Ubuntu init error,
 so there's nothing inherently wrong with  /dev/sda8 .
 
 Also, I checked the Ubuntu kernel config file, conveniently in  /boot ,
 which has ReiserFS configured as a module, whereas Ext2  Ext3 are 'y'.
 That suggests that it's running into a road-block:
 it needs to use ReiserFS to start 'init',
 but can't load modules till it has already started 'init'.
 
 In that case, I need to re-install Ubuntu using Ext2 or Ext3 .
 In fact, it wb as a bug in Ubuntu's advanced install.
 
 Does that make sense to anyone else ?

Or the module could be in the initrd -- should be.  Also, be sure you
have root= in your append line.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici
 cov...@ccs.covici.com



[gentoo-user] Re: emacs font problem

2010-07-12 Thread Grant Edwards
On 2010-07-12, Allan Gottlieb gottl...@nyu.edu wrote:

 What does C-u C-x = give on your system

 character: b (98, #o142, #x62)
 preferred charset: ascii (ASCII (ISO646 IRV))
code point: 0x62
syntax: w which means: word
  category: .:Base, a:ASCII, l:Latin, r:Roman
   buffer code: #x62
 file code: #x62 (encoded by coding system nil)
   display: no font available

 and do you have that font available?

 No, I don't seem to have 
 Sans-normal-normal-normal-*-20-*-75-75-*-0-iso10646-1
 availble according to xfontsel.

 Three points

 1.  Did you build emacs with xft support?

 2.  The name you give Sans-normal-normal-normal-*-20-*-75-75-*-0-iso10646-1
 looks to be just the suffix  did you mean something like
 -unknown-DejaVu Sans-normal

Oops -- cut/paste error.

I don't have that font using the whole pattern either.

 You don't need to have DejaVu, but I would advise getting either
 DejaVu or bitstream vera.

I guess I can install more fonts, but I was hoping I could point emacs
at one of the rougly 4000 I've already got.

 3.  Your output and mine differ in one point (before the font issue)
 You have coding system nil. I have coding system utf-8-unix.
 Unfortunately I know very little about coding systems but do
 wonder why ours are different since we both did emacs -q.
 Unfortunately if we do emacs -Q to eliminate some system
 customization, there is no splash screen.  The description of
 UTF-8 says it is for unicode.  Perhaps your nil coding system has
 trouble with unicode, but I am afraid this has gotten outside my
 expertise.

I do have one computer where emacs does find a font for the about
screen, so I guess it's a matter of comparing the two.

-- 
Grant Edwards   grant.b.edwardsYow! Will it improve my
  at   CASH FLOW?
  gmail.com




Re: [gentoo-user] anyone using Lilo to dual-boot ? -- discovery

2010-07-12 Thread Arttu V.
On 7/12/10, cov...@ccs.covici.com cov...@ccs.covici.com wrote:

 Philip Webb purs...@ca.inter.net wrote:

 Further ideas : I tried booting a Gentoo kernel with the Ubuntu  /
  avoided the kernel panic, but ran into an Ubuntu init error,
 so there's nothing inherently wrong with  /dev/sda8 .

 Also, I checked the Ubuntu kernel config file, conveniently in  /boot ,
 which has ReiserFS configured as a module, whereas Ext2  Ext3 are 'y'.
 That suggests that it's running into a road-block:
 it needs to use ReiserFS to start 'init',
 but can't load modules till it has already started 'init'.

 In that case, I need to re-install Ubuntu using Ext2 or Ext3 .
 In fact, it wb as a bug in Ubuntu's advanced install.

 Does that make sense to anyone else ?

 Or the module could be in the initrd -- should be.  Also, be sure you
 have root= in your append line.

Yes, I'd be surprised if Ubuntu didn't have reiserfs easily available.

OP: see what man page of mount has to say about reiserfs,
--tail/--notail and LILO.

ext3 doesn't sound so bad any more after reading the man page section.

-- 
Arttu V. -- Running Gentoo is like running with scissors



[gentoo-user] KDE 4.4.4 system settings - fonts never display

2010-07-12 Thread Bill Longman
Have I just misconfigured several of my KDE boxes or is there a problem
with KDE 4.4.4's system settings? The font installer worked fine in 4.3,
but whenever I go into system settings and try to get a list of the
fonts, it's just a blank box, whether I choose personal or system fonts.

No amount of STFW has yet to yield to me a suitable place to look for
further answers.

TIA.

--
Bill

Ἐν ἀρχή ἠν ὁ λόγος



[gentoo-user] Unicode Fonts in xfce4-terminal

2010-07-12 Thread Andy Wilkinson
Hi all,

I have been fiddling on and off for a few months now trying to get
Unicode font display in Terminal, which per the Gentoo Unicode docs as
well as its own, supports UTF-8 character sets.  However, special
characters  are not displayed.  The font in use is DejaVu Sans Mono,
which ought to support simple accented characters and other Unicode
glyphs.  The results of `locale` are as follows:

t...@saya ~ $ locale
LANG=en_US.utf8
LC_CTYPE=en_US.utf8
LC_NUMERIC=en_US.utf8
LC_TIME=en_US.utf8
LC_COLLATE=C
LC_MONETARY=en_US.utf8
LC_MESSAGES=en_US.utf8
LC_PAPER=en_US.utf8
LC_NAME=en_US.utf8
LC_ADDRESS=en_US.utf8
LC_TELEPHONE=en_US.utf8
LC_MEASUREMENT=en_US.utf8
LC_IDENTIFICATION=en_US.utf8
LC_ALL=

Any ideas what I'm doing wrong?

Thanks!

-Andy



Re: [gentoo-user] Unicode Fonts in xfce4-terminal

2010-07-12 Thread Bill Longman
On 07/12/2010 11:51 AM, Andy Wilkinson wrote:
 Hi all,
 
 I have been fiddling on and off for a few months now trying to get
 Unicode font display in Terminal, which per the Gentoo Unicode docs as
 well as its own, supports UTF-8 character sets.  However, special
 characters  are not displayed.  The font in use is DejaVu Sans Mono,
 which ought to support simple accented characters and other Unicode
 glyphs.  The results of `locale` are as follows:
 
 t...@saya ~ $ locale
 LANG=en_US.utf8
 LC_CTYPE=en_US.utf8
 LC_NUMERIC=en_US.utf8
 LC_TIME=en_US.utf8
 LC_COLLATE=C
 LC_MONETARY=en_US.utf8
 LC_MESSAGES=en_US.utf8
 LC_PAPER=en_US.utf8
 LC_NAME=en_US.utf8
 LC_ADDRESS=en_US.utf8
 LC_TELEPHONE=en_US.utf8
 LC_MEASUREMENT=en_US.utf8
 LC_IDENTIFICATION=en_US.utf8
 LC_ALL=
 
 Any ideas what I'm doing wrong?
 
 Thanks!

Try en_US.UTF-8 instead.




Re: [gentoo-user] Re: gcc upgrade

2010-07-12 Thread Alan McKinnon
On Monday 12 July 2010 10:18:48 zek...@gmail.com wrote:
 In linux.gentoo.user, you wrote:
  On Saturday 10 July 2010 02:57:42 Nikos Chantziaras wrote:
  On 07/10/2010 04:16 AM, Valmor de Almeida wrote:
   Hello,
   
   I just updated the portage tree and gcc was upgraded. I have set gcc
   to the newer version
   
   -  gcc-config -l
   
 [1] i686-pc-linux-gnu-4.3.4
 [2] i686-pc-linux-gnu-4.4.3 *
   
   and I am trying to rebuild the whole system with
   
 emerge -e system
 emerge -e world
   
   assuming this all goes without trouble (will take a while), should I
   unmerge version 4.3.4?
  
  There's no reason to.  Unless you don't need it anymore.
  
  And why is the OP rebuilding world at all? There's no reason to do that
  either, there's no API/ABI break between 4.3.4 and 4.3.3
 
 The difference is between 4.3.4 and 4.4.3, not 4.3.3.

Typo.

 Gentoo has the new GCC slotted and the handbook

Of course is slotted. gcc has been slotted since the dawn of time so that you 
can install mutiple compilers and use any one you feel like at any point. 
Tools exists to switch the current compiler in use

 http://www.gentoo.org/doc/en/gcc-upgrading.xml
 
 Suggests emerge -e system and emerge -e world in the General Upgrade
 Instructions.

It suggests, it does not say it is mandatory with description of why.

Periodically on this list this topic comes up and we re-hash again, for the 
unmpteenth time, why the docs are misleading. That doc was apparently written 
by someone who was looking for ways to minimize the amount of mail he gets. If 
he says to rebuild system and world, then most of the questions he gets asked 
just go away. Can't fault the dev for that

This is all in the mail archives. Most of the whinging done by me actually

 If you think the handbook is wrong or my interpretation of it wrong
 then *please* tell me. I would prefer *not* to go through this nightmare
 whenever GCC does a major version bump.

You do not have to do what the handbook tells you, you just have to realise 
what the handbook hopes to achieve. As hinted above, the intended result 
appears to be least hassle for the gentoo devs and document writers with 
maximal guarantee that your box will work afterwards regardless fo how long it 
takes or number of cpu cycles burnt. It's not necessarily the most convenient 
way.

I have not had to rebuild world due to a compiler upgrade since sometime 
around the late 3 series (there was a C++ ABI change).

-- 
alan dot mckinnon at gmail dot com



[gentoo-user] PS/2 mouse on a USB adaptor

2010-07-12 Thread Mick
Hi All,

I have connected a conventional PS/2 mouse to a USB socket using this adaptor:

http://www.amazon.co.uk/StarTech-com-Replacement-Mouse-USB-
Adapter/dp/B0006G2OVG/ref=sr_1_6/275-4357142-7474332?ie=UTF8s=electronicsqid=1278964492sr=8-6

Unfortunately, it is not recognised by the kernel:

hub 2-0:1.0: unable to enumerate USB device on port 1

I also tried it on a Ubuntu laptop but it did not register at all.

What do I need to get it going?
-- 
Regards,
Mick


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


Re: [gentoo-user] Unicode Fonts in xfce4-terminal

2010-07-12 Thread Andy Wilkinson
On 07/12/2010 12:09 PM, Bill Longman wrote:
 On 07/12/2010 11:51 AM, Andy Wilkinson wrote:
   
 Hi all,

 I have been fiddling on and off for a few months now trying to get
 Unicode font display in Terminal, which per the Gentoo Unicode docs as
 well as its own, supports UTF-8 character sets.  However, special
 characters  are not displayed.  The font in use is DejaVu Sans Mono,
 which ought to support simple accented characters and other Unicode
 glyphs.  The results of `locale` are as follows:

 t...@saya ~ $ locale
 LANG=en_US.utf8
 LC_CTYPE=en_US.utf8
 LC_NUMERIC=en_US.utf8
 LC_TIME=en_US.utf8
 LC_COLLATE=C
 LC_MONETARY=en_US.utf8
 LC_MESSAGES=en_US.utf8
 LC_PAPER=en_US.utf8
 LC_NAME=en_US.utf8
 LC_ADDRESS=en_US.utf8
 LC_TELEPHONE=en_US.utf8
 LC_MEASUREMENT=en_US.utf8
 LC_IDENTIFICATION=en_US.utf8
 LC_ALL=

 Any ideas what I'm doing wrong?

 Thanks!
 
 Try en_US.UTF-8 instead.


   
That did it.  Thanks!

I am confused, though.  Why am I setting LANG, etc, to en_US.UTF-8
when locale -a says en_US.utf8?

For now I am happy that it works.  Thanks again.

-Andy



Re: [gentoo-user] anyone using Lilo to dual-boot ? -- discovery

2010-07-12 Thread Mick
On Monday 12 July 2010 17:21:52 Philip Webb wrote:
 Further ideas : I tried booting a Gentoo kernel with the Ubuntu  /
  avoided the kernel panic, but ran into an Ubuntu init error,
 so there's nothing inherently wrong with  /dev/sda8 .
 
 Also, I checked the Ubuntu kernel config file, conveniently in  /boot ,
 which has ReiserFS configured as a module, whereas Ext2  Ext3 are 'y'.
 That suggests that it's running into a road-block:
 it needs to use ReiserFS to start 'init',
 but can't load modules till it has already started 'init'.
 
 In that case, I need to re-install Ubuntu using Ext2 or Ext3 .
 In fact, it wb as a bug in Ubuntu's advanced install.
 
 Does that make sense to anyone else ?

No, I must have installed at least 3 Ubuntus in the last 6 months, all of them 
on reiserfs.  No problem booting them.

Unless you have stored a kernel image in a partition (e.g. /boot) that your 
lilo can read I don't think you'll be able to boot Ubuntu:

image=/boot/your_Ubuntu_image
   label=Ubuntu
   append=ramdisk_size=290
   vga=normal
   initrd=/boot/your_ubuntu_initrd.gz
   read-only
   root=/dev/sda8

I don't use LILO so check the above to make sure there are no errors, and 
adjust it to your circumstances.

Finally, to check that your Ubuntu installation is correct you may be able to 
boot it using the Ubuntu LiveCD (I recall it offers the option to boot a 
partition on the hard drive, but I'm not 100% sure).
-- 
Regards,
Mick


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


[gentoo-user] Re: gcc upgrade

2010-07-12 Thread Nuno J. Silva
Alan McKinnon alan.mckin...@gmail.com writes:

 On Monday 12 July 2010 10:18:48 zek...@gmail.com wrote:
 In linux.gentoo.user, you wrote:
  On Saturday 10 July 2010 02:57:42 Nikos Chantziaras wrote:
  On 07/10/2010 04:16 AM, Valmor de Almeida wrote:
   Hello,
   
   I just updated the portage tree and gcc was upgraded. I have set gcc
   to the newer version
   
   -  gcc-config -l
   
 [1] i686-pc-linux-gnu-4.3.4
 [2] i686-pc-linux-gnu-4.4.3 *
   
   and I am trying to rebuild the whole system with
   
 emerge -e system
 emerge -e world
   
   assuming this all goes without trouble (will take a while), should I
   unmerge version 4.3.4?
  
  There's no reason to.  Unless you don't need it anymore.

And how do we know that?

I, myself, wonder, as the previous version here is picked by depclean
for removal. Can we trust depclean? I suppose if a package didn't
compile and had no explicit dependency on the gcc version, that would be
a good reason for a bug report and an ebuild change.

 http://www.gentoo.org/doc/en/gcc-upgrading.xml
 
 Suggests emerge -e system and emerge -e world in the General Upgrade
 Instructions.

 It suggests, it does not say it is mandatory with description of why.

 Periodically on this list this topic comes up and we re-hash again, for the 
 unmpteenth time, why the docs are misleading. That doc was apparently written 
 by someone who was looking for ways to minimize the amount of mail he gets. 
 If 
 he says to rebuild system and world, then most of the questions he gets asked 
 just go away. Can't fault the dev for that

Warning: following this handbook might lead to an infinite loop, when
you sync after recompiling everything and you find a newer gcc version
was marked stable, and you have to start again.

If keeping both versions prevents the troubles fixed by recompiling
everything, then it's just not worth it removing the old version (unless
you own really fast machine).

Suggesting emerge -e is anyway a possible solution for problems, just
not the one to choose first.

Can't we rely on revdep-rebuild, or write something to catch known
upgrade issues? It sounds a

  while not okay 
 run revdep-rebuild

would be a better solution (but I don't know whether revdep-rebuild
catches the issues --- probably not if there is an interface change but
the library uses the same name as before...).


 This is all in the mail archives. Most of the whinging done by me actually

 If you think the handbook is wrong or my interpretation of it wrong
 then *please* tell me. I would prefer *not* to go through this nightmare
 whenever GCC does a major version bump.

 You do not have to do what the handbook tells you, you just have to realise 
 what the handbook hopes to achieve. As hinted above, the intended result 
 appears to be least hassle for the gentoo devs and document writers with 
 maximal guarantee that your box will work afterwards regardless fo how long 
 it 
 takes or number of cpu cycles burnt. It's not necessarily the most convenient 
 way.

 I have not had to rebuild world due to a compiler upgrade since sometime 
 around the late 3 series (there was a C++ ABI change).

The one which involved emerging libstdc++-v3, and which rendered the
whole system unusable due to a chicken and an egg?

-- 
Nuno J. Silva
gopher://sdf-eu.org/1/users/njsg




Re: [gentoo-user] KDE 4.4.4 system settings - fonts never display

2010-07-12 Thread Mick
On Monday 12 July 2010 19:28:46 Bill Longman wrote:
 Have I just misconfigured several of my KDE boxes or is there a problem
 with KDE 4.4.4's system settings? The font installer worked fine in 4.3,
 but whenever I go into system settings and try to get a list of the
 fonts, it's just a blank box, whether I choose personal or system fonts.
 
 No amount of STFW has yet to yield to me a suitable place to look for
 further answers.
 
 TIA.
 
 --
 Bill
 
 Ἐν ἀρχή ἠν ὁ λόγος

I can't point you to a solution, but can confirm that KDE-4.4.4 fonts work 
fine here - only the 'Personal Fonts' category is empty (because I have not 
setup any).  'All Fonts', 'System Fonts' and 'Unclassified Fonts' categories, 
show fonts in them.

(και ο λογος ην προς τον θεον)
-- 
Regards,
Mick


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


Re: [gentoo-user] Unicode Fonts in xfce4-terminal

2010-07-12 Thread Bill Longman
On 07/12/2010 01:38 PM, Andy Wilkinson wrote:
 On 07/12/2010 12:09 PM, Bill Longman wrote:
 Try en_US.UTF-8 instead.


   
 That did it.  Thanks!
 
 I am confused, though.  Why am I setting LANG, etc, to en_US.UTF-8
 when locale -a says en_US.utf8?

That's probably what the kernel thinks. If you look at the NLS stuff in
the kernel, it uses utf8 instead of the usual UTF-8 syntax, which,
according to the never-incorrect archives on Wikipedia, states is the
official name.

I might be all wet, but that's the only place that I'm familiar with
that uses utf8.

--
Bill
Lost a character set, has he? How embarassing. How embarassing.



Re: [gentoo-user] KDE 4.4.4 system settings - fonts never display

2010-07-12 Thread Bill Longman
On 07/12/2010 01:52 PM, Mick wrote:
 On Monday 12 July 2010 19:28:46 Bill Longman wrote:
 Have I just misconfigured several of my KDE boxes or is there a problem
 with KDE 4.4.4's system settings? The font installer worked fine in 4.3,
 but whenever I go into system settings and try to get a list of the
 fonts, it's just a blank box, whether I choose personal or system fonts.

 No amount of STFW has yet to yield to me a suitable place to look for
 further answers.

 TIA.

 --
 Bill

 Ἐν ἀρχή ἠν ὁ λόγος
 
 I can't point you to a solution, but can confirm that KDE-4.4.4 fonts work 
 fine here - only the 'Personal Fonts' category is empty (because I have not 
 setup any).  'All Fonts', 'System Fonts' and 'Unclassified Fonts' categories, 
 show fonts in them.

Well, my system that I use most often doesn't seem to have a problem but
all my other ones, since the upgrade, show no fonts. Maybe something
fixed this one, (-NDu world last week?), but now it's fine.

 (και ο λογος ην προς τον θεον)

And this is how I know, because I was trying to load the GFS Decker
fonts on my home machines but couldn't! And I was reading Jeremiah, not
John. :-)




Re: [gentoo-user] Unicode Fonts in xfce4-terminal

2010-07-12 Thread Mick
On Monday 12 July 2010 21:58:35 Bill Longman wrote:
 On 07/12/2010 01:38 PM, Andy Wilkinson wrote:
  On 07/12/2010 12:09 PM, Bill Longman wrote:
  Try en_US.UTF-8 instead.
  
  That did it.  Thanks!
  
  I am confused, though.  Why am I setting LANG, etc, to en_US.UTF-8
  when locale -a says en_US.utf8?

Because the /etc/logale.gen file tells us:

# Where locale is a locale located in /usr/share/i18n/locales/ and
# where charmap is a charmap located in /usr/share/i18n/charmaps/.

and in /usr/share/i18n/charmaps/ you will find:

UTF-8.gz

The next comment says:

# For the default list of supported combinations, see the file:
# /usr/share/i18n/SUPPORTED

which shows:  en_US.UTF-8

 That's probably what the kernel thinks. If you look at the NLS stuff in
 the kernel, it uses utf8 instead of the usual UTF-8 syntax, which,
 according to the never-incorrect archives on Wikipedia, states is the
 official name.
 
 I might be all wet, but that's the only place that I'm familiar with
 that uses utf8.


-- 
Regards,
Mick


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


Re: [gentoo-user] Unicode Fonts in xfce4-terminal

2010-07-12 Thread Bill Longman
On 07/12/2010 01:38 PM, Andy Wilkinson wrote:

 For now I am happy that it works.  Thanks again.
 
 -Andy

For what it's worth, Andy, here's my setup:

/etc/locale.gen has:

en_US ISO-8859-1
en_US.UTF-8 UTF-8
el_GR.UTF-8 UTF-8
el_GR ISO-8859-7


and in /etc/env.d/02locale I have:

LANG=en_US.UTF-8

And it all just works. I have the default codepage/NLS set to utf8 in
my kernels, too, but I don't create files with Greek names. Not yet,
anyway, and I really don't plan on it. Switching keyboard layouts is
hard enough in the editor. Ever try to run λσ -λ in bash?





Re: [gentoo-user] PS/2 mouse on a USB adaptor

2010-07-12 Thread Paul Hartman
On Mon, Jul 12, 2010 at 3:01 PM, Mick michaelkintz...@gmail.com wrote:
 Hi All,

 I have connected a conventional PS/2 mouse to a USB socket using this adaptor:

 http://www.amazon.co.uk/StarTech-com-Replacement-Mouse-USB-
 Adapter/dp/B0006G2OVG/ref=sr_1_6/275-4357142-7474332?ie=UTF8s=electronicsqid=1278964492sr=8-6

 Unfortunately, it is not recognised by the kernel:

 hub 2-0:1.0: unable to enumerate USB device on port 1

 I also tried it on a Ubuntu laptop but it did not register at all.

 What do I need to get it going?

In my experience, the small PS/2 to USB mouse adapters like that do
not contain a controller chip and only work on USB-compatible PS/2
mice. Those mice typically came with a USB adapter in the first place,
so if yours didn't it could be that you're fighting a losing battle.

The larger Y-shaped keyboard/mouse-to-USB adapters usually support
non-USB-compatible PS/2 mice, though. I have one like this and it
works for me:
http://www.dealextreme.com/details.dx/sku.9291

FWIW :)



Re: [gentoo-user] PS/2 mouse on a USB adaptor

2010-07-12 Thread Kyle Bader
Maybe you need a powered adapter like the one you need for a classic model m?

Can't think of the brand I've seen offhand :/

On 7/12/10, Mick michaelkintz...@gmail.com wrote:
 Hi All,

 I have connected a conventional PS/2 mouse to a USB socket using this
 adaptor:

 http://www.amazon.co.uk/StarTech-com-Replacement-Mouse-USB-
 Adapter/dp/B0006G2OVG/ref=sr_1_6/275-4357142-7474332?ie=UTF8s=electronicsqid=1278964492sr=8-6

 Unfortunately, it is not recognised by the kernel:

 hub 2-0:1.0: unable to enumerate USB device on port 1

 I also tried it on a Ubuntu laptop but it did not register at all.

 What do I need to get it going?
 --
 Regards,
 Mick


-- 
Sent from my mobile device


Kyle



[gentoo-user] Re: viewing .m4v files with totem

2010-07-12 Thread walt
On 07/11/2010 07:42 PM, Allan Gottlieb wrote:

 ajglap video # file Game_Theory_Lect_20_s.*
 Game_Theory_Lect_20_s.avi: RIFF (little-endian) data, AVI, 320 x 240, ~30 
 fps, video: FFMpeg MPEG-4, audio: MPEG-1 Layer 1 or 2 (stereo, 44100 Hz)

Okay, the above is the avi file you made by using ffmpeg to conver the m4v
file below, right?

 Game_Theory_Lect_20_s.m4v: ISO Media, MPEG v4 system, iTunes AVC-LC

I had no idea what the ISO Media format is, so I read about it here:

http://en.wikipedia.org/wiki/ISO_base_media_file_format

Now I know almost as much as I knew before :p

This excerpt seems significant to me, however:  ISO base media file format
is directly based on Apple’s QuickTime container format.  That makes sense
because iTunes is mentioned in the same breath as ISO Media.

My theory is that Steve Jobs is now riding high and wants to displace M$
as the 800-pound-standards-dictating gorilla.

Apple has always been smarter than M$, so I'd rather see Apple dictating
standards, but dictators are still dictators, and Jobs is as ferociously
closed-shop as Gates and Ballmer ever were.  (When is google going to
publish an extensible open-source multimedia format?  Android almost forces
them to do it, IMHO.)

 What does totem say when you play your m4v file?
 
 gottl...@ajglap /a/video $ totem Game_Theory_Lect_20_s.m4v 
 bt_audio_service_open: connect() failed: Connection refused (111)

I haven't a clue what that means, unless maybe any multimedia file
from iTunes wants to authenticate with an iTunes server before the
file can be played?  I have no idea.

Anyone else?







Re: [gentoo-user] anyone using Lilo to dual-boot ? -- solved

2010-07-12 Thread Philip Webb
100712 Mick wrote:
 I must have installed at least 3 Ubuntus in the last 6 months,
 all of them on reiserfs.  No problem booting them.
 
   image=/boot/your_Ubuntu_image
  label=Ubuntu
  append=ramdisk_size=290
  vga=normal
  initrd=/boot/your_ubuntu_initrd.gz
  read-only
  root=/dev/sda8
 
 I don't use LILO so check the above to make sure there are no errors
 and adjust it to your circumstances.

Thanks, that solved the problem, given that I had identified it
as arising from Ubuntu not recognising ReiserFS.
I added the 'initrd=...' line  booted into Ubuntu successfully;
Gentoo doesn't require that line, perhaps because I use no kernel modules.
BTW the Ubuntu ramdisk needs  7,9 MB   Lilo issues a warning
(I didn't use your 'append/vga' lines).

From my bit of experience so far, Ubuntu does look good for a beginner.

-- 
,,
SUPPORT ___//___,   Philip Webb
ELECTRIC   /] [] [] [] [] []|   Cities Centre, University of Toronto
TRANSIT`-O--O---'   purslowatchassdotutorontodotca




[gentoo-user] Evdev keyboard no longer works

2010-07-12 Thread Albert Hopkins
Suddenly my multimedia keys stopped working, I think today.  I went into
gnome-keyboard-properties, and it shows that my keyboard model is set to
Unknown.  For a long time it has always been set to Evdev managed
keyboard but that isn't even on the list anymore.  The keyboard
shortcuts preferences no longer recognize these keys when pressed.

I can't see anything that I upgraded recenlty that could have changed
this.  I did update gnome-applets to 2.30.0 today, but downgrading back
to 2.28 didn't bring the evdev model back.

Anyone else experience this or have a clue as to what could have
changed?






Re: [gentoo-user] OT: tool for reading /etc/conf.d/net?

2010-07-12 Thread Iain Buchanan
On Thu, 2010-07-08 at 15:06 +0300, Amit Dor-Shifer wrote:
 Can anyone recommend a tool that can parse networking info from a/m 
 file, so one can use it to query, e.g. what is the static IP configured 
 on eth0?
 Amit
 

I'm a bit slow in replying, but there's a Google SOC project to
integrate NetworkManager with Gentoo config files.  Last time I looked
it seemed to be mostly working.  There's a blog somewhere *looking*
http://qiaomuf.wordpress.com/

try that out.  Don't think there's a command line interface to NM though
so don't know how your parsing will go...

-- 
Iain Buchanan iaindb at netspace dot net dot au

It's God.  No, not Richard Stallman, or Linus Torvalds, but God.
(By Matt Welsh)




Re: [gentoo-user] Re: viewing .m4v files with totem

2010-07-12 Thread Allan Gottlieb
walt w41...@gmail.com writes:

 On 07/11/2010 07:42 PM, Allan Gottlieb wrote:

 ajglap video # file Game_Theory_Lect_20_s.*
 Game_Theory_Lect_20_s.avi: RIFF (little-endian) data, AVI, 320 x 240, ~30 
 fps, video: FFMpeg MPEG-4, audio: MPEG-1 Layer 1 or 2 (stereo, 44100 Hz)

 Okay, the above is the avi file you made by using ffmpeg to conver the m4v
 file below, right?

Correct.

 Game_Theory_Lect_20_s.m4v: ISO Media, MPEG v4 system, iTunes AVC-LC

 I had no idea what the ISO Media format is, so I read about it here:

 http://en.wikipedia.org/wiki/ISO_base_media_file_format

 Now I know almost as much as I knew before :p

 This excerpt seems significant to me, however:  ISO base media file format
 is directly based on Apple’s QuickTime container format.  That makes sense
 because iTunes is mentioned in the same breath as ISO Media.

 My theory is that Steve Jobs is now riding high and wants to displace M$
 as the 800-pound-standards-dictating gorilla.

 Apple has always been smarter than M$, so I'd rather see Apple dictating
 standards, but dictators are still dictators, and Jobs is as ferociously
 closed-shop as Gates and Ballmer ever were.  (When is google going to
 publish an extensible open-source multimedia format?  Android almost forces
 them to do it, IMHO.)

 What does totem say when you play your m4v file?
 
 gottl...@ajglap /a/video $ totem Game_Theory_Lect_20_s.m4v 
 bt_audio_service_open: connect() failed: Connection refused (111)

 I haven't a clue what that means, unless maybe any multimedia file
 from iTunes wants to authenticate with an iTunes server before the
 file can be played?  I have no idea.

 Anyone else?

This file is a freebee lecture from the teaching company (I buy many of
their lectures, but only the audio versions, which are straight mp3).

I think the msg is

1.  You can play some m4v's.
2.  This particular m4v involves iTunes (I assume other m4v's, in
particular the ones you can watch with totem) do not involve iTunes.

totem can't play it but ffmpeg can convert it (poorly).

Perhaps when the heat spell is over and I can justify putting on the AC
in my NYU office, I will re-power-on the desktop there, and put the files on
the internet.  Then I could send a bug to bugs.gentoo.org.

thanks again for your help.
allan




[gentoo-user] firefox crashes when printing (with workaround)

2010-07-12 Thread Allan Gottlieb
Firefox testing (3.3.6) reliably crashes when trying to print, print
preview or page setup with cups-1.4.4.

A workaround is to downgrade to cups-1.3.11-r1 (current stable).

The details are in these two bugs
http://bugs.gentoo.org/show_bug.cgi?id=325469
https://bugzilla.mozilla.org/show_bug.cgi?id=573039

allan



[gentoo-user] Fails to compile dev-lang/python-3.1.2-r4

2010-07-12 Thread Blackdream W
https://bugs.gentoo.org/show_bug.cgi?id=328047

I'm using ~amd64,and I sync my portage tree just now,but I couldn't upgrade
to dev-lang/python-3.1.2-r4.

UnicodeDecodeError: 'ascii' codec can't decode byte 0xe4 in position 1:
ordinal not in range(128)


any help?thx


Re: [gentoo-user] Fails to compile dev-lang/python-3.1.2-r4

2010-07-12 Thread Zhu Sha Zang
I see this error when i'm trying to compile my python source codes in  
eric4/eric5 and my system are with uncorrect locales.


Your locale are corect?

att

Em Tue, 13 Jul 2010 02:03:35 -0300, Blackdream W  
blackdream1...@gmail.com escreveu:



https://bugs.gentoo.org/show_bug.cgi?id=328047

I'm using ~amd64,and I sync my portage tree just now,but I couldn't  
upgrade

to dev-lang/python-3.1.2-r4.

UnicodeDecodeError: 'ascii' codec can't decode byte 0xe4 in position 1:
ordinal not in range(128)


any help?thx



--

how much i think, how much i observe, how much i cry


humans act like idiots and need die




Re: [gentoo-user] Fails to compile dev-lang/python-3.1.2-r4

2010-07-12 Thread Blackdream W
cat /etc/locale.gen

en_US ISO-8859-1
en_US.UTF-8 UTF-8

2010/7/13 Zhu Sha Zang zhushaz...@yahoo.com.br

 I see this error when i'm trying to compile my python source codes in
 eric4/eric5 and my system are with uncorrect locales.

 Your locale are corect?

 att

 Em Tue, 13 Jul 2010 02:03:35 -0300, Blackdream W blackdream1...@gmail.com
 escreveu:


  https://bugs.gentoo.org/show_bug.cgi?id=328047

 I'm using ~amd64,and I sync my portage tree just now,but I couldn't
 upgrade
 to dev-lang/python-3.1.2-r4.

 UnicodeDecodeError: 'ascii' codec can't decode byte 0xe4 in position 1:
 ordinal not in range(128)


 any help?thx



 --

 how much i think, how much i observe, how much i cry


 humans act like idiots and need die