[gentoo-user] Firefox-bin-28.0-r1: Missing commonDialog icons? Anybody else seeing this?

2014-03-30 Thread Urs Schutz
Hello

When starting up firefox-bin this morning I got the
following dialog box popping up:

$ firefox-bin
Configuration Error
Failed to read configuration file. Please contact your
system administrator.

After confirming with OK the firefox-bin process is
terminated. No browser today for me :-(

$ firefox-bin -version
Mozilla Firefox 28.0

What I tried to do, without success:

uninstalled and re-installed firefox-bin, cleaned the
program directory and my configuration in between

checked to run firefox-bin as root

Checked whether there is a file named mozilla.cfg, there is
none.

created empty /opt/firefox/defaults/pref/mozilla.cfg
added // to the first line of mozilla.cfg

Safe mode pops up the same dialog box:
$  firefox-bin -safe-mode

Started the profile browser:
$  firefox-bin -P
The profile browser lets me delete and create profiles. But
firefox still shows the dialog and quits.

checked bugs (had to install chrome, but didn't like
chrome): 
https://bugzilla.mozilla.org/show_bug.cgi?id=672671
https://bugzilla.mozilla.org/show_bug.cgi?id=833117

Checked with strace which files cannot be read:
Just when the dialog box pops up I see:
urs@Evo ~ $ strace -e trace=file -f firefox-bin
snipped a lot of content here...
access(/opt/firefox/browser/chrome, F_OK) = 0
access(commonDialog.png, R_OK) = -1 ENOENT (No such file
or directory)
access(/opt/firefox/browser/chrome/icons/default/commonDialog.png,
R_OK) = -1 ENOENT (No such file or directory)
access(/opt/firefox/browser/chrome, F_OK) = 0
access(/opt/firefox/browser/chrome/icons/default/commonDialog16.png,
R_OK) = -1 ENOENT (No such file or directory)
access(/opt/firefox/browser/chrome/icons/default/commonDialog16.png,
R_OK) = -1 ENOENT (No such file or directory)
access(/opt/firefox/browser/chrome, F_OK) = 0
access(/opt/firefox/browser/chrome/icons/default/commonDialog32.png,
R_OK) = -1 ENOENT (No such file or directory)
access(/opt/firefox/browser/chrome/icons/default/commonDialog32.png,
R_OK) = -1 ENOENT (No such file or directory)
access(/opt/firefox/browser/chrome, F_OK) = 0
access(/opt/firefox/browser/chrome/icons/default/commonDialog48.png,
R_OK) = -1 ENOENT (No such file or directory)
access(/opt/firefox/browser/chrome/icons/default/commonDialog48.png,
R_OK) = -1 ENOENT (No such file or directory)
access(/opt/firefox/browser/chrome, F_OK) = 0
access(/opt/firefox/browser/chrome/icons/default/commonDialog.xpm,
R_OK) = -1 ENOENT (No such file or directory)
access(/opt/firefox/browser/chrome/icons/default/commonDialog.xpm,
R_OK) = -1 ENOENT (No such file or directory)
access(/opt/firefox/browser/chrome, F_OK) = 0
access(/opt/firefox/browser/chrome/icons/default/commonDialog16.xpm,
R_OK) = -1 ENOENT (No such file or directory)
access(/opt/firefox/browser/chrome/icons/default/commonDialog16.xpm,
R_OK) = -1 ENOENT (No such file or directory)

This icons are really missing in my installation:
urs@Evo ~ $ ls /opt/firefox/browser/chrome/icons/default/
default16.png  default32.png  default48.png

I downgraded firefox-bin to the latest stable version 24.4.0
The icons from above are still not installed, but this
version is starting up and is usable. So for me there is a
workaround. I am still a little nervous about security
concerns with an old browser version.

Additional information here, some lines of the Gentoo
emerge log history: 
urs@Evo ~ $ genlop firefox-bin
Thu Mar  6 21:57:34 2014  www-client/firefox-bin-27.0.1
Thu Mar 20 08:42:44 2014  www-client/firefox-bin-28.0
Sat Mar 29 08:47:39 2014  www-client/firefox-bin-28.0-r1

I am pretty sure that I had used firefox-bin-28.0 last week
without troubles. So, is this just firefox-bin-28.0-r1?
Anybody else seeing this?

Thanks
Urs



[gentoo-user] Re: Firefox-bin-28.0-r1: Missing commonDialog icons? Anybody else seeing this?

2014-03-30 Thread Urs Schutz
On Sun, 30 Mar 2014 15:21:59 -0700
walt w41...@gmail.com wrote:

 On 03/30/2014 08:18 AM, Urs Schutz wrote:
  Hello
  
  When starting up firefox-bin this morning I got the
  following dialog box popping up:
  
  $ firefox-bin
  Configuration Error
  Failed to read configuration file. Please contact your
  system administrator.
  
  After confirming with OK the firefox-bin process is
  terminated. No browser today for me :-(
 
 The problem is caused by a missing ')'
 in /opt/firefox/all-gentoo.js
 
 Now that I'm looking at it, I see that I added the
 missing ')' but I omitted the terminating ';'
 
 I forget: is the terminating ';' mandatory in
 javascript?  Well, FF seems to work correctly in any
 case :)

Works perfectly here. There is no need for a bug report, I
guess. Correct me if I'm wrong. Thanks a lot for looking
into it.

Urs



Re: [gentoo-user] Re: usb printer disappears on cups upgrade

2013-08-04 Thread Urs Schutz
On Sun, 04 Aug 2013 10:42:54 +0800
William Kenworthy bi...@iinet.net.au wrote:

 On 04/08/13 09:42, walt wrote:
  On 08/02/2013 07:23 PM, William Kenworthy wrote:
  I have a long running machine with a local epson usb
  printer using the kernel lpusb
 
  Using cups =1.5.2-r4 I can print ... upgrade to
  1.6.2-r* and cups cant see the usb printer.  The only
  errors in the cups log are to do with systemd service
  files which I masked a couple of days ago - the usb
  problem was happening before though.
 
  I tried both with and without the kernel module and
  usb use flag with no difference.  I cant create a new
  printer in 1.6.2 because the usb port doesnt show up
  at all.
  
  Does the printer appear in dmesg when you plug it in?
  
  
  
snip...
 
 
 I cant confirm (I have rolled back as I need to print
 today) but believe the scanner (xsane) in this printer
 still works fine with either version of cups (its basicly
 independent)
 

Did you read that?

 eselect news read 30
2013-06-30-cups16
  Title   Printer browsing in net-print/cups-1.6
  Author  Andreas K. Huettel dilfri...@gentoo.org
  Posted 2013-06-30
  Revision  1

net-print/cups-1.6 no longer supports automatic remote
printers or implicit classes via the CUPS, LDAP, or SLP
protocols, i.e. network browsing.

The browsing functionality can be restored by running
cups-browsed from net-print/cups-filters as a separate
daemon (just add its init script to your default runlevel).
By default cups-browsed uses the net-print/cups-1.5 browse
protocol, but it can also utilize zeroconf (if the zeroconf
use flag is set). See /etc/cups/cups-browsed.conf for
configuration.

Of course, directly specifying the location of your
printers in the cups interface works as well.

Seems to me that you could try as root: 
 /etc/init.d/cups-browsed start


Urs




Re: [gentoo-user] texlive-basic

2013-05-02 Thread Urs Schutz
On Thu, 2 May 2013 21:57:26 +0200
Silvio Siefke siefke_lis...@web.de wrote:

 Hello,
 
 have someone run the texlive update succesfully? I have
 problems with building. 
 
 The message:
 ###
 fmtutil: Error! Not all formats have been built
 successfully. Visit the log files in directory
   /var/tmp/portage/dev-texlive/texlive-basic-2012/work/texmf-var/web2c
 for details.
 ###
 
 This is a summary of all `failed' messages:
 `luatex -ini  -jobname=dviluatex -progname=dviluatex
 dviluatex.ini' failed `luatex -ini  -jobname=luatex
 -progname=luatex luatex.ini' failed
  * ERROR: dev-texlive/texlive-basic-2012 failed (compile
 phase):
  *   failed to build format
 texmf/fmtutil/format.texlive-basic.cnf
  * 
  * Call stack:
  * ebuild.sh, line   93:  Called src_compile
  *   environment, line 2195:  Called
 texlive-module_src_compile
  *   environment, line 2834:  Called die
  * The specific snippet of code:
  *   VARTEXFONTS=${T}/fonts
 TEXMFHOME=${S}/texmf:${S}/texmf-dist:${S}/texmf-var env
 -u TEXINPUTS fmtutil --cnffile ${i} --fmtdir
 ${S}/texmf-var/web2c --all || die failed to build
 format ${i};
  * 
  * If you need support, post the output of `emerge --info
 '=dev-texlive/texlive-basic-2012'`,
  * the complete build log and the output of `emerge -pqv
 '=dev-texlive/texlive-basic-2012'`.
  * The complete build log is located at
 '/var/tmp/portage/dev-texlive/texlive-basic-2012/temp/build.log'.
  * The ebuild environment file is located at
 '/var/tmp/portage/dev-texlive/texlive-basic-2012/temp/environment'.
  * Working directory:
 '/var/tmp/portage/dev-texlive/texlive-basic-2012/work'
  * S:
 '/var/tmp/portage/dev-texlive/texlive-basic-2012/work'
 
  Failed to emerge dev-texlive/texlive-basic-2012, Log
  file:
 
 
 gentoo-mobile siefke # emerge -pqv
 =dev-texlive/texlive-basic-2012 [ebuild U ]
 dev-texlive/texlive-basic-2012 [2011-r1] USE=-doc
 -source  emerge --info
 =dev-texlive/texlive-basic-2012 
  http://nopaste.info/09608209ae.html
 
 Thank you  Greetings
 Silvio
 

Hello Silvio

I had the same errors and needed to add -O2 to my CFLAGS.

I did edit /etc/make.conf and changed
CFLAGS=-march=native
to 
CFLAGS=-O2 -march=native

I am running mostly stable on an old 32-bit laptop with
Intel(R) Core(TM) Duo CPU T2250 @ 1.73GHz processor. Hope
that helps.

Urs
 




Re: [gentoo-user] Programm for Floor Plans

2013-03-07 Thread Urs Schutz
On Tue, 5 Mar 2013 00:56:57 +0100
Silvio Siefke siefke_lis...@web.de wrote:

 Hello, 
 
 
 know someone a program for draw floor plans? I has use
 normal Visio for it, but unter Linux? 
 
 Thank you for help  Greetings
 Silvio
 

If you know AutoCad then this might be a nice choice (only
for 2D drawings. If you need 3d then Sketchup is one of
the easier ones to learn):

http://www.3ds.com/products/draftsight/overview/

Urs



[gentoo-user] Running programs compiled with a different gcc version

2012-05-19 Thread Urs Schutz
Yesterday I manually compiled photivo, a camera raw file
converter and image editor. One of the requirements for
installing is gcc 4.6. So I manually unmasked gcc 4.6.3
and installed it with portage.
After switching gcc with gcc-config and . /etc/profile,
photivo compiled fine.
A test run showed that photivo is running fine.

I simply do not know enough about gcc and gentoo to leave
gcc at 4.6.3, and switched back to the stable 4.5 branch
(gcc-config and . /etc/profile again).

When I try to run photivo again I get an error:
photivo: /usr/lib/gcc/i686-pc-linux-gnu/4.5.3/libstdc++.so.6:
version `GLIBCXX_3.4.15' not found (required by photivo)

locate -i glibcxx shows no results.

My question is: Can I set some variables (e.g. in a bash
start script) that photivo thinks it is running on a system
with gcc 4.6? All the components are installed, as I can
switch gcc to 4.6.3 and run photivo as user.

I do not see any changes in environment variables before
and after switching gcc versions. What magic does
gcc-config do?

Urs





[gentoo-user] Resolved: Running programs compiled with a different gcc version

2012-05-19 Thread Urs Schutz
On Sun, 20 May 2012 01:01:48 +0300
Nikos Chantziaras rea...@gmail.com wrote:

 On 19/05/12 23:23, Urs Schutz wrote:
  Yesterday I manually compiled photivo, a camera raw file
  converter and image editor. One of the requirements for
  installing is gcc 4.6. So I manually unmasked gcc 4.6.3
  and installed it with portage.
  After switching gcc with gcc-config and . /etc/profile,
  photivo compiled fine.
  A test run showed that photivo is running fine.
 
  I simply do not know enough about gcc and gentoo to
  leave gcc at 4.6.3, and switched back to the stable 4.5
  branch (gcc-config and . /etc/profile again).
 
  When I try to run photivo again I get an error:
  photivo: /usr/lib/gcc/i686-pc-linux-gnu/4.5.3/libstdc++.so.6:
  version `GLIBCXX_3.4.15' not found (required by photivo)
 
  locate -i glibcxx shows no results.
 
  My question is: Can I set some variables (e.g. in a bash
  start script) that photivo thinks it is running on a
  system with gcc 4.6? All the components are installed,
  as I can switch gcc to 4.6.3 and run photivo as user.
 
  I do not see any changes in environment variables before
  and after switching gcc versions. What magic does
  gcc-config do?
 
 Try starting photivo with:
 
LD_LIBRARY_PATH=/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3
 photivo
 
 (I assume the executable is named photivo.)
 
 

That's it.
LD_LIBRARY_PATH=/usr/lib/gcc/i686-pc-linux-gnu/4.6.3 photivo

Thank you!
Urs



Re: [gentoo-user] merging or fitting images together

2012-05-16 Thread Urs Schutz
On Wed, 16 May 2012 00:12:25 -0400
Philip Webb purs...@ca.inter.net wrote:

 120515 Philip Webb wrote:
  120515 Urs Schutz wrote:
  I just tried with fotoxx.
  This is a semi-manual process, but I liked the
  resulting image.
 
 I've installed Fotoxx  it does a very good job !
 
  The joint is less visible than on brum-2.jpg.
 
 There's no sign of it on my version :
   http://www.chass.utoronto.ca/~purslow/test/brum-3.jpg
 
  It was easy to do an unbend after merging
  and therefore the clock and the face on the image
  borders stay in the image.
 
 They're on my image, but I can't find out how to turn it
 into a rectangle. NB there are noticeable curves at the
 R-hand edge not in the original: look at the sidewalk
 curve  at the building pediment. Any suggestions ? --
 otherwise, this looks like the tool to use.
 

Transform - Unbend Image
Play with the vertical values, this is very easy, fast and
intuitive. With brum-3.jpg the best combination was:
vertical linear 5, vertical curved -16, Done
and after that
Transform - Trim Image or even easier
Transform - Auto-Trim Image to get rid of the black areas.

In the case of brum-3.jpg apply a little bit of
Retouch - Gamma Curves, (bend the left part of the curve
a little bit to the bottom, and the right part to the top)
to enhance the image contrast.
Normally the image looses a little bit of sharpness during
the panorama stitching. You can correct this with:
Retouch - Sharpen Image.

But: If you would like to make an exhibit, then you get
better image quality if you bring the negatives to an old
fashioned photographer for direct enlargement on BW photo
paper.

Urs



Re: [gentoo-user] merging or fitting images together

2012-05-15 Thread Urs Schutz
On Mon, 14 May 2012 22:50:33 -0400
Philip Webb purs...@ca.inter.net wrote:

 I tried Hugin, but got nowhere.  I set  6  points on each
 picture, which are  2  overlapping parts of a single
 original negative, but all it offered was a black screen;
 I did follow the on-line help.
 
 Then I tried Imagemagick  got a good result after a bit
 of fussing. The commands I used were
 
   convert -size 1000x760 canvas:black brum-canvas.jpg
   composite -geometry +0+0 brum-3070.jpg brum-canvas.jpg
 brum-1.jpg composite -geometry +220-8 brum-3068.jpg
 brum-1.jpg brum-2.jpg
 
 You can see the images at
 http://www.chass.utoronto.ca/~purslow/test/ : they are of
 trams in Colmore Row, Birmingham in May 1953 .
 
 I still need to light/darken  1  image a bit to hide the
 join, but as a proof of concept this shows it's feasible
 with Imagemagick.
 
 Any further advice re Hugin is welcome: can anyone do it
 with these photos ?
 

I just tried with fotoxx: This is a semi-manual process, but
I liked the resulting image. The joint is less visible
than on brum-2.jpg. It was easy to do an unbend after
merging, and therefore the clock and the face on the image
borders stay in the image. This was my first try to do a
panorama in fotoxx, and it took me less than 5 minutes,
much faster than with hugin. If you like I send you the
image to your private mail.

Urs



Re: [gentoo-user] GLSA management

2012-03-06 Thread Urs Schutz
On Tue, 6 Mar 2012 10:32:35 -0800
Grant emailgr...@gmail.com wrote:

 I've been checking this daily for a while:
 
 http://www.gentoo.org/security/en/glsa/index.xml
 
 but every time there's a vulnerability in a package I
 know I have installed, my installed version is
 unaffected.  If I emerge world daily, do I need to check
 on GLSA's?
 
 - Grant
 

I run a cron job that does glsa-check -t all daily, and had
one glsa showing up lately (201201-09). This was an old
slot of media-libs/freetype, pulled in by emerge because of
obscure useflags in luatex. This was with stable packages.
Another one showed up because of app-text/acroread, and
was resolved by replacing acroread with evince.

So in my opinion it is necessary to run glsa-check
regularly to show the detected problems within the system.
Run as a cron job there is little work to do, checking the
mail takes less than 10 seconds.

And: A big thanks to the people who invest their time and
use their brains to write the Gentoo Linux Security Advices!

Urs



Re: [gentoo-user] Is Gentoo for me?

2012-02-25 Thread Urs Schutz
On Fri, 24 Feb 2012 21:03:47 -0600
John irgu...@gmail.com wrote:

 
 Hi folks,
 
...
 that)? Is there a 'repository' of apps anywhere that I
 can go to to look and see if the app I normally use for
 something is there?
 
...

http://packages.gentoo.org

Urs



Re: [gentoo-user] I want to play movies without hangs

2012-02-18 Thread Urs Schutz
On Sat, 18 Feb 2012 18:04:07 +0100
Alex Schuster wo...@wonkology.org wrote:

...
 
 Then I tried another video, again with the settings you
 suggested, and it stuttered. There were small pauses when
 the system did some stuff, and when I did my dd test, the
 pauses were as long as five seconds. FIVE SECONDS!
 
   Wonko
 

Just an idea: Is the disk OK? Replace /dev/sda with your
disk...

smartctl -t short /dev/sda

and after some minutes

smartctl --all /dev/sda

If all went OK then the status is «PASSED», and you could
try the extended or long tests with smartctl.
I had a bad disk here, which resulted in slow IO, but not
complete failure. Smart detected this immediately. Sorry,
I do not know how to check disks with LVM.

Urs



Re: [gentoo-user] GLSA «201110-01 / openssl» and acroread-9.4.2

2012-01-17 Thread Urs Schutz
On Tue, 17 Jan 2012 12:35:50 +0200
Alan McKinnon alan.mckin...@gmail.com wrote:

 On Mon, 16 Jan 2012 20:29:28 -0200
 Urs Schutz u.sch...@bluewin.ch wrote:
 
  As far as I know acroread is not unmasked in this
  installation, nor is openssl 
   # grep -i acro /etc/portage/*
   # grep -i ssl /etc/portage/*  
  shows nothing, so acroread and ssl is «stable».
  
  For now I just uninstalled acroread to prevent the
  installation of a buggy openssl version, but this seems
  wrong for a mostly stable installation...
  
  Any hints how to proceed? Is there any danger to have an
  old (and apparently buggy) openssl lib installed in
  parallel with the recent one? 
 
 That's always a tricky one. 
 
 Users want Adobe's shiny stuff and Adobe is notorious for
 releasing crap software. For whatever reason, acroread on
 x86 profile requires openssl in the 0.9.8 series and that
 can't be worked around.
 
 The answer to your question is are you prepared to live
 with it?
 
 The GLSA indicates that this is quite a severe issue so
 maybe it should be hard masked. However, that will break
 acroread and there's only one version in the tree.
 Hardmask openssl:0.9.8 means hardmask acroread and that
 means thousands of whinging users.
 
 So the devs are between a rock and a hard place where all
 the issues are out of their control. The only middle path
 left is to inform all the users as much as possible and
 let them decide for themselves.
 
 Personally, I would deep-six acroread and use any one of
 the many PDF readers out there. 
 
 The tax authority in my country uses new funky PDF
 features in Reader for on-line tax returns so I need
 access to Reader once a year. For that, there's wine,
 Windows in VirtualBox or the wife's computer.
 
 

Thanks for the reply. I switched to app-text/evince , this
seems fine for just reading pdf.

Urs



[gentoo-user] GLSA «201110-01 / openssl» and acroread-9.4.2

2012-01-16 Thread Urs Schutz
Today I see the following:

I uninstalled dev-libs/openssl-0.9.8s-r1 because there is
a GLSA (201110-01 / openssl) against it.

But acroread-9.4.2 wants the installation of
openssl-0.9.8s-r1:

 # emerge -uDpvtN world

These are the packages that would be merged, in reverse
order:

Calculating dependencies... done!
[nomerge   ] app-text/acroread-9.4.2  USE=cups ldap
nsplugin -minimal LINGUAS=de en -fr -ja [ebuild  NS
]  dev-libs/openssl-0.9.8s-r1 [1.0.0f-r1] USE=gmp sse2
zlib -bindist -kerberos -test 0 kB

Total: 1 package (1 in new slot), Size of downloads: 0 kB

The last stable openssl is already installed:
 # eix -I openssl
[I] dev-libs/openssl
 Available versions:  
(0.9.8) 0.9.8r ~0.9.8s 0.9.8s-r1
(0) 1.0.0d 1.0.0e ~1.0.0e-r1 ~1.0.0f 1.0.0f-r1
{bindist gmp kerberos rfc3779 sse2 static-libs test
zlib}
 Installed versions:  1.0.0f-r1(07:52:58 PM 
01/16/2012)(gmp sse2 zlib -bindist -kerberos -rfc3779
-static-libs -test)
 Homepage:http://www.openssl.org/
 Description:

As far as I know acroread is not unmasked in this
installation, nor is openssl 
 # grep -i acro /etc/portage/*
 # grep -i ssl /etc/portage/*
shows nothing, so acroread and ssl is «stable».

For now I just uninstalled acroread to prevent the
installation of a buggy openssl version, but this seems
wrong for a mostly stable installation...

Any hints how to proceed? Is there any danger to have an
old (and apparently buggy) openssl lib installed in parallel
with the recent one? 

Urs








Re: [gentoo-user] Need help getting portage to email me emerge logs using ssmtp...

2011-12-14 Thread Urs Schutz
On Wed, 14 Dec 2011 15:29:44 -0500
Tanstaafl tansta...@libertytrek.org wrote:

 On 2011-12-14 10:29 AM, Tanstaafl
 tansta...@libertytrek.org wrote:
  !!! A network error occurred while trying to send
  logmail: [Errno 111] Connection refused
  Sure you configured PORTAGE_ELOG_MAILURI correctly?
 
  and NOTHING in/var/log/messages...
 
 Ok, so, I now have more info so hopefully some kind soul
 will take pity on me and provide the clue-stick...
 
 I can confirm that sending email from the commandline now
 works:
 
 li66-207 ~ # echo This is a test e-mail... | mail -s
 Test e-mail ad...@myserver.com
 li66-207 ~ #
 

Did you send this as user? What about sending this from
the root account?

Urs



Re: [gentoo-user] Fonts.

2011-11-26 Thread Urs Schutz
On Sat, 26 Nov 2011 15:35:15 +0300
Stayvoid stayv...@gmail.com wrote:

  Bad, works immediately: Put them in /usr/share/fonts
 That didn't work for me.
 
  Good: I'm sure that there is a setting for per-user
  font dirs in ${HOME}
 Could you be more specific?
 

copy the fonts to ~/.fonts/, or make soft links there.

There is a fantastic application (outside portage) for font
management, its called fontmatrix.
The UI of fontmatrix version 0.6.0 is a lot better than
fontmatrix version 0.9.99, which I did not like.
If you use a lot of different fonts for your work,
fontmatrix 0.6.0 is one of the best font managers around.

Urs



Re: [gentoo-user] Consistency checking

2011-11-02 Thread Urs Schutz
On Tue, 1 Nov 2011 19:00:04 +0100
meino.cra...@gmx.de wrote:

 Urs Schutz u.sch...@bluewin.ch [11-11-01 18:04]:
  On Tue, 1 Nov 2011 04:45:25 +0100
  meino.cra...@gmx.de wrote:
  
   Hi,
   
   I know of three commands to check the consistency of a
   Gentoo system:
   
   
   eix-sync  emerge --color=n -p -v --newuse
   --update --deep world emerge -p -v --depclean
   revdep-rebuild --ignore -p -v
   
   of course, one has to remove the -p and -v flags after
   checking the putput of the commands.
   
   What else can be checked and should be checked from
   time to time or after each update?
   
   Thank you very much in advance for any help!
   
   Best regards,
   mcc
   
snip...

snip... 
 
 Hi,
 
 thank you all very much for the checks listed.
 
 One question remains:
 What sequence of commands is adviced to guarantee
 the best effect on the one hand and on the other hand 
 not to be urged to recompile things -- especially 
 those like libreoffice...-- twice and more?
 
 Thank you very much in advance for your help!
 Best regards,
 mcc
 
 


Portage is clever, and does not build libreoffice twice,
even if you change the sequence. Some binary packages are
faster to install. I'm pretty happy with the prebuilt
version of libreoffice. If you stay with stable packets
there is less rebuilding of heavy packages, as they
normally get less updates.

The sequence depends on what use you have. I would do it
differently on a server 1000 km away, but anyway here is
what I do normally on my laptop:

 eix-sync
then learn about the new packages in portage, look for what
gets updated.

Then 
 emerge -uDpvtN world
to see if there is any blockers, licenses or any other
inconsistencies which need to be resolved manually first
(running a mix of stable and unstable packages here, so
this happens from time to time).

Then portage may work in the background, while I do my
usual work on the laptop (all on one line):
 emerge -uDN world  revdep-rebuild -i  cfg-update -u 
elogv
When the ventilator noise stops and cpu temperatures drop I
check the yellow and red elogv output lines, and if there is
something indicated by the package maintainers I do it right
away.
I simply delete the green elogv output lines.

Sometimes I do a 
 emerge --depclean -p
more because portage says that one should do it. I feel
that it is a lot of work to go through the package list
manually and do not see the immediate benefit in doing it
often. When I remove packages, I always do
 emerge -uDN world  revdep-rebuild -i  elogv
as I don't trust the state of the system after removing
packages.

 eix-test-obsolete -d
is easy if it is done often, as there is little corrective
action to do on a day to day basis.

 eclean-dist -d -p
This is really fast and painless, if you do not need old
package sources.

 glsa-check -t all
should find no problems if you have an up to date
installation.

 eselect news list
and
 eselect news read xx
is always a good thing to do and helps you to prevent the
big problems with a evolving Gentoo installation.

If there is a day without portage updates for your packages
you could do
 emerge -uDN  --complete-graph  --with-bdeps=y world
or
 rkhunter
or
 smartctl --all /dev/sda
or
 freshclam  clamscan
or build a new kernel, just to have some fun...

Sometimes I get a little jealous when I see my nephew
installing programs and updating applications in Ubuntu...

Regards
Urs












Re: [gentoo-user] Consistency checking

2011-11-02 Thread Urs Schutz
On Wed, 2 Nov 2011 06:01:28 -0700 (PDT)
Leho Kraav l...@kraav.com wrote:

 On Wednesday, November 2, 2011 2:20:02 PM UTC+2, Urs
 Schutz wrote:
   eix-test-obsolete -d
  is easy if it is done often, as there is little
  corrective action to do on a day to day basis.
 
 I have been wondering if it's possible to get this
 particular check's output to be machine readable, so it
 could be used in automated scripts. Similar to what qlist
 -IC atom does.
 
 First, I think the different checks need to be
 separatable with cmdline arguments, so one wouldn't have
 to start parsing for some header type thing to know what
 atom list applies to what file.
 
 After that, the machine readable output needs to be as
 simple as possible, no colors, parenthesis, and whatnot.
 
 Further thoughts welcome, and suggestions for other ways
 of automating this cleanup. Only thing I know of was
 udept, but that's been dead upstream for a while.
 
 I should also note that I keep my /etc in git, so
 naturally all automated actions would be commited and
 therefore tracked - no need to fear losing some important
 configuration item, if that is at all applicable here
 even.
 

Something like  eix -tTc --xml could be a start.





Re: [gentoo-user] Consistency checking

2011-11-01 Thread Urs Schutz
On Tue, 1 Nov 2011 04:45:25 +0100
meino.cra...@gmx.de wrote:

 Hi,
 
 I know of three commands to check the consistency of a
 Gentoo system:
 
 
 eix-sync  emerge --color=n -p -v --newuse --update
 --deep world emerge -p -v --depclean
 revdep-rebuild --ignore -p -v
 
 of course, one has to remove the -p and -v flags after
 checking the putput of the commands.
 
 What else can be checked and should be checked from time
 to time or after each update?
 
 Thank you very much in advance for any help!
 
 Best regards,
 mcc
 

Beside the already mentioned ones:

Check and clean the portage logs, can be done with
elogv

Update the packets config files, can be done with
cfg-update -u

Clean up old source files (saves some space, but deletes
old unused sources)
eclean-dist -d -p

Check for Gentoo Linux Security Advices
glsa-check -t all

Have a look at the Gentoo management news
eselect news list
eselect news read xx

Regards
Urs




Re: [gentoo-user] KDE and HARD lock ups.

2011-07-06 Thread Urs Schutz
On Wed, 06 Jul 2011 03:53:23 -0500
Dale rdalek1...@gmail.com wrote:

snipped

 
  This is what I got:
 
  root@fireball / # qcheck -aBT
  app-office/openoffice
  sys-auth/consolekit
  sys-auth/polkit
  net-nds/openldap
  app-misc/screen
  net-print/cups
  net-print/hplip
  sys-apps/dbus
  sys-apps/openrc
  dev-db/mysql
  kde-base/kdm
  root@fireball / #
 
  That hplip makes me wonder.  I had issues with that
  thing before causing freezes, not lock ups tho.  I
  should have expected openoffice to be on there tho. lol
 
  Hmmm.  What you think about that list?  Anything look
  suspicious?
 
  Dale

Just a hint without further proof:
I had soffice -quickstart (from LibreOffice) running as
panel app, and had kernel crashes. Since I do not start the
LibreOffice quickstarter anymore, i have a stable system
again.
This is with LibreOffice 3.3.2; OOO330m19 (Build:202) and
WMaker wmsystemtray.

Urs 



Re: [gentoo-user] Microphone problems Thinkpad X300

2011-04-28 Thread Urs Schutz
On Thu, 28 Apr 2011 18:22:40 +
Alokat mail...@alokat.org wrote:

 Hi guys,
 
 I have some problems to get my headset to work.
 
 I have a snd_hda_intel soundcard and the output works
 pretty good - like watching videos etc pp.
 
 But Skype is not able to use my mic. I can hear myself in
 the speakers but for some reasons I can't use the mic for
 a skype phonecall.
 
 I have installed alsa after this documentation:
 http://www.gentoo.org/doc/en/alsa-guide.xml
 
 Alsaconf does not recognize my soundcard, but alsamixer
 works.
 
 Is there a special Kernelmodule I need to install?

I don't think so.

...module details snipped... 

After installation of alsa none of the microphone channels
get captured (recorded) by default. Even when you can hear
them in the headset they do not get captured. Try the
following:

Alsamixer starts up and shows just the Playback channels.
To see what is getting captured press key F4 when
alsamixer is running. This shows the Capture channels.
Then go to one of the microphone channels (maybe named
Capture or Capture 1), and press your space bar to toggle
the capturing.
There should appear the word CAPTURE in red letters below
the microphone channel. If capture is inactive then there
are white dashes (---) below the channel.
You can activate all your microphone channels for capture.
Now you have your microphone captured, and can record sound
and use skype.
gnome-alsamixer is another graphical mixer, which I like
better then alsamixer.

If this does not work post the output of 
amixer
here.

Urs



Re: [gentoo-user] trouble with libxcb (and others)

2011-04-27 Thread Urs Schutz
On Tue, 26 Apr 2011 14:11:02 -0400
Allan Gottlieb gottl...@nyu.edu wrote:

 Starting last night several builds and programs are
 crashing due to problems in libxcb and others.
 
 My system is ~amd64.
 
 For example evolution fails to start and says
 
snipped
 
 Something must have gone quite wrong in my last update
 world.
 
 Advice would be appreciated.
 
 thanks,
 allan
 

Did you see the Gentoo libxcb 1.4 Upgrade Guide? 
http://www.gentoo.org/proj/en/desktop/x/x11/libxcb-1.4-upgrade-guide.xml

Urs




Re: [gentoo-user] [OT] Firefox 3.6.12 problem?

2010-12-13 Thread Urs Schutz
On Mon, 13 Dec 2010 00:38:06 +
Peter Humphrey pe...@humphrey.ukfsn.org wrote:

 On Sunday 12 December 2010 16:09:41 Klaus Müller wrote:
 
  Try [installing] a different firefox theme from
  https://addons.mozilla.org
 
 But I've already tried a vanilla setup by creating a test
 user, and separately by moving my own .mozilla directory
 elsewhere. In neither case did I have any themes
 installed but I still had no arrow buttons.
 
 I've now removed all themes from my standard user and
 again I have no arrow buttons. Thanks anyway, but this is
 not a theme problem.
 

Just a crazy «back to basics» idea: 
Did you try to use the configuration dialog for the Menu
bar / Navigation toolbar / Bookmarks toolbar? If not, please
right mouse click on the «STOP» button, and choose
«Customize...»). 
This opens the «Customize Toolbar» window for the toolbars,
and you can drag and drop the items from this window to the
toolbars.
Do you see the Back- and Forward arrows inside the
«Customize Toolbar» Window? If yes, then just drag-drop them
where you like them. 
Or use the «Restore default set» button.
If the arrows do not appear, I am without any more ideas.

Urs



Re: [gentoo-user] Gentoo with ZIMBRA

2010-12-08 Thread Urs Schutz
On Tue, 7 Dec 2010 04:26:42 -0500
Mag. Ing. Emilio Del Campo Z. emilio.delca...@gmail.com
wrote:

 Hi Everyone.. Hola  todos,
 quiza alguno que entienda español? deseo probar gentoo
 con zimbra o con algun metodo, mail server, antivirus,
 antispam y webmail que pudieran recomendar, las gracias
 de antemano y perdon por el español.
 
 Saludos,
 
 Milo.

Its more or less this:

«Is here somebody who understands Spanish? I would like to
try gentoo with zimbra, or some combination of mail
server, antivirus, antispam and webmail. Any
recommendations? Thanks in advance and sorry for the
spanish.»