<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Tinkering Novus's Weblog</title>
	<atom:link href="http://tinkeringnovus.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://tinkeringnovus.wordpress.com</link>
	<description>Just another pointless weblog</description>
	<lastBuildDate>Wed, 28 Jan 2009 13:07:59 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='tinkeringnovus.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Tinkering Novus's Weblog</title>
		<link>http://tinkeringnovus.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://tinkeringnovus.wordpress.com/osd.xml" title="Tinkering Novus&#039;s Weblog" />
	<atom:link rel='hub' href='http://tinkeringnovus.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Finally sound output to both cards</title>
		<link>http://tinkeringnovus.wordpress.com/2009/01/28/finally-sound-output-to-both-cards/</link>
		<comments>http://tinkeringnovus.wordpress.com/2009/01/28/finally-sound-output-to-both-cards/#comments</comments>
		<pubDate>Wed, 28 Jan 2009 11:35:46 +0000</pubDate>
		<dc:creator>Novus</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[.asoundrc]]></category>
		<category><![CDATA[ALSA]]></category>
		<category><![CDATA[Radio]]></category>
		<category><![CDATA[Sound]]></category>

		<guid isPermaLink="false">http://tinkeringnovus.wordpress.com/?p=43</guid>
		<description><![CDATA[This was the last migration regression I have had since I left windows for linux. I have one integrated sound card and a USB FM radio transmitter, both have worked individually since day 1, but getting both working at the same time has not been easy. The past week I&#8217;v spent perhaps 20 hours to [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tinkeringnovus.wordpress.com&amp;blog=4410904&amp;post=43&amp;subd=tinkeringnovus&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>This was the last migration regression I have had since I left windows for linux. I have one integrated sound card and a <a href="http://www.myfmstation.com/html/linex_usb.html">USB FM radio transmitter</a>, both have worked individually since day 1, but getting both working at the same time has not been easy. The past week I&#8217;v spent perhaps 20 hours to get a .asoundrc that does this, I have to say that the official ALSA documentation may be the worst I&#8217;v seen this far and the unofficial isn&#8217;t much better, so I had to read lots of e-mails in the ALSA-users mailing list looking for ppl with similar problems and get my own solution built up by small bits and peace&#8217;s from the answers there, the usual answer to my question &#8216;how can i get the same output on 2 sound cards&#8217; was almost always &#8216;you don&#8217;t want it, they will go out of sync, fast&#8217; while this is indeed true I don&#8217;t care about that issue since sending the signal through FM it would always be out of sync compared to cables anyway. If anyone wants the same thing and need to know how I did it, here&#8217;s my .asoundrc</p>
<p><code>pcm.!default {<br />
        type plug<br />
        slave.pcm "quad"<br />
        route_policy duplicate<br />
}</p>
<p>ctl.!default {<br />
        type hw<br />
        card mb<br />
}</p>
<p>pcm.quad {<br />
        type multi;<br />
        slaves.a.pcm "mb";<br />
        slaves.a.channels 2;<br />
        slaves.b.pcm "usb";<br />
        slaves.b.channels 2;</p>
<p>        bindings.0.slave a<br />
        bindings.0.channel 0<br />
        bindings.1.slave a<br />
        bindings.1.channel 1<br />
        bindings.2.slave b<br />
        bindings.2.channel 0<br />
        bindings.3.slave b<br />
        bindings.3.channel 1<br />
}</p>
<p>pcm.mb {<br />
        type dmix<br />
        ipc_key 1024<br />
        slave {<br />
                pcm "hw:0"<br />
                period_time 0<br />
                period_size 2048<br />
                buffer_size 65536<br />
                buffer_time 0<br />
                periods 128<br />
                rate 48000<br />
                channels 2<br />
        }<br />
}</p>
<p>pcm.usb {<br />
        type dmix<br />
        ipc_key 2048<br />
        slave {<br />
                pcm "hw:1"<br />
                period_time 0<br />
                period_size 2048<br />
                buffer_size 65536<br />
                buffer_time 0<br />
                periods 128<br />
                rate 48000<br />
                channels 2<br />
        }<br />
}</p>
<p>ctl.mb {<br />
        type hw<br />
        card 0<br />
}</p>
<p>ctl.usb {<br />
        type hw<br />
        card 1<br />
}</code></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/tinkeringnovus.wordpress.com/43/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/tinkeringnovus.wordpress.com/43/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/tinkeringnovus.wordpress.com/43/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/tinkeringnovus.wordpress.com/43/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/tinkeringnovus.wordpress.com/43/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/tinkeringnovus.wordpress.com/43/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/tinkeringnovus.wordpress.com/43/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/tinkeringnovus.wordpress.com/43/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/tinkeringnovus.wordpress.com/43/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/tinkeringnovus.wordpress.com/43/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/tinkeringnovus.wordpress.com/43/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/tinkeringnovus.wordpress.com/43/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/tinkeringnovus.wordpress.com/43/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/tinkeringnovus.wordpress.com/43/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tinkeringnovus.wordpress.com&amp;blog=4410904&amp;post=43&amp;subd=tinkeringnovus&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://tinkeringnovus.wordpress.com/2009/01/28/finally-sound-output-to-both-cards/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">Novus</media:title>
		</media:content>
	</item>
		<item>
		<title>while gnome screensaver is running; do</title>
		<link>http://tinkeringnovus.wordpress.com/2009/01/21/while-gnome-screensaver-is-running-do/</link>
		<comments>http://tinkeringnovus.wordpress.com/2009/01/21/while-gnome-screensaver-is-running-do/#comments</comments>
		<pubDate>Wed, 21 Jan 2009 10:45:50 +0000</pubDate>
		<dc:creator>Novus</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[cron]]></category>
		<category><![CDATA[gnome]]></category>
		<category><![CDATA[idle user]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[screensaver]]></category>

		<guid isPermaLink="false">http://tinkeringnovus.wordpress.com/?p=40</guid>
		<description><![CDATA[2 nights ago my lovely friends on IRC dicided to talk about me, as I have a loud highlight sound I eventually woke up, 4 AM, not verry pleasent, so I thought that there must be a good way to solve this. I realized that turning the highlights off when I went to bed would [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tinkeringnovus.wordpress.com&amp;blog=4410904&amp;post=40&amp;subd=tinkeringnovus&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>2 nights ago my lovely friends on IRC dicided to talk about me, as I have a loud highlight sound I eventually woke up, 4 AM, not verry pleasent, so I thought that there must be a good way to solve this. I realized that turning the highlights off when I went to bed would not work and the away systems I found only worked if I was inactive on IRC but I still want the highlights if Im surfung the web.</p>
<p>After a few minutes of googeling I was thinking about /proc/interrupts but I have USB mouse and keyboard so I can&#8217;t find out if Im active at the computer that way, but I thought &#8216;how does gnome-screensaver do it?&#8217; (I still don&#8217;t know that). More googeling and man page reading it turns out that I can run</p>
<p><code>gnome-screensaver-command -q</code></p>
<p>and it will tell me if the screensaver is running or not. Great, I only have to make a little script that check if the screensaver is running or not and run it once a minute in cron. The script worked fine when I tested it, but when placed in cron I got an error:</p>
<p><code>** Message: Failed to connect to the D-BUS daemon: dbus-launch failed to autolaunch D-Bus session: Autolaunch error: X11 initialization failed.</code></p>
<p>Huh? Well google results said the DBUS_SESSION_BUS_ADDRESS was wrong, of course.. cron and environment variables.. Here my google searches failed me, or perhaps I didn&#8217;t look hard enough, but I turned to the great ArchLinux communety (thanx goes to Antti_Alien@freenode)(yes I left Ubuntu and installed Arch about a week ago) and here is what I came up with</p>
<p><code>#!/bin/bash<br />
crap_var='awoiucnwv'<br />
IFS=`echo -en "\n\b"`</p>
<p># Get the PID for existing screensaver process.<br />
PID=$(pgrep gnome-screensav)</p>
<p># Find DBUS session bus for this session and export it.<br />
DBUS_SESSION_BUS_ADDRESS=`grep -z DBUS_SESSION_BUS_ADDRESS /proc/$PID/environ 2&gt;/dev/null`<br />
export $DBUS_SESSION_BUS_ADDRESS<br />
sleep 1</p>
<p>i=$(gnome-screensaver-command -q | head -1);<br />
if [ $i = "The screensaver is inactive" ];<br />
then<br />
if [ -e /var/lock/screen_saver_a.lock ];<br />
then<br />
rm /var/lock/screen_saver_a.lock<br />
exit 0<br />
else<br />
exit 0<br />
fi<br />
else<br />
echo $crap_var &gt; /var/lock/screen_saver_a.lock<br />
fi</code></p>
<p>Very simple, very efficient. It checks if the screensaver is running and creates a file with some crap inside it. if no screensaver is running it removes that file. So all I had to do now was edit my highlight event so it looks for the file. Works like a charm.</p>
<p>I havent thought of any other use for this yet but if I need it I know it&#8217;s easy.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/tinkeringnovus.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/tinkeringnovus.wordpress.com/40/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/tinkeringnovus.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/tinkeringnovus.wordpress.com/40/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/tinkeringnovus.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/tinkeringnovus.wordpress.com/40/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/tinkeringnovus.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/tinkeringnovus.wordpress.com/40/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/tinkeringnovus.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/tinkeringnovus.wordpress.com/40/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/tinkeringnovus.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/tinkeringnovus.wordpress.com/40/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/tinkeringnovus.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/tinkeringnovus.wordpress.com/40/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tinkeringnovus.wordpress.com&amp;blog=4410904&amp;post=40&amp;subd=tinkeringnovus&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://tinkeringnovus.wordpress.com/2009/01/21/while-gnome-screensaver-is-running-do/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">Novus</media:title>
		</media:content>
	</item>
		<item>
		<title>Generate playlists</title>
		<link>http://tinkeringnovus.wordpress.com/2008/09/03/generate-playlists/</link>
		<comments>http://tinkeringnovus.wordpress.com/2008/09/03/generate-playlists/#comments</comments>
		<pubDate>Tue, 02 Sep 2008 22:16:54 +0000</pubDate>
		<dc:creator>Novus</dc:creator>
				<category><![CDATA[sound and related]]></category>
		<category><![CDATA[ARAS]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[MP3]]></category>
		<category><![CDATA[ogg]]></category>
		<category><![CDATA[playlist]]></category>
		<category><![CDATA[Radio automation]]></category>

		<guid isPermaLink="false">http://tinkeringnovus.wordpress.com/?p=23</guid>
		<description><![CDATA[One thing I was missing in ARAS 1.2 was the ability to play jingles or station IDs after a set number of music tracks but with playlist support it wasn&#8217;t that hard to do anyway. I&#8217;ll show how I&#8217;v done, it&#8217;ll look a bit chopped up but this way it&#8217;s easier to understand for the [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tinkeringnovus.wordpress.com&amp;blog=4410904&amp;post=23&amp;subd=tinkeringnovus&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>One thing I was missing in ARAS 1.2 was the ability to play jingles or station IDs after a set number of music tracks but with playlist support it wasn&#8217;t that hard to do anyway. I&#8217;ll show how I&#8217;v done, it&#8217;ll look a bit chopped up but this way it&#8217;s easier to understand for the non bash gurus and to fit other needs.</p>
<p>First, create playlists:</p>
<p><code>find /home/novus/music -type f -iname *.ogg | sed -e 's/\/home\/novus\//file:\/\/\/home\/novus\//' &gt; /home/novus/music.m3u<br />
find /home/novus/jingles -type f -iname *.ogg | sed -e 's/\/home\/novus\//file:\/\/\/home\/novus\//' &gt; /home/novus/jingles.m3u</code></p>
<p>This will first find all URIs for filesnames ending with .ogg in /home/novus/music and /home/novus/jingles (recursively) and then substitute /home/novus/ with file:///home/novus/ (this is needed or ARAS will not work, at all) and send it to /home/novus/music.m3u &amp; /home/novus/jingles.m3u</p>
<p>Those playlists would be absolutely ok to play with ARAS, but we want them combined.</p>
<p>and random:</p>
<p><code>shuf /home/novus/music.m3u &gt; /tmp/randommusic.m3u<br />
shuf /home/novus/jingles.m3u &gt; /tmp/randomjingles.m3u</code></p>
<p>and now let the &#8220;magic&#8221; begin:</p>
<p><code>sed -e 'i\\n\n\n' /tmp/randomjingles.m3u &gt; /tmp/spacedjingles.m3u</code></p>
<p>here we&#8217;v taken the randomized jingles playlist and inserted 4 CRLF (new line) before each original line in /tmp/randomjingles.m3u (i\ is one line and each \n after is one line)</p>
<p><code>paste /tmp/randommusic.m3u /tmp/spacedjingles.m3u &gt; /tmp/mixeduglyplaylist.m3u</code></p>
<p>here we paste the files together to one file, containing 2 fields, 1st field is the music and the 2nd is the jingles and empty lines. the 2 fields are separated with a single TAB</p>
<p><code>sed -e 's/\t/\n/g' /tmp/mixeduglyplaylist.m3u &gt; /tmp/stilluglyplaylist.m3u</code></p>
<p>and here we replace all TABs with a new line</p>
<p>final thing we need to do before it&#8217;s finished is to remove all blank lines</p>
<p><code>sed '/^$/d' /tmp/stilluglyplaylist.m3u &gt; /home/novus/playlist.m3u</code></p>
<p>so now we have a playlist that&#8217;ll play 5 random songs in /home/novus/music/ and then one jingle in /home/novus/jingles 5 songs, 1 jingle and so on.</p>
<p>one thing you need to keep in mind is that you don&#8217;t &#8220;run out of&#8221; jingles or music. if the music collection is 400 songs and if you want a jingle after every 5 songs you need to have 80 jingles (400/5) (or at least 80 URIs to jingles in u&#8217;r jingle playlist before adding the empty lines)</p>
<p>another thing to keep in mind is that ARAS isn&#8217;t forgiving on spaces in URIs, I solved it simply by running the rename perlscript (which you should have in one of u&#8217;r bin dirs)</p>
<p>WARNING! be careful where you are when running it!</p>
<p><code>~/music$ rename 's/ /_/g' *<br />
~/music$ rename 's/ /_/g' */*<br />
~/music$ rename 's/ /_/g' */*/*</code></p>
<p>that will rename every file and dir in current dir and 2 levels down</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/tinkeringnovus.wordpress.com/23/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/tinkeringnovus.wordpress.com/23/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/tinkeringnovus.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/tinkeringnovus.wordpress.com/23/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/tinkeringnovus.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/tinkeringnovus.wordpress.com/23/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/tinkeringnovus.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/tinkeringnovus.wordpress.com/23/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/tinkeringnovus.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/tinkeringnovus.wordpress.com/23/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/tinkeringnovus.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/tinkeringnovus.wordpress.com/23/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/tinkeringnovus.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/tinkeringnovus.wordpress.com/23/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/tinkeringnovus.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/tinkeringnovus.wordpress.com/23/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tinkeringnovus.wordpress.com&amp;blog=4410904&amp;post=23&amp;subd=tinkeringnovus&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://tinkeringnovus.wordpress.com/2008/09/03/generate-playlists/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">Novus</media:title>
		</media:content>
	</item>
		<item>
		<title>ARAS</title>
		<link>http://tinkeringnovus.wordpress.com/2008/08/27/aras/</link>
		<comments>http://tinkeringnovus.wordpress.com/2008/08/27/aras/#comments</comments>
		<pubDate>Wed, 27 Aug 2008 11:37:12 +0000</pubDate>
		<dc:creator>Novus</dc:creator>
				<category><![CDATA[sound and related]]></category>
		<category><![CDATA[ARAS]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Radio]]></category>
		<category><![CDATA[Radio automation]]></category>
		<category><![CDATA[Sound]]></category>

		<guid isPermaLink="false">http://tinkeringnovus.wordpress.com/?p=20</guid>
		<description><![CDATA[I used to work at the local community radio station and still keep in touch to see how things go there, they had to cut back on the music hours during the summer due to increased licence fees and I suggested to have a computer playing Creative-Commons music playing during the night. Getting the music [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tinkeringnovus.wordpress.com&amp;blog=4410904&amp;post=20&amp;subd=tinkeringnovus&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I used to work at the local community radio station and still keep in touch to see how things go there, they had to cut back on the music hours during the summer due to increased licence fees and I suggested to have a computer playing Creative-Commons music playing during the night. Getting the music haven&#8217;t been any problem but finding Linux software that would fit the specs:</p>
<p>* simple to use.<br />
* reliable.<br />
* creating log-files.<br />
* ability to put jingles and station IDs in between music tracks.<br />
* being able to handle big music collections.</p>
<p>About 3 weeks ago I stumbled across <a href="http://aras.sf.net">ARAS</a> (1.0 at that time) which looked really promising, it missed the options of log-files and it wasn&#8217;t possible to put jingles in between tracks, but it looked promising enough that I sent an e-mail to the developer (Erasmo Alonso Iglesias) with a wishlist and 3 days ago a new version was released that had what I was hoping for: log-files creation and m3u playlist support, so now whats left is only testing and some bash script writing for playlist creation.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/tinkeringnovus.wordpress.com/20/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/tinkeringnovus.wordpress.com/20/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/tinkeringnovus.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/tinkeringnovus.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/tinkeringnovus.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/tinkeringnovus.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/tinkeringnovus.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/tinkeringnovus.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/tinkeringnovus.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/tinkeringnovus.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/tinkeringnovus.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/tinkeringnovus.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/tinkeringnovus.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/tinkeringnovus.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/tinkeringnovus.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/tinkeringnovus.wordpress.com/20/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tinkeringnovus.wordpress.com&amp;blog=4410904&amp;post=20&amp;subd=tinkeringnovus&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://tinkeringnovus.wordpress.com/2008/08/27/aras/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">Novus</media:title>
		</media:content>
	</item>
		<item>
		<title>Control individual sound channels</title>
		<link>http://tinkeringnovus.wordpress.com/2008/08/08/control-idevidual-sound-channels/</link>
		<comments>http://tinkeringnovus.wordpress.com/2008/08/08/control-idevidual-sound-channels/#comments</comments>
		<pubDate>Thu, 07 Aug 2008 23:29:55 +0000</pubDate>
		<dc:creator>Novus</dc:creator>
				<category><![CDATA[sound and related]]></category>
		<category><![CDATA[amixer]]></category>
		<category><![CDATA[channels]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[mixer]]></category>
		<category><![CDATA[Sound]]></category>

		<guid isPermaLink="false">http://tinkeringnovus.wordpress.com/?p=13</guid>
		<description><![CDATA[I got a surround sound card on my motherboard so there&#8217;s 4 out ports and the monitor speakers is connected to one, wireless headphones to one, normal speakers to one and a radio broadcast device to the last and I got fed up with having to open the volume control every time I wanted to [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tinkeringnovus.wordpress.com&amp;blog=4410904&amp;post=13&amp;subd=tinkeringnovus&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I got a surround sound card on my motherboard so there&#8217;s 4 out ports and the monitor speakers is connected to one, wireless headphones to one, normal speakers to one and a radio broadcast device to the last and I got fed up with having to open the volume control every time I wanted to change volume on one of the channels so I started to look in the repos for a console mixer program that I could use to change volume and found that amixer would be perfect for my needs, and it was really simple too.
<p>
To show status of a mixer just run amixer this will show the default card. I had to change to card 0 which for some reason isn&#8217;t the default so it&#8217;s amixer -c 0 that will show the status for card 0. To change volume the syntax is as follows.
<p>
amixer -c N set &lt;SCONTROL&gt; &lt;PARAMETER&gt;
<p>
N = card number, if your mixer shows as it should when amixer is run without parameters -c N is not needed<br />
&lt;SCONTROL&gt; = Simple mixer control, the channel, you will see it when you run amixer (inside the single quites)<br />
&lt;PARAMETER&gt; = how you want to change the volume (other things can be changed too) I use 5%+ and 5%-</p>
<p>
so an example would look like: amixer -c 0 set Master 5%+
<p>
and I added keyboard shortcuts, for that just use your favorite shortcuts manager (like xbindkeys &amp; xbindkeys-config)</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/tinkeringnovus.wordpress.com/13/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/tinkeringnovus.wordpress.com/13/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/tinkeringnovus.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/tinkeringnovus.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/tinkeringnovus.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/tinkeringnovus.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/tinkeringnovus.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/tinkeringnovus.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/tinkeringnovus.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/tinkeringnovus.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/tinkeringnovus.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/tinkeringnovus.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/tinkeringnovus.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/tinkeringnovus.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/tinkeringnovus.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/tinkeringnovus.wordpress.com/13/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tinkeringnovus.wordpress.com&amp;blog=4410904&amp;post=13&amp;subd=tinkeringnovus&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://tinkeringnovus.wordpress.com/2008/08/08/control-idevidual-sound-channels/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">Novus</media:title>
		</media:content>
	</item>
		<item>
		<title>Please just disappear</title>
		<link>http://tinkeringnovus.wordpress.com/2008/08/05/please-just-disappear/</link>
		<comments>http://tinkeringnovus.wordpress.com/2008/08/05/please-just-disappear/#comments</comments>
		<pubDate>Tue, 05 Aug 2008 05:59:07 +0000</pubDate>
		<dc:creator>Novus</dc:creator>
				<category><![CDATA[Removing packages]]></category>

		<guid isPermaLink="false">http://tinkeringnovus.wordpress.com/?p=6</guid>
		<description><![CDATA[I while ago I installed soma (soma-suite) on my ubuntu desktop and about a week ago something went horribly wrong, every time I do something with packages I get prompted with an error regarding soma. After asking for help on the ubuntu forums (post) all I&#8217;v managed so far is to get rid of one [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tinkeringnovus.wordpress.com&amp;blog=4410904&amp;post=6&amp;subd=tinkeringnovus&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I while ago I installed soma (soma-suite) on my ubuntu desktop and about a week ago something went horribly wrong, every time I do something with packages I get prompted with an error regarding soma. After asking for help on the ubuntu forums (<a title="post" href="http://ubuntuforums.org/showthread.php?t=878049" target="_blank">post</a>) all I&#8217;v managed so far is to get rid of one error just to get a new one. The old windows way of format-reinstall is something I just will refuse to do, becourse it&#8217;s too much work to get my (almost) perfect desktop back up and running + I know that it&#8217;s solvable, I just don&#8217;t know how. yet</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/tinkeringnovus.wordpress.com/6/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/tinkeringnovus.wordpress.com/6/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/tinkeringnovus.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/tinkeringnovus.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/tinkeringnovus.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/tinkeringnovus.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/tinkeringnovus.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/tinkeringnovus.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/tinkeringnovus.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/tinkeringnovus.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/tinkeringnovus.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/tinkeringnovus.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/tinkeringnovus.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/tinkeringnovus.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/tinkeringnovus.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/tinkeringnovus.wordpress.com/6/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tinkeringnovus.wordpress.com&amp;blog=4410904&amp;post=6&amp;subd=tinkeringnovus&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://tinkeringnovus.wordpress.com/2008/08/05/please-just-disappear/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">Novus</media:title>
		</media:content>
	</item>
		<item>
		<title>Hello world!</title>
		<link>http://tinkeringnovus.wordpress.com/2008/08/04/hello-world/</link>
		<comments>http://tinkeringnovus.wordpress.com/2008/08/04/hello-world/#comments</comments>
		<pubDate>Mon, 04 Aug 2008 10:03:26 +0000</pubDate>
		<dc:creator>Novus</dc:creator>
				<category><![CDATA[pointless crap]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[So I finally decided to do as everyone else.. start a blog! I guess it&#8217;ll mainly be about computer tinkering but don&#8217;t be surprised if I throw something completely unrelated on here too. about me: 25 years old (in 9 days) living in Sweden (Eskilstuna to be exact) computer geek migrated to GNU/Linux a few [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tinkeringnovus.wordpress.com&amp;blog=4410904&amp;post=1&amp;subd=tinkeringnovus&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>So I finally decided to do as everyone else.. start a blog! I guess it&#8217;ll mainly be about computer tinkering but don&#8217;t be surprised if I throw something completely unrelated on here too.</p>
<p>about me:</p>
<p>25 years old (in 9 days) living in Sweden (Eskilstuna to be exact) computer geek migrated to GNU/Linux a few months ago and feel like a complete noob sometimes and Hammarby fan season card holder for the football (soccer for you ppl across the pond) club and goes to a few hockey/bandy/handball games during the winter. Working hard in a bakery, which it&#8217;s time to leave for now.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/tinkeringnovus.wordpress.com/1/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/tinkeringnovus.wordpress.com/1/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/tinkeringnovus.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/tinkeringnovus.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/tinkeringnovus.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/tinkeringnovus.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/tinkeringnovus.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/tinkeringnovus.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/tinkeringnovus.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/tinkeringnovus.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/tinkeringnovus.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/tinkeringnovus.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/tinkeringnovus.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/tinkeringnovus.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/tinkeringnovus.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/tinkeringnovus.wordpress.com/1/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tinkeringnovus.wordpress.com&amp;blog=4410904&amp;post=1&amp;subd=tinkeringnovus&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://tinkeringnovus.wordpress.com/2008/08/04/hello-world/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">Novus</media:title>
		</media:content>
	</item>
	</channel>
</rss>
