Re: [gentoo-user] startx with multiple window managers

2013-08-24 Thread Willie WY Wong
On Fri, Aug 23, 2013 at 01:39:45PM -0400, Penguin Lover Randy Westlund squawked:
 - log in
 - startx
 - login on tty2
 - edit .xinitrc (shown below)
 - startx -- :1
 
 .xinitrc goes from:
 
  exec xmonad
  #exec startxfce4
 
 to:
  #exec xmonad
  exec startxfce4
 
 Then I can switch between tty7 and tty8 at will.  Usually I don't start xfce 
 at all, but for the times when I do, I'd be nice to do this without editing a 
 file.  Can I simplify this process?  Is there anyone else who uses multiple 
 WMs?  How do you manage them?

If you use xinit instead of startx, you can use the environmental
variable

~ $ XINITRC=.xinitrc-xmonad xinit -- :1 

should do what you want. Just keep the two different versions of
.xinitrc-xmonad and .xinitrc-xfce and use aliases if you don't want
too much typing. 

W
-- 
Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire 
 et vice versa   ~~~  I. Newton



Re: [gentoo-user] Portage 2.2

2013-07-24 Thread Willie WY Wong
On Wed, Jul 24, 2013 at 12:46:59PM +0200, Penguin Lover Alan McKinnon squawked:
 @set1+@set2/@set3 reduces to:
 
 all the elements of set1 and set2 without the elements that are in set3
 (/ is difference).
 

Speaking as a mathematician (and A. Gottlieb will agree with me), I
would be rather annoyed that they chose (if this is not a misquote 
from the original proposed documentation) to use '/' for set 
difference instead of '\' as it is supposed to be. 

Humph.

W


-- 
Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire 
 et vice versa   ~~~  I. Newton



Re: [gentoo-user] Experiences with amd richland or trinity APUs?

2013-07-24 Thread Willie WY Wong
On Tue, Jul 23, 2013 at 11:09:12AM +0800, Penguin Lover tlze squawked:
  The actual models are A8 (trinity, RD 7560D GPU) and A10 (richland RD 8570D
  GPU), or a plain AthlonIIx4 (no GPU).
  My question is: Are these GPUs supported properly under linux? Does anyone
  have experiences with them?
 
 
 
 The ati-drivers is supported my A10.( ati-drivers 支持我的A10 )
 Nothing special attention to the place you want. ( 没什么要特别要注意的地方。)
 

Uh, let me do a little bit of community service. tlze meant to write:

The ati-drivers supports my A10, and there's nothing you should pay
special attention to: it should just work. 

Willie

-- 
Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire 
 et vice versa   ~~~  I. Newton



Re: [gentoo-user] dropbox on xfce

2013-05-24 Thread Willie WY Wong
On Sun, May 12, 2013 at 01:15:53PM -0300, Penguin Lover luis jure squawked:
 and what about /etc/init.d/dropbox, should i start the service?
 
 i also noticed that there's a file /etc/conf.d/dropbox, i had to add my 
 use to DROPBOX_USERS, otherwise there where errors when i tried to launch
 dropbox. 
 
 excuse all the questions, but as you see it's not working for me and i 
 don' have much clue what's wrong or how to solve this problem.

Some time ago I downloaded a file dropbox.py from the forums which is
a python script giving commandline interface to start/stop the dropbox
daemon (among other things). It was/is distributed with
nautilus-dropbox, but I didn't want to install the whole gnome
shebang. 

As a result I have not configured /etc/conf.d/dropbox and I don't use
/etc/init.d/dropbox to start it either. 

W

-- 
Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire 
 et vice versa   ~~~  I. Newton



Re: [gentoo-user] dropbox on xfce

2013-05-24 Thread Willie WY Wong
On Fri, May 24, 2013 at 08:28:59PM +0200, Penguin Lover Marc Joliet squawked:
 I believe that is available as net-misc/dropbox-cli. It's how I start/stop
 dropbox here.

Ooh, it has been in the tree for almost a year now and I didn't notice? Wow.
Especially since I've just started using dropbox a little over a year ago. 

Thanks for the pointer!

W

-- 
Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire 
 et vice versa   ~~~  I. Newton



Re: [gentoo-user] dropbox on xfce

2013-05-24 Thread Willie WY Wong
On Fri, May 24, 2013 at 09:45:46PM -0300, Penguin Lover luis jure squawked:
 
 just for the record (i started the thread), i never could make the dropbox
 installed by the ebuild work. so i downloaded the binaries from the dropbox
 site and they worked fine from the cli with the dropbox.py script. 
 
 never got to know what was the problem with the dropbox installed by the
 ebuild. didn't care much either, i just needed to use dropbox to share
 some files with my colleagues. i don't think i'll use it much more now.
 

What USE flags do you have set? In particular, have you tried
installing with the librsync-bundled flag turned on? 

W

-- 
Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire 
 et vice versa   ~~~  I. Newton



[gentoo-user] [Slightly, but not entirely, OT] Help Python!

2013-02-15 Thread Willie WY Wong
I don't know whether this has percolated to Gentoo users yet. 

http://pyfound.blogspot.ch/2013/02/python-trademark-at-risk-in-europe-we.html

A company in the UK is trying to trademark the use of Python for
IT related products. The Python Software Foundation is seeking
evidence for consistent prior use of the term Python in the software
and related goods context to defeat the trademark application. 

Considering that portage is largely python under the hood, I think it
would not be wrong to say that Gentoo has a bit of a stake in this. 

Cheers, 

W



Re: [gentoo-user] continue an installation

2012-12-07 Thread Willie WY Wong
On Thu, Dec 06, 2012 at 05:18:24PM -0600, Penguin Lover Kevin Brandstatter 
squawked:
 coorect, you could concievable run something like
 ebuild ebuildname qmerge if all the steps have been completed
 

I will give something like this a try next time. 

W




[gentoo-user] revdep-rebuild ignoring Ctrl-C

2012-12-06 Thread Willie WY Wong
Hi list, just discovered something slightly unexpected. 

I am on gentoolkit-0.3.0.7. 
I started running revdep-rebuild on the console. 
The process starts, found the broken deps, and started with the
emerge. 

Before it starts the emerge process, I can interrupt revdep-rebuild
with Ctrl-C

After it starts the emerge process, hitting Ctrl-C on the console
drops me to bash, but evidently the emerge / revdep-rebuild continues
running. (The processes live on and continue to compile and spew
messages on the console.) 

I honestly don't remember whether it has always been like this or is
this some new behaviour on my computer. But it is somewhat annoying
(just discovered that earlier when I suddenly needed to pack up and go
in a rush). 

Thoughts?

W
-- 
Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire 
 et vice versa   ~~~  I. Newton



[gentoo-user] continue an installation

2012-12-05 Thread Willie WY Wong
Hi list, 

Suppose that I tried to emerge a package, and the compilation phase
went through without problems, but it got stopped in the installation
phase. Is there a way to (after I fixed the problem) to tell portage
to install the (now all already compiled binaries sitting in
/var/tmp/portage) directly without having to redo the compiling phase? 

Case in point:

I just tried to update dev-lib/boost to 1.52. The compilation went
without a hitch, but the installation died because of file collision
against (I think) boost-1.49.0-r1000. Now that the colliding files are
no longer there, is there a way to tell portage to go ahead an install
boost-1.52 from the compiled sources in /var/tmp/portage ?

Thanks, 

W
-- 
Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire 
 et vice versa   ~~~  I. Newton



Re: [gentoo-user] new machine : suddenly Python 3 appears

2012-09-20 Thread Willie WY Wong
On Wed, Sep 19, 2012 at 09:08:52AM +0200, Penguin Lover Marc Joliet squawked:
 2.) The full blown interactive solution: IPython. You can create a session and
 configure which modules you want preloaded via startup scripts. This is
 overkill for what you want, I think, but IPython is a much nicer interactive
 Python interpreter than python itself. For instance, you can reuse previous
 outputs, e.g. Out[2], to get the output from the third command you entered
 (indexing starts at 0). Inputs can be similarly recalled by referencing
 In[i].

Yes, I recommend ipython too. 

 3.) Put the import line in its own file and put it in the variable
 PYTHONSTARTUP, e.g. export PYTHONSTARTUP=/path/to/my/script.py. Python
 executes it's contents before presenting the prompt, so you can put whatever
 imports you want in that script. It's simple, and if the python interpreter is
 enough for you, then I'd go with this.
 
 There are probably more possibilities, but this is what I can think of right
 now.

Unless you want to load the math module every single time you start 
Python, it is perhaps better to create an alias (say, python-calc) 
in bash (or shell of your choice) using the `-i' option of python 
like 
  alias python-calc='python -i loadmath.py' 
or if you only need one single command
  alias python-calc='python -i -c from math import *' 
which will give you an interactive session with the math functions
preloaded. 

Cheers, 

W
-- 
Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire 
 et vice versa   ~~~  I. Newton




Re: [gentoo-user] Heads-up; bash now uses readline USE flag

2012-09-10 Thread Willie WY Wong
On Sun, Sep 09, 2012 at 12:00:15PM +0200, Penguin Lover Alan McKinnon squawked:
  Or, when previewing what
 emerge world wants to do, note that a new flag is enabled, remove it
 yourself and let emerge world proceed when you are happy with it.

s/remove/add 
and your advice works equally well for us -*'ers :-)

W



Re: [gentoo-user] mounting samsung galaxy S III (android ics)

2012-07-20 Thread Willie WY Wong
On Thu, Jul 19, 2012 at 07:29:57AM +0200, Penguin Lover J. Roeleveld squawked:
 Aside from installing an FTP-server, you can also install AirDroid, it
 lets you control the phone via a webbrowser over a WIFI-connection.
 
 It lets you backup nearly everything from your phone, including the
 applications you installed. When downloading multiple files at once, it
 zips them first.
 
 I also like the option to transfer the clipboard to/from the phone and
 type text messages (SMS) in a webbrowser to be sent out by the phone.
 

Wow! New found capabilities for my droid. Thanks!

W 



Re: [gentoo-user] Problem with sudo

2012-07-03 Thread Willie WY Wong
On Sun, Jul 01, 2012 at 10:41:12AM +0800, Penguin Lover 赵佳晖 squawked:
 I have use your method , it didn't work .
 Like:
 sudo echo sys-boot/grub:2 ** 
 /etc/portage/package.accept_keywords/package.keywords.grub2 echo
 sys-boot/grub:2 ** | sudo tee
 /etc/portage/package.accept_keywords/package.keywords.grub2
 
 And the result :
 zjhui@gentoo ~ $ ls -l
 /etc/portage/package.accept_keywords/package.keywords.grub2
 -rw-r--r-- 1 root root 0 Jul  1 10:37
 /etc/portage/package.accept_keywords/package.keywords.grub2
 
 It's an empty file.

I think you misread the e-mail. The left hand side below is what you
**shouldn't** do. The right hand side is what you **should** do. So
you **should** run

echo sys-boot/grub:2 ** | sudo tee 
/etc/portage/package.accept_keywords/package.keywords.grub2

and no more. 

W

 
  If Neil is right, you may want to read man tee. It work roughly like
  that:
  instead of   do
  sudo echo sthg  /etc/file.cfg   echo sthg | sudo tee /etc/file.cfg
  sudo echo sthg  /etc/file.cfg  echo sthg | sudo tee -a /etc/file.cfg




Re: [gentoo-user] Re: make of gentoo-sources-3.2.12 fails

2012-05-18 Thread Willie WY Wong
On Tue, May 15, 2012 at 10:01:00AM -0700, Penguin Lover Mark Knecht squawked:
  Maybe like me, you blabber more than you think:
 
  http://archives.gentoo.org/stats/gentoo-user-per-year.xml
 
 Jeez Am I _STILL_ showing up on this list of high posting people?
 I've honestly worked to get below number 10 and I cannot get there
 apparently... (Too many posts like this I suppose!) ;-)
 

Ah, another year, yet another new e-mail address. This certainly
helped keep me under the radar. I am quite surprised that I appeared
at all on that list, though I suppose my verbosity level has decreased
as I aged. 

Cheers,

W
-- 
Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire 
 et vice versa   ~~~  I. Newton




Re: [gentoo-user] ffmpeg and libav

2012-05-18 Thread Willie WY Wong
On Thu, May 17, 2012 at 02:43:17AM +0100, Penguin Lover Stroller squawked:
 Best thing to do is to remove video/ffmpeg from world in favour of 
 virtual/ffmpeg so that Portage can work things out for itself. 

Most likely (if you are on a desktop system), ffmpeg would be pulled
in as a dependency of something else anyway, in which case there is
really no need to even keep either in @world. 

W
-- 
Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire 
 et vice versa   ~~~  I. Newton




Re: [gentoo-user] Just a heads-up, I think =sys-libs/glibc-2.14.1-r3 is a stinker.

2012-04-27 Thread Willie WY Wong
On Thu, Apr 26, 2012 at 10:38:21AM -0400, Penguin Lover Doug Hunley squawked:
 On Thu, Apr 26, 2012 at 04:47, Helmut Jarausch
 jarau...@igpm.rwth-aachen.de wrote:
  I am at glibc-2.15-r1 on AMD64 with no problems so far,
 
 ditto here
 

Hey guys, I think we've pretty much established that Michael is
running into an isolated problem or some strange edge case. 
Rubbing it in further really won't help, as he is quite clearly 
having an issue with two (or three) of his boxes despite y'all's
success on yours. So can we please stop with the works for me 
e-mails? 

At the very least, if you were to post one such, please make it
possibly useful for Michael by including your build options and such. 

Regards, 

W 



Re: [gentoo-user] FFTOOLS flags?

2012-04-16 Thread Willie WY Wong
On Fri, Apr 06, 2012 at 12:15:05PM +0200, Penguin Lover Willie WY Wong squawked:
 Does anyone know what these guys are and/or if they are documented
 anywhere? 

Ah, found it. 

What I was looking for and more are in the /usr/portage/profiles/desc/
directory. 

W
-- 
Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire 
 et vice versa   ~~~  I. Newton




Re: [gentoo-user] Problems with ath9k: can't authenticate

2012-04-16 Thread Willie WY Wong
On Fri, Apr 13, 2012 at 09:44:25AM -0300, Penguin Lover Claudio Roberto França 
Pereira squawked:
 Anyway, does anyone with a similar setup had any problems with atheros
 nics? And how did you solve it?

Does your problem happen with WEP or WPA networks? 

There is a known bug introduced in the 3.2 kernels that breaks ath9k
for WEP networks (though WPA and WPA2 are not effected). The patch I
thought had been merged into the 3.3 series, though I am not sure when
(which minor version) it went in. 

(I have been putting off a kernel upgrade because of this.)

W
-- 
Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire 
 et vice versa   ~~~  I. Newton




Re: [gentoo-user] Re: seamonkey bookmarks file location

2012-04-16 Thread Willie WY Wong
On Sat, Apr 14, 2012 at 05:28:12PM -0500, Penguin Lover »Q« squawked:
 That's true.  There used to be a places.sqlite-journal file as well,
 which should be deleted from the profile a places.sqlite file is being
 copied to, but I don't see it any more in either Firefox or SeaMonkey.
 

While I don't know if this is *supposed* to be the right way, what
I've done recently when I installed a new computer was just to copy
the latest entry in 

  ~/.mozilla/firefox/*.default/bookmarkbackups/

to the corresponding location in the new computer, and on the new
install use bookmark manager to restore to a previous back up. 

W

-- 
Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire 
 et vice versa   ~~~  I. Newton




[gentoo-user] FFTOOLS flags?

2012-04-06 Thread Willie WY Wong
Hi list:

emerge --pretend --update world today brought up a new version of
ffmpeg. This time it has a new set of configuration options FFTOOLS

[ebuild U  ] media-video/ffmpeg-0.10.2 [0.10] FFTOOLS=-aviocat% -cws2fws% 
-ffeval% -graph2dot% -ismindex% -pktdumper% -qt-faststart% -trasher% 

Does anyone know what these guys are and/or if they are documented
anywhere? 

Thanks, 

Willie
-- 
Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire 
 et vice versa   ~~~  I. Newton




Re: [gentoo-user] FFTOOLS flags?

2012-04-06 Thread Willie WY Wong
On Fri, Apr 06, 2012 at 12:58:18PM +0200, Penguin Lover Volker Armin Hemmann 
squawked:
 Am Freitag, 6. April 2012, 12:15:05 schrieb Willie WY Wong:
  emerge --pretend --update world today brought up a new version of
  ffmpeg. This time it has a new set of configuration options FFTOOLS
  
  [ebuild U  ] media-video/ffmpeg-0.10.2 [0.10] FFTOOLS=-aviocat%
  -cws2fws% -ffeval% -graph2dot% -ismindex% -pktdumper% -qt-faststart%
  -trasher%
  
  Does anyone know what these guys are and/or if they are documented
  anywhere?
  
 euse -i

~ $ euse -i aviocat
global use flags (searching: aviocat)

no matching entries found

local use flags (searching: aviocat)

no matching entries found


Note: FFTOOLS! not USE!

W
-- 
Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire 
 et vice versa   ~~~  I. Newton




Re: [gentoo-user] FFTOOLS flags?

2012-04-06 Thread Willie WY Wong
On Fri, Apr 06, 2012 at 01:53:22PM +0200, Penguin Lover Volker Armin Hemmann 
squawked:
[ebuild U  ] media-video/ffmpeg-0.10.2 [0.10] FFTOOLS=-aviocat%
-cws2fws% -ffeval% -graph2dot% -ismindex% -pktdumper% -qt-faststart%
-trasher%

  ~ $ euse -i aviocat
  global use flags (searching: aviocat)
  
  no matching entries found
  
  local use flags (searching: aviocat)
  
  no matching entries found
  
 euse -i qt-faststart
 
 + C] qt-faststart
 media-video/ffmpeg: Build and install qt-faststart application
 [+ B] 0.7.8 [gentoo]
 [+ B] 0.10 [gentoo]
   0.10.2 [gentoo]
    [gentoo]
 

You may notice that qt-faststart is the only one that shows. And if
you look at the euse output you'd see that that is because prior to
0.10.2 qt-faststart is an USE, now it gets relegated as an FFTOOLS,
along with the other FFTOOLS options that do _not_ have info in 'euse
-i'. 

So my question still stands, does anyone know where there FFTOOLS
flags are documented? 

W
-- 
Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire 
 et vice versa   ~~~  I. Newton




Re: [gentoo-user] Anyone Else Ping-Ponging with fltk?

2012-03-29 Thread Willie WY Wong
On Wed, Mar 28, 2012 at 05:43:00PM +0100, Penguin Lover David W Noon squawked:
 In that case, the source of the breakage is almost certainly Portage.
 
 If a slotted package is in the world file without a slot specification,
 Portage should really take that to mean all installed slots are
 required rather than any slot will do -- or, worse still, ignore the
 world entry and fall back to package dependencies.

I disagree. Portage has always been very clear about this: atoms
without slot or version specification means precisely **any
slot/version will do**. The behaviour is entirely consistent between
the command line, ebuilds, the world and set files, as well as other
things in the profile (per package use flag and keyword
specifications). 

W



Re: [gentoo-user] Why is dhcpcd starting by itself?

2012-02-27 Thread Willie WY Wong
On Sun, Feb 26, 2012 at 07:00:52PM -0600, Penguin Lover Dale squawked:
 You should read the thread  rfc: only the loopback interface should
 provide net on -dev.  They were discussing the changes in this.  Maybe
 those changes had something to do with what happened here.
 
 Dale
 

Thanks Dale! That explains why OpenRC 0.9.9 works differently from
before. And seeing that NetworkManager provides net also, maybe so
should wicd? 

W
-- 
Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire 
 et vice versa   ~~~  I. Newton




Re: [gentoo-user] wicd will not connect to wireless network

2012-02-27 Thread Willie WY Wong
On Sun, Feb 26, 2012 at 07:09:26PM +0100, Penguin Lover Willie WY Wong squawked:
 I wonder if it would be advisable to file a bug to have wicd provide
 net? (Is there any reason why this would be a bad idea?)
 

Ah, in fact it seems that having wicd provide net is already in the
works:

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

W
-- 
Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire 
 et vice versa   ~~~  I. Newton




[gentoo-user] Why is dhcpcd starting by itself?

2012-02-26 Thread Willie WY Wong
On Thursday night, I emerged some packages

Thu Feb 23 23:26:44 2012  net-libs/webkit-gtk-1.6.3-r300
Thu Feb 23 23:29:44 2012  www-client/midori-0.4.3
Thu Feb 23 23:45:36 2012  sys-apps/portage-2.1.10.49
Thu Feb 23 23:52:50 2012  media-libs/libpng-1.5.9
Thu Feb 23 23:53:45 2012  sys-apps/openrc-0.9.9
Thu Feb 23 23:56:43 2012  dev-libs/libgcrypt-1.5.0-r2
Thu Feb 23 23:58:35 2012  media-libs/libmikmod-3.2.0_beta2-r5
Thu Feb 23 23:59:20 2012  media-libs/vo-aacenc-0.1.2
Fri Feb 24 00:00:44 2012  dev-libs/libevent-2.0.17
Fri Feb 24 00:06:11 2012  dev-libs/libxml2-2.7.8-r5
Fri Feb 24 00:07:26 2012  media-sound/alsa-utils-1.0.25-r1
Fri Feb 24 00:08:35 2012  sys-apps/file-5.11
Fri Feb 24 00:10:28 2012  media-libs/imlib2-1.4.5
Fri Feb 24 00:15:00 2012  sys-apps/util-linux-2.20.1-r2
Fri Feb 24 00:15:18 2012  dev-util/intltool-0.50.1
Fri Feb 24 00:19:57 2012  net-print/hplip-3.12.2-r1
Fri Feb 24 00:23:30 2012  media-sound/mpd-0.16.7
Fri Feb 24 00:23:47 2012  dev-tex/latexmk-430a
Fri Feb 24 00:24:20 2012  dev-tex/latex-beamer-3.13

On Friday morning, I started having network problems. wicd would try
to connect to the access point, and fail. 

[   49.754744] r8169 :01:00.0: eth0: link down
[   50.958354] r8169 :01:00.0: eth0: link down
[   52.349167] wlan0: authenticate with 00:01:e3:4b:4a:6d (try 1)
[   52.355694] wlan0: authenticated
[   52.355762] wlan0: associate with 00:01:e3:4b:4a:6d (try 1)
[   52.358116] wlan0: RX AssocResp from 00:01:e3:4b:4a:6d (capab=0x411 status=0 
aid=6)
[   52.358130] wlan0: associated
[   58.579496] wlan0: deauthenticating from 00:01:e3:4b:4a:6d by local choice 
(reason=3)
[   58.589726] cfg80211: Calling CRDA to update world regulatory domain
[   58.751572] r8169 :01:00.0: eth0: link down
[   59.954878] r8169 :01:00.0: eth0: link down
[   61.359184] wlan0: authenticate with 00:01:e3:4b:4a:6d (try 1)
[   61.365490] wlan0: authenticated
[   61.365561] wlan0: associate with 00:01:e3:4b:4a:6d (try 1)
[   61.367884] wlan0: RX AssocResp from 00:01:e3:4b:4a:6d (capab=0x411 status=0 
aid=6)
[   61.367898] wlan0: associated
[   65.108874] wlan0: deauthenticating from 00:01:e3:4b:4a:6d by local choice 
(reason=3)
[   65.119716] cfg80211: Calling CRDA to update world regulatory domain
[   65.295639] r8169 :01:00.0: eth0: link down
[  262.492240] r8169 :01:00.0: eth0: link down

A bit of tracking plus memories of bygone days led me to realise that, 
for some reason, the two copies of dhcpcd client were being run! One
was started by wicd, after it associates to the AP. But how'bout the
other one? 

Well, on boot up this morning, I saw that, for the first time in a
*very long while* that DHCPCD is being started at boot time as a
service. Now, I am sure I didn't include it as a service. 

Gee-Mi-Ni ~ # rc-update show
alsasound |  default
 bootmisc | boot
  consolefont | boot
 dbus |  default
devfs |sysinit
dmesg |sysinit
 fsck | boot
  gpm |  default
 hostname | boot
  hwclock | boot
  keymaps | boot
killprocs |shutdown
local |  default nonetwork
   localmount | boot
  metalog | boot
  modules | boot
 mount-ro |shutdown
 mtab | boot
   net.lo | boot
 netmount |  default
   procfs | boot
 root | boot
savecache |shutdown
 swap | boot
swapfiles | boot
   sysctl | boot
 termencoding | boot
 udev |sysinit
   udev-postmount |  default
  urandom | boot
 wicd | boot

Okay, on the other hand rc-status showed something I haven't seen before

Dynamic Runlevel: needed
 sysfs[started]
 dhcpcd   [started]

Huh, simple enough, some other service needs dhcpcd to be running. Okay. Let me 
see which one it is:

Gee-Mi-Ni init.d # grep dhcpcd /etc/init.d/*
/etc/init.d/dhcpcd:command=/sbin/dhcpcd
/etc/init.d/dhcpcd:pidfile=/var/run/dhcpcd.pid
/etc/init.d/wpa_supplicant: before dns dhcpcd net

uh, apparently none of them? 

Can someone help me figure out how to find the offending initscript that is 
needlessly calling dhcpcd? 

Cheers, 
W
-- 
Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire 
 et vice versa   ~~~  I. Newton




Re: [gentoo-user] wicd will not connect to wireless network

2012-02-26 Thread Willie WY Wong
On Sun, Feb 26, 2012 at 11:34:01AM +0200, Penguin Lover Alan McKinnon squawked:
 On Sun, 26 Feb 2012 10:19:56 +0100
 Dan Johansson dan.johans...@dmj.nu wrote:
  After running an update yesterday (about 50 packages) on my ~x86
  laptop, wicd stopped working, and no wicd was not updated neither was
  any other network related packages. Today after a reboot my wireless
  network refused to start from wicd, starting it manually works. This
  is a part of the wicd.log:
  
 I'm having similar issues with an Intel N6300 since a reboot.
 
 In my case it fails with this:
 
 [   76.232020] wlan0: deauthenticating from
 xx:xx:xx:xx:xx:xx by local choice (reason=3)
 
 Which means something deauthed the connection in the meantime. This
 happens with kernel 3.2.6, but rebooting into 3.2.5 works just fine.
 

You guys are almost certainly running into the same problem as the one
I mentioned in the thread I just started. 

Try `pkill dhcpcd` and associate again. 

Unfortunately I couldn't figure out why all of a sudden dhcpcd decides
to start on boot. 

Cheers, 

W

-- 
Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire 
 et vice versa   ~~~  I. Newton




Re: [gentoo-user] Why is dhcpcd starting by itself?

2012-02-26 Thread Willie WY Wong
On Sun, Feb 26, 2012 at 07:32:43AM -0600, Penguin Lover Dale squawked:
 This may not be it but worth taking a look at.  /etc/rc.conf  From that
 file:
 
 # rc_hotplug is a list of services that we allow to be hotplugged.
 # By default we do not allow hotplugging.
 # A hotplugged service is one started by a dynamic dev manager when a
 matching
 # hardware device is found.
 # This service is intrinsically included in the boot runlevel.
 # To disable services, prefix with a !
 # Example - rc_hotplug=net.wlan !net.*
 # This allows net.wlan and any service not matching net.* to be plugged.
 # Example - rc_hotplug=*
 # This allows all services to be hotplugged
 #rc_hotplug=*
 
 I think that should be off by default but maybe try disabling them all
 manually just in case.
 

Hotplug has never been turned on in my case. 

I've always had

rc_hotplug=!net.* 

W
-- 
Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire 
 et vice versa   ~~~  I. Newton




Re: [gentoo-user] Re: Why is dhcpcd starting by itself?

2012-02-26 Thread Willie WY Wong
On Sun, Feb 26, 2012 at 05:35:30AM -0800, Penguin Lover walt squawked:
 The value of ${IFACE} is set (I think) by looking at the .lo
 or .eth0 file extension of net.lo or net.eth0 (or whatever
 symlink you created when you installed gentoo).  If you don't
 have a net.whatever symlink to net.lo, then openrc defaults to
 dhcp.

Gee-Mi-Ni init.d # ls -l net*
lrwxrwxrwx 1 root root 6 Nov  7  2009 net.eth0 - net.lo
-rwxr-xr-x 1 root root 16852 Feb 26 10:06 net.lo
-rwxr-xr-x 1 root root  2211 Feb 26 10:06 netmount
lrwxrwxrwx 1 root root 6 Jan 22  2010 net.wlan0 - net.lo
-rwxr-xr-x 1 root root  6954 Feb 26 10:06 network

I think I have the correct ones. 

W
-- 
Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire 
 et vice versa   ~~~  I. Newton




Re: [gentoo-user] Why is dhcpcd starting by itself?

2012-02-26 Thread Willie WY Wong
On Sun, Feb 26, 2012 at 10:35:35AM +0100, Penguin Lover Willie WY Wong squawked:
 Can someone help me figure out how to find the offending initscript that is 
 needlessly calling dhcpcd? 

Apparently the culprit is /etc/init.d/netmount
I am not sure how it got into the default run level, since I don't use
any network file systems on my netbook. 

Cheers, 
W
-- 
Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire 
 et vice versa   ~~~  I. Newton




Re: [gentoo-user] wicd will not connect to wireless network

2012-02-26 Thread Willie WY Wong
On Sun, Feb 26, 2012 at 06:00:46PM +0100, Penguin Lover Dan Johansson squawked:
  Yes, that was it, killing the dhcpcd made it possible to bring the 
  interface up and associate with the AP.
  As openrc was one of the packages upgraded yesterday (0.9.8.4 - 0.9.9.1) I 
  assume (guess) that is why dhcpcd gets started at boot.
  Now I just have to figure out a way to stop this from happening.
 
 The problems seems to be that dhcpcd was started automatically as soon as a 
 service needed the network - in my case dhcpcd was started due to 
 /etc/init.d/sshd.
 At the moment I have solved it with putting rc_dhcpcd_provide=!net in 
 /etc/rc.conf
 which prevents dhcpcd to start when sshd is started and wicd can now do it's 
 magic.
 

I wonder if it would be advisable to file a bug to have wicd provide
net? (Is there any reason why this would be a bad idea?)

Cheers, 

W
-- 
Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire 
 et vice versa   ~~~  I. Newton




Re: [gentoo-user] Why is dhcpcd starting by itself?

2012-02-26 Thread Willie WY Wong
On Sun, Feb 26, 2012 at 05:31:23PM +0200, Penguin Lover Alan McKinnon squawked:
 Here's what I've found after much up  down-grading and rebooting:
 
 First, I've had netmount in the default runlevel for ages and it's
 worked for ages even though it does nothing.
 Second, openrc has been launching dhcpcd -q at boot time for ages and
 this has never interfered with wicd which comes along later.
 
 openrc-0.8.* always works with any kernel version
 openrc-0.9* work with kernel-3.2.5
 
 openrc-0.9* does not work with kernel-3.2.6, giving these errors:

snipped log-

 
 That looks to me like avahi is all confused and tripping over what
 openrc  wicd do properly. I'd say the root cause is a change in
 kernel-3.2.6 that was not tested against.
 

Alan: after re-reading your post, I have to retract my earlier
statement. It seems *your* problem is a separate one from the one that
Dan and I are having! 

I am running on 2.6.37. I just tried to upgrade to 3.2.6 earlier today
but ran into some other problems (there seems to be a bug in the
linux-3 kernel that breaks WEP for ath9k wireless cards, that and for
some reason `shutdown -h now' halts but does not power off; both are
known and there are patches, just haven't made it into the tree yet). 

The problem I was reporting has nothing to do with the kernel (same
kernel since last August). 

Cheers, 

W

Cheers, 

W
-- 
Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire 
 et vice versa   ~~~  I. Newton




Re: [gentoo-user] Overlays - mask everything except a specific package?

2012-02-23 Thread Willie WY Wong
On Tue, Feb 21, 2012 at 08:04:36PM +, Penguin Lover Neil Bothwick squawked:
  2) Mask everything in an overlay except exactly what I actually want
  installed.
 
 The way I do this is to layman -a the overlay but not put it in
 make.conf. Then I symlink only the ebuilds I want to my local overlay. By
 symlinking instead of copying, I automatically get updates to that
 package.
 
Neat! I should've thought of that. 

I guess you actually symlink the directory?

Would there be any problem with eclass and such?

Cheers 

W

-- 
Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire 
 et vice versa   ~~~  I. Newton




Re: [gentoo-user] Re: Firefox-10.0.1 fails to compile on x86

2012-02-23 Thread Willie WY Wong
On Tue, Feb 21, 2012 at 07:22:27PM -0500, Penguin Lover Philip Webb squawked:
 I compiled FF 10.0.1 on amd64 without any problems :
 it needed  3,61 GB  disk space for the link stage
  most/all of my  2 GB  memory.

Argh. 3.6 diskspace and 2G memory? I guess it is finally getting to
the point that my laptop cannot build firefox. Time to switch to the
-bin I guess. 

W
-- 
Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire 
 et vice versa   ~~~  I. Newton




Re: [gentoo-user] portage updates

2012-02-23 Thread Willie WY Wong
On Thu, Feb 23, 2012 at 01:48:59PM +0200, Penguin Lover Alan McKinnon squawked:
 I'm not worried about broken portage commits, I have
 FEATURES=buildsyspkg enabled so as long as I have a working tar I'm
 good to go with any fix.

Wait... isn't portage itself no longer in the system set? 

W
-- 
Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire 
 et vice versa   ~~~  I. Newton




[gentoo-user] Setting Java VM for just one program

2012-02-23 Thread Willie WY Wong
Hi list, 

Is there a way to set the Java VM based on program? 

For the most part I would like to keep icedtea-bin-7 as my system VM,
but there is one program (jabref-2.6) which doesn't run well with
java-7, but works fine with icedtea-bin-6. 

Is there a Gentoo way of setting this? 

Thanks, 

Willie
-- 
Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire 
 et vice versa   ~~~  I. Newton




Re: [gentoo-user] Re: Firefox-10.0.1 fails to compile on x86

2012-02-23 Thread Willie WY Wong
On Thu, Feb 23, 2012 at 09:55:07PM +0200, Penguin Lover Nikos Chantziaras 
squawked:
 The PGO optimized build that Mozilla is shipping.  You can also build 
 with PGO from source, but that means building FF *twice* in a row (by 
 enabling the pgo USE flag).  I doubt that with the old laptop anyone 
 is building FF twice with PGO, and that means that the -bin package 
 should be faster.

Call me a sadist, but on my netbook I did build FF with +pgo. 

I figured, if I was going to let it build overnight and more, why not?
:)
(FWIW, it took 7hrs and 40 minutes to build FF8.)

W

-- 
Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire 
 et vice versa   ~~~  I. Newton




Re: [gentoo-user] Re: Firefox-10.0.1 fails to compile on x86

2012-02-23 Thread Willie WY Wong
On Thu, Feb 23, 2012 at 10:43:47PM +0200, Penguin Lover Nikos Chantziaras 
squawked:
 If you think it's worth the hassle, why not.  Personally, the only 
 reason I would build from source on such a slow system is to get a 
 64-bit build, since the -bin package seems to be 32-bit.  That means the 
 GUI is going to look like ass on AMD64 (due to lack of 32-bit versions 
 of the Gtk theme engines.)

Actually, why is it that upstream does not provide 64bit binaries? (It
always bothers me to see my wife's Windows 7 machines running a copy
of firefox marked, in parenthesis, 32 bit.)

 If you're on 32-bit to begin with, and you're building with pgo 
 enabled, then my guess is that the performance compared to the -bin 
 package is about the same.  But as I said previously, this can be easily 
 tested by running a browser benchmark, such as this:
 
http://krakenbenchmark.mozilla.org
 
 You could compare the results of the -bin package vs your self-compiled one.

I should definitely do that. 

W
-- 
Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire 
 et vice versa   ~~~  I. Newton




Re: [gentoo-user] Setting Java VM for just one program

2012-02-23 Thread Willie WY Wong
On Thu, Feb 23, 2012 at 09:26:56PM +0100, Penguin Lover András Csányi squawked:
 On 23 February 2012 21:13, Willie WY Wong wong...@member.ams.org wrote:
  Hi list,
 
  Is there a way to set the Java VM based on program?
 
  For the most part I would like to keep icedtea-bin-7 as my system VM,
  but there is one program (jabref-2.6) which doesn't run well with
  java-7, but works fine with icedtea-bin-6.
 
  Is there a Gentoo way of setting this?
 
 I don't think there would be a way to achieve this. I think, there is
 a way to set the java vm for your application when you start it. You
 can create an alias to handle easier the program starting, for
 example.
 

I just realised that /usr/bin/jabref is a bash script, which says

---
gjl_package=jabref
gjl_main=net.sf.jabref.JabRef
source /usr/share/java-config-2/launcher/launcher.bash
---

and launcher.bash contains the lines

---snip---
# Source package env
# -
gjl_user_env=${HOME}/.gentoo/java-config-2/launcher.d/${gjl_package}
gjl_system_env=/etc/java-config-2/launcher.d/${gjl_package}
if [[ -f ${gjl_user_env} ]]; then
source ${gjl_user_env}
elif [[ -f ${gjl_system_env} ]]; then
source ${gjl_system_env}
fi
---end snip---

which makes me suspect that there is a way to give per-package
specifications. Is there documented anywhere? 

Cheers, 
W
-- 
Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire 
 et vice versa   ~~~  I. Newton




Re: [gentoo-user] This Connection is Untrusted: WAS: Firefox-10.0.1 fails to compile on x86

2012-02-23 Thread Willie WY Wong
On Thu, Feb 23, 2012 at 02:59:31PM -0800, Penguin Lover Mark Knecht squawked:
  They're working on it... They actually have started generating 64-bit
  nightly builds for Windows and Linux:
  https://nightly.mozilla.org/
 
 What is it about my systems wherein every one of these https links
 case my systems to barf with a This Connection is Untrusted message.
 If I remove the 's' then things work fine.

Every https link, or just some (such as nightly.mozilla.org)? 
If the former, you may have some problem with your certificates
(app-misc/ca-certificates). 

W
-- 
Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire 
 et vice versa   ~~~  I. Newton




Re: [gentoo-user] Re: dog - man's best friend.

2012-02-23 Thread Willie WY Wong
On Thu, Feb 23, 2012 at 06:24:29PM -0500, Penguin Lover Harry Putnam squawked:
  On Thu, Feb 23, 2012 at 08:42:00PM +, Alan Mackenzie wrote:

  (a) using less, and have it take just 10 screen lines; (b) using cat etc.,
  and have the interesting part scroll away.
 
  (c) use less -F and less will automatically exit if the entire file can fit
  on one screen.  One can export LESS='-F' to have less always do the above.
 
 Maybe I'm seeing behavior that is not supposed to happen, but if I say
 echo '## ONE LINE'  test
 
 And then say less -F test   
 
 I do not get to see the one line.   I don't think that's what Alan
 was looking for is it?

That is not supposed to happen. Is that in a X terminal or on the text
console? 

If you `less test` and quit, does the content of the test file stay on
screen or does it get cleared (I bet the former)? Try `less -XF test`
in that case, and see if it helps. 

W
-- 
Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire 
 et vice versa   ~~~  I. Newton




Re: [gentoo-user] portage updates

2012-02-23 Thread Willie WY Wong
On Fri, Feb 24, 2012 at 01:36:00AM +, Penguin Lover Peter Humphrey squawked:
 On Thursday 23 February 2012 11:48:59 Alan McKinnon wrote:
 
  I prefer to update portage first, just in case it co-coincides with some
  update to the tree pedantic old fart mode ON
 
 What does co-coincides mean? I know that various versions of English exist 
 out there, but this one has me foxed.

When Alan puts on his pedantic old fart hat, sometimes he gets so
excited that he stutters a little bit. 

:)

W
-- 
Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire 
 et vice versa   ~~~  I. Newton




Re: [gentoo-user] Midori and Flash

2012-02-23 Thread Willie WY Wong
On Fri, Feb 24, 2012 at 03:32:16AM +0100, Penguin Lover Alex Schuster squawked:
 Now I'd also like to use Midori, as a lightweight browser for using
 Google+. The reason is that when I open Google+ in Firefox, I am
 also logged in at Google when I using other tabs with Youtube or other
 Google sites. If there's a way around this, I'd be happy to know about
 it. But so I just thought, why not use Midori for Google+ only. But it
 doesn't do Flash.

I think, if you go to your account settings in Google, you can tick a
box that allows you to sign in to multiple Google accounts on the same
computer at the same time. 

Perhaps that will prevent auto sign-in across tabs.
Perhaps that will mean you have to create a dummy account for youtube
and other google services. 

(Some how it brings to mind the guy who wanted the frequent shopper
benefits but did not want to be tracked, so he shared his frequent
shopper card's barcode on the internet and several hundred like-minded
individuals started using that same barcode.)

W
-- 
Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire 
 et vice versa   ~~~  I. Newton




Re: [gentoo-user] OT: Lightweight commandline flatfile database

2012-01-27 Thread Willie WY Wong
On Fri, Jan 27, 2012 at 12:23:32AM -0500, Penguin Lover Walter Dnes squawked:
   Rather than keep music on my hard drive, I'm going the cloud route
 by keeping a list of my favourite Youtube clips.  Ideally, I'd like
 something that I can activate from the command line, and even launch
 Firefox.  sqlite is overkill in terms of features/size.  Is there
 something smaller.  It does *NOT* have to be SQL.  I'd prefer a text
 mode program.  I'd prefer not to keep a list in a spreadsheet.
 

Then why not just a flat text file, one youtube link per line, each
line comma separated with 

 URL,artist,title

search with grep, once narrowed down to one item you can just
 firefox `grep terms textfile | cut -d ',' -f 1`
or even make that a bash function if you'd like? 

adding to the list is as simple as 
  echo url,artist,title  textfile
a mixture of grep, cut, sort can even be used to make a full listing
of all entries. 

Or do you have a more specific set of features that you'd like? (like,
for exampe, an actual user interface?)

Cheers, 

W
-- 
Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire 
 et vice versa   ~~~  I. Newton




Re: [gentoo-user] which packages requires a given package with a specific use flag

2012-01-27 Thread Willie WY Wong
On Fri, Jan 27, 2012 at 09:37:44AM +0100, Penguin Lover Helmut Jarausch 
squawked:
 How can I find out which (installed) package requires a given package
 (sci-libs/hdf5 in my case) with a specific use flag (cxx in my case)?
 
 I can't see how specifiy the use flag when using qdepends.
 

equery depends sci-libs/hdf5 

will show dependency including any specified use flag

equery depends -D sci-libs/hdf5

will also show indirect dependencies, but you probably don't need
that, I guess. 

Cheers, 

W
-- 
Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire 
 et vice versa   ~~~  I. Newton




Re: [gentoo-user] Questions about hacked sites and passwords

2012-01-17 Thread Willie WY Wong
On Tue, Jan 17, 2012 at 08:41:53AM +, Penguin Lover Neil Bothwick squawked:
 On Tue, 17 Jan 2012 01:35:54 -0600, Dale wrote:
 
  I use Lastpass which does about the same as other password managers.
 
 Doesn't LastPass store your passwords on their servers, and weren't they
 compromised last year? I'll stick with KeePassX, the password database is
 stored and encrypted locally. Even if I put it on DropBox, hacking that
 will only give the encrypted database.
 

For users of KeePassX, what are its main benefits? Best I can tell it
offers a searchable GUI (is it accesible on the command line?), and
AES or Twofish encryption of a database. Is there anything else
special, that sets it apart from, say, the built-in encryption
capabilities of vim (using blowfish)?

W

-- 
Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire 
 et vice versa   ~~~  I. Newton




Re: [gentoo-user] want sound (alsa) muted on boot

2012-01-17 Thread Willie WY Wong
On Mon, Jan 16, 2012 at 10:14:28PM -0600, Penguin Lover »Q« squawked:
 I want sound muted on boot, but it always starts unmuted.  I don't know
 when this problem started; I only noticed it because I recently went
 through a stretch of being unable to hibernate, so I booted a lot.
 
 grep -i =\ /etc/conf.d/alsasound 
 ENABLE_OSS_EMUL=yes
 RESTORE_ON_START=no
 SAVE_ON_STOP=no
 LOAD_ON_START=no
 
 I thought the RESTORE_ON_START=no should do what I want, but no such
 luck.  I tried the old `# alsactl store` after using alsamixer to mute
 sound, which also didn't help.

I think you may want RESTORE_ON_START=yes but SAVE_ON_STOP=no and
store a state which is muted? 

W

-- 
Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire 
 et vice versa   ~~~  I. Newton




Re: [gentoo-user] Questions about hacked sites and passwords

2012-01-17 Thread Willie WY Wong
On Tue, Jan 17, 2012 at 12:11:14PM +, Penguin Lover Neil Bothwick squawked:
 I was sceptical when it first arrived, but it's really easy to use and
 no password needed since the card reader generates it for you. It looks
 like a small calculator with a card slot, so easy enough to carry around
 for remote access.

Yours is slightly more convenient then. 

Mine requires a password first _then_ a challenge-response with the
calculator thingie, the first step of which seems to me slightly pointless. 
If someone has my pin and debit card already, they can just go to the
ATM and bypass the first password. 

W

-- 
Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire 
 et vice versa   ~~~  I. Newton




Re: [gentoo-user] PDF puzzle

2012-01-13 Thread Willie WY Wong
On Fri, Jan 13, 2012 at 05:32:35AM -0500, Penguin Lover Philip Webb squawked:
 I've been in the habit of creating PDFs of .odt files using LibreOffice.
 Today somewhere, I was reminded of 'ps2pdf', which I'd never used before.
 The result is these  4  files :
 
   -rw-r--r-- 1 purslow users34475 Jan 12 07:52 boox.odt
   -rw-r--r-- 1 purslow users   366711 Jan 13 04:05 boox.pdf
   -rw-r--r-- 1 purslow purslow 830909 Jan 13 04:07 boox.ps
   -rw-r--r-- 1 purslow purslow  67184 Jan 13 04:07 boox-test.pdf
 
 Both PDFs seem the same when opened with Xpdf or Okular,
 but the difference in sizes is striking :
 the PDF created with LO direct export is  5 times
 the size of the PDF created with a test run of Ps2pdf ;
 the .ps file created with LO  then used for the latter is even bigger.
 
 Can anyone explain what is going on ?
 

Are the fonts embedded in both versions?

You can check by useing pdffonts (from app-text/poppler).

Cheers, 

W
-- 
Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire 
 et vice versa   ~~~  I. Newton




Re: [gentoo-user] xpdf - missing fonts

2012-01-06 Thread Willie WY Wong
On Thu, Jan 05, 2012 at 10:36:29AM -0700, Penguin Lover Joseph squawked:
 On 01/05/12 09:59, Willie WY Wong wrote:
 It should be the same font as other user interface elements, and
 controlled via the -font option. Hum actually that shows where
 the Missing charsets in String to FontSet conversion warning for me!
 By changing to a different fonts for the interface I can sometimes
 reproduce the warning. So maybe setting the font will help. You can
 also make that setting systemwide by putting an appropriate
 incantation in xpdfrc, according to 'man xpdf'.

 How to you control it via -font option?
 It seems to me I'm missing some fonts or they are not correctly setup.
 I've added these fonts to /etc/xpdfrc but it did not help. 
 

I use the font names given by `xfontsel'

Suppose I want to use 'times' family, regular weight, no slant, pixel
size 14 (just to make it bigger), I select those options in xfontsel
using the dropdown lists, and click 'select' (which copies the string
to the clipboard). I then paste the string, which happens to be the
 -*-times-medium-r-*-*-14-*-*-*-*-*-*-*
into my xpdf incantation
 xpdf -font -*-times-medium-r-*-*-14-*-*-*-*-*-*-*
and I get the chosen font for the interface elements.

You can alternatively set the X resource xpdf*fontList using the
method described http://xwinman.org/resource.php

(basically add to ~/.Xdefaults or ~/.Xresources the line
  xpdf*fontList: -*-times-medium-r-*-*-14-*-*-*-*-*-*-*
 and restart X [? I am not sure if that is necessary, memory suggests
 that this file is only read when X starts, but my memory could be
 faulty])

W

-- 
Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire 
 et vice versa   ~~~  I. Newton




Re: [gentoo-user] xpdf - missing fonts

2012-01-06 Thread Willie WY Wong
On Thu, Jan 05, 2012 at 10:50:19AM -0700, Penguin Lover Joseph squawked:
 I tred to compile epdfview but it failed:
 
 JobPrint.cxx: In member function ‘guint ePDFView::JobPrint::setUpPageRange()’:
 JobPrint.cxx:379:56: warning: suggest parentheses around ‘’ within ‘||’
 PDFDocument.cxx: In member function ‘virtual ePDFView::DocumentPage* 
 ePDFView::PDFDocument::renderPage(gint)’:
 PDFDocument.cxx:618:62: error: ‘poppler_page_render_to_pixbuf’ was not 
 declared in this scope
 PDFDocument.cxx: In member function ‘virtual gboolean 
 ePDFView::PDFDocument::loadFile(const gchar*, const gchar*, GError**)’:
 PDFDocument.cxx:231:45: warning: ignoring return value of ‘ssize_t write(int, 
 const void*, size_t)’, declared with attribute warn_unused_result
 make[3]: *** [libepdfview_a-PDFDocument.o] Error 1
 make[3]: *** Waiting for unfinished jobs
 make[3]: Leaving directory 
 `/var/tmp/portage/app-text/epdfview-0.1.6-r1/work/epdfview-0.1.6/src'
 make[2]: *** [all-recursive] Error 1
 make[2]: Leaving directory 
 `/var/tmp/portage/app-text/epdfview-0.1.6-r1/work/epdfview-0.1.6/src'
 make[1]: *** [all-recursive] Error 1
 make[1]: Leaving directory 
 `/var/tmp/portage/app-text/epdfview-0.1.6-r1/work/epdfview-0.1.6'
 make: *** [all] Error 2
 emake failed
   * ERROR: app-text/epdfview-0.1.6-r1 failed (compile phase):
   *   emake failed
   * 
   * Call stack:
   *  ebuild.sh, line   75:  Called src_compile
   *environment, line 2114:  Called _eapi2_src_compile
   *   phase-helpers.sh, line  577:  Called die
   * The specific snippet of code:
   *   emake || die emake failed
 

Which version of poppler do you have installed? I am almost certain
you are running into this conflict:
   https://bugs.gentoo.org/show_bug.cgi?id=388235

So try keywording version 0.1.8: it has been available since last
August, and I think it is stable enough (except for some silly bugs
like https://bugs.gentoo.org/show_bug.cgi?id=387125 ). 

W
-- 
Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire 
 et vice versa   ~~~  I. Newton




Re: [gentoo-user] xpdf - missing fonts

2012-01-05 Thread Willie WY Wong
On Wed, Jan 04, 2012 at 02:52:38PM +0100, Penguin Lover Florian Philipp 
squawked:
 Am 04.01.2012 11:52, schrieb Willie WY Wong:
  Xpdf is looking for fonts in places that are strange:
  
  
  open(/usr/share/ghostscript/fonts/n022004l.pfb, O_RDONLY) = -1 ENOENT (No 
  such file or directory)
  open(/usr/local/share/ghostscript/fonts/n022004l.pfb, O_RDONLY) = -1 
  ENOENT (No such file or directory)
  open(/usr/share/fonts/default/Type1/n022004l.pfb, O_RDONLY) = -1 ENOENT 
  (No such file or directory)
  open(/usr/share/fonts/default/ghostscript/n022004l.pfb, O_RDONLY) = -1 
  ENOENT (No such file or directory)
  open(/usr/share/fonts/type1/gsfonts/n022004l.pfb, O_RDONLY) = -1 ENOENT 
  (No such file or directory)
  write(2, Error: , 7Error: )  = 7
  write(2, No display font for 'Courier-Bol..., 34No display font for 
  'Courier-Bold') = 34
  
  
  whereas the above font is actually in 
  
  /usr/share/fonts/urw-fonts/
  
  (I've been sort of just ignoring this warning, since no pdfs I've used 
  have had problem displaying, despite those errors.)
 
 Not sure what causes these errors or if they are related to the current
 issue at all. However, I guess the reason why it doesn't prevent most
 PDFs from working is that since PDF-1.5, all fonts have to be included
 in the PDF itself. Previously, some standard fonts could be assumed to
 be present on the PC.
 
 By the way: Does the issue happen with other readers as well?

I have not tested many readers. But gv and epdfview (which are both
installed on my system) do not have this problem.

W
-- 
Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire 
 et vice versa   ~~~  I. Newton




Re: [gentoo-user] xpdf - missing fonts

2012-01-05 Thread Willie WY Wong
On Wed, Jan 04, 2012 at 08:51:22AM -0700, Penguin Lover Joseph squawked:
 adding to /etc/xpdfrc:
 
 displayFontT1 Times-Roman   
 /usr/share/fonts/urw-fonts/n021003l.pfb
 displayFontT1 Times-Italic  
 /usr/share/fonts/urw-fonts/n021023l.pfb
 displayFontT1 Times-Bold
 /usr/share/fonts/urw-fonts/n021004l.pfb
 displayFontT1 Times-BoldItalic  
 /usr/share/fonts/urw-fonts/n021024l.pfb
 displayFontT1 Helvetica 
 /usr/share/fonts/urw-fonts/n019003l.pfb
 displayFontT1 Helvetica-Oblique 
 /usr/share/fonts/urw-fonts/n019023l.pfb
 displayFontT1 Helvetica-Bold
 /usr/share/fonts/urw-fonts/n019004l.pfb
 displayFontT1 Helvetica-BoldOblique 
 /usr/share/fonts/urw-fonts/n019024l.pfb
 displayFontT1 Courier   
 /usr/share/fonts/urw-fonts/n022003l.pfb
 displayFontT1 Courier-Oblique   
 /usr/share/fonts/urw-fonts/n022023l.pfb
 displayFontT1 Courier-Bold  
 /usr/share/fonts/urw-fonts/n022004l.pfb
 displayFontT1 Courier-BoldOblique   
 /usr/share/fonts/urw-fonts/n022024l.pfb
 displayFontT1 Symbol
 /usr/share/fonts/urw-fonts/s05l.pfb
 displayFontT1 ZapfDingbats  
 /usr/share/fonts/urw-fonts/d05l.pfb
 
 solves the problem with missing fonts but I still get a message:

Indeed! Thanks for the tip. 

 Warning: Missing charsets in String to FontSet conversion
 Warning: Missing charsets in String to FontSet conversion
 Warning: Missing charsets in String to FontSet conversion
 Warning: Missing charsets in String to FontSet conversion

I could've sworn I've also frequently seen that warning. But I don't
see them now. Do they depend on the pdf you try to open? 

 Some pdf documents have on side panel index, does anybody knows what options 
 control the fonts in that index.
 On my display they are very small (hard to read) and choppy fonts.
 

It should be the same font as other user interface elements, and
controlled via the -font option. Hum actually that shows where
the Missing charsets in String to FontSet conversion warning for me!
By changing to a different fonts for the interface I can sometimes
reproduce the warning. So maybe setting the font will help. You can
also make that setting systemwide by putting an appropriate
incantation in xpdfrc, according to 'man xpdf'.

Cheers, 

W
-- 
Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire 
 et vice versa   ~~~  I. Newton




Re: [gentoo-user] xpdf - missing fonts

2012-01-04 Thread Willie WY Wong
On Tue, Jan 03, 2012 at 04:42:43PM -0700, Penguin Lover Joseph squawked:
 On 01/04/12 00:20, Florian Philipp wrote:
 Am 03.01.2012 23:15, schrieb Joseph:
  xpdf it complains about missing fonts
  xpdf hl5370d_ukeng_usr.pdf Error: No display font for 'Courier'
  Error: No display font for 'Courier-Bold'
  Error: No display font for 'Courier-BoldOblique'
  Error: No display font for 'Courier-Oblique'
  Error: No display font for 'Helvetica'
  Error: No display font for 'Helvetica-Bold'
  Error: No display font for 'Helvetica-BoldOblique'
  Error: No display font for 'Helvetica-Oblique'
  Error: No display font for 'Symbol'
  Error: No display font for 'Times-Bold'
  Error: No display font for 'Times-BoldItalic'
  Error: No display font for 'Times-Italic'
  Error: No display font for 'Times-Roman'
  Error: No display font for 'ZapfDingbats'
  Warning: Missing charsets in String to FontSet conversion
  Warning: Missing charsets in String to FontSet conversion
  Warning: Missing charsets in String to FontSet conversion
  Warning: Missing charsets in String to FontSet conversion
 
  Anybody knows how to install them?

Xpdf is looking for fonts in places that are strange:


open(/usr/share/ghostscript/fonts/n022004l.pfb, O_RDONLY) = -1 ENOENT (No 
such file or directory)
open(/usr/local/share/ghostscript/fonts/n022004l.pfb, O_RDONLY) = -1 ENOENT 
(No such file or directory)
open(/usr/share/fonts/default/Type1/n022004l.pfb, O_RDONLY) = -1 ENOENT (No 
such file or directory)
open(/usr/share/fonts/default/ghostscript/n022004l.pfb, O_RDONLY) = -1 ENOENT 
(No such file or directory)
open(/usr/share/fonts/type1/gsfonts/n022004l.pfb, O_RDONLY) = -1 ENOENT (No 
such file or directory)
write(2, Error: , 7Error: )  = 7
write(2, No display font for 'Courier-Bol..., 34No display font for 
'Courier-Bold') = 34


whereas the above font is actually in 

/usr/share/fonts/urw-fonts/

(I've been sort of just ignoring this warning, since no pdfs I've used 
have had problem displaying, despite those errors.)

W
-- 
Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire 
 et vice versa   ~~~  I. Newton




Re: [gentoo-user] texlive 2011

2011-12-14 Thread Willie WY Wong
On Tue, Dec 13, 2011 at 11:35:10AM -0800, Penguin Lover Alan E. Davis squawked:
 After realizing that most packages I was installing, I used
 package.keywords and ~amd64, so I went ahead and jumped---I have started
 using ACCEPT_KEYWORDS for ~amd64 in /etc/make.conf .   I think most of the
 inconsistencies have been ironed out, but it has taken some days.  One
 glaring problem involves ruby.   I need texlive, and I want to install
 texlive 2011, and I had installed it; however, now ruby is standing in my
 way.

Sorry, I am a bit confused about your description of what happened.
Can you give us a concise timeline? (Like: Day 1 installed X. Day 3,
changed keywords to ~amd64. Day 4, tried to install texlive. Got error
message Blah.)

 On bugs.gentoo.org, I see some solutions, involving patches.  One is a
 patch for ruby (dev-lang/ruby-1.8.7_p352 ).   The other is a patch for
 glibc 2.14.1 .

Which bug number?

 Now, unfortunately, after an emerge -avuD world, I have also run emerge
 --depclean, which cleared out every package involved with texlive.  I think
 texlive-pictures-2011 and texlive-science-2001, possible also others, are
 depending on ruby.

That, uh, should not happen. How *did* you install texlive? If you
just emerged it, it should be in the WORLD set, and should not be
removed by depclean. Also, I thought the new depclean nowadays would
refuse to run if there are unresolved conflicts? 

 I could also not find an accessible and up to date explanation of
 installing texlive.

Set the correct USE flags (use 'equery uses texlive' or 'emerge
--pretend --verbose texlive' to see the complete list. Select the ones
you want/need). For example, on my box I have set in
'/etc/portage/package.use' the following

app-text/texlive dvi2tty extra games graphics humanities jadetex music omega 
pdfannotextractor pstricks publishers science tex4ht xetex -xindy

And then just 'emerge texlive' should do the trick. 

 Can any one guide me towards understanding how to proceed?   I would rather
 not spend the next week re-installing my system.   Perhaps I should back
 out of ~amd64 to amd64?

Backing out of ~ is sometimes a non-trivial task, especially if it
involves downgrading system packages like glibc. When I had to do it
in the past, I had the luxury of time and so I 
  1) keyworded ALL currently installed version to x86 (or in your case
 amd64)
  2) changed the make.conf setting to x86 (amd64 in your case). 
This way portage won't force you to downgrade anything that is
installed and working, and after a month or two the stable keyword
should catch up or surpass the testing keyword and you'll have a
stable system again. 

W

-- 
Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire 
 et vice versa   ~~~  I. Newton




Re: [gentoo-user] Imagemagick and Graphicsmagick blocking each other

2011-12-11 Thread Willie WY Wong
On Sun, Dec 11, 2011 at 03:37:02AM +0100, Penguin Lover Frank Steinmetzger 
squawked:
 On Sun, Dec 11, 2011 at 12:59:27AM +0100, Alex Schuster wrote:
  Frank Steinmetzger writes:
  
  It seems you can install graphicsmagick along with imagemagick, if the
  imagemagick USE flag ist not set.
 
 That’s what came to my mind also while I was reading Francisco’s first answer.
 Rebuilding without the flag now. Thanks you two.

It may not be immediately obvious from the description of the USE
flag, since graphicsmagick choose not to add a local use flag
description that better describes its use, but if you read the ebuild,
you'll find that rather than enabling support for imagemagick, the
flag imagemagick in this case means enable imagemagick
compatibility, which I assume means that it will install the usual
set of tools (convert, identify, etc.) that imagemagick installs. 

Obviously this will cause a file collision if you also have
imagemagick installed. 

Cheers, 

W

-- 
Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire 
 et vice versa   ~~~  I. Newton




Re: [gentoo-user] Lynx, Links, or Elinks?

2011-12-09 Thread Willie WY Wong
On Fri, Dec 09, 2011 at 12:44:50PM +, Penguin Lover Mariusz Ceier squawked:
 w3m,links and elinks. w3m and links as they support displaying images
 under framebuffer, and elinks for it's javascript support.
 If you don't need these features, any text browser is good for
 browsing html documentation :)

Seconded. In addition, if you ever need to read East Asian characters,
there is a good extension to w3m called w3mmee which supports multibyte 
encoding formats (stuff like Big5, euc-JP etc). 

W
-- 
Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire 
 et vice versa   ~~~  I. Newton