Re: [gentoo-user] What is the best audio system?
You should check airfoil [1]. It's a multiplatform sound system but it's not open source. Haven't actually tried it myself as pulseaudio fits my needs. ** refs: [1] http://rogueamoeba.com/airfoil/ On Mon, Feb 27, 2012 at 5:00 PM, Mark Knecht markkne...@gmail.com wrote: On Mon, Feb 27, 2012 at 1:50 PM, Willie Matthews matthews.wil...@gmail.com wrote: Right now I use pulseaudio on my laptop and desktop. Is there something else out there that can handle multiple audio streams? -- Willie Matthews matthews.wil...@gmail.com Jack handles multiple streams very well but it's difficult to use if you're not willing to invest a lot of time and not all apps support it. I've never used pulseaudio so I cannot speak to that personally. I also wonder what KDE is doing under the hood. I use multiple VMs all day long - both VMWare Player and Virtualbox. I get audio from both of those at the same time, as well as from Firefox or xine running native in Linux, so I'm doing multiple streams and mixing them in KDE all automatically. I've never studied how KDE does it, but empirically it certainly can do multiple streams. HTH, Mark
Re: [gentoo-user] What is the best audio system?
no, I missunderstood what it is for, airfoil can only play streams from windows or mac, the output could be linux though, but anyways it isn't what you are looking for. 2012/2/27 Juan Diego Tascón juantas...@gmail.com: You should check airfoil [1]. It's a multiplatform sound system but it's not open source. Haven't actually tried it myself as pulseaudio fits my needs. ** refs: [1] http://rogueamoeba.com/airfoil/ On Mon, Feb 27, 2012 at 5:00 PM, Mark Knecht markkne...@gmail.com wrote: On Mon, Feb 27, 2012 at 1:50 PM, Willie Matthews matthews.wil...@gmail.com wrote: Right now I use pulseaudio on my laptop and desktop. Is there something else out there that can handle multiple audio streams? -- Willie Matthews matthews.wil...@gmail.com Jack handles multiple streams very well but it's difficult to use if you're not willing to invest a lot of time and not all apps support it. I've never used pulseaudio so I cannot speak to that personally. I also wonder what KDE is doing under the hood. I use multiple VMs all day long - both VMWare Player and Virtualbox. I get audio from both of those at the same time, as well as from Firefox or xine running native in Linux, so I'm doing multiple streams and mixing them in KDE all automatically. I've never studied how KDE does it, but empirically it certainly can do multiple streams. HTH, Mark
Re: [gentoo-user] Anybody have kdebluetooth working?
I have never been able to pair in a2dp mode and pulseaudio with either kdebluetooth nor gnome bluetooth, only blueman seems to be doing a good job for that On Fri, Feb 24, 2012 at 6:46 AM, Mick michaelkintz...@gmail.com wrote: On Thursday 23 Feb 2012 12:47:00 James Broadhead wrote: On 23 February 2012 12:39, Robin Atwood robin.atw...@attglobal.net wrote: I have just tried to send a file from my phone to my laptop running KDE 4.8.0 and it fails; the two devices never bind. When I set up the laptop it was running KDE 4.6.3 and bluetooth worked fine. The BlueZ libraries have changed substantially since, I think. Using 'hcitool inq' works fine, it's the KDE dialogs which sit there searching endlessly. Any recommended settings for /etc/bluetooth/*? Doc is a bit hard to come by. TIA -Robin Not exactly on-topic, but I recently got my bluetooth headset working without any major hassle using net-wireless/gnome-bluetooth by - Building the appropriate communications-types modules - Starting the bluetooth init script - Running bluetooth-wizard to pair and bluetooth-applet to connect/disconnect I'm using net-wireless/bluedevil-1.2.2 and I do not have any such problems. However, I'm not using the whole KDE desktop and I'm still on KDEPIM 4.4.11.1 -- Regards, Mick
Re: [gentoo-user] Re: alternative to thunderbird?
+1 for sup On Wed, Feb 22, 2012 at 7:21 PM, Peter Humphrey pe...@humphrey.ukfsn.org wrote: On Wednesday 22 February 2012 20:14:05 Alan McKinnon wrote: You'd have to read The Mythical ManMonth to truly do it justice (it's a really good book for developers btw). That book used to be required reading in my coding days (70s and 80s). On our projects we used to say: the first 50% of the project takes the first 90% of the time, and the second 50% takes the other 90%. Then we'd go out to tender when the project was cancelled at board level. (This was in the electricity supply industry.) As Alan said, in software development nobody ever learns the lessons they should. -- Rgds Peter Linux Counter 5290, 1994-04-23
Re: [gentoo-user] Override DHCP-provided DNS
On Wed, Jun 15, 2011 at 9:27 AM, YoYo Siska y...@gl.ksp.sk wrote: On Wed, Jun 15, 2011 at 04:07:43PM +0200, Florian Philipp wrote: Hello list! for some wireless access points, I want to get an IP via DHCP but not use the provided DNS-server (I use an openvpn setup with its own DNS server, domain name, etc.). In /usr/share/doc/openrc-0.8.2-r1/net.example it reads: # Setting name/domain server causes /etc/resolv.conf to be overwritten # Note that if DHCP is used, and you want this to take precedence then # please put -R in your dhcpcd options But dhcpcd does not seem to have a -R option. It does have a --static option, though. While this is good enough for simply setting the DNS server, it does not seem to allow specifying domain names or search-domains (at least it is not shown in the man-page). Please tell me what the proper way is and whether the mention of -R is a documentation bug. Thanks in advance, Florian Philipp from the man page, this seems to do what you want (never tried, i use dhclient and its /etc/dhcp/dhclient.conf): -C, --nohook script Don't run this hook script. Matches full name, or prefixed with 2 numbers optionally ending with .sh. So to stop dhcpcd from touching your DNS or MTU settings you would do:- dhcpcd -C resolv.conf -C mtu eth0 yoyo I use the google dns servers so I created a /etc/resolv.conf file and set the i attribute on it: chattr +i /etc/resolv.conf that way it can't be removed or overwritten and you won't have that problem no matter what dhcp client you are using
Re: [gentoo-user] is a nice place :-D
On Tue, May 17, 2011 at 5:43 AM, Pandu Poluan pa...@poluan.info wrote: On 2011-05-17, Neil Bothwick n...@digimed.co.uk wrote: On Tue, 17 May 2011 01:33:39 +0200, Alan McKinnon wrote: grep GET /Tmp/Linux/G | /var/log/apache2/access_log | grep-v myip | \ awk '{print $1}' | sort | uniq | wc In true grand Unix tradition you cannot get quicker, dirtier or more effective than that awk does pattern matching, o you can ditch the grep stage and use awk '! /myip/ {print $1}' You could use awk to search for the GET patterns too, not only saving yet another process, but making sure that no one else, including you next month, can work out what the command is supposed to do. Meh, me forgetting what an awk snippet do? Never! sed ... now that's a wholly different story :-P sort -u would save having a separate process for uniq, but I've no idea if it's faster. It's only worth using sort -u if you would use uniq with no arguments. And you can actually do the 'uniq' or '-u' function within awk. Quite easily, in fact. Here's a sample of awk doing uniq: awk '!x[$1]++ { print $1 }' Benefit? It doesn't care if the non-unique lines are one-after-another or spread all over the text. The above snippet prints only the first occurence. Combine that with a test for match: awk '!x[$1]++ $0 ~ /awesome_regex_pattern/ {print $1}' then with a test for negated match awk '!x[$1]++ $0 ~ /awesome_regex_pattern/ $0 !~ /more_awesome_regex/ {print $1}' Rgds, -- Pandu E Poluan - IT Optimizer My website: http://pandu.poluan.info/ I have always wondered if there is a way to do awk '{ print $1}' using only builtin bash functions when you only have a one line string
Re: [gentoo-user] is a nice place :-D
On Tue, May 17, 2011 at 8:36 AM, Alex Schuster wo...@wonkology.org wrote: Juan Diego Tascón writes: I have always wondered if there is a way to do awk '{ print $1}' using only builtin bash functions when you only have a one line string str=one two five # remove all from the first blank on, but will not work with # other whitespace echo ${str%% *} or # set $1, $2, $3, ... to words of $str set $str echo $1 or # create array holding one word per element strarr=( $str ) echo $strarr (or echo ${strarr[0]}) Wonko thanks for the info