<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Grooveshark Keyboard Shortcuts for Linux</title>
	<atom:link href="http://wanderr.com/jay/grooveshark-keyboard-shortcuts-for-linux/2010/06/21/feed/" rel="self" type="application/rss+xml" />
	<link>http://wanderr.com/jay/grooveshark-keyboard-shortcuts-for-linux/2010/06/21/</link>
	<description>Rantings of a Grooveshark Developer</description>
	<lastBuildDate>Wed, 21 Sep 2011 10:35:10 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.3</generator>
	<item>
		<title>By: Intars Students</title>
		<link>http://wanderr.com/jay/grooveshark-keyboard-shortcuts-for-linux/2010/06/21/comment-page-1/#comment-551</link>
		<dc:creator>Intars Students</dc:creator>
		<pubDate>Mon, 19 Jul 2010 09:11:53 +0000</pubDate>
		<guid isPermaLink="false">http://wanderr.com/jay/?p=386#comment-551</guid>
		<description>@pharkink well I don&#039;t have keyboard with such media keys, so I can&#039;t test and build support for it :/</description>
		<content:encoded><![CDATA[<p>@pharkink well I don&#8217;t have keyboard with such media keys, so I can&#8217;t test and build support for it :/</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: pharkink</title>
		<link>http://wanderr.com/jay/grooveshark-keyboard-shortcuts-for-linux/2010/06/21/comment-page-1/#comment-542</link>
		<dc:creator>pharkink</dc:creator>
		<pubDate>Thu, 15 Jul 2010 13:48:46 +0000</pubDate>
		<guid isPermaLink="false">http://wanderr.com/jay/?p=386#comment-542</guid>
		<description>Unfortunately it is not possible to use mediakeys with Instars&#039; script. Below is a very simple  shell script that you can assign to the media buttons on your keyboard in gnome-keybinding-properties:
Just save script below as &quot;~/gs-cmd&quot;, chmod +x it, and then in gnome-keybinding-properties click add, fill in something for the name and use &quot;gs-cmd playpause&quot; as command. Apply, then bind &#039;XF86AudioPlay&#039; to it. Repeat for &#039;next&#039; and &#039;previous&#039;.

gs-cmd :
#!/bin/sh
basedir=~/.appdata
ctnt=`ls -A $basedir`
for dr in $ctnt
do
	mtch=`expr match &quot;$dr&quot; &quot;GroovesharkDesktop.&quot;`
	if [ $mtch -eq 19 ]
	then
		filedir=$basedir/$dr/&quot;Local Store/&quot;
		cd &quot;$filedir&quot;
		echo &quot;$1&quot; &gt; &quot;shortcutAction.txt&quot;
	fi
done</description>
		<content:encoded><![CDATA[<p>Unfortunately it is not possible to use mediakeys with Instars&#8217; script. Below is a very simple  shell script that you can assign to the media buttons on your keyboard in gnome-keybinding-properties:<br />
Just save script below as &#8220;~/gs-cmd&#8221;, chmod +x it, and then in gnome-keybinding-properties click add, fill in something for the name and use &#8220;gs-cmd playpause&#8221; as command. Apply, then bind &#8216;XF86AudioPlay&#8217; to it. Repeat for &#8216;next&#8217; and &#8216;previous&#8217;.</p>
<p>gs-cmd :<br />
#!/bin/sh<br />
basedir=~/.appdata<br />
ctnt=`ls -A $basedir`<br />
for dr in $ctnt<br />
do<br />
	mtch=`expr match &#8220;$dr&#8221; &#8220;GroovesharkDesktop.&#8221;`<br />
	if [ $mtch -eq 19 ]<br />
	then<br />
		filedir=$basedir/$dr/&#8221;Local Store/&#8221;<br />
		cd &#8220;$filedir&#8221;<br />
		echo &#8220;$1&#8243; &gt; &#8220;shortcutAction.txt&#8221;<br />
	fi<br />
done</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: basic (User agent is rejected)

Served from: wanderr.com @ 2012-05-18 18:32:31 -->
