<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<atom:link href="http://crunchbang.org/forums/extern.php?action=feed&amp;type=rss&amp;tid=18217" rel="self" type="application/rss+xml" />
		<title><![CDATA[CrunchBang Linux Forums / [SOLVED] messed up alternatives, and / or symlink to x-www-browser]]></title>
		<link>http://crunchbang.org/forums/viewtopic.php?id=18217</link>
		<description><![CDATA[The most recent posts in [SOLVED] messed up alternatives, and / or symlink to x-www-browser.]]></description>
		<lastBuildDate>Sun, 04 Mar 2012 03:49:48 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Re: [SOLVED] messed up alternatives, and / or symlink to x-www-browser]]></title>
			<link>http://crunchbang.org/forums/viewtopic.php?pid=196012#p196012</link>
			<description><![CDATA[<p>thanks a lot guys, you are so helpful!</p>]]></description>
			<author><![CDATA[dummy@example.com (pwl)]]></author>
			<pubDate>Sun, 04 Mar 2012 03:49:48 +0000</pubDate>
			<guid>http://crunchbang.org/forums/viewtopic.php?pid=196012#p196012</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] messed up alternatives, and / or symlink to x-www-browser]]></title>
			<link>http://crunchbang.org/forums/viewtopic.php?pid=195928#p195928</link>
			<description><![CDATA[<p>^ what stanie said. And to be even more specific, open ~/.config/openbox/rc.xml (make a copy first):</p><div class="codebox"><pre><code>cd ~/.config/openbox
cp rc.xml rc.xml.bak
geany rc.xml</code></pre></div><p>and find this section</p><div class="codebox"><pre><code>&lt;keybind key=&quot;W-w&quot;&gt;
      &lt;action name=&quot;Execute&quot;&gt;
        &lt;startupnotify&gt;
          &lt;enabled&gt;true&lt;/enabled&gt;
          &lt;name&gt;Web Browser&lt;/name&gt;
        &lt;/startupnotify&gt;
        &lt;command&gt;x-www-browser&lt;/command&gt;
      &lt;/action&gt;
    &lt;/keybind&gt;</code></pre></div><p>change it to </p><div class="codebox"><pre><code>&lt;keybind key=&quot;W-w&quot;&gt;
      &lt;action name=&quot;Execute&quot;&gt;
        &lt;startupnotify&gt;
          &lt;enabled&gt;true&lt;/enabled&gt;
          &lt;name&gt;Web Browser&lt;/name&gt;
        &lt;/startupnotify&gt;
        &lt;command&gt;iceweasel&lt;/command&gt;
      &lt;/action&gt;
    &lt;/keybind&gt;</code></pre></div><p>save it, and reconfigure openbox either from the right-click menu, or by this command in a terminal:</p><div class="codebox"><pre><code>openbox --reconfigure</code></pre></div><p>Now super-W will always start iceweasel.</p>]]></description>
			<author><![CDATA[dummy@example.com (2ManyDogs)]]></author>
			<pubDate>Sat, 03 Mar 2012 22:44:41 +0000</pubDate>
			<guid>http://crunchbang.org/forums/viewtopic.php?pid=195928#p195928</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] messed up alternatives, and / or symlink to x-www-browser]]></title>
			<link>http://crunchbang.org/forums/viewtopic.php?pid=195925#p195925</link>
			<description><![CDATA[<p>Hello pwl,</p><p>your problem seems to be in</p><div class="quotebox"><blockquote><div><p>There are 3 choices for the alternative x-www-browser (providing /usr/bin/sublime)</p></div></blockquote></div><p> instead of <strong>(providing /usr/bin/x-www-browser)</strong> as you surely know.<br />Check the symlink target to <em>/usr/bin/x-www-browser</em> by rightclicking on it - it should be <em>/etc/alternatives/x-www-browser</em> and this one should point to your iceweasel =&gt; <em>/usr/bin/iceweasel</em><br />Any luck or are all these symlinks linked to sublime?<br />What happens when you click a link in let&#039;s say text file or in music app like clementine, rhythmbox... Does it open web browser as it should or sublime?<br />I would definitely try to run this command in terminal</p><div class="quotebox"><blockquote><div><p>sudo update-alternatives --install /usr/bin/x-www-browser x-www-browser /usr/bin/iceweasel 70</p></div></blockquote></div><p>and then once more</p><div class="quotebox"><blockquote><div><p>sudo update-alternatives --config x-www-browser</p></div></blockquote></div><p>Any change?</p><p>BTW you can easily change your keyboard shortcuts in rc.xml (rightclick-settings-openbox-edit rc.xml)<br />If you want to use super+w for opening iceweasel find the correct line and write /usr/bin/iceweasel instead of x-www-browser.</p>]]></description>
			<author><![CDATA[dummy@example.com (Stanie)]]></author>
			<pubDate>Sat, 03 Mar 2012 22:33:43 +0000</pubDate>
			<guid>http://crunchbang.org/forums/viewtopic.php?pid=195925#p195925</guid>
		</item>
		<item>
			<title><![CDATA[[SOLVED] messed up alternatives, and / or symlink to x-www-browser]]></title>
			<link>http://crunchbang.org/forums/viewtopic.php?pid=195695#p195695</link>
			<description><![CDATA[<p>Hi, so I tried to change system default editor, and change browser too i guess, it was late, and accidentally messed up copying ant pasting (yeaaah i made a mix of editor and browser...). Now i get:</p><div class="codebox"><pre><code>pawel@devel:~$ sudo update-alternatives --config x-www-browser
There are 3 choices for the alternative x-www-browser (providing /usr/bin/sublime).

  Selection    Path                       Priority   Status
------------------------------------------------------------
  0            /usr/bin/iceweasel          70        auto mode
  1            /usr/bin/chromium-browser   40        manual mode
* 2            /usr/bin/iceweasel          70        manual mode
  3            /usr/bin/midori             50        manual mode

Press enter to keep the current choice[*], or type selection number: </code></pre></div><p>sublime is sublime text 2 editor, and sublime&#039;s symlink&#039;s now launchung weasel. this i can understand, but what i don&#039;t understand is what happened to x-www-browser symlink, and where it is now.<br />well, super+w combination ain&#039;t working now: &quot;now such file or directory&quot; :E</p><p>help me out, please? <img src="http://crunchbang.org/forums/plugins/ezbbc/style/smilies/smile.png" alt="smile" /><br />step by step if you can :S</p>]]></description>
			<author><![CDATA[dummy@example.com (pwl)]]></author>
			<pubDate>Sat, 03 Mar 2012 05:39:53 +0000</pubDate>
			<guid>http://crunchbang.org/forums/viewtopic.php?pid=195695#p195695</guid>
		</item>
	</channel>
</rss>
