<?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>Dive Into A Data Deluge &#187; shortcut</title>
	<atom:link href="http://diveintodata.org/tag/shortcut/feed/" rel="self" type="application/rss+xml" />
	<link>http://diveintodata.org</link>
	<description>Discussion about Newly Emerging Issues on Database</description>
	<lastBuildDate>Wed, 28 Dec 2011 14:16:35 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='diveintodata.org' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Dive Into A Data Deluge &#187; shortcut</title>
		<link>http://diveintodata.org</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://diveintodata.org/osd.xml" title="Dive Into A Data Deluge" />
	<atom:link rel='hub' href='http://diveintodata.org/?pushpress=hub'/>
		<item>
		<title>단축키를 마음대로 :: xbindkeys</title>
		<link>http://diveintodata.org/2006/11/19/%eb%8b%a8%ec%b6%95%ed%82%a4%eb%a5%bc-%eb%a7%88%ec%9d%8c%eb%8c%80%eb%a1%9c-xbindkeys/</link>
		<comments>http://diveintodata.org/2006/11/19/%eb%8b%a8%ec%b6%95%ed%82%a4%eb%a5%bc-%eb%a7%88%ec%9d%8c%eb%8c%80%eb%a1%9c-xbindkeys/#comments</comments>
		<pubDate>Sat, 18 Nov 2006 16:17:10 +0000</pubDate>
		<dc:creator>Hyunsik Choi</dc:creator>
				<category><![CDATA[FOSS]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[shortcut]]></category>
		<category><![CDATA[xbindkeys]]></category>

		<guid isPermaLink="false">http://diveintodata.org/2006/11/%eb%8b%a8%ec%b6%95%ed%82%a4%eb%a5%bc-%eb%a7%88%ec%9d%8c%eb%8c%80%eb%a1%9c-xbindkeys/</guid>
		<description><![CDATA[멀티 부팅 없이 오직 Linux를 데스크탑을 쓴지 약 4년이 되어간다. Linux 를 쓰는 가장 큰 이유 중 하나는 재미있고 편리한 프로그램이 많다는것이다. 약 6개월 전쯤 우연히 kz 옹의 위키 를 둘러보다 보물을 발견했다. 그 보물은 다름 아닌 xbindkeys 였다. 이 프로그램은 단축키를 Linux의 command 와 매핑하게 해주었다. 예를 들면 alt 또는 control, 그리고 마우스의 조합등으로 [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=diveintodata.org&amp;blog=12237478&amp;post=1210&amp;subd=diveintodata&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>멀티 부팅 없이 오직 Linux를 데스크탑을 쓴지 약 4년이 되어간다. Linux 를 쓰는 가장 큰 이유 중 하나는 재미있고 편리한 프로그램이 많다는것이다.</p>
<p>약 6개월 전쯤 우연히 <a href="http://kz.mpecc.com">kz 옹의 위키</a> 를 둘러보다 보물을 발견했다. 그 보물은 다름 아닌 <a href="http://hocwp.free.fr/xbindkeys/xbindkeys.html"><span style="font-weight:bold;">xbindkeys</span></a> 였다. 이 프로그램은 단축키를 Linux의 command 와 매핑하게 해주었다. 예를 들면 alt 또는 control, 그리고 마우스의 조합등으로 만들어내는 단축키를 입력하면 Linux 의 command 가 실행되는 식이다. 또한 최근 많은 application 들이 지원하기 시작한 <a href="http://www.freedesktop.org/wiki/Software/dbus">dbus</a>(<a href="http://www.freedesktop.org/wiki/">freedesktop</a> 의 application 간 메시지 전달 시스템)를 같이 사용하면 command 만으로 불가능한 동작(예를 들면 <a href="http://www.beryl-project.org/">beryl</a> 에서 cube 를 왼쪽 혹은 오른쪽으로 돌리는 등) 이 가능했다.</p>
<p>우선 xbindkeys 의 사용을 위해선 너무 당연하지만 각 배포판에 맞는 패키지를 찾아 설치 한다. 그리고 첫 실행이라면 다음과 오류를 볼 수 있다.</p>
<p><span style="color:rgb(0,0,0);background-color:rgb(255,255,255);padding:3px 1px 0;"><br />
<blockquote>c0d3h4ck@c0d3h4ck:~$ xbindkeys<br />
Error : /home/c0d3h4ck/.xbindkeysrc not found or reading not allowed.<br />
please, create one with &#8216;xbindkeys &#8211;defaults &gt; /home/c0d3h4ck/.xbindkeysrc&#8217;.<br />
or, if you want scheme configuration style,<br />
with &#8216;xbindkeys &#8211;defaults-guile &gt; /home/c0d3h4ck/.xbindkeysrc.scm&#8217;.</p></blockquote>
<p></span></p>
<p>
 xbindkeys 는 실행 할떄 ~/.xbindkeysrc 의 찾는다. 하지만 첫 설치시에는 이 파일이 없으므로 위와 같은 에러를 출력한다. 따라서 에러문에서 보는 것 처럼 아래의 command 로 파일을 만든다.</p>
<p><span style="color:rgb(0,0,0);background-color:rgb(255,255,255);padding:3px 1px 0;"><br />
<blockquote>$ xbindkeys &#8211;defaults &gt; $HOME/.xbindkeysrc</p></blockquote>
<p></span></p>
<p>그리고 $HOME/.xbindkeysrc 파일을 열어보면 매우 간단한 구조라는것을 알 수 있다.</p>
<p><span style="color:rgb(0,0,0);background-color:rgb(255,255,255);padding:3px 1px 0;"><br />
<blockquote>&#8220;실행할 command&#8221;<br />
단축키</p></blockquote>
<p></span></p>
<p>단축키의 경우 키 코드를 넣어도 되지만 쉽게 넣을 수 도 있다.</p>
<p><span style="color:rgb(0,0,0);background-color:rgb(255,255,255);padding:3px 1px 0;"><br />
<blockquote>&#8220;gnome-terminal&#8221;<br />
control + alt + b:2</p></blockquote>
<p></span></p>
<p>위의 예제는 내가 가장 먼저 추가한 설정으로써 control + alt 키와 함꼐 마우스 가운데 버튼을 누르면 터미널을 실행하는 내용이다.</p>
<p><span style="color:rgb(0,0,0);background-color:rgb(255,255,255);padding:3px 1px 0;"><br />
<blockquote>&#8220;firefox&#8221;<br />
control + alt + b:3</p></blockquote>
<p></span></p>
<p>위의 내용은 control + alt 키와 함꼐 마우스 오른쪽 버튼을 누르면 firefox 의 새창을 띄우는 내용이다.<br />
아마 다양한 단축키에 목말라 있던 사용자라면 지금 이 순간 수 많은 응용이 머리를 스칠 것이다.</p>
<p>참고로 나는 위의 예제에 보인 내용말고도 mp3 player 에서 다음 노래, 이전 노래 등으로 바꾸거나 메일 작성 창을 띄우는 용도 등으로 사용하고 있다.</p>
<p>참고로 <a href="http://wiki.beryl-project.org/index.php/Main_Page">beryl wiki</a>에서는 dbus plugin을 이용한 <a href="http://wiki.beryl-project.org/index.php/Tips/DBUS_Howto">다양한 팁</a>을 위키에서 소개하고 있는데 약간의 여유가 있다면 쓸만한 단축키를 추가해보자. </p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/diveintodata.wordpress.com/1210/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/diveintodata.wordpress.com/1210/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/diveintodata.wordpress.com/1210/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/diveintodata.wordpress.com/1210/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/diveintodata.wordpress.com/1210/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/diveintodata.wordpress.com/1210/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/diveintodata.wordpress.com/1210/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/diveintodata.wordpress.com/1210/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/diveintodata.wordpress.com/1210/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/diveintodata.wordpress.com/1210/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/diveintodata.wordpress.com/1210/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/diveintodata.wordpress.com/1210/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/diveintodata.wordpress.com/1210/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/diveintodata.wordpress.com/1210/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/diveintodata.wordpress.com/1210/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/diveintodata.wordpress.com/1210/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=diveintodata.org&amp;blog=12237478&amp;post=1210&amp;subd=diveintodata&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://diveintodata.org/2006/11/19/%eb%8b%a8%ec%b6%95%ed%82%a4%eb%a5%bc-%eb%a7%88%ec%9d%8c%eb%8c%80%eb%a1%9c-xbindkeys/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/4213567e11cad51fc02bc2038e9ace27?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Hyunsik Choi</media:title>
		</media:content>
	</item>
	</channel>
</rss>
