Re: [gentoo-user] can one tell me: gentoo vs opensuse

2011-12-10 Thread LinuxIsOne
On Sat, Dec 10, 2011 at 11:53 AM, Alan McKinnon  wrote:

> VirtualBox is a program that runs on a working system with a
> functioning OS. Like all programs it needs resources like memory and
> hard disk space. Unlike most programs it usually uses a LOT of memory
> and hard disk space to be useful.

Oh I see. I see VB in Ubuntu...(how to) since right now I have Ubuntu.



Re: [gentoo-user] can one tell me: gentoo vs opensuse

2011-12-10 Thread LinuxIsOne
On Sat, Dec 10, 2011 at 11:51 AM, Alan McKinnon  wrote:

> A very small selection of all possible Unixes work the same.
> Ubuntu and Debian are quite similar as they have common roots.
> RedHat works rather like an old Fedora (and to some degree that's almost
> exactly what it is).
> Gentoo looks and feels like whatever you decide to make it to be
> (because it is so highly configurable and adaptable)

> The fact is that the kernel make very little difference to how the
> overall system works. YOU do not interact with the kernel, YOU interact
> with a collection of programs called "userland", and these things can
> all be very different. For example, I'm looking at three computers
> right now that all run Linux, and they are all very very different:

> - this laptop, which is set up as a traditional Unix with X,
> - my phone running Android
> - my wireless router/modem which runs busybox

> Be careful of making rash conclusions about Linux. A Linux system is not
> "like" anything particularly, it is whatever the person who built it
> decided it should be.

> What you will find is that desktop Linuxes share many common elements.
> This is not surprising - all versions of Windows share many common
> elements too.

Thanks for this explanation. I earlier (before this post) used to
think that it is the kernel which is a deciding factor..., but yes it
is correct to say NO for this. Linux is really highly configurable at
least for this reason is a better choice and especially Gentoo - which
could be made to work like anything we wish (as you say)  --- really
great to know. ON one of the machine and in the time to come, I wold
first read how to install Gentoo and then would definitely (100%) try
to install Gentooo  at least a successful installation would make
me know many things as far as Gentoo is considered.. Eventually I
would come to these great mailing lists for the help, but since I am
in another job, so it would take much time, but I would try

Thanks.



Re: [gentoo-user] Can't build firmware into kernel

2011-12-10 Thread Gregory Shearman
In linux.gentoo.user, Lavender wrote:

> I have checked my Xorg.0.log, there is no error message. I have a
> question,I read xorg.conf , I didn't find any area about Window
> Manage, so how xorg-server knowswhich WM to invoke when I use "X
> -config /etc/X11/xorg.conf" ?BTW, among my class I am the only one who
> uses Linux, so it's impossible to use ssh.

Window managers are started by users. I think you are talking about
"display managers".

Xorg runs a script /etc/X11/startDM.sh. It will start up /etc/init.d/xdm
if that's the display manager defined (as it is in a default Gentoo
setup). You define which display manager you want to start in
/etc/conf.d/xdm, for example:

DISPLAYMANAGER="kdm"

This will start the KDE4 display manager.

-- 
Regards,
Gregory.



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

2011-12-10 Thread Frank Steinmetzger
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.
-- 
Gruß | Greetings | Qapla'
I forbid any use of my email addresses with Facebook services.

Progress means that we know ever more but gain ever less from it.


pgp1M9ek9nBt8.pgp
Description: PGP signature


Re: [gentoo-user] Pulseaudio shuts off

2011-12-10 Thread meino . cramer
Francisco Ares  [11-12-11 03:30]:
HI,

Nice story of success,  Francisco...but it does not answer
my question.

Sigh.

Others, who want to report, that they do not have problems?

Sigh...

Best regards,
mcc


> Hi
> 
> I could not check the pulseaudio dependency for gws, as libsndfile does not
> have it.
> 
> I have had pulseaudio for a year or so, and it was fine.  I used it mainly
> because VirtualBox depended on it to emulate a sound car on its virtual
> machines. Then something broke, and I could not get any sound out of the
> speakers, just the first app get the device, and no other after that.
> 
> Then, after Dale asked me why did I need pulseaudio, I saw that VirtualBox
> now is able to handle plain and simple ALSA, then I removed all pulseaudio
> related things that I could find, rebuilt the kernel with alsa built-in and
> everything I need is back making noises ;-)
> 
> Francisco
> 
> 
> On Sat, Dec 10, 2011 at 2:25 PM,  wrote:
> 
> >
> > Hi,
> >
> > sorry for the nebelous subject...
> >
> > The following happened to me.
> > I have installed/configured pulseaudio according to this
> > for a one-person desktop gentoo-system:
> > http://en.gentoo-wiki.com/wiki/PulseAudio
> >
> > When starting gwc (which is not in portage) and playing
> > sounds, it works...once...
> >
> > After a while I here the same clicking sound, which happens
> > while booting the system and alsa takes over...and thats it.
> > I have to kill gwc.
> >
> > On the console gwc prints:
> >
> >Current stack limit: 8388608 bytes
> >libsndfile Version: libsndfile-1.0.25 1 0 25
> >socket(): Address family not supported by protocol
> >Closing the Pulse audio device
> >
> > The last line appears when I press "stop audio playback", the clicking
> > happes a few seconds later.
> >
> > After that...no go.
> >
> > I have appended /etc/pulse/default.pa at the end of this posting.
> >
> > Interestingly it is possible to successfully restart gwc.
> >
> > What can I do to fix this?
> >
> > Best regards,
> > mcc
> >
> >
> >
> >
> > #!/usr/bin/pulseaudio -nF
> > #
> > # This file is part of PulseAudio.
> > #
> > # PulseAudio is free software; you can redistribute it and/or modify it
> > # under the terms of the GNU Lesser General Public License as published by
> > # the Free Software Foundation; either version 2 of the License, or
> > # (at your option) any later version.
> > #
> > # PulseAudio is distributed in the hope that it will be useful, but
> > # WITHOUT ANY WARRANTY; without even the implied warranty of
> > # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
> > # General Public License for more details.
> > #
> > # You should have received a copy of the GNU Lesser General Public License
> > # along with PulseAudio; if not, write to the Free Software Foundation,
> > # Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
> >
> > # This startup script is used only if PulseAudio is started per-user
> > # (i.e. not in system mode)
> >
> > .nofail
> >
> > ### Load something into the sample cache
> > #load-sample-lazy x11-bell /usr/share/sounds/gtk-events/activate.wav
> > #load-sample-lazy pulse-hotplug /usr/share/sounds/startup3.wav
> > #load-sample-lazy pulse-coldplug /usr/share/sounds/startup3.wav
> > #load-sample-lazy pulse-access /usr/share/sounds/generic.wav
> >
> > .fail
> >
> > ### Automatically restore the volume of streams and devices
> > load-module module-device-restore
> > load-module module-stream-restore
> > load-module module-card-restore
> >
> > ### Automatically augment property information from .desktop files
> > ### stored in /usr/share/application
> > load-module module-augment-properties
> >
> > ### Load audio drivers statically (it's probably better to not load
> > ### these drivers manually, but instead use module-hal-detect --
> > ### see below -- for doing this automatically)
> > load-module module-alsa-sink
> > #load-module module-alsa-source device=hw:1,0
> > #load-module module-oss device="/dev/dsp" sink_name=output
> > source_name=input
> > #load-module module-oss-mmap device="/dev/dsp" sink_name=output
> > source_name=input
> > #load-module module-null-sink
> > #load-module module-pipe-sink
> >
> > ### Automatically load driver modules depending on the hardware available
> > .ifexists module-udev-detect.so
> > load-module module-udev-detect
> > .else
> > ### Alternatively use the static hardware detection module (for systems
> > that
> > ### lack udev support)
> > load-module module-detect
> > .endif
> >
> > ### Automatically load driver modules for Bluetooth hardware
> > .ifexists module-bluetooth-discover.so
> > load-module module-bluetooth-discover
> > .endif
> >
> > ### Load several protocols
> > .ifexists module-esound-protocol-unix.so
> > load-module module-esound-protocol-unix
> > .endif
> > load-module module-native-protocol-unix
> >
> > ### Network access (may be configured with paprefs, so leave this commented
> > ### here if you plan to use paprefs)
> > #load-modul

Re: [gentoo-user] recovering plain alsa [WAS:]: no sound on upgraded Firefox from 7 to 8 - using

2011-12-10 Thread Dale

Francisco Ares wrote:


Thanks, Dale, but now everything is working fine again. I left 
"genkernel" working overnight on my custom ".config", and now that I 
removed "/etc/asound.conf" and "/etc/asound.status" and rebooted, 
everything is working fine with just plain ALSA.


As far as I know, "sdl" is somewhat like "pulse", isn't it? Some 
higher level of interfacing, I think.  Let's do some more research...


By the way, looking on your previous post, why do you have alsa-libs 
emerged and alsa built in the kernel at the same time?


Thanks again
Francisco


--
"If you have an apple and I have an apple and we exchange apples then 
you and I will still each have one apple. But if you have an idea and 
I have one idea and we exchange these ideas, then each of us will have 
two ideas." - George Bernard Shaw


If I recall correctly, I had to install alsamixer to unmute my card.  I 
think that is what pulled that and others in.  Funny thing is, once I 
unmute the card, I guess I can remove the package.  I don't think the 
alsa service is running or anything.  I use Kmix for volume settings.


Strange how each system does the same things but has different ways of 
doing it.  :/


Dale

:-)  :-)

--
I am only responsible for what I said ... Not for what you understood or how 
you interpreted my words!

Miss the compile output?  Hint:
EMERGE_DEFAULT_OPTS="--quiet-build=n"




Re:Re: [gentoo-user] Can't build firmware into kernel

2011-12-10 Thread Lavender
>
>See if you can access it using ssh from another PC.  Then check 
>/var/log/Xorg.0.log for any error messages.
>-- 
>
I have checked my Xorg.0.log, there is no error message. I have a question,I 
read xorg.conf , I didn't find any area about Window Manage, so how xorg-server 
knowswhich WM to invoke when I use "X -config /etc/X11/xorg.conf" ?BTW, among 
my class I am the only one who uses Linux, so it's impossible to use ssh.

Re: [gentoo-user] New Server, considering hardened, need pointers to tfm...

2011-12-10 Thread Pandu Poluan
On Dec 11, 2011 12:48 AM, "Tanstaafl"  wrote:
>
> Hello all,
>
> I'm considering rolling out a new server with gentoo, but wanted to base
it on the hardened profile, but the docs I've read so far all seem to be a
bit vague about all the details.
>
> I've been using gentoo for a while on my hobby server, but I installed it
about 8 years ago, and chose the 'server' profile, and I must say it has
been a real pleasure to maintain, and the only real hiccup I ever
experienced was the mailman update that moved the directories for the lists
without telling me what to do about it (the fix was simple, and the devs
swiftly fixed the lack of post-install docs).
>
> Does anyone know of a good How-To that covers *all* of the bases? Ie,
which model is best - grsecurity, PAX, SeLinux - and how best to implement
it?
>
> Thanks...
>

Oh, one more thing:

If you don't need to milk your hardware for every last bit of performance,
consider running the server inside a VM like XenServer. You gain the
benefit of branchable snapshots, ease of migrating to a different physical
box (as long as you don't use -march=native), and simpler menuconfig. Plus,
if somehow your VM lost all connectivity, you don't need to visit the
server; you can still manage it through XenServer's virtual console.

I have been deploying my servers on top of XenServers, including one
gateway/firewall that used to oversee 5 internet links + 1 LAN with an
aggregate Internet bandwidth of 35 Mbps. Albeit running on an elderly
Pentium 4 box, I have no performance problems at all, even when the
gatewall does some very exotic iptables magic (my list of iptables rules is
already longer than 100 lines).

Rgds,


Re: [gentoo-user] New Server, considering hardened, need pointers to tfm...

2011-12-10 Thread Pandu Poluan
On Dec 11, 2011 3:17 AM, "Tanstaafl"  wrote:
>
> On 2011-12-10 3:07 PM, Matthew Finkel  wrote:
>>
>>
>> You may be able to get a better response from the -hardened list,
>
>
> Dang, I had forgotten gentoo has a bunch of other lists... thanks, just
subscribed...
>

Don't forget gentoo-server! It's full of people who deploy and manage
servers daily :-)

>> but I built a hardened server a few months ago without much
>> difficulty. As far as I know, the correct model to use depends on
>> what you want to do with the server/what security you are looking to
>> implement. When I went hardened, I used PaX and grsec [1] because it
>> offered the security I was looking for but didn't restrict userland
>> usability on a server on which I was the only user. My understanding
>> is that this restriction would be a consequence of using SeLinux.
>
>
> Yeah, I was leaning toward avoiding SeLinux already from what I've been
reading, thanks...
>

Nothing beats the security of SELinux. But along with that, there will be a
HUGE learning curve and management complexity.

GrSec + PaX are enough for me.

>> [1] http://www.gentoo.org/proj/en/hardened/grsecurity.xml
>>
>> As for a solid comparison of the different models and tutorials for
>> them, I don't know of any. I just used [1] as well as the PaX page to
>> install and configure them and I didn't run into any problems.
>
>
> Good to know, and thanks again...
>

If you decide to deploy PaX, do read the help pages for PaX options; there
are settings that might be severely detrimental for certain hardware
combinations.

Rgds,


Re: [gentoo-user] Pulseaudio shuts off

2011-12-10 Thread Francisco Ares
Hi

I could not check the pulseaudio dependency for gws, as libsndfile does not
have it.

I have had pulseaudio for a year or so, and it was fine.  I used it mainly
because VirtualBox depended on it to emulate a sound car on its virtual
machines. Then something broke, and I could not get any sound out of the
speakers, just the first app get the device, and no other after that.

Then, after Dale asked me why did I need pulseaudio, I saw that VirtualBox
now is able to handle plain and simple ALSA, then I removed all pulseaudio
related things that I could find, rebuilt the kernel with alsa built-in and
everything I need is back making noises ;-)

Francisco


On Sat, Dec 10, 2011 at 2:25 PM,  wrote:

>
> Hi,
>
> sorry for the nebelous subject...
>
> The following happened to me.
> I have installed/configured pulseaudio according to this
> for a one-person desktop gentoo-system:
> http://en.gentoo-wiki.com/wiki/PulseAudio
>
> When starting gwc (which is not in portage) and playing
> sounds, it works...once...
>
> After a while I here the same clicking sound, which happens
> while booting the system and alsa takes over...and thats it.
> I have to kill gwc.
>
> On the console gwc prints:
>
>Current stack limit: 8388608 bytes
>libsndfile Version: libsndfile-1.0.25 1 0 25
>socket(): Address family not supported by protocol
>Closing the Pulse audio device
>
> The last line appears when I press "stop audio playback", the clicking
> happes a few seconds later.
>
> After that...no go.
>
> I have appended /etc/pulse/default.pa at the end of this posting.
>
> Interestingly it is possible to successfully restart gwc.
>
> What can I do to fix this?
>
> Best regards,
> mcc
>
>
>
>
> #!/usr/bin/pulseaudio -nF
> #
> # This file is part of PulseAudio.
> #
> # PulseAudio is free software; you can redistribute it and/or modify it
> # under the terms of the GNU Lesser General Public License as published by
> # the Free Software Foundation; either version 2 of the License, or
> # (at your option) any later version.
> #
> # PulseAudio is distributed in the hope that it will be useful, but
> # WITHOUT ANY WARRANTY; without even the implied warranty of
> # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
> # General Public License for more details.
> #
> # You should have received a copy of the GNU Lesser General Public License
> # along with PulseAudio; if not, write to the Free Software Foundation,
> # Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
>
> # This startup script is used only if PulseAudio is started per-user
> # (i.e. not in system mode)
>
> .nofail
>
> ### Load something into the sample cache
> #load-sample-lazy x11-bell /usr/share/sounds/gtk-events/activate.wav
> #load-sample-lazy pulse-hotplug /usr/share/sounds/startup3.wav
> #load-sample-lazy pulse-coldplug /usr/share/sounds/startup3.wav
> #load-sample-lazy pulse-access /usr/share/sounds/generic.wav
>
> .fail
>
> ### Automatically restore the volume of streams and devices
> load-module module-device-restore
> load-module module-stream-restore
> load-module module-card-restore
>
> ### Automatically augment property information from .desktop files
> ### stored in /usr/share/application
> load-module module-augment-properties
>
> ### Load audio drivers statically (it's probably better to not load
> ### these drivers manually, but instead use module-hal-detect --
> ### see below -- for doing this automatically)
> load-module module-alsa-sink
> #load-module module-alsa-source device=hw:1,0
> #load-module module-oss device="/dev/dsp" sink_name=output
> source_name=input
> #load-module module-oss-mmap device="/dev/dsp" sink_name=output
> source_name=input
> #load-module module-null-sink
> #load-module module-pipe-sink
>
> ### Automatically load driver modules depending on the hardware available
> .ifexists module-udev-detect.so
> load-module module-udev-detect
> .else
> ### Alternatively use the static hardware detection module (for systems
> that
> ### lack udev support)
> load-module module-detect
> .endif
>
> ### Automatically load driver modules for Bluetooth hardware
> .ifexists module-bluetooth-discover.so
> load-module module-bluetooth-discover
> .endif
>
> ### Load several protocols
> .ifexists module-esound-protocol-unix.so
> load-module module-esound-protocol-unix
> .endif
> load-module module-native-protocol-unix
>
> ### Network access (may be configured with paprefs, so leave this commented
> ### here if you plan to use paprefs)
> #load-module module-esound-protocol-tcp
> #load-module module-native-protocol-tcp
> #load-module module-zeroconf-publish
>
> ### Load the RTP reciever module (also configured via paprefs, see above)
> #load-module module-rtp-recv
>
> ### Load the RTP sender module (also configured via paprefs, see above)
> #load-module module-null-sink sink_name=rtp format=s16be channels=2
> rate=44100 description="RTP Multicast Sink"
> #load-module module-rtp-send source=rtp.monitor
>
> ### Load additiona

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

2011-12-10 Thread Alex Schuster
Frank Steinmetzger writes:

 a number of packages depend on imagemagick, such as Inkscape,
> Frescobaldi and some LaTeX related stuff. I wanted to take a look at
> Octave, but this positively wants graphicsmagick, which is a fork of
> imagemagick as far as I can tell and which conflicts with imagemagick.

It seems you can install graphicsmagick along with imagemagick, if the
imagemagick USE flag ist not set.

Wonko



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

2011-12-10 Thread Francisco Ares
Hi again

Theese are my USE flags for both, probably the key is one of them, like,
perhaps, having graphicsmagick independent of imagemagick:


# emerge -pvD graphicsmagick imagemagick

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

Calculating dependencies... done!
[ebuild   R] media-gfx/graphicsmagick-1.3.12-r1  USE="X bzip2 cxx jbig
jpeg jpeg2k lcms modules openmp png svg threads tiff truetype wmf zlib
-debug -doc -fpx -imagemagick -perl -q16 -q32" 0
kB

[ebuild   R] media-gfx/imagemagick-6.7.1.0  USE="X bzip2 corefonts cxx
djvu fftw fontconfig fpx graphviz gs hdri jbig jpeg jpeg2k lcms lzma opencl
openmp png svg tiff truetype wmf xml zlib -autotrace -lqr -openexr -perl
-q32 -q64 -q8 -raw -static-libs -webp" 0
kB


Total: 2 packages (2 reinstalls), Size of downloads: 0 kB


Hope it helps
Francisco

On Sat, Dec 10, 2011 at 9:51 PM, Francisco Ares  wrote:

> Hi
>
> Not sure how, but I have both installed.  I recall having some
> dificulties... Let me look for them
>
> Francisco
>
>
> On Sat, Dec 10, 2011 at 9:31 PM, Frank Steinmetzger  wrote:
>
>> Hello,
>>
>> a number of packages depend on imagemagick, such as Inkscape, Frescobaldi
>> and
>> some LaTeX related stuff. I wanted to take a look at Octave, but this
>> positively wants graphicsmagick, which is a fork of imagemagick as far as
>> I can
>> tell and which conflicts with imagemagick.
>>
>> Now some of the named packages can use graphicsmagick, it just comes last
>> in
>> the ebuild’s order of dependencies, but some others can’t. D’ya think
>> this is
>> worthy of a bug report, since graphicsmagick even has an imagemagick
>> useflag?
>> Perhaps this could be converted into a virtual to make this easier on a
>> global
>> scale.
>>
>> Or would it be too much dependent upon the individual package? I don’t
>> know
>> anything about graphicsmagick really, or its kind of compatibility
>> implementation.
>>
>> Cheers
>> --
>> Gruß | Greetings | Qapla'
>> I forbid any use of my email addresses with Facebook services.
>>
>> “We all know Linux is great … it does infinite loops in 5 seconds.”
>>  – Linus Torvalds
>>
>
>


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

2011-12-10 Thread Francisco Ares
Hi

Not sure how, but I have both installed.  I recall having some
dificulties... Let me look for them

Francisco

On Sat, Dec 10, 2011 at 9:31 PM, Frank Steinmetzger  wrote:

> Hello,
>
> a number of packages depend on imagemagick, such as Inkscape, Frescobaldi
> and
> some LaTeX related stuff. I wanted to take a look at Octave, but this
> positively wants graphicsmagick, which is a fork of imagemagick as far as
> I can
> tell and which conflicts with imagemagick.
>
> Now some of the named packages can use graphicsmagick, it just comes last
> in
> the ebuild’s order of dependencies, but some others can’t. D’ya think this
> is
> worthy of a bug report, since graphicsmagick even has an imagemagick
> useflag?
> Perhaps this could be converted into a virtual to make this easier on a
> global
> scale.
>
> Or would it be too much dependent upon the individual package? I don’t know
> anything about graphicsmagick really, or its kind of compatibility
> implementation.
>
> Cheers
> --
> Gruß | Greetings | Qapla'
> I forbid any use of my email addresses with Facebook services.
>
> “We all know Linux is great … it does infinite loops in 5 seconds.”
>  – Linus Torvalds
>


[gentoo-user] Imagemagick and Graphicsmagick blocking each other

2011-12-10 Thread Frank Steinmetzger
Hello,

a number of packages depend on imagemagick, such as Inkscape, Frescobaldi and
some LaTeX related stuff. I wanted to take a look at Octave, but this
positively wants graphicsmagick, which is a fork of imagemagick as far as I can
tell and which conflicts with imagemagick.

Now some of the named packages can use graphicsmagick, it just comes last in
the ebuild’s order of dependencies, but some others can’t. D’ya think this is
worthy of a bug report, since graphicsmagick even has an imagemagick useflag?
Perhaps this could be converted into a virtual to make this easier on a global
scale.

Or would it be too much dependent upon the individual package? I don’t know
anything about graphicsmagick really, or its kind of compatibility
implementation.

Cheers
-- 
Gruß | Greetings | Qapla'
I forbid any use of my email addresses with Facebook services.

“We all know Linux is great … it does infinite loops in 5 seconds.”
  – Linus Torvalds


pgpHBd1RWp6zC.pgp
Description: PGP signature


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

2011-12-10 Thread Frank Steinmetzger
On Sat, Dec 10, 2011 at 10:36:32AM -0200, luis jure wrote:

> >As the subject says: Which text browser do you recommend?
> 
> i haven't used text browsers for some time now, but i definitely prefered
> links over lynx. if i were you, i would try both. for me the links
> interface was much better, although lynx seems to be better known or more
> widely used. 
 
I like elinks for its tabs capability and easy configurability through its GUI
(the latter isn’t a killer feature in console land, but it makes it easy for
example to find every keyboard-assignable feature it has).

And concerning size:

ls -l /usr/bin/{lynx,elinks}
-rwxr-xr-x 1 root root  933972 24. Okt 15:56 /usr/bin/elinks
-rwxr-xr-x 1 root root 1286964  6. Jun 2011  /usr/bin/lynx

Plus, if you need it, elinks provides a number of other goodies like support
for bittorrent or samba.
-- 
Gruß | Greetings | Qapla'
I forbid any use of my email addresses with Facebook services.

The English invented the dinner speech so we may forget their food.


pgpgebS83AtaV.pgp
Description: PGP signature


[gentoo-user] Two video problems: Mythtv and xscreensaver

2011-12-10 Thread Michael Sullivan
I'm having a problem on my personal workstation where mythfrontend will
not display video when Watch TV is requested.  The sound works just
fine.  When I issue a

michael@camille ~ $ mplayer /dev/video0
MPlayer SVN-r33094-4.4.5 (C) 2000-2011 MPlayer Team
Can't open joystick device /dev/input/js0: No such file or directory
Can't init input joystick
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote
control.

Playing /dev/video0.
Cannot seek backward in linear streams!
Seek failed
Cannot seek backward in linear streams!
Seek failed
Cannot seek backward in linear streams!
Seek failed
Cannot seek backward in linear streams!
Seek failed
Cannot seek backward in linear streams!
Seek failed
Cannot seek backward in linear streams!
Seek failed
Cannot seek backward in linear streams!
Seek failed
Cannot seek backward in linear streams!
Seek failed
Cannot seek backward in linear streams!
Seek failed
Cannot seek backward in linear streams!
Seek failed
Cannot seek backward in linear streams!
Seek failed
Cannot seek backward in linear streams!
Seek failed
Cannot seek backward in linear streams!
Seek failed
Cannot seek backward in linear streams!
Seek failed
Cannot seek backward in linear streams!
Seek failed
Cannot seek backward in linear streams!
Seek failed
Cannot seek backward in linear streams!
Seek failed
Cannot seek backward in linear streams!
Seek failed
Cannot seek backward in linear streams!
Seek failed
Cannot seek backward in linear streams!
Seek failed
Cannot seek backward in linear streams!
Seek failed
Cannot seek backward in linear streams!
Seek failed
Cannot seek backward in linear streams!
Seek failed
Cannot seek backward in linear streams!
Seek failed
MPEG-PS file format detected.
VIDEO:  MPEG2  480x480  (aspect 2)  29.970 fps  6000.0 kbps (750.0 kbyte/s)
Load subtitles in /dev/
[VO_TDFXFB] This driver only supports the 3Dfx Banshee, Voodoo3 and
Voodoo 5.
==
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffmpeg2] vfm: ffmpeg (FFmpeg MPEG-2)
==
==
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
AUDIO: 48000 Hz, 2 ch, s16le, 384.0 kbit/25.00% (ratio: 48000->192000)
Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)
==
AO: [oss] 48000Hz 2ch s16le (2 bytes per sample)
Starting playback...
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
VO: [xv] 480x480 => 640x480 Planar YV12
[mpeg2video @ 0x87a1ce0]warning: first frame is no keyframe
[VD_FFMPEG] DRI failure.
A:   0.7 V:   1.3 A-V: -0.591 ct:  0.000   2/  2 ??% ??% ??,?% 1 0
[mpeg2video @ 0x87a1ce0]warning: first frame is no keyframe
A:   9.3 V:   9.3 A-V: -0.015 ct: -0.788 241/241  9%  0%  1.4% 4 0

Exiting... (Quit)

there is still no picture, but sound is present.  My xscreesaver is set
to glslideshow displaying pictures and it doesn't display pictures.
When I run it, I get these errors:  (from ~/.xsession-errors)

X error in glslideshow:
X Error of failed request:  BadDrawable (invalid Pixmap or Window parameter)
  Major opcode of failed request:  136 (DRI2)
  Minor opcode of failed request:  8 (DRI2SwapBuffers   )
  Resource id in failed request:  0x3200070
  Serial number of failed request:  1999
  Current serial number in output stream:  1999
xscreensaver-getimage: target pixmap 0x340010a unexpectedly deleted


When I look at the Xorg logs, I find this:

camille ~ # grep EE /var/log/Xorg.0.log
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[621028.083] (II) Loading extension MIT-SCREEN-SAVER
[621029.135] (EE) intel(0): Detected a hung GPU, disabling acceleration.
[621029.135] (EE) intel(0): When reporting this, please include
i915_error_state from debugfs and the full dmesg.
[621215.105] (EE) intel(0): [DRI2] DRI2SwapBuffers: drawable has no back
or front?
[621217.191] (EE) intel(0): [DRI2] DRI2SwapBuffers: drawable has no back
or front?

Just before I got this listing I restarted X after doing a qlist -I -C
x11-drivers/ and re-merging all of them (there were like 10).
Mythfrontend Watch TV works fine from every other computer on my
network, and the recordings are fine, so I'm pretty sure it's this
DRI2SwapBuffers thing.  What should I do to resolve this?



Re: [gentoo-user] [OT]: Denoising software ?

2011-12-10 Thread luis jure
on 2011-12-10 at 20:50 meino.cra...@gmx.de wrote:

>Gwc is a little fragile due the longer period it was not maintained
>anymore. Its alsa interface simply does not work. 
>
>But it clearly wins when it comes to denoising. It also supports the
>removal of other audio artifacts.

vielen dank für den bericht, meino! :-)

yes, i remember gwc from the old days, but i hadn't heard from it for a
long time... it's a pity that it has been abandoned, but the same happened
with many audio applications for linux.

i wonder if the algorithms could be implemented as audacity plugins?

alles gute,

lj



Re: [gentoo-user] New Server, considering hardened, need pointers to tfm...

2011-12-10 Thread Tanstaafl

On 2011-12-10 3:07 PM, Matthew Finkel  wrote:


You may be able to get a better response from the -hardened list,


Dang, I had forgotten gentoo has a bunch of other lists... thanks, just 
subscribed...



but I built a hardened server a few months ago without much
difficulty. As far as I know, the correct model to use depends on
what you want to do with the server/what security you are looking to
implement. When I went hardened, I used PaX and grsec [1] because it
offered the security I was looking for but didn't restrict userland
usability on a server on which I was the only user. My understanding
is that this restriction would be a consequence of using SeLinux.


Yeah, I was leaning toward avoiding SeLinux already from what I've been 
reading, thanks...



[1] http://www.gentoo.org/proj/en/hardened/grsecurity.xml

As for a solid comparison of the different models and tutorials for
them, I don't know of any. I just used [1] as well as the PaX page to
install and configure them and I didn't run into any problems.


Good to know, and thanks again...



Re: [gentoo-user] New Server, considering hardened, need pointers to tfm...

2011-12-10 Thread Matthew Finkel
On Sat, Dec 10, 2011 at 12:45 PM, Tanstaafl wrote:

> Hello all,
>
> I'm considering rolling out a new server with gentoo, but wanted to base
> it on the hardened profile, but the docs I've read so far all seem to be a
> bit vague about all the details.
>
> I've been using gentoo for a while on my hobby server, but I installed it
> about 8 years ago, and chose the 'server' profile, and I must say it has
> been a real pleasure to maintain, and the only real hiccup I ever
> experienced was the mailman update that moved the directories for the lists
> without telling me what to do about it (the fix was simple, and the devs
> swiftly fixed the lack of post-install docs).
>
> Does anyone know of a good How-To that covers *all* of the bases? Ie,
> which model is best - grsecurity, PAX, SeLinux - and how best to implement
> it?
>
> Thanks...
>
>
You may be able to get a better response from the -hardened list, but I
built a hardened server a few months ago without much difficulty. As far as
I know, the correct model to use depends on what you want to do with the
server/what security you are looking to implement. When I went hardened, I
used PaX and grsec [1] because it offered the security I was looking for
but didn't restrict userland usability on a server on which I was the only
user. My understanding is that this restriction would be a consequence of
using SeLinux.

[1] http://www.gentoo.org/proj/en/hardened/grsecurity.xml

As for a solid comparison of the different models and tutorials for them, I
don't know of any. I just used [1] as well as the PaX page to install and
configure them and I didn't run into any problems.

hope that helps a bit (and I hopefully didn't describe anything
incorrectly).

- Matt


Re: [gentoo-user] [OT]: Denoising software ?

2011-12-10 Thread meino . cramer
luis jure  [11-12-10 13:28]:
> on 2011-12-09 at 13:55 Michael Mol wrote:
> 
> >I couldn't tell you if it's necessarily "good", but Audacity has a
> >noise filter.
> 
> that's exactly what i was about to reply.
> 
> and if you want to try a CLI tool, sox provides a similar utility.
> 
> noiseprof [profile-file]
> Calculate  a  profile  of the audio for use in noise reduction.
> See the description of the noisered effect for details.
> 
> noisered [profile-file [amount]]
>Reduce noise in the audio signal by profiling and filtering.  This
>effect is moderately effective at removing consistent background
>noise such as hiss or hum.  To use it, first run SoX with the
>noise‐ prof effect on a section of audio that ideally would contain
>silence but in fact  contains  noise  - such sections are typically
>found at the beginning or the end of a recording.  noiseprof will
>write out a noise profile to profile-file, or to stdout if no
>profile-file or if `-' is given. E.g. sox speech.wav -n trim 0 1.5
>noiseprof speech.noise-profile To actually remove the noise, run
>SoX again, this time  with  the noisered  effect;  noisered  will
>reduce  noise according to a noise profile (which was generated by
>noiseprof), from profile-file, or from stdin if no profile-file or
>if `-' is given. E.g. sox speech.wav cleaned.wav noisered
>speech.noise-profile 0.3 How much noise should be removed is
>specified by amount-a number between 0 and 1 with a  default  of
>0.5.  Higher numbers will remove more noise but present a greater
>likelihood of removing wanted components of the audio signal.
>Before replacing an original recording with a  noise-reduced
>version, experiment with  different  amount values to find the
>optimal one for your audio; use headphones to check that you are
>happy with the results, paying particular attention to quieter
>sections  of  the audio.
> 
>On most systems, the two stages - profiling and reduction
>- can be combined using a pipe, e.g. sox noisy.wav -n
>trim 0 1 noiseprof | play noisy.wav noisered
> 
> never compared the results, if you do, i for one would be very interested
> in your experience. 
> 
> IMO, it's much better to remove noise by small amounts in successive
> passes (taking a new profile each time, of course), than trying to remove
> too much noise in one pass.
> 
> let us know how it went!
> 
> lj
> 

I have some results now. "Measurement" was only done with my two ears
in a before/after-way of doing. No spectrum analysis or other high
advanced stuff. 

Device: Recording was done with a Tascam DR2D field recorder (SDcard
recordings), which has a nice sound and a fine stereo image ... and a
slightly high noise floor.

Test:
I set the internal mics of the  Tascam to mid
gain and pushed the level to max. I think (read: "I dont know for
sure") that the level is simply a variable resistor in the signal
path. The gain is the amplification level...so the noise comes from
this source beside others. No AGC was active.

I went into the kitchen, put the recorder on the desk and switch it
on. I let it record its own noise for a moment or two and then start 
to boil water (high freqs in the sound) and I produced other sounds
which contain high freqs.

After a while I stopped recording.

As exspected, the recording was filled with some noise, which was not
destructive but fairly audible.

I loaded the file into audacity, and used the denoising filter.
The result has noticeable less noise but it was still audible.

Then I used gwc in conjunction with pulseaudio. I leave all the setting
alone and only selected for the Window function "Hanning-overlap-add"
and for the Noise Suppression Method "Lober & Hoeldrich", both marked
with "Best" in the settings menu.

I denoised the same input as above.

The result? There was no noise at all anymore -- at least for my ears.
Both files were checked using earphones and played with the Tascam
instead being played through the PC loudspeakers.
In the beginning of the file there were some audible artifacts, which
may result from too less read data...but this is guessed.

Gwc is a little fragile due the longer period it was not maintained
anymore. Its alsa interface simply does not work. 

But it clearly wins when it comes to denoising. It also supports the
removal of other audio artifacts.

HTH!
Best regards,
mcc


  






Re: [gentoo-user] Re: can one tell me: gentoo vs opensuse

2011-12-10 Thread Michael Mol
On Sat, Dec 10, 2011 at 12:39 PM, Pandu Poluan  wrote:
> On Dec 11, 2011 12:02 AM, "Grant Edwards"  wrote:
>> On 2011-12-10, Pandu Poluan  wrote:
>>
>> > And even you can't guarantee that the kernels are the same. Many distros
>> > introduce their own distro-specific patches to the vanilla kernel.
>>
>> RedHat is particularly bad about this.  I maintain a couple Linux
>> drivers that have to work with a wide range of kernel versions.  There
>> are lot's of #ifdef's that depend on not only the kernel and some of
>> them also have to check whether it's a _RedHat_ kernel or not, since
>> RedHat is fond of shipping a kernel with version X.Y.Z that isn't even
>> close to compatible with the driver API for vanilla kernel X.Y.Z.
>>
>> > With Gentoo, it's even more complicated, as most experienced
>> > Gentooroids will configure and compile their own kernels.
>>
>> I've never had to add special code to a driver to handle the Gentoo
>> version of a kernel.
>>
>
> Ah, I see that I might have misconstrued myself. My bad.
>
> Regarding drivers: usually they're no big deal, since the 'infrastructure'
> portions of the kernel (e.g., SCSI disk support) are most likely have been
> enabled.
>
> For most applications, usually they don't really care what's in the kernel
> since they operate at a quite high-level.
>
> Problems might arise though if you're doing exotic things. For example: If I
> built the IPset portion as 'built-in' into the kernel, I won't be able to
> install xtables-addons. This is due to the package wanting to install its
> own set of IPset modules.
>
> Fortunately, such cases are few and far between in the Gentooverse. People
> doing exotic things are naturally expected to Know What They Are Doing™ :-)

Speaking from experience, the real difficulty is knowing that you're
doing something exotic. Once you find out, you generally have two
options: Follow the route most people go (such as is happening with
udev), or help fix the system so that your desired approach still
works (such as the fellow who's been working with mdev).

If you're constantly exploring, you'll very likely hit the exotic edge
cases, but then that's going to be part of learning the thing you're
exploring. Gentoo can be really great for that. Even better, in that
it's often not that hard (after a while) to help smooth those edges,
making it easier to go on exploring.
-- 
:wq



[gentoo-user] New Server, considering hardened, need pointers to tfm...

2011-12-10 Thread Tanstaafl

Hello all,

I'm considering rolling out a new server with gentoo, but wanted to base 
it on the hardened profile, but the docs I've read so far all seem to be 
a bit vague about all the details.


I've been using gentoo for a while on my hobby server, but I installed 
it about 8 years ago, and chose the 'server' profile, and I must say it 
has been a real pleasure to maintain, and the only real hiccup I ever 
experienced was the mailman update that moved the directories for the 
lists without telling me what to do about it (the fix was simple, and 
the devs swiftly fixed the lack of post-install docs).


Does anyone know of a good How-To that covers *all* of the bases? Ie, 
which model is best - grsecurity, PAX, SeLinux - and how best to 
implement it?


Thanks...



Re: [gentoo-user] Re: can one tell me: gentoo vs opensuse

2011-12-10 Thread Pandu Poluan
On Dec 11, 2011 12:02 AM, "Grant Edwards"  wrote:
>
> On 2011-12-10, Pandu Poluan  wrote:
>
> > And even you can't guarantee that the kernels are the same. Many distros
> > introduce their own distro-specific patches to the vanilla kernel.
>
> RedHat is particularly bad about this.  I maintain a couple Linux
> drivers that have to work with a wide range of kernel versions.  There
> are lot's of #ifdef's that depend on not only the kernel and some of
> them also have to check whether it's a _RedHat_ kernel or not, since
> RedHat is fond of shipping a kernel with version X.Y.Z that isn't even
> close to compatible with the driver API for vanilla kernel X.Y.Z.
>
> > With Gentoo, it's even more complicated, as most experienced
> > Gentooroids will configure and compile their own kernels.
>
> I've never had to add special code to a driver to handle the Gentoo
> version of a kernel.
>

Ah, I see that I might have misconstrued myself. My bad.

Regarding drivers: usually they're no big deal, since the 'infrastructure'
portions of the kernel (e.g., SCSI disk support) are most likely have been
enabled.

For most applications, usually they don't really care what's in the kernel
since they operate at a quite high-level.

Problems might arise though if you're doing exotic things. For example: If
I built the IPset portion as 'built-in' into the kernel, I won't be able to
install xtables-addons. This is due to the package wanting to install its
own set of IPset modules.

Fortunately, such cases are few and far between in the Gentooverse. People
doing exotic things are naturally expected to Know What They Are Doing™ :-)

Rgds,


Re: [gentoo-user] thinkpad w/ core i5-2xxx ?

2011-12-10 Thread Stefan G. Weichinger
Am 2011-12-06 23:59, schrieb Stefan G. Weichinger:
> Am 06.12.2011 14:59, schrieb Stefan G. Weichinger:
> 
>> I currently look at the cheaper ones: Edge E520, L520, T420 ...
> 
> Zooming in on a L520 w/ core i5-2430M and WXGA++ (higher resolution)
> Any concerns or experiences?

Got that one already, posting from it right now ;-)
nice machine ...




[gentoo-user] Re: can one tell me: gentoo vs opensuse

2011-12-10 Thread Grant Edwards
On 2011-12-10, Pandu Poluan  wrote:

> And even you can't guarantee that the kernels are the same. Many distros
> introduce their own distro-specific patches to the vanilla kernel.

RedHat is particularly bad about this.  I maintain a couple Linux
drivers that have to work with a wide range of kernel versions.  There
are lot's of #ifdef's that depend on not only the kernel and some of
them also have to check whether it's a _RedHat_ kernel or not, since
RedHat is fond of shipping a kernel with version X.Y.Z that isn't even
close to compatible with the driver API for vanilla kernel X.Y.Z.

> With Gentoo, it's even more complicated, as most experienced
> Gentooroids will configure and compile their own kernels.

I've never had to add special code to a driver to handle the Gentoo
version of a kernel.

-- 
Grant






Re: [gentoo-user] can one tell me: gentoo vs opensuse

2011-12-10 Thread Alan McKinnon
On Sat, 10 Dec 2011 08:47:47 -0500
LinuxIsOne  wrote:

> On Sat, Dec 10, 2011 at 8:31 AM, Sebastian Beßler
>  wrote:
> 
> > Virtualbox is mostly self-explaining so that should not be so much
> > of a problem.
> 
> VB works from within another OS or needs memory of HDD?
> 

VirtualBox is a program that runs on a working system with a
functioning OS. Like all programs it needs resources like memory and
hard disk space. Unlike most programs it usually uses a LOT of memory
and hard disk space to be useful.

-- 
Alan McKinnnon
alan.mckin...@gmail.com



Re: [gentoo-user] can one tell me: gentoo vs opensuse

2011-12-10 Thread Alan McKinnon
On Sat, 10 Dec 2011 08:46:16 -0500
LinuxIsOne  wrote:

> On Thu, Dec 8, 2011 at 5:11 PM, Frank Steinmetzger 
> wrote:
> 
> 
> > I did this in the past. But recently I’m reassessing this, with
> > Ubuntu changing
> > the default look and the way it works with every other release
> > (remember the
> > hassle about window buttons to the left by default?). I can’t really
> > explain
> > -- let alone justify -- to a newbie, who had to adapt from Win to
> > Ubuntu that
> > he has to do so again, whether he wants to or not. Plus it seems to
> > me they are trying to become Apple in the Linux world, with own
> > services (and design).
> > I am totally at a loss with entry-level distros right now.
> >
> > I tried Mint, also the new one with Gnome 3. The praised Mint menu
> > seems overloaded to me (it shows too much at once IMHO). I somehow
> > dislike custom layers over a standard interface, much like, if I
> > bought an HTC Android, I would reflash it without Sense UI, but I’m
> > digressing.
> >
> > OpenSuse seems even more overloaded. Albeit it provides a whole
> > environment,
> > Yast was full of stuff a simple user will never need. It also
> > caused a very long and voluminous installation process.
> > I must add though that I peeked into both Mint and Suse only for a
> > day or so,
> > without ever using it myself, so I don’t know jack about update
> > procedures.
> >
> > A friend of mine wanted Linux, so I installed Debian stable for her
> > with KDE
> > 4.4. It’s not bleeding edge, but it works because it doesn’t change
> > much (hence
> > keeps working) and because she doesn’t do a lot of fancy stuff.
> > (And also because I used Debian testing for a while, so I know a
> > bit about how to do some
> > helpdesking).
> >
> 
> I have come to conclusion that almost all Linux work almost in the
> same way since they have the same kernel, however, this is what I
> think.


Not quite.

A very small selection of all possible Unixes work the same.
Ubuntu and Debian are quite similar as they have common roots.
RedHat works rather like an old Fedora (and to some degree that's almost
exactly what it is).
Gentoo looks and feels like whatever you decide to make it to be
(because it is so highly configurable and adaptable)

The fact is that the kernel make very little difference to how the
overall system works. YOU do not interact with the kernel, YOU interact
with a collection of programs called "userland", and these things can
all be very different. For example, I'm looking at three computers
right now that all run Linux, and they are all very very different:

- this laptop, which is set up as a traditional Unix with X,
- my phone running Android 
- my wireless router/modem which runs busybox

Be careful of making rash conclusions about Linux. A Linux system is not
"like" anything particularly, it is whatever the person who built it
decided it should be.

What you will find is that desktop Linuxes share many common elements.
This is not surprising - all versions of Windows share many common
elements too.

-- 
Alan McKinnnon
alan.mckin...@gmail.com



Re: [gentoo-user] [OT]: Denoising software ?

2011-12-10 Thread meino . cramer
luis jure  [11-12-10 13:28]:
> on 2011-12-09 at 13:55 Michael Mol wrote:
> 
> >I couldn't tell you if it's necessarily "good", but Audacity has a
> >noise filter.
> 
> that's exactly what i was about to reply.
> 
> and if you want to try a CLI tool, sox provides a similar utility.
> 
> noiseprof [profile-file]
> Calculate  a  profile  of the audio for use in noise reduction.
> See the description of the noisered effect for details.
> 
> noisered [profile-file [amount]]
>Reduce noise in the audio signal by profiling and filtering.  This
>effect is moderately effective at removing consistent background
>noise such as hiss or hum.  To use it, first run SoX with the
>noise‐ prof effect on a section of audio that ideally would contain
>silence but in fact  contains  noise  - such sections are typically
>found at the beginning or the end of a recording.  noiseprof will
>write out a noise profile to profile-file, or to stdout if no
>profile-file or if `-' is given. E.g. sox speech.wav -n trim 0 1.5
>noiseprof speech.noise-profile To actually remove the noise, run
>SoX again, this time  with  the noisered  effect;  noisered  will
>reduce  noise according to a noise profile (which was generated by
>noiseprof), from profile-file, or from stdin if no profile-file or
>if `-' is given. E.g. sox speech.wav cleaned.wav noisered
>speech.noise-profile 0.3 How much noise should be removed is
>specified by amount-a number between 0 and 1 with a  default  of
>0.5.  Higher numbers will remove more noise but present a greater
>likelihood of removing wanted components of the audio signal.
>Before replacing an original recording with a  noise-reduced
>version, experiment with  different  amount values to find the
>optimal one for your audio; use headphones to check that you are
>happy with the results, paying particular attention to quieter
>sections  of  the audio.
> 
>On most systems, the two stages - profiling and reduction
>- can be combined using a pipe, e.g. sox noisy.wav -n
>trim 0 1 noiseprof | play noisy.wav noisered
> 
> never compared the results, if you do, i for one would be very interested
> in your experience. 
> 
> IMO, it's much better to remove noise by small amounts in successive
> passes (taking a new profile each time, of course), than trying to remove
> too much noise in one pass.
> 
> let us know how it went!
> 
> lj
> 

Thanks for all your replies ! :)


In the net I read about audacities denoise and that it is not /that/
good. I didnt checked it myself though.  At the same place "Gnome Wave
Cleaner" (gwc) was recommended instead of audacities denoiser. On its
homepage there is also linked a downloadable book about digital signal
processing (34 chapters) which looks quite proefessional.

Gwc is ... not the youngest software and development seems to have
stopped. Now I trying to get this beast working under Gentoo.
The alsa-problem with "snd_pcm_write" can be workarounded ;) with
installing pulseaudio and playing the sound with gwc via pulseaudio
instead of with alsa directly.
While compiling gwc you need to enable alsa and pulseaudio with
./configure.

When gwc is running I wll report more.
See my other posting sent just before this one.

Gwc is the first denoise I will try.

Have a nice, denoised  weekend! :)
Best regards,
mcc






Re: [gentoo-user] can one tell me: gentoo vs opensuse

2011-12-10 Thread LinuxIsOne
On Sat, Dec 10, 2011 at 9:32 AM, Pandu Poluan  wrote:

> I don't mean to scare you, but most Linux distros work differently.

> First, there might be differences in how they install a package. There's
> RPM, apt, pacman, portage, and others.

> Second, there are differences in the "init" system. Gentoo users OpenRC,
> Ubuntu uses upstart, and others use SysVinit, systemd, and so on.

"init" system? I am first time hearing this, may be, I would read it
later or sometimes about what is it

> And even you can't guarantee that the kernels are the same. Many distros
> introduce their own distro-specific patches to the vanilla kernel. With
> Gentoo, it's even more complicated, as most experienced Gentooroids will
> configure and compile their own kernels.

> (The last paragraph, however, is the reason why Gentoo is so secure:
> attackers can't be sure that the vuln they're targeting is located at the
> right spot, *if* the vuln exists at all. Throw in hardened patches like
> GrSecurity, PAX, and SELinux... well, you get the idea.)

Oh I see. Thanks for clarification Pandu.

> ((No wonder NASDAQ uses Gentoo for its infrastructure))

Great to hear.



[gentoo-user] Pulseaudio shuts off

2011-12-10 Thread meino . cramer

Hi,

sorry for the nebelous subject...

The following happened to me.
I have installed/configured pulseaudio according to this
for a one-person desktop gentoo-system:
http://en.gentoo-wiki.com/wiki/PulseAudio

When starting gwc (which is not in portage) and playing
sounds, it works...once...

After a while I here the same clicking sound, which happens
while booting the system and alsa takes over...and thats it.
I have to kill gwc.

On the console gwc prints:

Current stack limit: 8388608 bytes
libsndfile Version: libsndfile-1.0.25 1 0 25
socket(): Address family not supported by protocol
Closing the Pulse audio device

The last line appears when I press "stop audio playback", the clicking
happes a few seconds later.

After that...no go.

I have appended /etc/pulse/default.pa at the end of this posting.

Interestingly it is possible to successfully restart gwc.

What can I do to fix this?

Best regards,
mcc




#!/usr/bin/pulseaudio -nF
#
# This file is part of PulseAudio.
#
# PulseAudio is free software; you can redistribute it and/or modify it
# under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# PulseAudio is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public License
# along with PulseAudio; if not, write to the Free Software Foundation,
# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.

# This startup script is used only if PulseAudio is started per-user
# (i.e. not in system mode)

.nofail

### Load something into the sample cache
#load-sample-lazy x11-bell /usr/share/sounds/gtk-events/activate.wav
#load-sample-lazy pulse-hotplug /usr/share/sounds/startup3.wav
#load-sample-lazy pulse-coldplug /usr/share/sounds/startup3.wav
#load-sample-lazy pulse-access /usr/share/sounds/generic.wav

.fail

### Automatically restore the volume of streams and devices
load-module module-device-restore
load-module module-stream-restore
load-module module-card-restore

### Automatically augment property information from .desktop files
### stored in /usr/share/application
load-module module-augment-properties

### Load audio drivers statically (it's probably better to not load
### these drivers manually, but instead use module-hal-detect --
### see below -- for doing this automatically)
load-module module-alsa-sink
#load-module module-alsa-source device=hw:1,0
#load-module module-oss device="/dev/dsp" sink_name=output source_name=input
#load-module module-oss-mmap device="/dev/dsp" sink_name=output 
source_name=input
#load-module module-null-sink
#load-module module-pipe-sink

### Automatically load driver modules depending on the hardware available
.ifexists module-udev-detect.so
load-module module-udev-detect
.else
### Alternatively use the static hardware detection module (for systems that
### lack udev support)
load-module module-detect
.endif

### Automatically load driver modules for Bluetooth hardware
.ifexists module-bluetooth-discover.so
load-module module-bluetooth-discover
.endif

### Load several protocols
.ifexists module-esound-protocol-unix.so
load-module module-esound-protocol-unix
.endif
load-module module-native-protocol-unix

### Network access (may be configured with paprefs, so leave this commented
### here if you plan to use paprefs)
#load-module module-esound-protocol-tcp
#load-module module-native-protocol-tcp
#load-module module-zeroconf-publish

### Load the RTP reciever module (also configured via paprefs, see above)
#load-module module-rtp-recv

### Load the RTP sender module (also configured via paprefs, see above)
#load-module module-null-sink sink_name=rtp format=s16be channels=2 rate=44100 
description="RTP Multicast Sink"
#load-module module-rtp-send source=rtp.monitor

### Load additional modules from GConf settings. This can be configured with 
the paprefs tool.
### Please keep in mind that the modules configured by paprefs might conflict 
with manually
### loaded modules.
.ifexists module-gconf.so
.nofail
load-module module-gconf
.fail
.endif

### Automatically restore the default sink/source when changed by the user 
during runtime
load-module module-default-device-restore

### Automatically move streams to the default sink if the sink they are
### connected to dies, similar for sources
load-module module-rescue-streams

### Make sure we always have a sink around, even if it is a null sink.
load-module module-always-sink

### Honour intended role device property
load-module module-intended-roles

### Automatically suspend sinks/sources that become idle for too long
load-module module-suspend-on-idle

### If autoexit on idle is enabled we want to make sure we only quit
### when no local session

Re: [gentoo-user] can one tell me: gentoo vs opensuse

2011-12-10 Thread Pandu Poluan
On Dec 10, 2011 8:50 PM, "LinuxIsOne"  wrote:
>

- >8 snip

>
> I have come to conclusion that almost all Linux work almost in the same
way since they have the same kernel, however, this is what I think.

I don't mean to scare you, but most Linux distros work differently.

First, there might be differences in how they install a package. There's
RPM, apt, pacman, portage, and others.

Second, there are differences in the "init" system. Gentoo users OpenRC,
Ubuntu uses upstart, and others use SysVinit, systemd, and so on.

And even you can't guarantee that the kernels are the same. Many distros
introduce their own distro-specific patches to the vanilla kernel. With
Gentoo, it's even more complicated, as most experienced Gentooroids will
configure and compile their own kernels.

(The last paragraph, however, is the reason why Gentoo is so secure:
attackers can't be sure that the vuln they're targeting is located at the
right spot, *if* the vuln exists at all. Throw in hardened patches like
GrSecurity, PAX, and SELinux... well, you get the idea.)

((No wonder NASDAQ uses Gentoo for its infrastructure))

Rgds,


Re: [gentoo-user] Re: can one tell me: gentoo vs opensuse

2011-12-10 Thread LinuxIsOne
On Thu, Dec 8, 2011 at 12:05 PM, Paul Hartman
 wrote:

> I just want to say that I love Gentoo Linux, have used it as my
> primary OS for years on multiple computers and can't stand to use
> anything else. I like having total control over everything. I truly
> enjoy it, the Gentoo Way just feels like "the right way" in general to
> me. That is my subjective opinion.

> But I also want to say that just because you're forced to do things
> yourself doesn't mean that makes them inherently better-performing or
> secure. :) One can just as easily screw up their CFLAGS and a have
> terrible security setup, especially a beginner. This list's archives
> are full of such stories...

> I say install a binary distro to get your feet wet with Linux.
> Understand the basic concepts of how the system works, using a shell,
> editing config files, etc. Once that's not a 100% foreign experience
> to you, then go and install Gentoo using the great docs, wikis,
> forums, mailing lists and IRC as your guide, and we can be your
> hand-holding friends along the way.

> I would also suggest using a virtual machine for your first
> installations. It will make it a lot less scary. You messed up
> partitioning? No problem, you didn't just destroy your Windows
> installation or your life-long collection of digital photos (that you
> probably never got around to making a backup of).

> As a newbie to Linux, comparing distros is usually equivalent to
> comparing the default desktop environment, wallpaper and color scheme.
> They don't know enough to care about bootloader, filesystem layout,
> LVM, package manager, or whatever holy wars linux distros are having
> these days. :)

> A beginner can certainly follow along the Gentoo install docs, but I
> think it takes a certain kind of person to tolerate it... Blindly
> copy-pasting commands that they don't understand isn't necessarily
> going to teach them anything. Not any more than blindly copy-pasting
> example code from a programming textbook makes you a programmer...
> Having at least some basic understand of the commands you're typing in
> will greatly enhance the experience, in my opinion.

Nice suggestions.

> Good luck to the OP, whatever he chooses. Welcome to the dark side. :)

Thanks.



Re: [gentoo-user] can one tell me: gentoo vs opensuse

2011-12-10 Thread LinuxIsOne
On Sat, Dec 10, 2011 at 8:31 AM, Sebastian Beßler
 wrote:

> Virtualbox is mostly self-explaining so that should not be so much of a
> problem.

VB works from within another OS or needs memory of HDD?



Re: [gentoo-user] can one tell me: gentoo vs opensuse

2011-12-10 Thread LinuxIsOne
On Thu, Dec 8, 2011 at 5:11 PM, Frank Steinmetzger  wrote:


> I did this in the past. But recently I’m reassessing this, with Ubuntu
> changing
> the default look and the way it works with every other release (remember
> the
> hassle about window buttons to the left by default?). I can’t really
> explain
> -- let alone justify -- to a newbie, who had to adapt from Win to Ubuntu
> that
> he has to do so again, whether he wants to or not. Plus it seems to me they
> are trying to become Apple in the Linux world, with own services (and
> design).
> I am totally at a loss with entry-level distros right now.
>
> I tried Mint, also the new one with Gnome 3. The praised Mint menu seems
> overloaded to me (it shows too much at once IMHO). I somehow dislike custom
> layers over a standard interface, much like, if I bought an HTC Android, I
> would reflash it without Sense UI, but I’m digressing.
>
> OpenSuse seems even more overloaded. Albeit it provides a whole
> environment,
> Yast was full of stuff a simple user will never need. It also caused a very
> long and voluminous installation process.
> I must add though that I peeked into both Mint and Suse only for a day or
> so,
> without ever using it myself, so I don’t know jack about update procedures.
>
> A friend of mine wanted Linux, so I installed Debian stable for her with
> KDE
> 4.4. It’s not bleeding edge, but it works because it doesn’t change much
> (hence
> keeps working) and because she doesn’t do a lot of fancy stuff. (And also
> because I used Debian testing for a while, so I know a bit about how to do
> some
> helpdesking).
>

I have come to conclusion that almost all Linux work almost in the same way
since they have the same kernel, however, this is what I think.


Re: [gentoo-user] can one tell me: gentoo vs opensuse

2011-12-10 Thread Sebastian Beßler
On 08.12.2011 17:11, LinuxIsOne wrote:

> Ah, thanks for the nice suggestions, I would keep a note of it. I
> would install in one old machine, 

You could use virtualbox to create a virtual PC and install Gentoo
there. That would eliminate the required space for a second monitor,
keyboard and mouse.

Virtualbox is mostly self-explaining so that should not be so much of a
problem.

Greetings

Sebastian Beßler



signature.asc
Description: OpenPGP digital signature


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

2011-12-10 Thread luis jure
on 2011-12-09 at 18:38 Pandu Poluan wrote:


>As the subject says: Which text browser do you recommend?

i haven't used text browsers for some time now, but i definitely prefered
links over lynx. if i were you, i would try both. for me the links
interface was much better, although lynx seems to be better known or more
widely used. 



Re: [gentoo-user] [OT]: Denoising software ?

2011-12-10 Thread luis jure
on 2011-12-09 at 13:55 Michael Mol wrote:

>I couldn't tell you if it's necessarily "good", but Audacity has a
>noise filter.

that's exactly what i was about to reply.

and if you want to try a CLI tool, sox provides a similar utility.

noiseprof [profile-file]
Calculate  a  profile  of the audio for use in noise reduction.
See the description of the noisered effect for details.

noisered [profile-file [amount]]
   Reduce noise in the audio signal by profiling and filtering.  This
   effect is moderately effective at removing consistent background
   noise such as hiss or hum.  To use it, first run SoX with the
   noise‐ prof effect on a section of audio that ideally would contain
   silence but in fact  contains  noise  - such sections are typically
   found at the beginning or the end of a recording.  noiseprof will
   write out a noise profile to profile-file, or to stdout if no
   profile-file or if `-' is given. E.g. sox speech.wav -n trim 0 1.5
   noiseprof speech.noise-profile To actually remove the noise, run
   SoX again, this time  with  the noisered  effect;  noisered  will
   reduce  noise according to a noise profile (which was generated by
   noiseprof), from profile-file, or from stdin if no profile-file or
   if `-' is given. E.g. sox speech.wav cleaned.wav noisered
   speech.noise-profile 0.3 How much noise should be removed is
   specified by amount-a number between 0 and 1 with a  default  of
   0.5.  Higher numbers will remove more noise but present a greater
   likelihood of removing wanted components of the audio signal.
   Before replacing an original recording with a  noise-reduced
   version, experiment with  different  amount values to find the
   optimal one for your audio; use headphones to check that you are
   happy with the results, paying particular attention to quieter
   sections  of  the audio.

   On most systems, the two stages - profiling and reduction
   - can be combined using a pipe, e.g. sox noisy.wav -n
   trim 0 1 noiseprof | play noisy.wav noisered

never compared the results, if you do, i for one would be very interested
in your experience. 

IMO, it's much better to remove noise by small amounts in successive
passes (taking a new profile each time, of course), than trying to remove
too much noise in one pass.

let us know how it went!

lj



Re: [gentoo-user] recovering plain alsa [WAS:]: no sound on upgraded Firefox from 7 to 8 - using

2011-12-10 Thread Francisco Ares
On Sat, Dec 10, 2011 at 12:20 AM, Dale  wrote:

> fra...@gmail.com wrote:
>
>> On , Dale  wrote:
>> > Francisco Ares wrote:
>> >
>> > Thank you all who replied my last messages.
>> >
>> > Now I am back to plain alsa, but no two programs can use it at the same
>> time. Alsa drivers are built on the kernel, and I have the following
>> packages installed:
>> >
>> > media-libs/alsa-lib-1.0.24.1:0
>> > media-plugins/gst-plugins-**alsa-0.10.35:0.10
>> > media-sound/alsa-utils-1.0.24.**2-r1:0.9
>> >
>> > The two first ones were puled by emerging "alsa-utils".
>> >
>> > I have lost "/etc/asound.conf", and I guess this is the key.  Looking
>> to which package it belongs to, "equery" found none. I have put a quite
>> simple version (as explained here: http://en.gentoo-wiki.com/**
>> wiki/ALSA#Default_Sound_Device
>> **) 
>> http://en.gentoo-wiki.com/**wiki/ALSA#Default_Sound_**Device%29
>> >::
>> >
>> > pcm.!default { type hw card Intel }
>> > ctl.!default { type hw card Intel }
>> >
>> > Any hints on how can I get all programs to mix up as before?
>> >
>> > Thanks again
>> > Francisco
>> >
>> > --
>> > "If you have an apple and I have an apple and we exchange apples then
>> you and I will still each have one apple. But if you have an idea and I
>> have one idea and we exchange these ideas, then each of us will have two
>> ideas." - George Bernard Shaw
>> >
>> >
>> >
>> > I build my audio drivers into my kernel.  I also have these alsa
>> related packages installed:
>> >
>> > root@fireball / # equery list *alsa*
>> >  * Searching for *alsa* ...
>> > [IP-] [  ] media-libs/alsa-lib-1.0.24.1:0
>> > [IP-] [  ] media-plugins/gst-plugins-**alsa-0.10.35:0.10
>> > [IP-] [  ] media-sound/alsa-headers-1.0.**24:0
>> > [IP-] [  ] media-sound/alsa-utils-1.0.24.**2-r1:0.9
>> > [IP-] [  ] media-sound/alsamixergui-0.9.**0.1.2-r4:0
>> > root@fireball / #
>> >
>> > See if yours looks something like this.  I can watch videos and other
>> programs play sound at the same time.
>> >
>> > Dale
>> >
>> > :-)  :-)
>> >
>> > --
>> > I am only responsible for what I said ... Not for what you understood
>> or how you interpreted my words!
>> >
>> > Miss the compile output?  Hint:
>> > EMERGE_DEFAULT_OPTS="--quiet-**build=n"
>> >
>>
>> In another machine I have at the office, sound works great without ever
>> having pulse installed. And there is no "/etc/asoud.whatever"
>>
>> I will recompile the kernel to remove a loop device that is going default
>> every time.
>>
>> Will post the results.
>>
>> Thanks
>> Francisco
>>
>
> I noticed this in my updates tonight.  This may be what you need to
> install or check into.
>
> [I] media-libs/sdl-mixer
> Available versions:  1.2.11-r1{tbz2} {flac mad +midi mikmod mp3
> playtools static-libs timidity vorbis +wav}
> Installed versions:  1.2.11-r1{tbz2}(07:58:24 PM 12/09/2011)(flac mad
> midi mp3 vorbis wav -mikmod -playtools -static-libs -timidity)
> Homepage:
> http://www.libsdl.org/**projects/SDL_mixer/
> Description: Simple Direct Media Layer Mixer Library
>
> From what it says, it is what mixes sounds.  That's my thinking anyway.
>
>
> Dale
>
> :-)  :-)
>
> --
> I am only responsible for what I said ... Not for what you understood or
> how you interpreted my words!
>
> Miss the compile output?  Hint:
> EMERGE_DEFAULT_OPTS="--quiet-**build=n"
>
>
>
Thanks, Dale, but now everything is working fine again. I left "genkernel"
working overnight on my custom ".config", and now that I removed
"/etc/asound.conf" and "/etc/asound.status" and rebooted, everything is
working fine with just plain ALSA.

As far as I know, "sdl" is somewhat like "pulse", isn't it? Some higher
level of interfacing, I think.  Let's do some more research...

By the way, looking on your previous post, why do you have alsa-libs
emerged and alsa built in the kernel at the same time?

Thanks again
Francisco


-- 
"If you have an apple and I have an apple and we exchange apples then you
and I will still each have one apple. But if you have an idea and I have
one idea and we exchange these ideas, then each of us will have two ideas."
- George Bernard Shaw