<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>Snipplr</title>
<link>http://snipplr.com/language/bash/tags/x</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Sat, 25 May 2013 19:00:59 GMT</pubDate>
<item>
<title>(Bash) Add spaces to Mac OS dock - klagraff</title>
<link>http://snipplr.com/view/67313/add-spaces-to-mac-os-dock/</link>
<description><![CDATA[ <p>Add the first line in terminal and press return.

Add second line in terminal press return to refresh the dock</p> ]]></description>
<pubDate>Sat, 22 Sep 2012 02:46:34 GMT</pubDate>
<guid>http://snipplr.com/view/67313/add-spaces-to-mac-os-dock/</guid>
</item>
<item>
<title>(Bash) Launch a program individually with X thanks to .xinitrc - crackiron</title>
<link>http://snipplr.com/view/58445/launch-a-program-individually-with-x-thanks-to-xinitrc/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Mon, 05 Sep 2011 08:19:52 GMT</pubDate>
<guid>http://snipplr.com/view/58445/launch-a-program-individually-with-x-thanks-to-xinitrc/</guid>
</item>
<item>
<title>(Bash) Apple Compressor Command Line Batch Submission - sq1labs</title>
<link>http://snipplr.com/view/57782/apple-compressor-command-line-batch-submission/</link>
<description><![CDATA[ <p>cd into sourcepath directory and then run command. destpath must have same tree structure as sourcepath
 
Crawls a directory and submits all .mov files encountered to Compressor command line, needs same tree structure at destination (Compressor 4) - example is prores hq setting</p> ]]></description>
<pubDate>Fri, 12 Aug 2011 12:43:24 GMT</pubDate>
<guid>http://snipplr.com/view/57782/apple-compressor-command-line-batch-submission/</guid>
</item>
<item>
<title>(Bash) Start an XWindows session on Mac OSX - noah</title>
<link>http://snipplr.com/view/51238/start-an-xwindows-session-on-mac-osx/</link>
<description><![CDATA[ <p>The key is to give your SSH client the *-Y* option, which enables X11 forwarding.  Without that, [the magic won't work.](http://www.youtube.com/watch?v=uLso0ZBqOi4)

Run these commands on Mac, from the [X11 Shell](http://developer.apple.com/opensource/tools/x11.html).</p> ]]></description>
<pubDate>Tue, 29 Mar 2011 13:41:33 GMT</pubDate>
<guid>http://snipplr.com/view/51238/start-an-xwindows-session-on-mac-osx/</guid>
</item>
<item>
<title>(Bash) Fix textmate bundles after snow leopard upgrade - stayce</title>
<link>http://snipplr.com/view/40934/fix-textmate-bundles-after-snow-leopard-upgrade/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Thu, 23 Sep 2010 05:37:24 GMT</pubDate>
<guid>http://snipplr.com/view/40934/fix-textmate-bundles-after-snow-leopard-upgrade/</guid>
</item>
<item>
<title>(Bash) OSX: Quick Look From the Command Line - gotofritz</title>
<link>http://snipplr.com/view/38627/osx-quick-look-from-the-command-line/</link>
<description><![CDATA[ <p>Quick Look is the little window you get in Finder when you select a file and press the space bar. You can get the same from the command line with the following command (-p is a full window, -t is a thumbnail). You can even output it to a file with the -o option</p> ]]></description>
<pubDate>Fri, 06 Aug 2010 21:00:13 GMT</pubDate>
<guid>http://snipplr.com/view/38627/osx-quick-look-from-the-command-line/</guid>
</item>
<item>
<title>(Bash) Relative to Absolute Path Conversion - iloveitaly</title>
<link>http://snipplr.com/view/34401/relative-to-absolute-path-conversion/</link>
<description><![CDATA[ <p>the os x version of realpath works differently than the linux version; the following allows you to attain the same functionality in a shell on os x as `readlink -f $0` on a standard linux dist.</p> ]]></description>
<pubDate>Thu, 13 May 2010 09:15:59 GMT</pubDate>
<guid>http://snipplr.com/view/34401/relative-to-absolute-path-conversion/</guid>
</item>
<item>
<title>(Bash) using top on Snow Leopard - obi</title>
<link>http://snipplr.com/view/29094/using-top-on-snow-leopard/</link>
<description><![CDATA[ <p>more tips available; see link</p> ]]></description>
<pubDate>Mon, 01 Mar 2010 22:49:30 GMT</pubDate>
<guid>http://snipplr.com/view/29094/using-top-on-snow-leopard/</guid>
</item>
<item>
<title>(Bash) Mimic Finder's "Create Archive" Functionality - iloveitaly</title>
<link>http://snipplr.com/view/26518/mimic-finders-create-archive-functionality/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Fri, 15 Jan 2010 14:03:31 GMT</pubDate>
<guid>http://snipplr.com/view/26518/mimic-finders-create-archive-functionality/</guid>
</item>
<item>
<title>(Bash) how to start mysql under mac os x - yakafokon</title>
<link>http://snipplr.com/view/22522/how-to-start-mysql-under-mac-os-x/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Wed, 04 Nov 2009 18:02:03 GMT</pubDate>
<guid>http://snipplr.com/view/22522/how-to-start-mysql-under-mac-os-x/</guid>
</item>
<item>
<title>(Bash) Get / set X windows selection from shell - deepsoul</title>
<link>http://snipplr.com/view/18031/get--set-x-windows-selection-from-shell/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Fri, 07 Aug 2009 13:09:40 GMT</pubDate>
<guid>http://snipplr.com/view/18031/get--set-x-windows-selection-from-shell/</guid>
</item>
<item>
<title>(Bash) Set display to standby from shell script - deepsoul</title>
<link>http://snipplr.com/view/17815/set-display-to-standby-from-shell-script/</link>
<description><![CDATA[ <p>Use the following command to blank your screen and save power:</p> ]]></description>
<pubDate>Sun, 02 Aug 2009 18:18:38 GMT</pubDate>
<guid>http://snipplr.com/view/17815/set-display-to-standby-from-shell-script/</guid>
</item>
<item>
<title>(Bash) Remove Dot Underscore Files - shaunchapman</title>
<link>http://snipplr.com/view/14120/remove-dot-underscore-files/</link>
<description><![CDATA[ <p>Mac OS X creates files beginning with *._* to Samba shares when files on a Unix/Linux machine are accessed with a Mac.  I use [Coda](http://www.panic.com/coda/) to access a Samba share on my development server at work.  This is really annoying when checking the status of the Subversion repository.  So, I've come up with a solution to remove those files while ignoring similarly named files in hidden Subversion directories.  This command will ask you to confirm that you want to remove each file.

For added convenience, I suggest making this an alias (add `alias dot_clean='find . -name ".svn" -prune -o -name "._*" -exec rm -i {} \;'` to the *.bashrc*, *.bash_profile*, or *.bash_login* file in your home directory).  To clean a directory, simply type `cd directory_name` then `dot_clean`.  Enjoy!</p> ]]></description>
<pubDate>Fri, 17 Apr 2009 11:35:58 GMT</pubDate>
<guid>http://snipplr.com/view/14120/remove-dot-underscore-files/</guid>
</item>
<item>
<title>(Bash) How to Flush DNS in Mac OS X 10.5 Leopard - jonhenshaw</title>
<link>http://snipplr.com/view/11953/how-to-flush-dns-in-mac-os-x-105-leopard/</link>
<description><![CDATA[ <p>Open Terminal and enter this command.</p> ]]></description>
<pubDate>Sat, 07 Feb 2009 13:37:52 GMT</pubDate>
<guid>http://snipplr.com/view/11953/how-to-flush-dns-in-mac-os-x-105-leopard/</guid>
</item>
<item>
<title>(Bash) Running a KVM VM without X - narkisr</title>
<link>http://snipplr.com/view/11561/running-a-kvm-vm-without-x/</link>
<description><![CDATA[ <p>How to run a KVM VM with no X (server environment, originally seen at http://blog.bodhizazen.net/?p=40).</p> ]]></description>
<pubDate>Tue, 27 Jan 2009 03:39:22 GMT</pubDate>
<guid>http://snipplr.com/view/11561/running-a-kvm-vm-without-x/</guid>
</item>
<item>
<title>(Bash) Flush dns cache os x - therobot</title>
<link>http://snipplr.com/view/9026/flush-dns-cache-os-x/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Wed, 15 Oct 2008 06:15:37 GMT</pubDate>
<guid>http://snipplr.com/view/9026/flush-dns-cache-os-x/</guid>
</item>
<item>
<title>(Bash) QuickLook from Terminal - jrphelps</title>
<link>http://snipplr.com/view/4106/quicklook-from-terminal/</link>
<description><![CDATA[ <p>qlmanage -p foo.png, the image immediately pops up in a Quick Look pane.

Even better, Quick Look supports slide shows. So if you cd into a folder of images and run qlmanage -p *.jpg, you'll be rewarded with a full-on presentation of your pictures.

Other qlmanage flags of interest include -h (displays a help message) -t (thumbnail generation) and -f (a zoom factor to display with).

The downside of qlmanage is that it's full of NSLog-style messages. Haber recommends you pipe the output into /dev/null as follows: qlmanage -p *.jpg >&amp; /dev/null.</p> ]]></description>
<pubDate>Fri, 09 Nov 2007 10:35:15 GMT</pubDate>
<guid>http://snipplr.com/view/4106/quicklook-from-terminal/</guid>
</item>
<item>
<title>(Bash) Optimize Mac OS X Mail.app - jonhenshaw</title>
<link>http://snipplr.com/view/3305/optimize-mac-os-x-mailapp/</link>
<description><![CDATA[ <p>Over time, your Mac's Mail program can start to feel sluggish because, like any database, over time it needs to optimized.</p> ]]></description>
<pubDate>Sun, 15 Jul 2007 11:15:17 GMT</pubDate>
<guid>http://snipplr.com/view/3305/optimize-mac-os-x-mailapp/</guid>
</item>
</channel>
</rss>