Re: [gentoo-user] trouble starting bash

2010-02-07 Thread Willie Wong
On Sun, Feb 07, 2010 at 09:35:54AM -0500, David Relson wrote:
> Looking in /etc/mtab, the last line is:
> 
>none /dev/pts devpts rw 0 0
> 
> Perhaps the mount devpts command should have been issued as part of
> emerging udev, openrc, or sysinit ???  Should this be reported to
> b.g.o.??

Odd, that's one of the two things  /etc/init.d/devfs is supposed to
do. (The other is to mount tmpfs.) The whole point of that script is
to provide those two filesystems in case the user "forgot" to specify
them in /etc/fstab.

If this is reproducible (say, after next reboot devpts still doesn't
come up, while devfs is started), then something is wrong. Filing a
bug report likely won't help because it works on mostly everyone
else's system; you should probably ping the list again to find out
what the source of the problem is. 

A work around would be to just add the appropriate line to /etc/fstab.
the devfs script is smart enough to check if the devpts and tmpfs are
already mounted, so it should break anything additional.

Cheers,

W
-- 
Willie W. Wong ww...@math.princeton.edu
Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire 
 et vice versa   ~~~  I. Newton



Re: [gentoo-user] 1-Terabyte drives - 4K sector sizes? -> bar performance so far

2010-02-07 Thread Willie Wong
On Sun, Feb 07, 2010 at 08:27:46AM -0800, Mark Knecht wrote:
> 
> 4KB physical sectors: KNOW WHAT YOU'RE DOING!
> 
> Pros: Quiet, cool-running, big cache
> 
> Cons: The 4KB physical sectors are a problem waiting to happen. If you
> misalign your partitions, disk performance can suffer. I ran
> benchmarks in Linux using a number of filesystems, and I found that
> with most filesystems, read performance and write performance with
> large files didn't suffer with misaligned partitions, but writes of
> many small files (unpacking a Linux kernel archive) could take several
> times as long with misaligned partitions as with aligned partitions.
> WD's advice about who needs to be concerned is overly simplistic,
> IMHO, and it's flat-out wrong for Linux, although it's probably
> accurate for 90% of buyers (those who run Windows or Mac OS and use
> their standard partitioning tools). If you're not part of that 90%,
> though, and if you don't fully understand this new technology and how
> to handle it, buy a drive with conventional 512-byte sectors!
> 
> 
>Now, I don't mind getting a bit dirty learning to use this
> correctly but I'm wondering what that means in a practical sense.
> Reading the mke2fs man page the word 'sector' doesn't come up. It's my
> understanding the Linux 'blocks' are groups of sectors. True? If the
> disk must use 4K sectors then what - the smallest block has to be 4K
> and I'm using 1 sector per block? It seems that ext3 doesn't support
> anything larger than 4K?

The problem is not when you are making the filesystem with mke2fs, but
when you partitioned the disk using fdisk. I'm sure I am making some
small mistakes in the explanation below, but it goes something like
this:

a) The harddrive with 4K sectors allows the head to efficiently
read/write 4K sized blocks at a time. 
b) However, to be compatible in hardware, the harddrive allows 512B
sized blocks to be addressed. In reality, this means that you can
individually address the 8 512B-sized chunks of the 4K sized blocks,
but each will count as a separate operation. To illustrate: say the
hardware has some sector X of size 4K. It has 8 addressable slots
inside X1 ... X8 each of size 512B. If your OS clusters read/writes on
the 512B level, it will send 8 commands to read the info in those 8
blocks separately. If your OS clusters in 4K, it will send one
command. So in the stupid analysis I give here, it will take 8 times
as long for the 512B addressing to read the same data, since it will
take 8 passes, and each time inefficiently reading only 1/8 of the
data required. Now in reality, drives are smarter than that: if all 8
of those are sent in sequence, sometimes the drives will cluster them
together in one read. 
c) A problem occurs, however, when your OS deals with 4K clusters but
when you make the partition, the partition is offset! Imagine the
physical read sectors of your disk looking like



but when you make your partitions, somehow you partitioned it



This is possible because the drive allows addressing by 512K chunks.
So for some reason one of your partitions starts halfway inside a
physical sector. What is the problem with this? Now suppose your OS
sends data to be written to the  block. If it were completely
aligned, the drive will just go kink-move the head to the block, and
overwrite it with this information. But since half of the block is
over the  phsical sector, and half over , what the disk now
needs to do is to 

pass 1) read 
pass 2) modify the second half of  to match the first half of 
pass 3) write 
pass 4) read 
pass 5) modify the first half of  to match the second half of 
pass 6) write 

Or what is known as a read-modify-write operation. Thus the disk
becomes a lot less efficient. 

--

Now, I don't know if this is the actual problem is causing your
performance problems. But this may be it. When you use fdisk, it
defaults to aligning the partition to cylinder boundaries, and use the
default (from ancient times) value of 63 x (512B sized) sectors per
track. Since 63 is not evenly divisible by 8, you see that quite
likely some of your partitions are not aligned to the physical sector
boundaries. 

If you use cfdisk, you can try to change the geometry with the command
g. Or you can use the command u to change the units used in the
partitioning to either sectors or megabytes, and make sure your
partition sizes are a multiple of 8 in the former, or an integer in
the latter. 

Again, take what I wrote with a grain of salt: this information came
from the research I did a little while back after reading the slashdot
article on this 4K switch. So being my own understanding, it may not
completely be correct. 

HTH, 

W
-- 
Willie W. Wong ww...@math.princeton.edu
Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire 
 et v

Re: [gentoo-user] Problem configuring Intel Wireless 5300 device

2010-02-07 Thread Willie Wong
On Sun, Feb 07, 2010 at 07:21:20PM +0100, Shoka wrote:
> I got stuck when trying to get the Intel Wireless 5300 device running. 
> I'm using the 2.6.31.gentoo-r6 kernel source and have tried several 
> configuration options for getting this driver to work.
> 
> The gentoo os is running on a lenovo x200 notebook.
> 
> It seems that the iwlagn module doesn't get compiled at all. When trying 
> to run "modprobe iwlagn" I get the message "Module iwlagn not found". 
> The device is properly recognized when using the Gentoo Live CD. There 
> it uses the iwlagn module. So it should be possible to configure the 
> kernel to do the same.

You said that the module didn't get compiled: did you configure the
kernel to include it?

> I have found this forum post about configuring the 5300 device, but this 
> guy used the 2.6.30-gentoo-r6 kernel source and it looks like the kernel 
> config options in menuconfig have changed. I cannot find a kernel config 
> option called "Intel Wireless WiFi Next Gen AGN (iwlagn)".

If you are in menuconfig, you can always hit / to bring up the search
screen, and type in IWL as your search string. 

In 2.6.31-gentoo-r9, go to 

Device Drivers -> Network device support -> Wireless LAN -> Wireless
LAN (IEEE 802.11) -> Intel Wireless Wifi

to enable IWLWIFI first, and then you should be able to see the
Wireless WiFi Next Gen AGN option. 

Cheers, 

W
-- 
Willie W. Wong ww...@math.princeton.edu
Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire 
 et vice versa   ~~~  I. Newton



Re: [gentoo-user] 1-Terabyte drives - 4K sector sizes? -> bar performance so far

2010-02-07 Thread Willie Wong
On Sun, Feb 07, 2010 at 01:42:18PM -0800, Mark Knecht wrote:
>OK - it turns out if I start fdisk using the -u option it show me
> sector numbers. Looking at the original partition put on just using
> default values it had the starting sector was 63 - probably about the
> worst value it could be. As a test I blew away that partition and
> created a new one starting at 64 instead and the untar results are
> vastly improved - down to roughly 20 seconds from 8-10 minutes. That's
> roughly twice as fast as the old 120GB SATA2 drive I was using to test
> the system out while I debugged this issue.

That's good to hear. 
 
>I'm still a little fuzzy about what happens to the extra sectors at
> the end of a track. Are they used and I pay for a little bit of
> overhead reading data off of them or are they ignored and I lose
> capacity? I think it must be the former as my partition isn't all that
> much less than 1TB.

As far as I know, you shouldn't worry about it. The
head/track/cylinder addressing is a relic of an older day. Almost all
modern drives should be accessed via LBA. If interested, take a look
at the wikipedia entry on Cylinder-Head-Sector and Logical Block
Addressing. 

Basically, you are not losing anything. 

Cheers, 

W
-- 
Willie W. Wong ww...@math.princeton.edu
Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire 
 et vice versa   ~~~  I. Newton



Re: [gentoo-user] Re: When is a disk not a disk?

2010-02-08 Thread Willie Wong
On Mon, Feb 08, 2010 at 04:25:17AM +0200, Nikos Chantziaras wrote:
> You said that Google didn't help, but still, I've found some info about 
> it.  In short, I've found two things:
> 
> a) "cfdisk" might work while "fdisk" does not.

Interesting. My personal experience has been the opposite: cfdisk
writes (and demands) better formed partition tables, so sometimes crap
that fdisk can read/write will not work with cfdisk. But of course,
YMMV. Since we are bringing up alternative fdisk programs, what about
sfdisk? I wouldn't put money on it, but it won't hurt to try. 

W
-- 
Willie W. Wong ww...@math.princeton.edu
Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire 
 et vice versa   ~~~  I. Newton



Re: [gentoo-user] 1-Terabyte drives - 4K sector sizes? -> bar performance so far

2010-02-08 Thread Willie Wong
On Tue, Feb 09, 2010 at 01:05:11AM +0100, Frank Steinmetzger wrote:
> Am Sonntag, 7. Februar 2010 schrieb Mark Knecht:
> 
> > Hi Willie,
> >OK - it turns out if I start fdisk using the -u option it show me
> > sector numbers. Looking at the original partition put on just using
> > default values it had the starting sector was 63
> 
> Same here.
> 
> > - probably about the worst value it could be.
> 
> Hm what about those first 62 sectors?

It is possible you can use some of those; I never tried. That's a
negligible amount of space on modern harddrives anyway. And actually,
starting on sector number 63 means that you are skipping 63 sectors,
not 62, since LBA numbering starts with 0. 

Historically there is a reason for all drives coming with default
formatting with the first partition at section 63. Sector 0 is the
MBR, which you shouldn't overwrite. MSDOS and all Windows up to XP
requires the partitions be aligned on Cylinder boundary. So it is
safest to just partition the drive, by default, such that the first
partition starts at LBA 63, or the 64th sector, or the first sector of
the second cylinder. 

Actually, this is why Western Digital et al are releasing this flood
of 4K physical sector discs now. Windows XP has been EOLed and Vista
and up supports partitioning not on cylinder boundary. If Windows XP
still had support, this order of magnitude inefficiency wouldn't have
been overlooked by most consumers. 

> I bought this 500GB drive for my laptop recently and did a fresh partitioning 
> scheme on it, and then rsynced the filesystems of the old, smaller drive onto 
> it. The first two partitions are ntfs, but I believe they also use cluster 
> sizes of 4k by default. So technically I could repartition everything and 
> then restore the contents from my backup drive.

Are you sharing the harddrive with a Windows operating system?
Especially Windows XP? There are reports that Windows XP supports
partitioning not aligned to cylinder boundary. However, if you are
dual booting you will almost surely be fscked if you try that. I had
some fun earlier last year when I did everything else right but
couldn't figure out why my laptop tells me it cannot find the
operating system when I tried to dual boot. 

> Though the result justifies your decision, I would have though one has to 
> start at 65, unless the disk starts counting its sectors at 0.

I've always assumed by default that computer programmers starts
counting at 0. Mathematicians, on the other hand, varies: analysts
start at 0 or minus infinity; number theorists at 1; algebraists at 1
for groups but 0 for rings; and logicians start counting at the empty
set. :)

Cheers, 

W
-- 
Willie W. Wong ww...@math.princeton.edu
Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire 
 et vice versa   ~~~  I. Newton



Re: [gentoo-user] How the HAL are you supposed to use these files?

2010-02-09 Thread Willie Wong
On Tue, Feb 09, 2010 at 02:16:15AM -0600, Dale wrote:
> Simpler than that, just add -hal to xorg stuff in package.use and then 
> run emerge -uvDNa world.  It will rebuild a couple things, maybe even 
> just xorg, then everything is back to the old way.  This allows hal to 
> be their for other things where it does work but it disables it where it 
> doesn't work.
> 
Don't you also need to find yourself a working xorg.conf? I seem to be
under the impression that the OP has a recently built new system.

"Xorg -configure" usually gives a working configuration file. Unless
you have nonstandard input devices or if you need to tweak the
settings for graphics and display. 

The good thing is: you only need to set it up once and forget about
it. The bad thing is: you only set it up once and forget about it, so
the next time you install a new system you have to read the man page
again. 

Cheers, 

W
-- 
Willie W. Wong ww...@math.princeton.edu
Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire 
 et vice versa   ~~~  I. Newton



Re: [gentoo-user] emerge older version

2010-02-09 Thread Willie Wong
On Tue, Feb 09, 2010 at 08:39:45PM +0100, Laurent Kappler wrote:
> I'm using Haxe/Neko and we have a wrapper for ImageMagick, but as no one 
> did really use it often the last version is made for IM 6.4.7.
> So I might download the ebuild 6.4.5 in a hurry, then we will update the 
> Haxe library.

I know nothing about the Haxe language, but google suggests that there
is a library called nmagick which ports the IM library to haXe and
Neko platforms. Maybe you don't need to write your own wrapper?

Cheers, 

W
-- 
Willie W. Wong ww...@math.princeton.edu
Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire 
 et vice versa   ~~~  I. Newton



[gentoo-user] Two problems with xdg-open

2010-02-12 Thread Willie Wong
Hi list:

What exactly is xdg-open and how to I configure it to do what I want?

The question came up because I am using jabref, a Java based bibtex
management system. On my home machine, when I tried to open a PDF
file, java throws a file-not-found error on "xdg-open". But I have
xdg-utils installed, and xdg-open is found in /usr/bin. Right now I
have gotten around the problem by configuring jabref explicitly to use
xpdf to load PDF files. For all I know this is probably a
environment/PATH issue in the load script for jabref. 

I took a look at the man page for xdg-open, and find the concept
intriguing. The idea seems useful. But how does one go about "setting
the default" programs for various documents?

If I try to issue "xdg-open file.pdf", it tries to load firefox, which
then asks me where to save the pdf file. This is rather obviously not
the desired behaviour. Maybe I'm blind or something, but I don't see
anything in the man page about how it determines what is the user's
preferred application.

Cheers, 

W
-- 
Willie W. Wong ww...@math.princeton.edu
Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire 
 et vice versa   ~~~  I. Newton



Re: [gentoo-user] How the HAL are you supposed to use these files?

2010-02-12 Thread Willie Wong
On Fri, Feb 12, 2010 at 09:15:59PM +0100, Volker Armin Hemmann wrote:
> > > as browser - or file manager. And to load the right kpart. Oh - and that
> > > loading of kparts? The messages are sent by dbus.
> > 
> > I don't have konqueror nor do I use KDE/Gnome. And never will.

> then why do you even care about dbus?

I don't use KDE/Gnome. But I care about dbus because my (new)
preferred network manager--wicd--requires it. Not that I mind having
it: in fact I find it possibly a useful piece of software. But I just
want to be show that it is possible for someone who doesn't even use X
to be affected by dbus. 

Cheers, 

W

-- 
Willie W. Wong ww...@math.princeton.edu
Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire 
 et vice versa   ~~~  I. Newton



Re: [gentoo-user] Two problems with xdg-open

2010-02-13 Thread Willie Wong
On Fri, Feb 12, 2010 at 11:25:07PM -0500, Albert Hopkins wrote:
> It's a simple bash script.  There's no magic.  Take a peek at it.

Heh, somehow it didn't occur to me that might be the case. Thanks.

So after reading the script, xdg-open is not for me since I do not use
a well known DE.

Cheers, 

W
-- 
Willie W. Wong ww...@math.princeton.edu
Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire 
 et vice versa   ~~~  I. Newton



Re: [gentoo-user] How the HAL are you supposed to use these files?

2010-02-13 Thread Willie Wong
On Sat, Feb 13, 2010 at 11:17:01AM +0100, pk wrote:
> Yes, but... As I see it this is mainly a convenience to the programmer
> and no benefits to the users. Which, if I extrapolate, leads to todays
> "nice" GUIs/DEs that can sing and dance and includes the proverbial
> "kitchen sink".
>  I use gentoo in order to decide for myself what I need and don't need,
> in order to maximise my benefit from a linux installation; that means I
> need to weigh the benefit of a certain function/app against the hardware
> requirements. If I add another thing that runs in the background
> (daemon) it does steal resources (however small) and it has to have some
> benefit to me in order for me to think it worth it.

Neil, Peter, Alan: Can we end this thread please? There's gotta be a
threefold repetition rule a la chess for mailing lists. It was fun when
each of you were giving your understanding (or lack of) on what dbus
is and how it works. But when it degenerates to a cycle of "finding
more examples to illustrate earlier point" and "telling other party to
read previous posts", you are really just generating phantom traffic
for the list. 

So why don't y'all just take a deep breath, step away from the
computer, go and get some Chinese food (the New Year is tomorrow), and
try to remember to send flowers to your loved ones? I'm sure grumpy
somebodies are less fun to deal with than invisible grumpy geeks. 

Cheers, 

W
-- 
Willie W. Wong ww...@math.princeton.edu
Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire 
 et vice versa   ~~~  I. Newton



Re: [gentoo-user] Dual booting Dell with Windows 7

2010-02-13 Thread Willie Wong
On Sat, Feb 13, 2010 at 03:09:35PM +, Mick wrote:
> I bought a Dell XPS laptop which seems to have 3 primary partitions.  The 
> third partition is where Windows 7 resides, while the second partition is 
> flagged as bootable.  The first partition contains some Dell (recovery) 
> tools.  
> I am lead to believe that the second partition is the back up partition and 
> is 
> meant to be used to restore the OS in the third partition.  This confuses me 
> a 
> bit - shouldn't the third partition which houses the OS be flagged as 
> bootable 
> instead?

Take a look at this
http://lifehacker.com/5403100/dual+boot-windows-7-and-ubuntu-in-perfect-harmony
Apparently you can now re-size online partitions with Windows 7 itself. 

Google also suggests you can chainload Windows 7 in the usual way using
grub. 

W
-- 
Willie W. Wong ww...@math.princeton.edu
Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire 
 et vice versa   ~~~  I. Newton



Re: [gentoo-user] Adding dependencies in init scripts

2010-02-14 Thread Willie Wong
Damian:

On Sun, Feb 14, 2010 at 12:56:14PM +0100, Damian wrote:
> I understand, but that isn't what I want, because when I boot up, I
> don't always start up mpd.
>
> > Maybe a combination of both
> >
> > rc_after="mpdscrible"
> > rc_need="mpdscrible"
> >
> > in /etc/conf.d/mpd could also work.
> That's the problem. No matter what I put in  /etc/conf.d/mpd the init
> script seems to ignore it. Even if I write
> rc_need="more money"
> it will be ignored. Although the config file is read when I restart mpd.

I am getting rather confused by this back and forth (I thought I
understood what you wanted and Dirk and other's answers should be
right, but now I am not so sure). Can you answer the following for me
just to make sure we are on the same page?

(a) What is mpdscribble? My understanding is that it is a service that
tells other things what is currently playing on mpd? That it is
actually a client of mpd? Is it actually a daemon/service?

(b) What actually is the desired behaviour? From the last e-mail I am
under the impression you don't always want to have the mpd daemon
running, but you want to be able to bring up /etc/init.d/mpd and
automatically have mpdscribble started? Can you give me a description
of what commands you want to execute and what you want to accomplish
with those?

(c) I noticed that in your previous e-mail you spelled it mpdscrible
with only one b. Is that a typo in the e-mail, or is it actually how
you have it in /etc/conf.d/mpd? emerge --search suggests that
mpdscribble is spelled with two b's.

(d) What versions of openrc and baselayout are you using?

Cheers, 

W

-- 
Willie W. Wong ww...@math.princeton.edu
Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire 
 et vice versa   ~~~  I. Newton



Re: [gentoo-user] Adding dependencies in init scripts

2010-02-14 Thread Willie Wong
On Sun, Feb 14, 2010 at 03:54:10PM +0100, Damian wrote:
> > (d) What versions of openrc and baselayout are you using?
> openrc is not installed, and the baselayout version is 1.12.13.

I am thinking that Dirk's advice maybe OpenRC/baselayout2 specific.
Which is perhaps why those configuration variables gets ignored in
your case. 

One thing you can try is to upgrade. But be sure to follow
http://www.gentoo.org/doc/en/openrc-migration.xml
if you choose to do so. If you leave the system in an inconsistent
state it will fail to boot. 

(Unfortunately, as far as I know, openrc is not terribly well
documented besides the information in /etc/rc.conf ... I'd be happy to
be shown otherwise.)

For baselayout-1, I think you are more or less stuck with
http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=2&chap=4

Cheers, 

W
-- 
Willie W. Wong ww...@math.princeton.edu
Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire 
 et vice versa   ~~~  I. Newton



Re: [gentoo-user] Kernel Error

2010-02-14 Thread Willie Wong
On Sun, Feb 14, 2010 at 08:20:52PM +0100, hp_sebastian wrote:
> On Sun, 14 Feb 2010 13:45:49 -0500 German Lopez Cortina
>  wrote:
> > What can be this
> > 
> > / bin / sh: lzma: command not found
> > make [2]: *** [arch/x86/boot/compressed/vmlinux.bin.lzma] Error 1
> > make [1]: *** [arch/x86/boot/compressed/vmlinux] Error 2
> > make: *** [bzImage] Error 2
> 
> You need app-arch/lzma, app-arch/xz-utils, app-arch/lzma-utils or
> app-arch/p7zip.

Or change the Kernel compression mode (under General Setup in
menuconfig) to something other than lzma.

W

-- 
Willie W. Wong ww...@math.princeton.edu
Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire 
 et vice versa   ~~~  I. Newton



Re: [gentoo-user] 1-Terabyte drives - 4K sector sizes? -> bar performance so far

2010-02-14 Thread Willie Wong
On Mon, Feb 15, 2010 at 01:48:01AM +0100, Frank Steinmetzger wrote:
> Sorry if I reheat a topic that some already consider closed. I used the 
> weekend to experiment on that stuff and need to report my results. Because 
> they startle me a little.
> 
> I first tried different start sectors around sector 63: 63, 64, 66, 68 etc. 
> They showed nearly the same results in speed. So I almost thought that my 
> drive, albeit being new and of high capacity, is not affected by this yet.
> 
> But then I tested my main media partition, which starts in the middle of the 
> disk. I downloaded a portage snapshot and put it into a ramdisk, so reading 
> it would not manipulate measurements. I also copied a 1GB file into that 
> ramdisk to test consecutive writes.
> 
> As a start sector I chose 288816640, which is divisible by 64. The startling 
> result: this gave the lowest performance. If the partition starts in one of 
> the sectors behind it, performance was always better. I repeated the test 
> several times to confirm it. How do you explain this? :-?
> 
> The following table shows the ‘real’ value from the output of the time 
> command. SS means the aforementioned start sector with SS % 64 == 0.
> 
> action SS (1st)   SS (2nd)   SS+2   SS+4   SS+6   SS+8
> -+--+--+--+--+--+--
> untar portage  3m12.517   2m55.916   1m46.663   1m35.341   1m47.829   1m43.677
> rm portage 4m11.109   3m54.950   3m18.820   3m11.378   3m21.804   3m12.433
> cp 1GB file0m21.383   0m13.558   0m14.920   0m12.813   0m13.407   0m13.681

Instead of guessing using this rather imprecise metric, why not just
look up the serial number of your drive and see what the physical
sector size is? If you don't want to open your box, you can usually
get the information from dmesg. 

Only caveat: don't trust the harddrive to report accurate geometry.
This whole issue is due to the harddrives lying about their physical
geometry to be compatible with older versions of Windows. So the
physical sector size listed in dmesg may not be the real one. Which is
why you are advised to look up the model number on the vendor's
website yourself to determine the physical sector size. 

W
-- 
Willie W. Wong ww...@math.princeton.edu
Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire 
 et vice versa   ~~~  I. Newton



Re: [gentoo-user] copy-paste no longer works with (g)vim + OpenOffice

2010-02-16 Thread Willie Wong
On Tue, Feb 16, 2010 at 03:45:30PM -0500, Philip Webb wrote:
> I have updated to the latest stable (G)vim 7.2.303
> & suddenly can no longer copy+paste from Vim into Open Office:
> it doesn't work at all with Gvim & unpredictably with Vim in a Konsole.
> I can copy+paste from Most in a Konsole to Open Office as usual.
> This is on the Fluxbox desktop with Unicode & a generally reliable system.
> I've checked Gentoo bugs & forum, but there's no sign of the problem.

Which copy+paste? The high-light with mouse and middle click to paste
method, or some other one?

Can you copy and paste from (g)vim to another Konsole? To any other
application?

What use-flag did you compile (g)vim with?

> 
> Has anyone else seen this ?  Would anyone care to test it ?
> Could anyone tell me what other pgms/pkgs are involved in copy+paste
> between different apps on a desktop ?  Might it be Poppler ?

Poppler? surely not. Why do you think a PDF renderer would have
anything to do with copy and paste?

W
-- 
Willie W. Wong ww...@math.princeton.edu
Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire 
 et vice versa   ~~~  I. Newton



Re: [gentoo-user] Dual booting Dell with Windows 7

2010-02-17 Thread Willie Wong
On Wed, Feb 17, 2010 at 06:58:16AM +, Mick wrote:
> On Wednesday 17 February 2010 01:12:08 Peter Humphrey wrote:
> > On Monday 15 February 2010 23:45:23 Mick wrote:
> > > If I were to [tell] GRUB to chainload W7 [which} should I point it
> > > to? Dell's partition 2 which has the boot flag, or the main W7 OS
> > > partition 3?
> > 
> > The one with W7 on it, I should have thought, as that's the one you want
> > to start. Why not just try it? And when you find out which partition is
> > which, why not set the bootable flag on the right one? I.e. the one with
> > grub in it.
> 
> I am not sure that I would want to do this.  I recall that MSWindows used to 
> be and it possible still is rather sensitive with needing the boot flag on 
> its 
> partition.  Linux on the other hand is a more advanced OS which does not care 
> where the boot flag is.

If you were to go with the GRUB -> W7 route, I don't think just trying
out the two configurations (don't change boot flags, just try each
partition) would've hurt. The worst that I can imagine is an error
thrown about OS not found.

> Nope.  I mean use the Windows 7 bootloader as the primary bootloader to 
> chainload GRUB from the Gentoo partition.  The MSWindows stays in the MBR as 
> it is now, the GRUB is installed in the Gentoo /boot partition.  MSWindows 
> bootloader chainloads GRUB.
> 
I wish you good luck with your project.

> PPS.  I am making some progress with this (at least in terms of googling) and 
> will report back as soon as I have achieved this MSWindows --> chainloading --
> > Gentoo thing.

Please do write a page on the Wiki (or at least a summary of what you
did to this mailing list). This will be some handy information to
have. 

Cheers, 

W

-- 
Willie W. Wong ww...@math.princeton.edu
Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire 
 et vice versa   ~~~  I. Newton



Re: [gentoo-user] copy-paste no longer works with (g)vim + OpenOffice

2010-02-17 Thread Willie Wong
On Wed, Feb 17, 2010 at 06:42:40AM -0500, Philip Webb wrote:
> > Which copy+paste? high-light with mouse and middle click to paste?
> 
> Yes: are there other methods ? -- it also doesn't work
> if I high-light with 'v' & the (left-)arrow key(s).

In Gnome at least you can high-light with mouse, right click, hit
copy, and go to another window, right click, and hit paste

Is visual mode even suppose to work for this purpose? I don't think
hitting v and moving left and right is suppose to dump the selected
sections into the copy-paste buffer. 
> 
> > Can you copy and paste from (g)vim to another Konsole?
> 
> Yes, no problem.
> 
> > To any other application?
> 
> Yes, to Leafpad, Kwrite, (Xfce) Terminal & Xterm.

So basically the problem is OO then. Can you copy and paste from other
applications to OO?

Perhaps it is a problem with encodings? Years ago I had trouble
occasionally when I try to copy and past stuff from Firefox to Vim in
a rxvt terminal. Then I found out the hiccup is due to 'proper'
apostrophes, commas, and en- and em-dashes. Unicode characters does
not want to be pasted into a non-unicode terminal. 

try emerging (if you don't have it installed already) the little
program 'xsel'. You can use it to manipulate the selection buffers.
Try trouble shooting with it to see what the problem is. 

http://www.vergenet.net/~conrad/software/xsel/xsel.1x.html

HTH, 

W
-- 
Willie W. Wong ww...@math.princeton.edu
Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire 
 et vice versa   ~~~  I. Newton



Re: [gentoo-user] copy-paste no longer works with (g)vim + OpenOffice

2010-02-17 Thread Willie Wong
On Wed, Feb 17, 2010 at 01:18:21PM -0500, Philip Webb wrote:
> I didn't know that one (smile), but only the 1st half works here;
> when I R-click in the OO file, there's no 'paste' option
> & using the 'paste' button on the toolbar gives
> "Requested clipboard format is not available".

Okay, so OO does smart pasting where it also treats formatting I
guess. So this is most likely a bug. 

> > So basically the problem is OO then.
> 
> No ! -- there was no change to OO last weekend, only to (G)vim !

Yes, it is a problem with OO. It is trying to be too smart with the
paste-buffer. Somehow it is not treating the selection as pure text as
it ought to. 

Out of curiosity, does this happen for any text file in gvim or only
those with certain file extensions? I assume it is also a problem when
you just open up vim with an empty buffer and type some random junk
and try to copy and paste that?

No, I don't use OO at all, and much as I'd like to help, I'm not about
to try to install *that* on my underpowered netbook. Actually, I don't
even use gvim: vim in a terminal is good enough for me. 

Hum, just a thought! Do you have vim compiled with the vim-with-x USE
flag? Try toggling it. Part of the flag is supposed to help behaviour
with interaction against X clipboard. 

I am pretty out of ideas otherwise, good luck on your quest, and sorry
for not being more helpful.

Cheers, 

W 

-- 
Willie W. Wong ww...@math.princeton.edu
Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire 
 et vice versa   ~~~  I. Newton



Re: [gentoo-user] [OT] Screen sharing software or similar

2010-02-18 Thread Willie Wong
On Thu, Feb 18, 2010 at 02:15:52PM +0100, Renat Golubchyk wrote:
> My relatives live 200 km away. They have a daughter, and I need to help
> her out with school homework etc. At the moment we cannot do it on a
> regular basis, because doing it over the phone is really difficult and
> time consuming. I thought some screen sharing software would solve
> this. A video conferencing or a VoIP feature would be a nice bonus,
> too. For easy writing I would probably buy graphics tablets since
> writing math formulas or drawing isn't particularly fast or easy with
> keyboard and mouse.
> 
> So, is there some easy-to-use Linux program? I have Linux desktops on
> both ends (Ubuntu and Gentoo), so portability or OS-independence is not
> a requirement.

Skype + gimp/inkscape ?

Use your tablet to draw in any image editing program. Save to file.
Skype has the ability to send file on demand. It will be slightly
slower, but still faster than just talking. I know Skype has a lot of
"Whiteboard" plugins, but they look like they only work for Windows
clients. (Back in the 90s my father and I used to use this internet
voice chat software called Aloha that has whiteboards built-in.) 

Or maybe Coccinella?
http://packages.gentoo.org/package/net-im/coccinella
Its package description says "Jabber Client with Built-in Whiteboard
and VoIP". I've never used it myself. You can probably grok through
the net-im category yourself to find others. 

Cheers, 

W

-- 
Willie W. Wong ww...@math.princeton.edu
Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire 
 et vice versa   ~~~  I. Newton



Re: [gentoo-user] trouble with virtual/jdk

2010-02-19 Thread Willie Wong
On Thu, Feb 18, 2010 at 08:44:21PM -0500, Allan Gottlieb wrote:
> When I run 
>   emerge --ignore-default-opts --pretend --deep --tree --verbose --update 
> --with-bdeps=y world
> 



> !!! The following update has been skipped due to unsatisfied dependencies:
> 
> virtual/jdk:1.5
> 
> !!! All ebuilds that could satisfy "=dev-java/sun-jdk-1.5.0*" have been 
> masked.
> !!! One of the following masked packages is required to complete your request:
> - dev-java/sun-jdk-1.5.0.22 (masked by: dlj-1.1 license(s))
> A copy of the 'dlj-1.1' license is located at '/usr/portage/licenses/dlj-1.1'.
> 
> (dependency required by "virtual/jdk-1.5.0" [ebuild])
> 
> 
> 
> But I don't see why virtual/jdk-1.5.0 is being referenced (it is not 
> installed)

Maybe a deep/build-time dependency of some other program is now
specifying java 1.5 instead of 1.6? Try temporarily accepting the
license and re-run the command to see who is pulling in jdk:1.5? 

W
-- 
Willie W. Wong ww...@math.princeton.edu
Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire 
 et vice versa   ~~~  I. Newton



Re: [gentoo-user] How to get text only console on livecd install

2010-02-19 Thread Willie Wong
On Fri, Feb 19, 2010 at 05:38:06AM -0600, Harry Putnam wrote:
> How can I force a text only console when installing from live cd?
> 
> (This is the most recent livecd for x86 on www.gentoo.org)
> 
> There appears only gentoo or gentoo-nofb...as boot choices and either
> of those ends in a gui.

Heh, that's why I've been using SystemRescueCD to do my gentoo
installs. 

Cheers, 

W 

-- 
Willie W. Wong ww...@math.princeton.edu
Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire 
 et vice versa   ~~~  I. Newton



Re: [gentoo-user] Xmonad, beagle-search, and mime types

2010-02-21 Thread Willie Wong
On Sun, Feb 21, 2010 at 03:45:14PM +0100, Damian wrote:
> So I tried to see how xdg-open works, but the man page didn't give me
> any useful information. The related command, xdg-mime, doesn't work as
> I expected.

I asked a similar question a week or so back. 

> But xdg-open (and therefore beagle-search) still refuses to open jpeg
> images with geeqie.
> 
> Any ideas?

xdg-open is just a shell script. If you are interested, take a look at 
  less `which xdg-open`
and you will be enlightened as to why it is a complete piece of crap
unless you are using KDE, GNOME, or XFCE. (Hint, notice how nowhere in
the script does it read whatever you modified with xdg-mime.)

A possible way to work around it (depends on your application, which,
in your case, is beagle, which I am not familiar with) is to go into
the offending application that is calling xdg-open and see if you can
configure MIME types in there yourself. The application that made me
look this up, Jabref, does allow that configuration. Your mileage can
of course vary. 

Cheers, 

W
-- 
Willie W. Wong ww...@math.princeton.edu
Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire 
 et vice versa   ~~~  I. Newton



Re: [gentoo-user] gnupg fails to decrypt on kmail

2010-02-21 Thread Willie Wong
On Sun, Feb 21, 2010 at 02:50:09PM +, Mick wrote:
> Yesterday I updated my system and after a series of:
> 
>  revdep-rebuild --library libjpeg.so.7
> 
> and
> 
>  revdep-rebuild -v -i
>  
> I thought all was good to go.  Unfortunately, I now noticed that I cannot 
> open 
> encrypted messages anymore and signing mail fails.  This points towards gnupg 
> which I remerged along with all packages I thought might me relevant.  I 
> haven't yet remerged openssl (will try that in a minute) but I am not sure 
> that will help.  It's not just smime but also openpgp that fails.
> 
> Has anyone else noticed this and have you found any fixes for it?

Just a random guess: maybe revdep-rebuild updated to a new version and
configuration files changed? Did you look at the elogs of whatever you
re-emerged yesterday?

Cheers, 

W
-- 
Willie W. Wong ww...@math.princeton.edu
Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire 
 et vice versa   ~~~  I. Newton



Re: [gentoo-user] gnupg fails to decrypt on kmail

2010-02-21 Thread Willie Wong
On Sun, Feb 21, 2010 at 03:32:00PM +, Mick wrote:
> On Sunday 21 February 2010 15:08:28 Willie Wong wrote:
> > On Sun, Feb 21, 2010 at 02:50:09PM +, Mick wrote:
> > > Yesterday I updated my system and after a series of:
> > >
> > >  revdep-rebuild --library libjpeg.so.7
> > >
> > > and
> > >
> > >  revdep-rebuild -v -i
> > >
> > > I thought all was good to go.  Unfortunately, I now noticed that I cannot
> > > open encrypted messages anymore and signing mail fails.  This points
> > > towards gnupg which I remerged along with all packages I thought might me
> > > relevant.  I haven't yet remerged openssl (will try that in a minute) but
> > > I am not sure that will help.  It's not just smime but also openpgp that
> > > fails.
> > >
> > > Has anyone else noticed this and have you found any fixes for it?
> > 
> > Just a random guess: maybe revdep-rebuild updated to a new version and
> > configuration files changed? Did you look at the elogs of whatever you
> > re-emerged yesterday?
> 
> Yes and I ran dispatch-conf for a couple of changes.  However, nothing that I 
> recall was related to encryption:
> 
>  Sat Feb 20 08:05:50 2010 >>> media-libs/jpeg-8
>  Sat Feb 20 08:20:29 2010 >>> media-sound/phonon-4.3.80-r1
>  Sat Feb 20 08:36:37 2010 >>> media-libs/tiff-3.9.2
>  Sat Feb 20 08:39:24 2010 >>> media-libs/libquicktime-1.1.3
>  Sat Feb 20 08:42:15 2010 >>> media-libs/gd-2.0.35-r1
> 
> Anything else I could look into?

Then I am kind of out of ideas. You mentioned that you remerged gnupg:
was there any warnings or logs at the end of the merge? (If you have
it enabled, the logs maybe stored in /var/log/portage/elog/)

You say that smime and openpgp fails, do you have the error message?
It may help other people who know more about this to answer your
question.

Cheers, 

W
-- 
Willie W. Wong ww...@math.princeton.edu
Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire 
 et vice versa   ~~~  I. Newton



Re: [gentoo-user] gnupg fails to decrypt on kmail

2010-02-24 Thread Willie Wong
On Wed, Feb 24, 2010 at 11:31:34AM +, Mick wrote:
> Since invoking gpg on the CLI does not ask for a passphrase and it returns:
> 
>   gpg: problem with the agent: No pinentry
> 
> I assume that the problem is with pinentry.  Is there some other
> application involved here that I should look into?

pinentry is the standalone package to asks for the passphrase for gpg. 
Try up'ing the verbosity on gpg? E.g. run `gpg -vv' on your CLI and
post full output (modulo anything sensitive, of course)?

(Also, a stupid question: at any point did you rebuild gpg? Did you
restart the gpg-agent afterwards?)

Cheers, 

W
-- 
Willie W. Wong ww...@math.princeton.edu
Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire 
 et vice versa   ~~~  I. Newton



Re: [gentoo-user] gnupg fails to decrypt on kmail

2010-02-24 Thread Willie Wong
On Wed, Feb 24, 2010 at 11:31:34AM +, Mick wrote:
> Since invoking gpg on the CLI does not ask for a passphrase and it returns:
> 
>   gpg: problem with the agent: No pinentry
> 
> I assume that the problem is with pinentry.  Is there some other
> application involved here that I should look into?

Hum, also, try getting some debug output from gpg-agent: 

(1) 'killall gpg-agent'   (and run ps aux to see if they are really
killed)
(2) Restart gpg-agent via 

 eval 'gpg-agent --daemon --no-detach --debug-level guru --log-file 
~/gpg-agent.log' 
(3) Run gpg. 

Look at the content of ~/gpg-agent.log to see if anything is amiss. 

HTH, 

W
-- 
Willie W. Wong ww...@math.princeton.edu
Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire 
 et vice versa   ~~~  I. Newton



Re: [gentoo-user] Re: pdf viewing suggestions?

2010-02-24 Thread Willie Wong
On Wed, Feb 24, 2010 at 06:19:52PM +0100, Zeerak Mustafa Waseem wrote:
> Does Foxit Reader support editing pdf files (By editing I mean making notes 
> in them etc.), I've been having some trouble finding a pdf-reader that 
> allowed that.
> If anyone has any suggestions as to what pdf readers (other than okular) do 
> it, I'd be very grateful :-)
> 
I don't use a PDF reader for that :)

I manage my PDF documents with Jabref, and I add a comment field to
store general comments about the PDF. For margin-notes I use the
PDF-annotation feature of xournal. 

W

-- 
Willie W. Wong ww...@math.princeton.edu
Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire 
 et vice versa   ~~~  I. Newton



Re: [gentoo-user] pdf viewing suggestions?

2010-02-24 Thread Willie Wong
On Thu, Feb 25, 2010 at 01:01:37AM +0900, daid kahl wrote:
> I've tried xpdf, epdfview, evince, kpdf, and acroread. 

> I want something fast for big files, prints well, and has an interface that
> doesn't remind me of pure and natural X.  I don't mind the little page
> overview as a side-tool, but I don't strictly require it.

Speedwise I don't think epdfview/evince/kpdf will be all that much
different. They are all based on the poppler framework just with
different frontends. Poppler is, in turn, based on the xpdf rendering
parts. 

Acroread is, well acroread, and I try to avoid it whenever I can. 

> evince will take an arbitrarily long time to print documents that are long
> or have big figures.

That's odd. I use evince at work (though not on gentoo; work computer
is a heavily customized version of scientific linux) and I don't have
the printing problem. If it weren't for the Gnome dependencies that I
don't want on my laptop, I'd also use evince at home. (Hum, just
checked it out again now, and it looks like the dependency list is
shorter than I remembered it being?)

> The interface for xpdf is pretty lame (especially default printing), but
> it's quick as demons chasing bats out of hell.

But it works. It is my pdf viewer of choice at home. 

One thing I am waiting to see is epdf from the enlightenment
libraries. It is still masked, and is in the enlightenment overlay.
In the sunrise overlay there is a program called apvlv. I have never
tried it myself, but the codebase is small and it has a UI based on
the VIM UI (for better or for worse).

You probably know this already, but gv doesn't work too well a lot of
times.

Unfortunately there aren't that many pdf viewing softwares to choose from.

Cheers, 

W 

-- 
Willie W. Wong ww...@math.princeton.edu
Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire 
 et vice versa   ~~~  I. Newton



Re: [gentoo-user] pdf viewing suggestions?

2010-02-24 Thread Willie Wong
On Wed, Feb 24, 2010 at 02:21:39PM -0600, Neal Hogan wrote:
> I use mupdf with OpenBSD and I like it (vi-like bindings). Not too
> sure if Gentoo has the port/package. A quick "gentoo mupdf" google had
> a few hits . . . but I didn't look at any of the links to see what
> they were talking about.

http://bugs.gentoo.org/280469

I hope it at least makes into sunrise. There is a version or two in
the gentoo-china overlay, but they are old and have security
vulnerabilities. 

W
-- 
Willie W. Wong ww...@math.princeton.edu
Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire 
 et vice versa   ~~~  I. Newton



Re: [gentoo-user] gnupg fails to decrypt on kmail

2010-02-24 Thread Willie Wong
On Wed, Feb 24, 2010 at 10:51:38PM +, Mick wrote:
> eval "$(gpg-agent --daemon --no-detach --debug-level guru --log-file gpg-
> agent.log)"
> gpg-agent[7276]: enabled debug flags: command mpi crypto memory cache memstat 
> hashing assuan
> 
> The log file shows:
> 
> 2010-02-24 20:32:01 gpg-agent[7276] listening on socket `/tmp/gpg-
> IX4A40/S.gpg-agent'
> 2010-02-24 20:32:01 gpg-agent[7277] gpg-agent (GnuPG) 2.0.14 started
> 2010-02-24 20:32:13 gpg-agent[7277] SIGINT received - immediate shutdown
> 2010-02-24 20:32:13 gpg-agent[7277] gpg-agent (GnuPG) 2.0.14 stopped
> 2010-02-24 20:32:13 gpg-agent[7277] random usage: poolsize=600 mixed=0 
> polls=0/0 added=0/0
>   outmix=0 getlvl1=0/0 getlvl2=0/0
> 2010-02-24 20:32:13 gpg-agent[7277] secmem usage: 0/32768 bytes in 0 blocks
> 
> 
> However, when I invoke gpg it looks for another socket ... different to the 
> one that the agent is listening on.
> 
> $ gpg -vv DATA/some_data.ods.gpg
> gpg: using character set `iso-8859-1'
> gpg: enabled debug flags: memstat
> :pubkey enc packet: version 3, algo 16, keyid 
> data: [2048 bits]
> data: [2045 bits]
> gpg: public key is 
> gpg: using subkey  instead of primary key 
> 
> You need a passphrase to unlock the secret key for
> user: "me "
> gpg: using subkey  instead of primary key 
> 2048-bit ELG key, ID , created 2010-01-25 (main key ID )
> 
> can't connect to `/tmp/gpg-pNLb9Y/S.gpg-agent': No such file or directory
> gpg: can't connect to the agent - trying fall back

> 
> 
> Why is this?  Invoking gpg to decrypt different (encrypted) files always 
> brings up that socket '/tmp/gpg-pNLb9Y/S.gpg-agent'.  Shouldn't it be a 
> different socket each time?

Ack, let's do this one step at a time then. First let's try to figure
out the problem with the gpg-agent. 

This time, run the command from gpg-agent, not inside a eval
statement. Just by itself on the commandline. 

It should spit out the environmental variable GPG_AGENT_INFO.
Copy the content of that variable (so copy the whole thing
GPG_AGENT_INFO="..." )
In a new prompt, first paste the variable, then type gpg -vv *file*

So it should be

GPG_AGENT_INFO=".." gpg -vv DATA/filename.ogg

Quick explanation: gpg finds out where the agent is by looking at the
environmental variable GPG_AGENT_INFO. We want to try to make sure it
is in fact looking at that variable. Take a look at the man pages for
gpg-agent and gpg for more information.

Now look at the output again to see if it is still connecting to the
"wrong" socket. 

W
-- 
Willie W. Wong ww...@math.princeton.edu
Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire 
 et vice versa   ~~~  I. Newton



Re: [gentoo-user] gnupg fails to decrypt on kmail

2010-02-25 Thread Willie Wong
On Thu, Feb 25, 2010 at 07:01:12AM +, Mick wrote:
> 2010-02-25 06:48:32 gpg-agent[6741] starting a new PIN Entry
> gpg-agent[6741]: can't connect server: `ERR 67109133 can't exec 
> `/usr/bin/pinentry-qt': No such file or directory'
> 2010-02-25 06:48:32 gpg-agent[6741] can't connect to the PIN entry module: 
> IPC 
> connect call failed



> Why is it trying to call /usr/bin/pinentry-qt?!  
> 
>`ERR 67109133 can't exec `/usr/bin/pinentry-qt'
> 
> Is this a valid binary these days, or an older qt3 version?  I think it 
> should 
> be /usr/bin/pinentry:
> 
> $ ls -la /usr/bin/pinentry
> lrwxrwxrwx 1 root root 12 Feb 24 07:01 /usr/bin/pinentry -> pinentry-qt4

Looks like you found your problem. I am not absolutely sure why
pinentry-qt is the default now. The man page says that running
'gpg-agent --version' will tell you what the default pinentry program
it calls is, and that depends on installation. So maybe file a bug? I
don't know whether this is a configuration/USE issue or something
hardcoded in the distribution. 

In any case, two work-arounds are available:
  *) create a symlink of pinentry-qt to your actual pinentry binary.
  *) start gpg-agent with the '--pinentry-program' option. 

Cheers, 

W
-- 
Willie W. Wong ww...@math.princeton.edu
Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire 
 et vice versa   ~~~  I. Newton



Re: [gentoo-user] How to untar without first knowing the tar contents?

2010-02-25 Thread Willie Wong
On Thu, Feb 25, 2010 at 09:15:47AM -0800, Mark Knecht wrote:
> MacMini home # tar -xjf /mnt/cdrom/evelyn.20100214.tar.bz2 /home/evelyn/
> tar: /home/evelyn: Not found in archive

You need the -C flag. See man tar. 

W
-- 
Willie W. Wong ww...@math.princeton.edu
Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire 
 et vice versa   ~~~  I. Newton



Re: [gentoo-user] gnupg fails to decrypt on kmail

2010-02-25 Thread Willie Wong
On Thu, Feb 25, 2010 at 08:45:27PM +, Mick wrote:
> > So maybe file a bug? I
> > don't know whether this is a configuration/USE issue or something
> > hardcoded in the distribution.
> 
> I will file a bug, but I am not entirely sure what I should file it under, so 
> that it does not get rejected:
> 
> gpg-agent which is calling pinentry-qt?

I'd file it against gpg-agent and hope that if it is something related
to the qt3-qt4 transition, one of the bug-wranglers will cc the qt
team. I'd probably also file it as either minor or enhancement, since
technically the man page does warn you about it. 

Normally I would ask around the list first to see if anyone can
reproduce your problem before filing a bug. But since I've practically
the only one answering your mail on this issue Let's hope that it
is either reproducible or that the bug wranglers can find out a
trivial reason why it isn't. 

Cheers, 

W

-- 
Willie W. Wong ww...@math.princeton.edu
Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire 
 et vice versa   ~~~  I. Newton



Re: [gentoo-user] Advice/best practices for a new Gentoo installation

2010-02-26 Thread Willie Wong
On Fri, Feb 26, 2010 at 11:54:13AM -0600, Paul Hartman wrote:
> - better partitioning scheme than my current root, boot, home (need
> portage on its own, maybe /var as well?)

/var if you are worried about log files piling up. I don't put portage
on its own, but I use reiserfs for / 

> - some kind of small linux emergency/recovery partition? equivalent to
> a liveCD maybe.

Isn't that what busybox is for?

> - best filesystem for portage? something compressed or with small
> cluster size maybe.

Reiserfs. That's more because of the tail-packing then anything else. 

> - omit/reduce number of reserved-for-root blocks on partitions where
> it's not necessary.

Yep. On a 200G drive, 10% is 20G: that's 4 movies!

> Or any other tips that apply to things which are difficult to change
> once the system is in use.

Pay attention to your make.conf? Make sure you get CHOST right. 
If you are dealing with unfamiliar options in the kernel, always start
at the bare minimum and make sure you keep a working copy around. 

W
-- 
Willie W. Wong ww...@math.princeton.edu
Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire 
 et vice versa   ~~~  I. Newton



[gentoo-user] eGalax Touchscreen

2010-02-27 Thread Willie Wong
Hi list:

My netbook has a eGalax Touchscreen. Does anyone have experience with
them?

(a) I first tried their driver at
http://home.eeti.com.tw/web20/eGalaxTouchDriver/linuxDriver.htm
but it crashes the computer when logging out from X. I may play with
it a bit more to see if I am doing something stupid. 

(b) Right now the usbtouchscreen kernel driver sees the touchscreen. I
installed xorg-server with the tslib USE, ad added tslib to the input
devices in make.conf. Does anyone have experience with tslib? 

ts_finddev tells me that /dev/input/event6 is a touchscreen.
ts_print_raw shows events coming in when I touch the stylus to the
screen.

But ts_calibrate, ts_test, ts_harvest all do nothing. I run them, they
display their texts and cross-hair, but no matter where I touch on the
screen nothing happens.

Willie
-- 
Willie W. Wong ww...@math.princeton.edu
Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire 
 et vice versa   ~~~  I. Newton



Re: [gentoo-user] Dual booting Dell with Windows 7

2010-02-28 Thread Willie Wong
On Sun, Feb 28, 2010 at 11:51:21PM +, Mick wrote:
> > Please do write a page on the Wiki (or at least a summary of what you
> > did to this mailing list). This will be some handy information to
> > have.
> 
> I have now succeeded at achieving what I wanted:  to use the Windows 7
> boot manager (bootmgr.exe) which is the successor to NTLDR to
> chainload GRUB from it and so leave the Windows installation intact
> (at least until the warranty expires) ;-)


Wow. Awesome. Posts like this are why I absolutely love this mailing
list. 

Thanks for putting this together. 

W
-- 
Willie W. Wong ww...@math.princeton.edu
Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire 
 et vice versa   ~~~  I. Newton



Re: [gentoo-user] Advice/best practices for a new Gentoo installation

2010-03-03 Thread Willie Wong
On Wed, Mar 03, 2010 at 12:52:55PM +0100, Alex Schuster wrote:
> Neil Bothwick writes:
> 
> > On Tue, 2 Mar 2010 10:35:42 +0100, Alex Schuster wrote:
> > > > - best filesystem for portage? something compressed or with small
> > > > cluster size maybe.
> > > 
> > > I think reiserfs with the notail option is recommended.
> > 
> > The data I've seen indicates that ext2 is fastest, that's what I use.
> 
> I thought the small files of the portage tree especially profit from the 
> notail option in reiserfs? Did you change the block size?

You mean the other way around, right? reiser defaults to tail-packing,
which can cause problems with GRUB and LILO, which is why notail is an
option which turns off tail-packing for those crazy enough to use
reiser on /boot. 

If you use notail on the portage tree, you get rid of that advantage,
then Neil is absolutely correct: there's not too much point in
journaling the portage tree, and if you actively make reiser
not-competitive on the storage-space direction, the only metric left
to compare is speed, and ext2 is faster. 

Incidentally, if you are willing to sacrifice speed for space, then a
sparsefile for /usr/portage may also be an option. 

W
-- 
Willie W. Wong ww...@math.princeton.edu
Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire 
 et vice versa   ~~~  I. Newton



Re: [gentoo-user] Filesystem corruption - reiserfs? - won't boot, "filesystem couldn't be fixed :("

2010-03-03 Thread Willie Wong
On Wed, Mar 03, 2010 at 12:24:42PM +, Stroller wrote:
> There seem to have been a few people posting with filesystem  
> corruption in the last week or two. It seems to be my turn, so I hope  
> it isn't contagious. The cause here is quite clear - whilst rummaging  
> in the server cupboard yesterday, power to the machine was  
> accidentally disconnected.
> 
> I have booted with a live CD & run `reiserfsck --fix-fixable` on the  
> filesystem, but nevertheless when I attempt to boot the system I get a  
> "failed to open the device... no such file or directory" message,  
> followed by another error as per subject line.

from the output it looks like you are mounting by label? What if you
edit fstab to point to the device name /dev/hd?? instead of
LABEL=root? Check the filesystem label to make sure it is ok? 

Cheers, 

W
-- 
Willie W. Wong ww...@math.princeton.edu
Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire 
 et vice versa   ~~~  I. Newton



Re: [gentoo-user] Filesystem corruption - reiserfs? - won't boot, "filesystem couldn't be fixed :("

2010-03-03 Thread Willie Wong
On Wed, Mar 03, 2010 at 01:28:11PM +, Stroller wrote:
> >from the output it looks like you are mounting by label? What if you
> >edit fstab to point to the device name /dev/hd?? instead of
> >LABEL=root? Check the filesystem label to make sure it is ok?
> 
> Many thanks for this suggestion, however following it makes no  
> difference, except in the trivia that it says "failed to open the  
> device '/dev/hda3': No such file or directory" (instead of "LABEL=...").

If you try to boot, after the failure to check rootfs, it should dump
you to a recovery console, what happens if you issue ls /dev ?

Also check dmesg? 

Cheers, 

W
-- 
Willie W. Wong ww...@math.princeton.edu
Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire 
 et vice versa   ~~~  I. Newton



Re: [gentoo-user] Filesystem corruption - reiserfs? - won't boot, "filesystem couldn't be fixed :("

2010-03-03 Thread Willie Wong
On Wed, Mar 03, 2010 at 02:26:46PM +, Stroller wrote:
> I don't think this is a problem. I would love to know what others  
> think of the `smartctl` output:
> 
> 
> r...@sysresccd /root % smartctl -H /dev/sda
> smartctl version 5.38 [i486-pc-linux-gnu] Copyright (C) 2002-8 Bruce  
> Allen
> Home page is http://smartmontools.sourceforge.net/
> 
> === START OF READ SMART DATA SECTION ===
> SMART overall-health self-assessment test result: PASSED
> Please note the following marginal Attributes:
> ID# ATTRIBUTE_NAME  FLAG VALUE WORST THRESH TYPE   
> UPDATED  WHEN_FAILED RAW_VALUE
>   9 Power_On_Seconds0x0012   001   001   020Old_age
> Always   FAILING_NOW 44803h+12m+16s

You can always run the smart long-test to double check. The
FAILING_NOW just indicates that the normalised value falls below the
threshold. For Power_On_Seconds, this usually just indicates that your
are way pass the warranty. If you really care about your data, swap it
out now or make frequent backups. Otherwise I don't see the harm of
keeping it until it actually dies. 

Cheers, 

W
-- 
Willie W. Wong ww...@math.princeton.edu
Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire 
 et vice versa   ~~~  I. Newton



Re: [gentoo-user] Re: Filesystem corruption - reiserfs? - won't boot, "filesystem couldn't be fixed :("

2010-03-03 Thread Willie Wong
On Wed, Mar 03, 2010 at 09:29:43AM -0600, Harry Putnam wrote:
> Mark Knecht  writes:
> 
> >In my most recent case what looked like a simple disk corruption
> > problem was really a prelude to the drive just plain going bad. Have
> > you tried smartctl to see what it says about the drive at this point?
> 
> Sorry to butt in here... is that tool, smartctl in some pkg on portage?
> 

sys-app/smartmontools

W
-- 
Willie W. Wong ww...@math.princeton.edu
Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire 
 et vice versa   ~~~  I. Newton



Re: [gentoo-user] Filesystem corruption - reiserfs? - won't boot, "filesystem couldn't be fixed :("

2010-03-03 Thread Willie Wong
On Wed, Mar 03, 2010 at 04:16:50PM +, Stroller wrote:
> 
> Many thanks for your help, Willie!
> 
> About 13 items. Is this unlucky?
> 
> http://linux.stroller.uk.eu.org/fs-corruption-dev.png
> 

Okay, something is screwed up with udev. Is udev started? Is it
upgraded recently? Any config files in /etc that needs updating? Is
udev directory in /etc okay? 

At this point I don't think your problem is necessarily with the
harddrive itself: I think we now know why fsck cannot open file or
device. 

Check /var/log/emerge.log or the portage elogs. Did you upgrade
baselayout recently? 

Good luck, 

W

-- 
Willie W. Wong ww...@math.princeton.edu
Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire 
 et vice versa   ~~~  I. Newton



Re: [gentoo-user] Is the move perl-5.10 involved here

2010-03-03 Thread Willie Wong
On Wed, Mar 03, 2010 at 11:21:35AM -0600, Harry Putnam wrote:

> >>> Unpacking source...
> >>> Unpacking DBD-mysql-4.013.tar.gz to 
> >>> /var/tmp/portage/dev-perl/DBD-mysql-4.01.3/work
> >>> Source unpacked in /var/tmp/portage/dev-perl/DBD-mysql-4.01.3/work
> >>> Compiling source in 
> >>> /var/tmp/portage/dev-perl/DBD-mysql-4.01.3/work/DBD-mysql-4.013 ...
>  * Using ExtUtils::MakeMaker
> Use of uninitialized value in subroutine entry at 
> /usr/lib/perl5/5.10.1/i686-linux/DynaLoader.pm line 223.
>  object version 1.609 does not match $::VERSION %_ at 
> /usr/lib/perl5/5.10.1/i686-linux/DynaLoader.pm line 223.
> BEGIN failed--compilation aborted at 
> /usr/lib/perl5/vendor_perl/5.8.8/i686-linux/DBI.pm line 263.
> Compilation failed in require at 
> /usr/lib/perl5/vendor_perl/5.8.8/i686-linux/DBI/DBD.pm line 3225.
> BEGIN failed--compilation aborted at 
> /usr/lib/perl5/vendor_perl/5.8.8/i686-linux/DBI/DBD.pm line 3226.

Have you tried perl-cleaner?

http://www.gentoo.org/proj/en/perl/perl-cleaner.xml

W
-- 
Willie W. Wong ww...@math.princeton.edu
Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire 
 et vice versa   ~~~  I. Newton



Re: [gentoo-user] No more mythtv for Gentoo users?

2010-03-03 Thread Willie Wong
On Wed, Mar 03, 2010 at 05:59:32PM +, Neil Bothwick wrote:
> % ssh myt...@agrajag uptime
>17:58:52 up 51 days, 16:25,  1 user,  load average: 0.17, 0.10, 0.09

You call it Agrajag and talk about stability? You big tempter of fate
you.

:)

W

-- 
Willie W. Wong ww...@math.princeton.edu
Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire 
 et vice versa   ~~~  I. Newton



Re: [gentoo-user] No more mythtv for Gentoo users?

2010-03-03 Thread Willie Wong
On Wed, Mar 03, 2010 at 10:07:22PM +0200, Alan McKinnon wrote:
> On Wednesday 03 March 2010 20:23:01 Willie Wong wrote:
> > On Wed, Mar 03, 2010 at 05:59:32PM +, Neil Bothwick wrote:
> > > % ssh myt...@agrajag uptime
> > > 
> > >17:58:52 up 51 days, 16:25,  1 user,  load average: 0.17, 0.10, 0.09
> > 
> > You call it Agrajag and talk about stability? You big tempter of fate
> > you.
> 
> 
> Wasn't Agrajag the toothless wonder that kept getting accidentally killed by 
> Arthur Dent?
> 

Precisely, I hate to imagine what kind of a system will Neil decide to
call "Wowbagger". 

W
-- 
Willie W. Wong ww...@math.princeton.edu
Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire 
 et vice versa   ~~~  I. Newton



Re: [gentoo-user] Filesystem corruption - reiserfs? - won't boot, "filesystem couldn't be fixed :("

2010-03-04 Thread Willie Wong
On Thu, Mar 04, 2010 at 09:55:44AM +, Stroller wrote:
> 
> On 3 Mar 2010, at 17:14, Willie Wong wrote:
> 
> >On Wed, Mar 03, 2010 at 04:16:50PM +, Stroller wrote:
> >>
> >>Many thanks for your help, Willie!
> >>
> >>About 13 items. Is this unlucky?
> >>
> >>http://linux.stroller.uk.eu.org/fs-corruption-dev.png
> >>
> >
> >Okay, something is screwed up with udev. Is udev started?
> 
> Ah!
> 
> Ok... this is shown as an error when before the "failed to open the  
> device" message.
> 
> http://linux.stroller.uk.eu.org/fs-corruption.png
> 
> Startin udevd... error getting signalfd

What kernel are you running?

You need at least 2.6.22 to have signalfd support, and at least 2.6.27
to have reliable signalfd support. If this is not satisfied, please
either downgrade udev or upgrade your kernel.

Cheers, 

W 
-- 
Willie W. Wong ww...@math.princeton.edu
Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire 
 et vice versa   ~~~  I. Newton



Re: [gentoo-user] Re: [OT] gentoo on lenovo ideapad s10-3t tablet

2010-03-10 Thread Willie Wong
On Wed, Mar 10, 2010 at 09:41:04AM +0800, Xi Shen wrote:
> One thing i would worry is that how long will the atom cpu take to
> compile my whole gentoo ~amd64 + kde4.4 system?

atom is not amd64. 

Building stuff on my netbook is slow(er). My netbook has an N270 at
1.6GHz, with 1G ram. Most build jobs are slower than on my old laptop
with Pentium M 1.6G and 512M ram or on my desktop with Pentium 4 2G
and 512M ram. 

Just some numbers:

qt-core takes 34 minutes
xulrunner takes 1 hr 25 minutes
mplayer takes 14 minutes
gcc takes 1 hr 28 minutes

you can try to extrapolate from there.


W
-- 
Willie W. Wong ww...@math.princeton.edu
Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire 
 et vice versa   ~~~  I. Newton



Re: [gentoo-user] normal user do not have access to usb, and many other things

2010-03-10 Thread Willie Wong
On Wed, Mar 10, 2010 at 09:21:06AM +0800, Xi Shen wrote:
> i kanda thought about that for the usb stuff. but i have not resolve
> it. may be i also need the pmout package to allow me to mount the usb
> disk?
> 
> the big problem now is the battery information. i really have no idea
> where to look for it. it is really dangerous to us a laptop without
> knowing when the battery will die.

I am rather curious what application you are using to get battery
information that requires it being root. 

/proc/acpi/battery/BAT0/state is 0444 on my netbook/laptop since
forever. I just use a bash function to parse it and display it on my
${PS1}. 

W
-- 
Willie W. Wong ww...@math.princeton.edu
Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire 
 et vice versa   ~~~  I. Newton



Re: [gentoo-user] Re: [OT] gentoo on lenovo ideapad s10-3t tablet

2010-03-10 Thread Willie Wong
On Wed, Mar 10, 2010 at 09:23:14AM +, Neil Bothwick wrote:
> On Wed, 10 Mar 2010 03:58:48 -0500, Willie Wong wrote:
> 
> > > One thing i would worry is that how long will the atom cpu take to
> > > compile my whole gentoo ~amd64 + kde4.4 system?  
> > 
> > atom is not amd64. 
> 
> Some are. My Acer nettop has a 64 bit Atom, the 230 I think.

Ah, I didn't know that. Thanks for the correction. 

W
-- 
Willie W. Wong ww...@math.princeton.edu
Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire 
 et vice versa   ~~~  I. Newton



Re: [gentoo-user] Re: Does skencil work for anybody else?

2010-03-12 Thread Willie Wong
On Fri, Mar 12, 2010 at 07:17:48PM +, Grant Edwards wrote:
> > BTW, I have the exact same problem with skencil.
> 
> Apparently skencil is not compatible with tk 8.5.

-sigh- now I am unmerging skencil. I used to use it years ago. But now
I am getting the same problem you described. 

W
-- 
Willie W. Wong ww...@math.princeton.edu
Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire 
 et vice versa   ~~~  I. Newton



Re: [gentoo-user] Re: Does skencil work for anybody else?

2010-03-12 Thread Willie Wong
On Fri, Mar 12, 2010 at 07:54:35PM +, Grant Edwards wrote:
> After attempting to use sk1 for a few minutes, I've given up on it. 
> It crashes regularly. Exporting to a .eps file just plain doesn't work
> (it writes 'sk1' format data to the file). 
> 
> The user interface is full of breakage: if you export a drawing and
> then do a 'save', it overwrites the _exported_ file rather than saving
> in the original drawing file.
> 
> It also spews a constant stream of errors and tracebacks when doing
> anything at all.
> 

Now this is interesting, inkscape apparently depends on skencil for
postscript support? Somehow this doesn't bode well to me...

W
-- 
Willie W. Wong ww...@math.princeton.edu
Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire 
 et vice versa   ~~~  I. Newton



Re: [gentoo-user] Re: Does skencil work for anybody else?

2010-03-13 Thread Willie Wong
On Sat, Mar 13, 2010 at 02:59:34PM +, Grant Edwards wrote:
> > Now this is interesting, inkscape apparently depends on skencil for
> > postscript support?
> 
> Looks that way, though I'm not sure exactly what it uses skencil for.
> I would have sworn I had inkscape installed without skencil and could
> still export to EPS.

I looked into it. It is for importing PS and EPS files. And according
to the documentation on their website, inkscape 0.47 changed to using
Ghostscript for the importing. A bug has already been filed against
the ebuild. 

Cheers, 

W
-- 
Willie W. Wong ww...@math.princeton.edu
Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire 
 et vice versa   ~~~  I. Newton



Re: [gentoo-user] what's wrong with rsync 3.0.6?

2010-03-15 Thread Willie Wong
On Mon, Mar 15, 2010 at 02:15:08PM +, David W Noon wrote:
> You run your emerge --sync jobs by hand?!!!

Why is that surprising? My laptop does not have an always-on internet
connection, nevermind it sits silently and off for most of the day. I
"sync by hand" when I have time, roughly twice each week. 

W
-- 
Willie W. Wong ww...@math.princeton.edu
Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire 
 et vice versa   ~~~  I. Newton



Re: [gentoo-user] what's wrong with rsync 3.0.6?

2010-03-15 Thread Willie Wong
On Mon, Mar 15, 2010 at 05:08:06PM +, David W Noon wrote:
> On Mon, 15 Mar 2010 17:00:02 +0100, Willie Wong wrote about Re:
> [gentoo-user] what's wrong with rsync 3.0.6?:
> 
> >On Mon, Mar 15, 2010 at 02:15:08PM +, David W Noon wrote:
> >> You run your emerge --sync jobs by hand?!!!
> >
> >Why is that surprising?
> 
> Because emerge jobs produce copious amounts of output that is difficult
> to read as it scrolls past.  I much prefer the cron daemon or at daemon
> to send me the output as email, so I can scroll backwards and forwards
> through it at my leisure.

What output do you actually read from syncs? For builds, is it really
wise to do all updates unattended? Also, for builds, there is such a
thing as elogs (which allows you to save all messages to 
/var/log/portage for ease of reading at your leisure. You can even
configure it to select what types of messages are saved): I neither
need nor want to scroll through pages and pages of mostly useless
output only to find the ewarn messages. 

I'm sure you have a good reason for wanting to do things your way, and
I do not claim mine is better. I am just surprised that you sounded
surprised to find out some people don't do things your way.

> >My laptop does not have an always-on internet
> >connection, nevermind it sits silently and off for most of the day. I
> >"sync by hand" when I have time, roughly twice each week. 
> 
> Well, when your laptop is powered off the cron daemon won't run the
> emerge jobs, so that's really a non-issue.

Actually, the cron daemon won't run because I don't have a cron daemon
installed on the laptop. And I don't have a cron daemon because having
periodic jobs only make sense if the computer is likely to be on when
cron is triggered. 

Cheers,

W
-- 
Willie W. Wong ww...@math.princeton.edu
Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire 
 et vice versa   ~~~  I. Newton



Re: [gentoo-user] Udev error and how to fix it.

2010-03-16 Thread Willie Wong
On Tue, Mar 16, 2010 at 04:37:28PM +0100, Zeerak Mustafa Waseem wrote:
> On Tue, Mar 16, 2010 at 12:44:06PM +, Neil Bothwick wrote:
> > On Tue, 16 Mar 2010 06:13:07 -0400, Philip Webb wrote:
> > 
> > > Have you tried Mutt (smile) ?
> > 
> > Not if it uses HAL :)
> > 
> Hells to the no.
> 
> I use mutt. I can definately recommend it from this side of the HAL-free 
> ocean :-)
I think Neil is rather aware of the fact that Mutt doesn't use HAL,
but was cracking a joke at Dale's rather well-known dislike of it.


Cheers, 

W

-- 
Willie W. Wong ww...@math.princeton.edu
Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire 
 et vice versa   ~~~  I. Newton



Re: [gentoo-user] Udev error and how to fix it.

2010-03-17 Thread Willie Wong
On Wed, Mar 17, 2010 at 02:05:12PM +0100, Zeerak Mustafa Waseem wrote:
> > I don't see any need for excuses, it sounds like fine common English to
> > me, with the possible exception of a run-on "if".
> > 
> > The full sentence was "I usually always look to see if Dale has been
> > involved in a thread if HAL is mentioned"
> Ah it's just using two different words that describe seeing something :-)
> I like to think that my english is a little better. I mean it should have 
> been "see if" or "look to see whether" (as far as I remember anyway :-))
> 
Huh, the "look to see" part, while inelegant and repetitive, is a common
colloquialism, and I don't think was the problem. I was more thrown
off by "usually always", which is either an oxymoron (if you take a
strict view of the word "usually") or redundant (if you take "usually"
to contain "always" as a subset). 

(Looks like I only have off-topic contributions to this thread.)

W
-- 
Willie W. Wong ww...@math.princeton.edu
Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire 
 et vice versa   ~~~  I. Newton



Re: [gentoo-user] Re: Udev error and how to fix it.

2010-03-18 Thread Willie Wong
On Wed, Mar 17, 2010 at 06:57:59PM -0700, walt wrote:
> On 03/17/2010 05:29 PM, Iain Buchanan wrote:
> 
> >...That's why we have programming languages, because English is too
> >forgiving and fuzzy!
> 
> By George, I think you've got it.  From now on, all political campaign
> speeches should be written in C.  Well, okay, maybe in COBOL for the
> older ones.

If political speeches were written in C, this is what they'd look
like.
http://www.ioccc.org/

W

-- 
Willie W. Wong ww...@math.princeton.edu
Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire 
 et vice versa   ~~~  I. Newton



Re: [gentoo-user] Image viewer with brightness/contrast adjustments

2010-03-26 Thread Willie Wong
On Thu, Mar 25, 2010 at 08:22:03PM -0500, Dale wrote:
> Ohh.  Please permit me to add one more needed feature then.  
> GUI.  Some of my pics are nested pretty deep, because of my organizing 
> skills or lack thereof.  LOL
> 

How'bout google picasa? 

W
-- 
Willie W. Wong ww...@math.princeton.edu
Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire 
 et vice versa   ~~~  I. Newton



Re: [gentoo-user] Image viewer with brightness/contrast adjustments

2010-03-26 Thread Willie Wong
On Fri, Mar 26, 2010 at 02:20:32PM -0500, Dale wrote:
> >How'bout google picasa?

> Isn't that pretty large too?
> 
> r...@smoker ~ # equery size kview
>  * kde-base/kview-3.5.10
>  Total files : 110
>  Total size  : 1.09 MiB
> r...@smoker ~ #

Yes, it is large, but it has loads of features. Equery size tells me
that picasa is ~100 MiB. But it has all the common image editing
feature you want (include brightness, contrast, resize, crop ...) in a
nice GUI, with a good gallery feature. And it helps with organizing
the pictures. I use it to manage my photos. 

For viewing the picture, if size and speed is your main criterion, I
go for media-gfx/qiv. It allows you to change the displayed
brightness/contrast/gamma on the fly, but it is not good for modifying
the files themselves. 

W
-- 
Willie W. Wong ww...@math.princeton.edu
Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire 
 et vice versa   ~~~  I. Newton



Re: [gentoo-user] xlsfonts shows only a few fonts

2010-03-29 Thread Willie Wong
On Mon, Mar 29, 2010 at 10:58:27AM +0800, Xi Shen wrote:
> On Mon, Mar 29, 2010 at 4:56 AM, Paul Hartman
>  wrote:
> > I believe XFS is deprecated and has been removed from Gentoo recently
> > (at least in ~unstable). See the comments in this bug for info & maybe
> > something to help:
> >
> > http://bugs.gentoo.org/show_bug.cgi?id=293177
> >
> >
> 
> if XFS is deprecated, what is the replacement? how can i get the fonts
> working in emacs?
> 

xfs should not be necessary. 

I am on ~x86, and Chinese characters works. xlsfonts -l lists all
available fonts (though personally I prefer using xfontsel since it
doesn't lock up the system the same way), more lines than there can
fit in my rxvt buffer. 

Are there any font-related messages in the Xorg logs? 

You really need to provide a LOT more information before we can help
you: 

(1) Any interesting log messages from Xorg?
(2) Config files for Xorg?
(3) emerge -pv of the relevant packages?
(4) Error messages from emacs?
(5) Since you stated emacs and not xemacs, are you running it in a
terminal emulator in X? and if so, which one? 

These are just some of the ones that comes to mind, feel free to add
more information that you think may be useful. 

Cheers, 

W
-- 
Willie W. Wong ww...@math.princeton.edu
Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire 
 et vice versa   ~~~  I. Newton



[gentoo-user] X crashes, how to troubleshoot?

2010-04-03 Thread Willie Wong
Recently X has spontaneously crashed on me several times. Each time it
is triggered by opening up a new webpage in a new tab in Firefox. The
URL of the webpages are random, so I don't think it has to do with any
particular site (and those url often open fine on subsequent visits). 

The message that I end up having from X is:

Backtrace:
0: X (xorg_backtrace+0x3b) [0x80ab23b]
1: X (0x8048000+0x5e1d5) [0x80a61d5]
2: (vdso) (__kernel_rt_sigreturn+0x0) [0xb782240c]
3: /usr/lib/xorg/modules/drivers/intel_drv.so (0xb7299000+0x32cae)
[0xb72cbcae]
4: X (0x8048000+0xc6550) [0x810e550]
5: X (0x8048000+0x20745) [0x8068745]
6: X (0x8048000+0x22df7) [0x806adf7]
7: X (0x8048000+0x1d285) [0x8065285]
8: /lib/libc.so.6 (__libc_start_main+0xe5) [0xb7397bb5]
9: X (0x8048000+0x1ce51) [0x8064e51]
Bus error at address 0xb61f4000

Fatal server error:
Caught signal 7 (Bus error). Server aborting

which is not too much to go on. As you can see, I use the intel
drivers. The behaviour may have started after my March 19 upgrades:

Fri Mar 19 11:08:54 2010 >>> x11-libs/libXau-1.0.5
Fri Mar 19 11:09:41 2010 >>> x11-libs/libXdmcp-1.0.3
Fri Mar 19 11:10:06 2010 >>> x11-misc/util-macros-1.6.1
Fri Mar 19 11:20:13 2010 >>> x11-libs/libX11-1.3.3
Fri Mar 19 11:21:17 2010 >>> x11-libs/libdrm-2.4.19
Fri Mar 19 11:22:44 2010 >>> x11-libs/libXt-1.0.8
Fri Mar 19 11:23:26 2010 >>> x11-libs/libXScrnSaver-1.2.0
Fri Mar 19 11:41:42 2010 >>> x11-libs/openmotif-2.3.3
Fri Mar 19 11:42:17 2010 >>> x11-apps/xinput-1.5.1
Fri Mar 19 12:30:55 2010 >>> x11-apps/xinit-1.2.1
Fri Mar 19 12:54:23 2010 >>> x11-base/xorg-server-1.7.6
Fri Mar 19 12:55:55 2010 >>> x11-drivers/xf86-video-intel-2.10.0-r1

For what it's worth, here's the lspci output:

Gee-Mi-Ni elog # lspci -vs 00:02.*
00:02.0 VGA compatible controller: Intel Corporation Mobile 945GME Express 
Integrated Graphics Controller (rev 03) (prog-if 00 [VGA controller])
Subsystem: Giga-byte Technology Device 1999
Flags: bus master, fast devsel, latency 0, IRQ 16
Memory at 5828 (32-bit, non-prefetchable) [size=512K]
I/O ports at 60c0 [size=8]
Memory at 4000 (32-bit, prefetchable) [size=256M]
Memory at 5830 (32-bit, non-prefetchable) [size=256K]
Expansion ROM at  [disabled]
Capabilities: [90] MSI: Enable- Count=1/1 Maskable- 64bit-
Capabilities: [d0] Power Management version 2
Kernel driver in use: i915

00:02.1 Display controller: Intel Corporation Mobile 945GM/GMS/GME, 943/940GML 
Express Integrated Graphics Controller (rev 03)
Subsystem: Giga-byte Technology Device 1999
Flags: bus master, fast devsel, latency 0
Memory at 5820 (32-bit, non-prefetchable) [size=512K]
Capabilities: [d0] Power Management version 2


Any suggestions on what I can do to figure out what the problem is?

Thanks, 

W
-- 
Willie W. Wong ww...@math.princeton.edu
Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire 
 et vice versa   ~~~  I. Newton



Re: [gentoo-user] X crashes, how to troubleshoot?

2010-04-11 Thread Willie Wong
On Fri, Apr 09, 2010 at 11:57:32AM -0400, AJ Spagnoletti wrote:
> This is a late reply and you might have already solved the issue,
> however, I was running into this problem as well, and it was resolved
> for my by backing my X packages back down to stable as I was running a
> stable kernel. Another fix was to upgrade to an unstable X. I was
> informed that there have bee problems mixing unstable drivers and
> stable kernel. Hope this helps

Thanks. I've already downgraded to an older version of the intel X
driver, which seems to have "fixed" the issue. Unfortunately I haven't
been able to get KMS working with the newer kernels (on boot it does
not detect the laptop's LCD and blanks out), so I am stuck with
not-upgrading the X drivers for the moment being.

Cheers, 

W
-- 
Willie W. Wong ww...@math.princeton.edu
Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire 
 et vice versa   ~~~  I. Newton



Re: [gentoo-user] X crashes, how to troubleshoot?

2010-04-11 Thread Willie Wong
On Sat, Apr 10, 2010 at 01:21:01AM +0700, Ngoc Nguyen Bao wrote:
> Seems that you also suffer problem with Intel driver and kernel
> 2.6.32. Upgrade your xf86-video-intel to v2.11.0 may help.

Actually, I am still on kernel 2.6.30; with .32 something's not quite
right with the KMS and on boot my laptop's LCD is not detected. I'll
try 2.11.0 to see if it also fixes my problem. 

Thanks, 

Willie
-- 
Willie W. Wong ww...@math.princeton.edu
Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire 
 et vice versa   ~~~  I. Newton



Re: [gentoo-user] Can't get a DVD to burn.

2010-04-20 Thread Willie Wong
On Tue, Apr 20, 2010 at 10:45:27AM -0500, Paul Hartman wrote:
> > /dev/fd/0 is /dev/stdin
> 
> I learned something new, thanks :)

To complete your education :) fd stands for file descriptor. 

fd/0 = stdin
fd/1 = stdout
fd/2 = stderr

You can create your own file descriptors and use them to manipulate
opened files. See man bash for more info. (It is, for example,
necessary if you do CLI scripting with a user interface using Dialog.)

Cheers, 

W
-- 
Willie W. Wong ww...@math.princeton.edu
Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire 
 et vice versa   ~~~  I. Newton



Re: [gentoo-user] xypic wants ruby?

2010-04-25 Thread Willie Wong
On Sun, Apr 25, 2010 at 10:27:52PM +0100, Jorge Almeida wrote:
> I need dev-texlive/texlive-pictures because it seems that's what
> provides xy-pic.  Why in Hell am I obliged to install ruby? I
> currently have no use for it. I can't begin to imagine why this
> particular programming language should  be a must... Nothing in the
> use flags suggests a clue, for me anyway...

Probably because it installs a heck lot more than just xypic? The full
list gives

  asyfig autoarea bardiag cachepic combinedgraphics circuitikz curve
curve2e curves dcpic diagmac2 doc-pictex dottex dot2texi dratex eepic 
epspdf epspdfconversion fig4latex gnuplottex here hvfloat miniplot 
pb-diagram petri-nets pgf-soroban pgfopts pgfplots picinpar pict2e 
pictex pictex2 pinlabel pmgraph randbild schemabloc swimgraf texdraw 
tikz-inet tikz-qtree tikz-timing tkz-doc tkz-linknodes tkz-tab 
tufte-latex xypic collection-pictures

Ruby is a RDEPEND; if you are interested you certainly can try
Googling to find out which in the above list is the offender. One
that I recognize which requires a ruby runtime is the converter epspdf.

Cheers, 

W
-- 
Willie W. Wong ww...@math.princeton.edu
Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire 
 et vice versa   ~~~  I. Newton



Re: [gentoo-user] acroread-9.3.2 produces "invalid" postscript?

2010-04-29 Thread Willie Wong
On Thu, Apr 29, 2010 at 11:19:13AM +0200, Helmut Jarausch wrote:
> I have very bad experience with acroread-9.3.2.
> Some printers (claiming to support postscript level 3) just hang.
> When I first 'print' to a file,
> gv only shows some part of each page and evince just hangs.
> 
> Has anybody similar experience?
> 
> (Yes, I can use xpdf, but acroread has the nice feature of printing
> several pages on a sheet of paper which is very handy when printing
> slides of a presentation)

Not a solution: I've given up on using acroread long time ago. But I
am pretty sure that evince can also print multiple pages per sheet,
and since you mentioned it earlier: why not use it instead?

Cheers, 

W
-- 
Willie W. Wong ww...@math.princeton.edu
Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire 
 et vice versa   ~~~  I. Newton



Re: [gentoo-user] Frozen after Upgrade

2010-05-03 Thread Willie Wong
On Mon, May 03, 2010 at 04:56:04PM +0200, Alan McKinnon wrote:
> > I don't understand what you mean by booting to a single user
> > maintenance mode.  How do I do that?
> 
> At the grub menu, select the kernel you wish to boot. 
> Press "e"
> Move cursor to the "kernel" line
> Press "e"
> Move cursor to the end of the line. Append " 1" or " single"

Uh, I thought that, per discussions a few weeks ago, we've concluded
that in Gentoo that will still land you in the default runlevel.
Instead you should append
  softlevel=single
to the end of the line, and continue from hereon. 

> Press 
> Press "b"
> 

Cheers, 

W
-- 
Willie W. Wong ww...@math.princeton.edu
Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire 
 et vice versa   ~~~  I. Newton



Re: [gentoo-user] Re: can't create file but disk isn't full

2010-05-10 Thread Willie Wong
On Sun, May 09, 2010 at 07:39:01PM -0300, Crístian Viana wrote:
> what exactly is this reserved block count? is it about the number of inodes?
> does that mean that, by default, regular users can only use 95% of the
> inodes? and why did I use all these inodes? I don't think I have that many
> small files on this partition...

When the filesystem fills up, services can start failing left and
right because they cannot write logs, cannot write temp files, etc. At
this point human intervention is necessary: root has to log in and
clear out the disk. But if the $ROOT filesystem is completely full,
one may not even be able to log in and/or that one cannot do any sort
of maintenance that is needed. So you have some sort of circularity. 
(In which case you have to reboot, perhaps using another medium...)

The way out is to reserve some breathing room for root so that when
everybody else is having problems he can still get in and fix the
problem. 

The 5% is historical from days when disks are much smaller. If you
have a sensible partition scheme you only really need to reserve the
blocks on the $ROOT filesystem. If the partition in question (IIRC) is
only for /home, then you can just turn off the reserved blocks all
together. 

Cheers, 

W
-- 
Willie W. Wong ww...@math.princeton.edu
Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire 
 et vice versa   ~~~  I. Newton



Re: [gentoo-user] Re: can't create file but disk isn't full

2010-05-12 Thread Willie Wong
On Thu, May 13, 2010 at 12:25:08AM +0200, Alex Schuster wrote:
> > The 5% is historical from days when disks are much smaller. If you
> > have a sensible partition scheme you only really need to reserve the
> > blocks on the $ROOT filesystem. If the partition in question (IIRC) is
> > only for /home, then you can just turn off the reserved blocks all
> > together.
> 
> Isn't another purpose of those 5% the reduction of fragmentation that 
> occurs more when there is few free space left? Although I also reduce ift 
> on very large partitions. But I never set it to exactly zero.

Perhaps? I don't know. My ext3 partitions with 0% are all for large
files (videos and music) that are more or less static, so I can't say
anything about fragmentation on them. My other partitions are all
reiser, so can't say anything about fragmentation on them either :)

W
-- 
Willie W. Wong ww...@math.princeton.edu
Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire 
 et vice versa   ~~~  I. Newton



Re: [gentoo-user] Gentoo decapitated

2010-05-16 Thread Willie Wong
On Sun, May 16, 2010 at 01:16:34PM -0700, Kevin O'Gorman wrote:
> > > These are the only lines with the word "mouse" in them.
> >
> > Kevin, what I would try first is to set INPUT_DEVICES="evdev mouse" in your
> > /etc/make.conf, then emerge x11-drivers/xf86-input-mouse and finally
> > reboot.
> > Unless your mouse needs some special driver it will just work.

The advice is to set the appropriate flag in /etc/make.conf 
NOT what you are doing below to /etc/X11/xorg.conf

> 
> 
> So I tried the same thing with two statements
> 
> Section "ServerLayout"
> Identifier "X.org Configured"
> Screen  0  "Screen0" 0 0
> #InputDevice"Mouse0" "CorePointer"
> #InputDevice"Keyboard0" "CoreKeyboard"
> InputDevice "evdev"
> InputDevice "mouse"
> EndSection
> 

That is not exactly the right syntax for Xorg.conf
If you are using an xorg.conf and not just using evdev/hal, then you
should probably have something more like this in your configuration
file:

Section "ServerLayout"
Identifier "X.org Configured"
Screen  0  "Screen0" 0 0
InputDevice"Mouse0" "CorePointer"
InputDevice"Keyboard0" "CoreKeyboard"
EndSection

Section "InputDevice"
Identifier  "Keyboard0"
Driver  "kbd"
EndSection

Section "InputDevice"
Identifier  "Mouse0"
Driver  "mouse"
Option  "Protocol" "auto"
Option  "Device" "/dev/input/mouse1"
EndSection

...plus other things. In the InputDevice section for Mouse0, note the
Option that sets the Device to /dev/input/mouse1. You will have to set
that to the appropriate path to the pointer device. It will most
likely by somewhere in /dev/input/  (often just mouse0 or mice, I have
a separate touchscreen device so mine is at mouse1). If you do not
have a mouse device listed in /dev/input, then you need to check
either your kernel configurations or your udev configurations. 

For more about the proper syntax in xorg.conf, try "man xorg.conf".

If you are unsure about how to write your xorg.conf file, post its
full contents to the list and we'll take a look at it. 

Cheers, 

W
-- 
Willie W. Wong ww...@math.princeton.edu
Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire 
 et vice versa   ~~~  I. Newton



Re: [gentoo-user] Intel KMS LVDS; was X crashes, how to troubleshoot?

2010-05-19 Thread Willie Wong
On Sun, Apr 11, 2010 at 10:37:16AM -0400, Willie Wong wrote:
> On Sat, Apr 10, 2010 at 01:21:01AM +0700, Ngoc Nguyen Bao wrote:
> > Seems that you also suffer problem with Intel driver and kernel
> > 2.6.32. Upgrade your xf86-video-intel to v2.11.0 may help.
> 
> Actually, I am still on kernel 2.6.30; with .32 something's not quite
> right with the KMS and on boot my laptop's LCD is not detected. I'll
> try 2.11.0 to see if it also fixes my problem. 

Just as an aside, my issue with the 2.6.32 kernels turns out to be a
bios bug: the bios reports the lid to my netbook is closed even when
it is open (cat /proc/acpi/button/lid/LID0/state shows 'closed'). Now
starting kernel 2.6.32 apparently the KMS was 'fixed' to trust the
bios reporting, hence it does not think *any* computer display is
attached to the computer. 

This leads to a kernel error on boot and a blank screen. 

Anyway, Pablo (whoever you are: thanks!), a gentoo user, commented on
a Ubuntu bug report
  https://bugs.launchpad.net/ubuntu/+source/linux/+bug/515246/comments/55
and provided the RTFM response: apparently we can override the bios by
passing a suitable boot parameter to explicitly enable the LCD display
on the laptop. 

With this now I'll be able to upgrade to a newer version of the kernel
and test out the new intel X drivers. 

Cheers, 

W

-- 
Willie W. Wong ww...@math.princeton.edu
Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire 
 et vice versa   ~~~  I. Newton



[gentoo-user] Deprecated installed packages

2010-05-19 Thread Willie Wong
Hi list, 

I ran 'eclean-dist' last night (with no additional arguments) to clean
out /usr/portage/distfiles. And it generated a bit of interesting
output that I haven't seen before:

   The folowing Deprecated installed packages were found
 media-libs/libpng-1.2.43-r1
 dev-python/reportlab-2.3-r1
 app-i18n/gcin-1.4.7_pre17
 sys-kernel/gentoo-sources-2.6.31-r9
 dev-perl/URI-1.53
 dev-java/sun-jdk-1.5.0.22

I don't see anything about this feature in 'man eclean'; does anyone know 
what this is all about?

Cheers, 

W
-- 
Willie W. Wong ww...@math.princeton.edu
Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire 
 et vice versa   ~~~  I. Newton



Re: [gentoo-user] Deprecated installed packages

2010-05-20 Thread Willie Wong
On Thu, May 20, 2010 at 07:38:43AM +0200, Alan McKinnon wrote:
> On Thursday 20 May 2010 06:34:37 Willie Wong wrote:
> > Hi list,
> > 
> > I ran 'eclean-dist' last night (with no additional arguments) to clean
> > out /usr/portage/distfiles. And it generated a bit of interesting
> > output that I haven't seen before:
> > 
> >The folowing Deprecated installed packages were found
> >  media-libs/libpng-1.2.43-r1
> >  dev-python/reportlab-2.3-r1
> >  app-i18n/gcin-1.4.7_pre17
> >  sys-kernel/gentoo-sources-2.6.31-r9
> >  dev-perl/URI-1.53
> >  dev-java/sun-jdk-1.5.0.22
> > 
> > I don't see anything about this feature in 'man eclean'; does anyone know
> > what this is all about?
> 
> It means those package version are deprecated and you are encouraged to 
> upgrade them.
> 

Ah... I see, I was trying to figure out what they meant by deprecated
and how they determined it. It seems that the only thing common to
those packages is that their ebuilds are no-longer in the tree. 

So I guess I'm not going to worry too much about it: if they haven't
gotten updated regularly that probably means they are either bdeps or
that they will be depcleaned the next time I do it.

Cheers, 

W

-- 
Willie W. Wong ww...@math.princeton.edu
Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire 
 et vice versa   ~~~  I. Newton



Re: [gentoo-user] Deprecated installed packages

2010-05-20 Thread Willie Wong
On Thu, May 20, 2010 at 10:20:54AM +0200, Alan McKinnon wrote:
> > Ah... I see, I was trying to figure out what they meant by deprecated
> > and how they determined it. It seems that the only thing common to
> > those packages is that their ebuilds are no-longer in the tree.

> Each one of those packages you list has more up to date versions available in 
> the tree.

Precisely. But the exact version that is installed is no longer in
the tree. Seeing that I don't recall the portage system introducing a
deprecated flag (short of the removal notice and package.mask), I was
curious how eclean determined that those packages are deprecated. 

And also seeing that for many of the ones I listed, neither
  emerge --update --deep world
nor
  emerge --update --deep --with-bdeps=y world
suggest their updates, in my case they are probably just cruft that
ought to go away once the system is brought up to date and I can run
depclean. 

But am I wrong in my impression that with bdeps, the common thing to
do is to update them only when absolutely necessary? So in this case
the deprecation warning might introduce unnecessary cycles spent on
building those packages (among those who don't want to track down the
origins of those packages and just want the block of text to go away).

Cheers, 

W
-- 
Willie W. Wong ww...@math.princeton.edu
Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire 
 et vice versa   ~~~  I. Newton



Re: [gentoo-user] [SOLVED] Phonon + PulseAudio Problem

2010-05-23 Thread Willie Wong
On Sun, May 23, 2010 at 03:05:03PM +0100, Peter Humphrey wrote:
> And how often would you impose refresher tests? Anyone's memory is 
> fallible, as no-one knows better than I do.

You just don't remember someone knowing it better. :)

W
-- 
Willie W. Wong ww...@math.princeton.edu
Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire 
 et vice versa   ~~~  I. Newton



Re: [gentoo-user] turn on wifi enables also bluetooth

2010-06-17 Thread Willie Wong
On Thu, Jun 17, 2010 at 02:43:15PM +0200, pat wrote:
> I have Dell Latitude E4300 notebook where the wifi and bluetooth (BT) is
> turned on by one HW switch. So, on windows if the switch is turned on there is
> possible to turn off one of these devices (from windows try stop the device).
> Is there something similar in Linux? Some application which is opened right
> after turning on of the switch and the application allow me to choose to turn
> on wifi or bt or both? Or is there a script which can be used to turn of the
> device even if the switch is on?

Try net-wireless/rfkill
You may need to have kernel support compiled (CONFIG_RFKILL, if I
remember right). It also depends on rfkill support to have been coded
into the drivers for your bluetooth and/or wifi devices. 

Cheers, 

W
-- 
Willie W. Wong ww...@math.princeton.edu
Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire 
 et vice versa   ~~~  I. Newton



Re: [gentoo-user] X Windows setup questions on my new machine

2010-06-27 Thread Willie Wong
On Sun, Jun 27, 2010 at 12:13:13AM +0100, Mick wrote:
> > >  However, my new machine's Intel integrated graphics chip doesn't agree.
> > > X will *NOT* work unless I enable i915 DRM driver in make menuconfig,
> > > like so...
> > > 
> > > <*>   Intel 830M, 845G, 852GM, 855GM, 865G (i915 driver)  --->
> > > 
> > >  This results in framebuffer being *FORCED* on.
> > > 
> > > <*> Direct Rendering Manager (XFree86 4.1.0 and higher DRI support
> > > -*- Lowlevel video output switch controls
> > > -*- Support for frame buffer devices  --->

> Walter, have you tried to find the vga modes that your card supports using 
> vbetools (you'll need vbetest) or running 'hwinfo --vbe' ?

With the intel driver and X, he needs to have kernel mode setting
enabled. I seem to remember that it doesn't play well with the vga
mode setting for framebuffers. 

But Walter: you should be able to add a line on your lilo/grub prompt
for the Intel KMS to set the display resolution at boot time. See the
Kernel documentation in /usr/src/linux for the Intel GMA driver for
more info on that. (Technically you should be able to rung the console
at a different resolution than X; there may require another tweak at
the kernel level to make the switch to VT after starting X play nice.
See the gentoo-wiki article on Kernel Mode Setting.)

Also, have you tried just using larger fonts on the console? If you
emerge sys-apps/kbd, there should be some fonts in
/usr/share/consolefonts. You can use "setfont " to test which
one you want to use (some of them are bigger fonts). You may also want
to try media-fonts/terminus-font (what I use), it claims to have a
16x32 variant which is twice as large as the default console fonts. 

After finding a font you like you can set it in
/etc/conf.d/consolefont to automatically load at boot time. 

Cheers, 

W
-- 
Willie W. Wong ww...@math.princeton.edu
Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire 
 et vice versa   ~~~  I. Newton



Re: [gentoo-user] X-Server-1.8 and Intel i915 modesetting stability

2010-06-29 Thread Willie Wong
On Mon, Jun 28, 2010 at 06:47:42PM +0200, Florian Philipp wrote:
> 1. On boot up, the screen goes completely black until the xserver is
> started. While I know my system long enough to recognize common boot
> errors by watching the disk and peripheral device activity, I wouldn't
> like to make a filesystem recovery blindfolded ;)

Any dmesg output?

> 
> 2. Once the XServer runs, it is extremely unstable. It gets killed and
> restarted by XDM every few minutes. dmesg and Xorg.0.log haven't shown
> anything suspicious.
> 
> In the end that means that I'm currently stuck with xorg-server-1.7 and
> no modesetting.
> 

-- 
Willie W. Wong ww...@math.princeton.edu
Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire 
 et vice versa   ~~~  I. Newton



Re: [gentoo-user] X-Server-1.8 and Intel i915 modesetting stability

2010-06-29 Thread Willie Wong
On Tue, Jun 29, 2010 at 08:49:38PM +0200, Florian Philipp wrote:
> What, you mean after going blank? Not that I would have noticed. If you
> mean after the xserver crash, see three sentences below ;)

Oh, my bad. So I assumed that you also checked the kernel logs then. Are
you sure there's no kernel trouble _very early_ in the boot process?

I don't know about the Dell model you have, is it a laptop? Some
motherboard BIOS/ACPI are known to have a bug where they mis-report
the lid status of the laptop, and so on boot the computer "thinks" the
lid is closed and turns off the screen. Though the kernel would
usually complain about not finding an active screen attached to the
video card or something like that.  
> 
> >>
> >> 2. Once the XServer runs, it is extremely unstable. It gets killed and
> >> restarted by XDM every few minutes. dmesg and Xorg.0.log haven't shown
> >> anything suspicious.

Is this with a window manager or is this also with the vaniila TWM +
xterm?

I mean, if something crashes, somebody somewhere ought of have a log,
right? 

Best of luck, 

W

-- 
Willie W. Wong ww...@math.princeton.edu
Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire 
 et vice versa   ~~~  I. Newton



Re: [gentoo-user] Stable users: libpng-1.4

2010-06-29 Thread Willie Wong
On Tue, Jun 29, 2010 at 11:56:56PM +0200, Alan McKinnon wrote:
> He has this uncanny ability of almost 
> always being correct on technical toolchain matters

I disagree with the uncanny part. This is flameeyes we are talking
about. It's like saying "Joerg Schilling has this uncanny ability
of almost always being correct on technical CD{ROM,R,RW} DVD", or
"Dale has this uncanny ability of almost always jumping into a HAL
bashing thread"...

:-)

Thanks for the link as always. 

W
-- 
Willie W. Wong ww...@math.princeton.edu
Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire 
 et vice versa   ~~~  I. Newton



Re: [gentoo-user] Stable users: libpng-1.4

2010-06-30 Thread Willie Wong
On Wed, Jun 30, 2010 at 11:52:13PM +0200, Alan McKinnon wrote:
> I remember now what I eventually did to fix all my libpng problems back then:
> 
> unmerge libpng
> delete everything left with libpng in it's name
> emerge -pvuND world just to see what was now busted
> same with revdep-rebuild
> re-emerge libpng and let portage pick the version to merge
> emerge -avuND world
> revdep-rebuild
>   repeat till no problems reported
> 
> and lafilefixer --justfixit somewhere in the mix as well just for good 
> measure.
> 
> This is called the "throw shit at the wall and hope some of it sticks" method 
> of updating systems. By happy good fortune, it worked out for me.
> 
> aka the dark underside of source-based systems :-)

Am I just extremely lucky or something?

[Thu Jul 01 02:00 ] ww...@gee-mi-ni 9s [ AC | FULL }
~ $ sudo qlop -l libpng
Sat Dec 26 11:09:55 2009 >>> media-libs/libpng-1.2.41
Sat Jan 30 21:39:03 2010 >>> media-libs/libpng-1.2.42
Sat Mar 13 01:19:54 2010 >>> media-libs/libpng-1.2.43
Tue May 11 01:45:15 2010 >>> media-libs/libpng-1.2.43-r1
Tue May 11 01:47:55 2010 >>> media-libs/libpng-1.4.2
[Thu Jul 01 02:00 ] ww...@gee-mi-ni 11s [ AC | FULL }
~ $ sudo qlop -u libpng
Sat Jan 30 21:38:59 2010 <<< media-libs/libpng-1.2.41
Sat Mar 13 01:19:51 2010 <<< media-libs/libpng-1.2.42
Tue May 11 01:45:12 2010 <<< media-libs/libpng-1.2.43
Sat Jun 26 22:14:00 2010 <<< media-libs/libpng-1.2.43-r1

libpng was installed, slotted on Tuesday May 11
nothing broke. 
Didn't run lafilefixer, but did run revdep-rebuild a few times, and 
two deep world updates since then. On Jun 28 emerge --depclean --pretend
told me that libpng-1.2 is not used anymore. So I unmerged it (along
with a bunch of other stuff), and ran revdep-rebuild for good measure.

Should I let my breath out now, or should I not be surprised if
this "problem" hits a few weeks down the road?

Cheers, 

W
-- 
Willie W. Wong ww...@math.princeton.edu
Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire 
 et vice versa   ~~~  I. Newton



Re: [gentoo-user] Can we please get a USB-stick install boot image?

2010-06-30 Thread Willie Wong
On Wed, Jun 30, 2010 at 06:52:09PM -0400, waltd...@waltdnes.org wrote:
>   I don't know if this is the proper list to post this request to.  I've
> been using linux for a dozen years, and am capable of reading and
> following instructions.  But, after a lot of dicking around, I still
> haven't been able to modify a CD boot image get Gentoo to boot from a
> USB stick.  For my netbook (look ma, no CD) I ended up booting Knoppix
> from a USB-stick, and installing Gentoo from there.
> 
>   There are quite a few machines without CD drives being sold today, but
> none that I'm aware of that won't boot from a USB stick.  I believe that
> USB-stick images, rather than CD images, should be the default
> distributed boot images on the mirrors.  And think of all the CD's that
> won't end up in the landfill, after an install image is used once.

While I'd also like to see USB boot media, I'd like to observe that
SystemRescueCD, which is based on Gentoo, is perfectly good to use as
an install medium. 

W
-- 
Willie W. Wong ww...@math.princeton.edu
Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire 
 et vice versa   ~~~  I. Newton



Re: [gentoo-user] Mailing list policy on reply

2010-07-02 Thread Willie Wong
On Fri, Jul 02, 2010 at 02:54:33AM +0200, Nicolas Sebrecht wrote:
> Hi all,
> 
> I'm often stucked by the current policy in this mailing list changing
> the 'Reply-To' header to the mailing list address.  Most mailing lists I
> use don't do that.
> 
> It is usually better and prefer the "answer to all" policy as it permit
> to be notified of an answer without having to track the whole mailing
> list.
> 
> What do you think about changing of policy?

Way to go! Reviving a five-year-old discussion:

http://www.mail-archive.com/gentoo-u...@gentoo.org/msg45780.html

Which at that time, was already an old discussion:

http://www.mail-archive.com/gentoo-u...@gentoo.org/msg45855.html

So let's just not much about with it, eh?

Cheers,

W
-- 
Willie W. Wong ww...@math.princeton.edu
Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire 
 et vice versa   ~~~  I. Newton



Re: [gentoo-user] [OT] How to capture a screen video?

2010-07-05 Thread Willie Wong
On Mon, Jul 05, 2010 at 03:47:44PM +0800, Blackdream W wrote:
> 发文档务必请用.txt格式。其它格式不会被打开

For someone whose signature asks all posts to be in txt, what are you
doing sending so many GIFs to the mailing list?

W

-- 
Willie W. Wong ww...@math.princeton.edu
Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire 
 et vice versa   ~~~  I. Newton



Re: [gentoo-user] [OT] How to capture a screen video?

2010-07-05 Thread Willie Wong
On Mon, Jul 05, 2010 at 03:39:29PM +0200, Daniel Pielmeier wrote:
> 2010/7/5 William Kenworthy :
> >
> > There is a very informative movie that might help explain the process of
> > asking a question, then asking what question you need to get the answer.
> > Its called "Hitch Hikers Guide to the Galaxy".
> >
> > Its obvious, the answers 24.
> 
> 24? I always thought "The Answer to the Ultimate Question of Life, the
> Universe, and Everything" was 42. Did I miss something? :)

Obviously William Kenworthy is actually from a planet in the vicinity
of Betelgeuse, and has three arms, 2 of which with 6 fingers, and 1
with 7. Else I cannot fathom why he would want to try to count in base
19. 

W
-- 
Willie W. Wong ww...@math.princeton.edu
Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire 
 et vice versa   ~~~  I. Newton



Re: [gentoo-user] CD boot - dmesg buffer depth option?

2010-07-05 Thread Willie Wong
On Mon, Jul 05, 2010 at 09:16:14AM -0700, Mark Knecht wrote:
> I'm trying to capture the full boot log when booting from the Gentoo
> install CD but it seems the buffer isn't deep enough to get the whole
> thing. Is there by chance a command line option that will increase the
> depth of what's captured by dmesg so that I can get all the way back
> to the beginning?

pass the following parameter to the kernel on GRUB/LILO:

log_buf_len=n

where n is a power of two. By default it is 16384. You can change it
to 131072 (= 2^17) to get a much larger kernel log ring buffer. If you
put in something that is not a power of two, the kernel will ignore
the option. 

You may also have to pass an additional parameter to dmesg to read the
early messages: look at 'man dmesg' and the -s flag. 

Cheers, 

W
-- 
Willie W. Wong ww...@math.princeton.edu
Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire 
 et vice versa   ~~~  I. Newton



Re: [gentoo-user] CD boot - dmesg buffer depth option?

2010-07-06 Thread Willie Wong
On Mon, Jul 05, 2010 at 02:17:26PM -0700, Mark Knecht wrote:
> On Mon, Jul 5, 2010 at 12:11 PM, Willie Wong  wrote:
> > On Mon, Jul 05, 2010 at 09:16:14AM -0700, Mark Knecht wrote:
> >> I'm trying to capture the full boot log when booting from the Gentoo
> >> install CD but it seems the buffer isn't deep enough to get the whole
> >> thing. Is there by chance a command line option that will increase the
> >> depth of what's captured by dmesg so that I can get all the way back
> >> to the beginning?
> >
> > pass the following parameter to the kernel on GRUB/LILO:
> >
> > log_buf_len=n
> >
> > where n is a power of two. By default it is 16384. You can change it
> > to 131072 (= 2^17) to get a much larger kernel log ring buffer. If you
> > put in something that is not a power of two, the kernel will ignore
> > the option.
> >
>Thanks for the ideas. I've been trying them but so far no luck.
> 
>In my normal booting kernel (on the system hard drive) I did push
> the length up to 18. With that setting dmesg prints all the way back
> to the beginning. However booting the Live CD I hit F1, it shows the
> kernels, so I type
> 
> gentoo log_buf_len=18
> 

18 is not a power of two. 

Why didn't you just try 131072, like I suggested? In maths notation, 

 n = 2^k 

for some natural number k. 18 fails that miserably. :)

Cheers, 

W
-- 
Willie W. Wong ww...@math.princeton.edu
Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire 
 et vice versa   ~~~  I. Newton



Re: [gentoo-user] CD boot - dmesg buffer depth option?

2010-07-06 Thread Willie Wong
On Mon, Jul 05, 2010 at 02:17:26PM -0700, Mark Knecht wrote:
> On Mon, Jul 5, 2010 at 12:11 PM, Willie Wong  wrote:
> > On Mon, Jul 05, 2010 at 09:16:14AM -0700, Mark Knecht wrote:
> >> I'm trying to capture the full boot log when booting from the Gentoo
> >> install CD but it seems the buffer isn't deep enough to get the whole
> >> thing. Is there by chance a command line option that will increase the
> >> depth of what's captured by dmesg so that I can get all the way back
> >> to the beginning?
> >
> > pass the following parameter to the kernel on GRUB/LILO:
> >
> > log_buf_len=n
> >
> > where n is a power of two. By default it is 16384. You can change it
> > to 131072 (= 2^17) to get a much larger kernel log ring buffer. If you
> > put in something that is not a power of two, the kernel will ignore
> > the option.
> >
>In my normal booting kernel (on the system hard drive) I did push
> the length up to 18. With that setting dmesg prints all the way back
> to the beginning. However booting the Live CD I hit F1, it shows the
> kernels, so I type
> 

to add to the confusion is probably the fact that the in-kernel
configuration parameter is a bit-shift number, and the boot-time
cmdline parameter is actually 2 to that power. So the in-kernel
configuration parameter should be k (=18 in your case), and the
boot-time parameter should be 2^k (=262144).

Cheers, 

W
-- 
Willie W. Wong ww...@math.princeton.edu
Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire 
 et vice versa   ~~~  I. Newton



Re: [gentoo-user] [bugzilla-dae...@gentoo.org: [Bug 326991] Testing release of sys-libs/zlib-1.2.5.3 from unofficial sources (???)]

2010-07-06 Thread Willie Wong
On Tue, Jul 06, 2010 at 01:29:04AM +0200, Enrico Weigelt wrote:
> 
> Hi folks,
> 
> 
> does he speak for all of you ?
> 
> --- Comment #4 from vap...@gentoo.org  2010-07-05 19:39  ---
> lemme clarify further: dont bother submitting ebuilds for any package in
> OSS-QM.  we arent interested.
> 

What the heck is the OSS-QM?

No, the link in your sig didn't work, it returned a 404. 

In any case, if the gentoo maintainers don't want to deal with it, and
if you really need it, and if you can't convince them to switch, then
maybe it is time to try a new distro? 

Also, just because it is not *sanctioned* by the maintainers doesn't
mean it cannot go in an overlay somewhere. 

W
-- 
Willie W. Wong ww...@math.princeton.edu
Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire 
 et vice versa   ~~~  I. Newton



Re: [gentoo-user] revdep-rebuild + minimal output

2010-07-10 Thread Willie Wong
On Sat, Jul 10, 2010 at 06:52:35AM +0200, Enrico Weigelt wrote:
> is there an option to revdep-rebuild to only do output if it has 
> something to rebuild ? This should be run via cron to notify me
> via email.

Usually "is there an option..." questions are well-answered by "man
". And in this case the closest thing from the man page
is the -q option, which doesn't do exactly what you want. 

Cheers, 

W
-- 
Willie W. Wong ww...@math.princeton.edu
Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire 
 et vice versa   ~~~  I. Newton



Re: [gentoo-user] xorg-server 1.7.6 without mouse and keyboard

2010-07-13 Thread Willie Wong
On Tue, Jul 13, 2010 at 05:57:14PM +0200, Tamer Higazi wrote:
> After upgrading my system, xorg-server 1.7.6 is on my system. I 
> regenrated the config file Xorg -configure. The display is shown 
> proparly with everything around it but I don't have a mice and keyboard.
> 
> How do I get the mouse and keyboard to run. I followed the steps from 
> the official gentoo xorg guide, and nothing changed.
> 
> Any ideas?!

(1) Please post your xorg.conf
(2) Please show the output of emerge -pv xorg-server

Cheers, 
W
-- 
Willie W. Wong ww...@math.princeton.edu
Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire 
 et vice versa   ~~~  I. Newton



Re: [gentoo-user] I don't understand Perl. What do I do after an update?

2010-07-21 Thread Willie Wong
On Wed, Jul 21, 2010 at 08:04:54PM +0300, Nikos Chantziaras wrote:
> Portage recently updated Perl from 5.10.1 to 5.12.1 (and later -r1). 
> However, a crapload of files still remain in 
> /usr/lib/perl5/{site_perl,vendor_perl}/5.10.1.  I found out the hard way 
> after trying to emerge openoffice (and everyone knows how painful that 
> one is):
> 
> What is the user required to do after updating Perl?  elogv doesn't tell 
> me anything about upgrading.

There's this neat little script called perl-cleaner

http://www.gentoo.org/proj/en/perl/perl-cleaner.xml

W

-- 
Willie W. Wong ww...@math.princeton.edu
Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire 
 et vice versa   ~~~  I. Newton



Re: [gentoo-user] autossh

2009-09-10 Thread Willie Wong
On Wed, Sep 09, 2009 at 11:08:43PM +0530, Penguin Lover Kaushal Shriyan 
squawked:
> file `which autossh`
> /usr/bin/autossh: POSIX shell script text executable
> 
> http://paste.ubuntu.com/268077/
> 
> I dont see any of my env variables being called in that bash shell script.
> 
> Please suggest and guide
> 
> Thanks for the explanation.


Hum, do this for me, would ya?

(1) what happens when you run 
AUTOSSH_POLL=100 /usr/lib/autossh/autossh .

(2) first cp /usr/bin/autossh to your home directory,
and edit it to replace the line

exec /usr/lib/autossh/autossh "$@"

with 

env | grep AUTOSSH

Then in your shell call ./autossh (just that, not options). 
What happens?

---

If I remember correctly, shell environmental variables are supposed to
be passed to child shells. So scripts are supposed to inherit those
variables. So we are now trying to figure out whether it is the shell
that is broken or it is the autossh binary that is broken. 

Best, 

W
-- 
Q: "What is the best way to determine the volume of a little red ball."
Physicist: Measure the diameter, devide by two for radius and use the 
  formula 4/3 * PI * radius ^ 3
Chemist: Take a beaker, fill it with water. Dunk the ball in it, and 
  measure the amount of water displaced.
Engineer: It's easy, just pull out the "Little Red Ball" book and look it up.
Sortir en Pantoufles: up 1007 days,  8:05



Re: [gentoo-user] How often -uD world?

2009-09-10 Thread Willie Wong
On Wed, Sep 09, 2009 at 07:52:40PM -0600, Penguin Lover Maxim Wexler squawked:
> My netbook has only (4+8)G of sketchy SSD + SDHC RAM for everything
> and I am determined not to emerge anything I don't really need.

You are a brave, brave man. 

With 4+8G, how much non-system space do you have left after installing
gentoo? If bandwidth is cheap, I suppose you can just remove all
distfiles after installing. 

W
-- 
Goddamnit! I missed!
(On the unfortunate non-intersection of the X, Y and Z axis)
Sortir en Pantoufles: up 1007 days,  8:31



Re: [gentoo-user] screen, mc, htop

2009-09-11 Thread Willie Wong
On Fri, Sep 11, 2009 at 10:38:50AM -0500, Paul Hartman wrote:
> On Fri, Feb 13, 2009 at 2:35 PM, András, Csányi - Sayusi Ando
>  wrote:
> > I use screen lot of and I like it veery much. Few weeks ago - when I
> > reinstall gentoo, started this weird thing.
> > If I start mc in the screen nothings happen. I can see the cursos is
> > stop before the last line and waiting...
> > Generally first time the mc is start and I can work with. But, random
> > long time later the mc is start doing this stupid behavior what I
> > wrote upper. This thing is independent what I did. Last time is
> > started after I use vim to edit an file. Yesterday started after I
> > write in mc's command line 'df -h' and hit Enter.
> 
> This is a very old post, but I want to say I am experiencing the same
> problems with screen and mc (even after I initially replied saying I
> didn't have it :). Did you ever find a solution?
> 

I dunno if my problem is the same as yours, but it may not be just mc.
screen has been crapping out on me lately, and also randomly, like
described above, when I use some of the shell scripts that I wrote. It
only happens with interactive scripts that display a menu using
'dev-util/dialog'. Most of the time it works, sometimes it doesn't:
after the previous dialog clears the screen, screen just sits there
blinking and not loading the next one. 

I'd be interested in a solution too, if there is one.

W
-- 
Willie W. Wong ww...@math.princeton.edu
408 Fine Hall,  Department of Mathematics, Princeton University,  Princeton
Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire 
 et vice versa   ~~~  I. Newton



Re: [gentoo-user] [OT] In search of a "good" windowmanager

2009-09-14 Thread Willie Wong
On Sat, Sep 12, 2009 at 01:34:27PM -0400, Penguin Lover Philip Webb squawked:
> 090912 Lars Gust?bel wrote:
> > I've been using fvwm2 for years now ...
> > I have a graphical system monitor on my third desktop ...
> 
> Can you have multiple desktops with Fvwm ?
> I couldn't find anything about it in the manual
> & dropped further investigation of Fvwm as a result.

Another vote for fvwm2. 

Like someone else said, fvwm does almost nothing by default, but boy
is it configurable :) And yes, it does support multiple desktops...
the only limit to how many I think is your RAM. 

You mentioned keyboard useable. I dunno if it will help, but my
old mouse/keyboard config is available here
http://www.math.princeton.edu/~wwong/fvwm/MouseKeyboardConfig.fvwm2rc
With my definitions I *can* use fvwm without using the mouse at all,
but I still use it to access the menu for convenience (the Menu key on
my laptop is not where one normally expects it to be). 

Just my 2 cents. 

W


-- 
What do you get when you cross a cat and a dog?

Ans. cat-dog-sine-theta
  ~Prof. Paul Hagelstein. MAT 330. P-town
Sortir en Pantoufles: up 1011 days, 11:41



Re: [gentoo-user] [OT] Rootwindow Sysmon?

2009-09-16 Thread Willie Wong
On Wed, Sep 16, 2009 at 05:51:30PM +0200, Penguin Lover meino.cra...@gmx.de 
squawked:
> on my way to the "best" window manager (at least for my needs ;) )
> I came across a lot of screenshots of themes.
> More than one screenshot shows something which looks like a
> system monitor a la gkrellm but it was painted plain onto
> the background / root window.

It may help if you point us to the screen shot. 

But quite a few X applications allow drawing directly to the root
window. For example, torsmo and conky (both in portage), supports the
-w switch to specify the window id. You just need to specify the right
one for the root window :)

http://conky.sourceforge.net/docs.html
http://torsmo.sourceforge.net/readme.php

W
-- 
A grenade thrown into a kitchen in France would result in Linoleum Blownapart.
Sortir en Pantoufles: up 1013 days, 14:53



  1   2   3   4   5   6   7   8   9   10   >