<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>firefox on Silicone&#39;s web</title>
		<link>https://silicone.homelinux.org/en/tags/firefox/</link>
		<description>Recent content in firefox on Silicone&#39;s web</description>
		<generator>Hugo</generator>
		<language>en-us</language>
		
		
		
		
			<lastBuildDate>Thu, 24 Nov 2011 10:16:09 +0100</lastBuildDate>
		
			<atom:link href="https://silicone.homelinux.org/en/tags/firefox/index.xml" rel="self" type="application/rss+xml" />
			<item>
				<title>Trading Places on Debian</title>
				<link>https://silicone.homelinux.org/en/2009/09/28/trading-places-on-debian/</link>
				<pubDate>Mon, 28 Sep 2009 21:49:54 +0100</pubDate>
				<guid>https://silicone.homelinux.org/en/2009/09/28/trading-places-on-debian/</guid>
				<description>&lt;p&gt;To fit a particular job, several choices are often available. For softwares, it the same!&lt;/p&gt;&#xA;&lt;p&gt;For example, while configuring a system we need a text editor. On recent distros, we get nano, on others we have vi (or a variant like nvi, vim…). On debian the defaukt editor is simply called &lt;code&gt;editor&lt;/code&gt;.&lt;/p&gt;&#xA;&lt;p&gt;Let’s see that:&lt;/p&gt;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;$ which editor&#xA;/usr/bin/editor&#xA;$ ls -la /usr/bin/editor&#xA;lrwxrwxrwx 1 root root 24 mar  4 09:01 /usr/bin/editor -&amp;gt; /etc/alternatives/editor&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;So &lt;code&gt;editor&lt;/code&gt; is not a program, simply a symbolic link to the same file name in /etc/alternatives and that last on is an other link to the actual editor program.&lt;/p&gt;&#xA;&lt;p&gt;To update the editor we could change the link, but that’s quite direct were debian gives us a nice way to do it with the command: &lt;code&gt;update-alternatives&lt;/code&gt;.&lt;br&gt;&#xA;Obviously to update system configuration you have to be root (use su or sudo whatever you like best)&lt;/p&gt;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;# update-alternatives --config editor&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;A text menu will propose you the available alternatives.&lt;/p&gt;&#xA;&lt;p&gt;That’s for the big picture, I was first on using this on the case of the flash plugin for firefox (well iceweasel). Even after installing flash form debian-multimedia repository, firefox was still using swfdec, ad removing swfdec was breaking gnome’s dependencies… The solution is above, firefox uses a flash-mozilla.so plugin, this is an alternative! So:&lt;/p&gt;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;# update-alternatives --config flash-mozilla.so&#xA;There are 2 choices for the alternative flash-mozilla.so&#xA;  Selection    Path&#xA;-----------------------------------------------&#xA;*+        1    /usr/lib/swfdec-mozilla/libswfdecmozilla.so&#xA;          2    /usr/lib/flashplayer-mozilla/libflashplayer.so&#xA;Press enter to keep the current choice[*], or type selection number:2&#xA;update-alternatives: using /usr/lib/flashplayer-mozilla/libflashplayer.so to provide flash-mozilla.so.&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;You did it!&lt;/p&gt;&#xA;&lt;p&gt;That’s no because flash is not open source that we have to read on debian or ubuntu forums that the solution is to remove manually libswfdecmozilla.so or any similar nonsense, there is a way to do it, that what new users should learn.&lt;/p&gt;</description>
			</item>
	</channel>
</rss>
