<?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/"
	>

<channel>
	<title>AkillesBlog &#187; windows</title>
	<atom:link href="http://blog.akilles.org/tag/windows/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.akilles.org</link>
	<description>Talk on programming, computers, electronics, web etc</description>
	<lastBuildDate>Sun, 23 Jan 2011 23:46:19 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>VLC Media Player &#8211; adding to Default Programs list in Windows 7</title>
		<link>http://blog.akilles.org/2010/06/13/vlc-media-player-as-default-for-all-supported-file-types-in-windows-7/</link>
		<comments>http://blog.akilles.org/2010/06/13/vlc-media-player-as-default-for-all-supported-file-types-in-windows-7/#comments</comments>
		<pubDate>Sun, 13 Jun 2010 01:34:41 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[Default Programs]]></category>
		<category><![CDATA[file type associations]]></category>
		<category><![CDATA[registry]]></category>
		<category><![CDATA[VLC Media Player]]></category>
		<category><![CDATA[windows]]></category>
		<category><![CDATA[Windows 7]]></category>

		<guid isPermaLink="false">http://blog.akilles.org/?p=89</guid>
		<description><![CDATA[Problems getting rid of Windows Media Player as default media player for media file types in Windows 7? So did I. I wanted to go to the &#8220;Default Programs&#8221;-menu (via Start menu or Control Panel), choose &#8220;Set your default programs&#8221; and setting up VLC Media Player as the default program for all its supported file [...]]]></description>
			<content:encoded><![CDATA[<p>Problems getting rid of Windows Media Player as default media player for media file types in Windows 7? So did I. I wanted to go to the &#8220;Default Programs&#8221;-menu (via Start menu or Control Panel), choose &#8220;Set your default programs&#8221; and setting up VLC Media Player as the default program for all its supported file types (which counts more than 50). However, at least on my computer, VLC doesn&#8217;t show up as a program in the list in the &#8220;Set your default programs&#8221;-utility:</p>
<p><a href="http://blog.akilles.org/wp-content/uploads/2010/06/screen2.png"><img src="http://blog.akilles.org/wp-content/uploads/2010/06/screen2-300x218.png" alt="" title="screen2" width="300" height="218" class="alignnone size-medium wp-image-73" /></a></p>
<p><script type="text/javascript"><!--
google_ad_client = "pub-0426298800349415";
google_ad_slot = "0902617621";
google_ad_width = 468;
google_ad_height = 60;
//--></script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
</p>
<p>For adding VLC to the list of programs, so that you easily can choose to set VLC as default for some or all its supported file types, I&#8217;ve made a registry fix/patch. If you choose to try this, use it at your own responsibility (and preferably read through it before executing)! I take no responsibility for this whatsoever. And if you have knowledge of the registry and have comments to my fix, please comment! BTW, the fix requires you to having installed VLC at its default location; C:\Program Files\VideoLAN\VLC\vlc.exe.</p>
<p>Download the registry fix here: <a href='http://blog.akilles.org/wp-content/uploads/2010/06/default_programs_-_register_VLC.reg_.txt'>default_programs_-_register_VLC.reg</a></p>
<p>For execution, download, and remove the &#8220;.txt&#8221;-suffix, so that you gain a &#8220;.reg&#8221;-file. Then double-click this file. </p>
<p>For finishing up, go to Control Panel -> Default Programs -> Set your default programs. Verify that VLC media player shows up in the list of programs. Click it, and choose if you want to make it the default program for supported file types. <img src='http://blog.akilles.org/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p><script type="text/javascript"><!--
google_ad_client = "pub-0426298800349415";
google_ad_slot = "0902617621";
google_ad_width = 468;
google_ad_height = 60;
//--></script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
</p>
<p>For comments about the fix, and about adding programs to the &#8220;Set your default programs&#8221;-utility in general, please <a href="http://blog.akilles.org/2010/06/13/default-programs-in-windows-7-adding-program-to-list-of-programs/">see my blogpost on this topic</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.akilles.org/2010/06/13/vlc-media-player-as-default-for-all-supported-file-types-in-windows-7/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Default Programs in Windows 7 &#8211; adding program to list of programs</title>
		<link>http://blog.akilles.org/2010/06/13/default-programs-in-windows-7-adding-program-to-list-of-programs/</link>
		<comments>http://blog.akilles.org/2010/06/13/default-programs-in-windows-7-adding-program-to-list-of-programs/#comments</comments>
		<pubDate>Sun, 13 Jun 2010 00:58:38 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[Default Programs]]></category>
		<category><![CDATA[file type associations]]></category>
		<category><![CDATA[registry]]></category>
		<category><![CDATA[windows]]></category>
		<category><![CDATA[Windows 7]]></category>

		<guid isPermaLink="false">http://blog.akilles.org/?p=71</guid>
		<description><![CDATA[When you want to control which file types an installed program should open/handle in Windows 7 (or Vista), one option is to go to the &#8220;Default Programs&#8221; via Control Panel or the Start menu, and then choose &#8220;Set your default programs&#8221;. Some programs, however, don&#8217;t show up in this list. This was the case for [...]]]></description>
			<content:encoded><![CDATA[<p>When you want to control which file types an installed program should open/handle in Windows 7 (or Vista), one option is to go to the &#8220;Default Programs&#8221; via Control Panel or the Start menu, and then choose &#8220;Set your default programs&#8221;. Some programs, however, don&#8217;t show up in this list. This was the case for VLC media player on my PC.</p>
<p>If you want a quick fix for VLC, <a href="http://blog.akilles.org/2010/06/13/vlc-media-player-as-default-for-all-supported-file-types-in-windows-7/">look at this other post</a>. If you want to read in general about adding programs to the list in &#8220;Set your default programs&#8221;, read on:</p>
<p>This is probably more a nuisance than a problem, because you can attack the file association from the other side, by opening the settings for each file type one-at-a-time and associate it with the program (right-click file -> open with -> select program). However, this can be really time consuming and frustrating with a media player or any other program with more than 50 file type associations.</p>
<p>Therefore, it would be nice to use the &#8220;Set your default programs&#8221;-feature, where one can view all file types supported by a program, and associate some or all file types to the program with few clicks.</p>
<p><script type="text/javascript"><!--
google_ad_client = "pub-0426298800349415";
google_ad_slot = "0902617621";
google_ad_width = 468;
google_ad_height = 60;
//--></script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
</p>
<p>I&#8217;ll soon describe how to add missing programs to this list. First some screenshots to get the picture: <img src='http://blog.akilles.org/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
<p>Screen #1: Open this via Start -> Default Programs, and then click &#8220;Set your default programs&#8221; as indicated below:<br />
<a href="http://blog.akilles.org/wp-content/uploads/2010/06/screen1.png"><img src="http://blog.akilles.org/wp-content/uploads/2010/06/screen1-300x212.png" alt="" title="screen1" width="300" height="212" class="alignnone size-medium wp-image-72" /></a></p>
<p>Screen #2: Here is the program list, with VLC media player (or other program) missing:<br />
<a href="http://blog.akilles.org/wp-content/uploads/2010/06/screen2.png"><img src="http://blog.akilles.org/wp-content/uploads/2010/06/screen2-300x218.png" alt="" title="screen2" width="300" height="218" class="alignnone size-medium wp-image-73" /></a></p>
<p>Screen #3: Here is what we want, and how it looks after our fix:<br />
<a href="http://blog.akilles.org/wp-content/uploads/2010/06/screen3.png"><img src="http://blog.akilles.org/wp-content/uploads/2010/06/screen3-300x218.png" alt="" title="screen3" width="300" height="218" class="alignnone size-medium wp-image-74" /></a></p>
<h3>The fix</h3>
<p>This requires some familiarity with the Windows Registry (regedit). And NOTE: I take no responsibility for anything you do or don&#8217;t in relation to this fix or anything else on this blog. Be careful in the registry (mistakes can break your operative system), and remember it&#8217;s your own responsibility!</p>
<p><em>First some registry terms. In the regedit-editor:</em> A <strong>key</strong> is displayed in left pane with a folder icon, a <strong>value</strong> is an item displayed as a line in right pane, while <strong>data</strong> is the data contained in the value. A &#8220;string value&#8221; is a value containing a string as data.</p>
<p>Now some todo-points (for more specifics, <em>see example</em> below):</p>
<ul>
<li>Fire up regedit.exe with Admin-privileges.</li>
<li>Navigate to HKEY_LOCAL_MACHINE\SOFTWARE\, and find as a key an equivalent to ProgramName (i.e. VLC) or VendorName\ProgramName (i.e. VideoLAN\VLC) under there.</li>
<li>Add a key called &#8216;Capabilites&#8217; under the ProgramName key.</li>
<li>Add these three string values under Capabilities: ApplicationDescription, ApplicationName, ApplicationIcon. <em>For contained data in these values, see example and apply imagination.</em></li>
<li>Now, add a key called &#8216;FileAssociations&#8217; under Capabilities. Under here, add string values referencing file type keys under HKEY_LOCAL_MACHINE\SOFTWARE\Classes\ <em>(see example)</em>.</li>
<li>Navigate to HKEY_LOCAL_MACHINE\SOFTWARE\RegisteredApplications, and add a string value called i.e. &#8220;VLC media player&#8221;, with data set to &#8220;Software\ProgramName\Capabilities&#8221;. <em>Change ProgramName according to actual program name.</em></li>
</ul>
<h3>Example</h3>
<p>As an <strong>example</strong>, here is the registry-export of my registry additions when I was finished fixing VLC media player:</p>
<p><code><br />
[HKEY_LOCAL_MACHINE\SOFTWARE\VideoLAN\VLC\Capabilites]<br />
"ApplicationDescription"="VLC media player is a free and open source media player and multimedia framework written by the VideoLAN project. The default distribution of VLC includes a large number of free decoding and encoding libraries; this greatly reduces the need for finding/calibrating proprietary plugins."<br />
"ApplicationName"="VLC media player"<br />
"ApplicationIcon"="C:\Program Files\VideoLAN\VLC\vlc.exe,0"</p>
<p>[HKEY_LOCAL_MACHINE\SOFTWARE\VideoLAN\VLC\Capabilites\FileAssociations]<br />
".mp3"="VLC.mp3"<br />
".wav"="VLC.wav"<br />
".wma"="VLC.wma"<br />
".avi"="VLC.avi"<br />
".mpg"="VLC.mpg"<br />
(TRUNCATED)</p>
<p>[HKEY_LOCAL_MACHINE\SOFTWARE\RegisteredApplications]<br />
"VLC media player"="Software\VideoLAN\VLC\Capabilites"<br />
</code></p>
<p><em>Some comments to the example:</em> Under [HKEY_LOCAL_MACHINE\SOFTWARE\VideoLAN\VLC\Capabilites\FileAssociations] above: The VLC.* values references keys under HKEY_LOCAL_MACHINE\SOFTWARE\Classes\. For instance, the &#8220;VLC.mp3&#8243; references the key HKEY_LOCAL_MACHINE\SOFTWARE\Classes\VLC.mp3, which existed from the installation of VLC media player. Under the key HKEY_LOCAL_MACHINE\SOFTWARE\Classes\VLC.mp3, there exists values that describes how a MP3-file is opened if double-clicked while VLC is the associated program.</p>
<p><script type="text/javascript"><!--
google_ad_client = "pub-0426298800349415";
google_ad_slot = "0902617621";
google_ad_width = 468;
google_ad_height = 60;
//--></script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
</p>
<p>For a full example, please see my blogpost about <a href="http://blog.akilles.org/2010/06/13/vlc-media-player-as-default-for-all-supported-file-types-in-windows-7/">VLC media player</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.akilles.org/2010/06/13/default-programs-in-windows-7-adding-program-to-list-of-programs/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Installing Emacs Muse on Windows XP</title>
		<link>http://blog.akilles.org/2009/03/14/installing-emacs-muse-on-windows/</link>
		<comments>http://blog.akilles.org/2009/03/14/installing-emacs-muse-on-windows/#comments</comments>
		<pubDate>Sat, 14 Mar 2009 19:31:11 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[editor]]></category>
		<category><![CDATA[emacs]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[installing]]></category>
		<category><![CDATA[muse]]></category>
		<category><![CDATA[tutorial]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://blog.akilles.org/?p=67</guid>
		<description><![CDATA[This post will deal with the installation of the GNU Emacs editor plus the Emacs Muse authoring/publishing environment running Windows XP. Download &#038; extract GNU Emacs First, obtain the latest precompiled Emacs binaries for Windows. Get it directly from the FTP location here, alternatively follow the link from the Getting Emacs guide. Download the latest [...]]]></description>
			<content:encoded><![CDATA[<p>This post will deal with the installation of the GNU Emacs editor plus the Emacs Muse authoring/publishing environment running Windows XP.</p>
<p><script type="text/javascript"><!--
google_ad_client = "pub-0426298800349415";
google_ad_slot = "0902617621";
google_ad_width = 468;
google_ad_height = 60;
//--></script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
</p>
<h2>Download &#038; extract</h2>
<h3>GNU Emacs</h3>
<p>First, obtain the latest precompiled Emacs binaries for Windows. Get it directly from <a href="http://ftp.gnu.org/gnu/emacs/windows/">the FTP location here</a>, alternatively follow the link from the <a href="http://www.gnu.org/software/emacs/windows/Getting-Emacs.html">Getting Emacs guide</a>. Download the latest zip-version marked <strong>bin</strong>; <strong>emacs-22.3-<em>bin</em>-i386.zip</strong> these days.</p>
<p>For the full guide on installing emacs on Windows, consult <a href="http://www.gnu.org/software/emacs/windows/Installing-Emacs.html">this</a> guide.</p>
<p>After downloading, extract the Emacs zip-file to a permanent location on your computer, i.e. <strong>C:\Program Files\emacs</strong>, so that this folder directly contains the folders bin,etc,lisp and so on.</p>
<h3>Muse</h3>
<p>Second, download the latest Emacs Muse (hereafter only called Muse) zip-file. Get it directly from <a href="http://download.gna.org/muse-el">here</a>, alternatively follow the link from the project&#8217;s home page <a href="http://mwolson.org/projects/EmacsMuse.html#sec3">here</a>.</p>
<p>Extract the Muse zip-file to, for instance, <strong>C:\Program Files\emacs_muse</strong>.</p>
<h2>Integration</h2>
<p>Now it&#8217;s time to make include Muse into your Emacs installation/folder: Copy all contents of <strong>C:\Program Files\emacs_muse\lisp\</strong> to <strong>C:\Program Files\emacs\lisp\</strong>.</p>
<h3>The HOME environmental variable</h3>
<p>We must now set up the <strong>.emacs</strong> <em>init file</em>, residing in your HOME directory. But first, we need to make sure you have HOME environmental variable. Check it by clicking Start->Run. Type in %HOME% and click OK. Does it open a folder? If so, notice the path of this folder. This is where we&#8217;re putting the .emacs init file. If you instead get an error, you must first set the HOME environmental variable:</p>
<p>Start->Settings->Control Panel->System->Advanced->Environmental Variables. In the upper field (user variables), press New. Name=HOME, Value=(whatever path you choose as your home folder. Make sure it exists!). OK x 2.</p>
<h3>Editing the .emacs init file</h3>
<p>Now that you have a HOME folder, open it: Start->Run. Type in %HOME% and click OK.</p>
<p>Create and edit a file named <strong>_emacs</strong> or <strong>.emacs</strong>, any one is good (.emacs is the original file name as used in Unix environments, but Explorer won&#8217;t let you create a file with filename starting with a dot, so therefore it&#8217;s easier to use the name _emacs). Put this contents into the file:</p>
<p><code><br />
	(setq load-path (add-to-list 'load-path "C:\Program Files\emacs_muse"))<br />
	(require 'muse-mode)<br />
	(require 'muse-publish)<br />
	(require 'muse-html)  ;; and so on<br />
</code></p>
<p>For further contents regarding Muse in this file; see <a href="http://mwolson.org/projects/MuseQuickStart.html">here</a> under the heading &#8220;Getting Started&#8221;.</p>
<p><script type="text/javascript"><!--
google_ad_client = "pub-0426298800349415";
google_ad_slot = "0902617621";
google_ad_width = 468;
google_ad_height = 60;
//--></script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
</p>
<h2>Testing</h2>
<p>Now, start emacs by running the file: <strong>C:\Program Files\emacs\bin\runemacs.exe</strong>.</p>
<p>Create a new file <em>with the .muse filename extension</em>, (automatically puts emacs in muse mode) i.e. <em>musetest.muse</em>, and you&#8217;re set. Try typing something like (notice space bewtween asterisk and text in headings):</p>
<p><code><br />
* Heading 1<br />
** Heading 2</p>
<p>Test contents.</p>
<p>----</p>
<p>The end of the beginning.<br />
</code></p>
<p>&#8230; and notice that the two first lines (the headings) aquire different font weights. If they do; congratulations on your successful Emacs + Emacs Muse installation! If not, maybe you haven&#8217;t got emacs into muse mode. Try doing so by pressing Alt-x, then write muse-mode and hit return.</p>
<p>In the end, try publishing to HTML by hitting Ctrl-c Ctrl-t on the keyboard and follow the instructions in the &#8220;status field&#8221; in the bottom of the Emacs window.</p>
<h2>Diving deeper</h2>
<p>For diving deeper into muse, reference the project&#8217;s documentation:</p>
<ul>
<li><a href="http://mwolson.org/projects/MuseQuickStart.html">http://mwolson.org/projects/MuseQuickStart.html</a></li>
<li><a href="http://mwolson.org/static/doc/muse/">http://mwolson.org/static/doc/muse/</a></li>
<li><a href="http://mwolson.org/projects/EmacsMuse.html">http://mwolson.org/projects/EmacsMuse.html</a> &#8211; the muse maintainer&#8217;s project page</li>
</ul>
<h2>References</h2>
<ul>
<li><a href="http://www.gnu.org/software/emacs/windows/Installing-Emacs.html">http://www.gnu.org/software/emacs/windows/Installing-Emacs.html</a></li>
<li><a href="http://mwolson.org/projects/MuseQuickStart.html">http://mwolson.org/projects/MuseQuickStart.html</a></li>
<li><a href="http://www.linuxjournal.com/article/9116#comment-331272">http://www.linuxjournal.com/article/9116#comment-331272</a> <em>(on lisp to lisp folder copying, regarding Org-mode installation in emacs)</em></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://blog.akilles.org/2009/03/14/installing-emacs-muse-on-windows/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

