<?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>Libre Things &#187; Nautilus</title>
	<atom:link href="http://positon.org/tag/nautilus/feed" rel="self" type="application/rss+xml" />
	<link>http://positon.org</link>
	<description></description>
	<lastBuildDate>Tue, 23 Feb 2016 20:01:11 +0000</lastBuildDate>
	<language>en-US</language>
		<sy:updatePeriod>hourly</sy:updatePeriod>
		<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.7.1</generator>
	<item>
		<title>Nautilus script to search opensubtitles.org</title>
		<link>http://positon.org/nautilus-script-to-search-opensubtitles-org</link>
		<comments>http://positon.org/nautilus-script-to-search-opensubtitles-org#comments</comments>
		<pubDate>Sun, 31 Aug 2014 09:55:28 +0000</pubDate>
		<dc:creator><![CDATA[dooblem]]></dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[Nautilus]]></category>

		<guid isPermaLink="false">http://positon.org/?p=202</guid>
		<description><![CDATA[Mathilde&#8217;s contribution: This script allows you to launch a search by filesize on opensubtitles.org, with a simple right-click on a video file. If it does not exist, create the .local/share/nautilus/scripts directory in your personnal folder (from Nautilus, you can use the Ctrl+H shortcut to display hidden files and be able to see the .local directory). [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>Mathilde&#8217;s contribution:</p>
<p>This script allows you to launch a search by filesize on  <a href="http://www.opensubtitles.org">opensubtitles.org</a>, with a simple right-click on a video file.</p>
<p>If it does not exist, create the <code>.local/share/nautilus/scripts</code> directory in your personnal folder (from Nautilus, you can use the Ctrl+H shortcut to display hidden files and be able to see the <code>.local</code> directory).</p>
<p>Save the <a href="/wp-content/uploads/files/subtitle">subtitle</a> file in <code>.local/share/nautilus/scripts</code></p>
<p>Add execution permission to the script, in file properties, or running the command <code>chmod +x ~/.local/share/nautilus/scripts/subtitle</code></p>
<p>Open Nautilus (aka &#8220;Files&#8221;). Select the film you want to search subtitles for, right-click > scripts > subtitle.<br />
A browser window will open directly on <a href="http://www.opensubtitles.org">opensubtitles.org</a> with your search results.</p>
<p>NB:<br />
By default, the script will search subtitles in english. To change the language, open the script and change the LANG variable.</p>
<p>Content of <a href="/wp-content/uploads/files/subtitle">subtitle</a> script:</p>
<pre>
#!/bin/bash

LANG=eng
#LANG=fr

FILE=$1
SIZE=$(stat -c %s $FILE)

xdg-open "http://www.opensubtitles.org/eng/search/sublanguageid-$LANG/moviebytesize-$SIZE"
</pre>
]]></content:encoded>
			<wfw:commentRss>http://positon.org/nautilus-script-to-search-opensubtitles-org/feed</wfw:commentRss>
		<slash:comments></slash:comments>
		</item>
		<item>
		<title>Launch Nautilus as a super user</title>
		<link>http://positon.org/launch-nautilus-as-a-super-user</link>
		<comments>http://positon.org/launch-nautilus-as-a-super-user#comments</comments>
		<pubDate>Tue, 26 Jan 2010 22:51:00 +0000</pubDate>
		<dc:creator><![CDATA[dooblem]]></dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Gnome]]></category>
		<category><![CDATA[Nautilus]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://positon.org:81/?p=85</guid>
		<description><![CDATA[Under Ubuntu, or any distribution using Gnome, you can do almost anything without using the command line. To configure some things, you still have to edit a configuration file. To configure your desktop, a lot of online documentation still requires you to to edit /etc config files. To help non linux experts, you can try [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>Under Ubuntu, or any distribution using Gnome, you can do <em>almost</em> anything without using the command line.</p>
<p>To configure some things, you still have to edit a configuration file. To configure your desktop, a lot of online documentation still requires you to to edit <code>/etc</code> config files.</p>
<p>To help non linux experts, you can try the <code><a href="http://packages.ubuntu.com/karmic/nautilus-gksu">nautilus-gksu</a></code> package. It permits you to edit any file as administrator with a simple right-click on the file.</p>
<p>Personnaly, I prefer launching Nautilus as root, as it allows more than simple file edition power (permission change, deleting&#8230;).</p>
<p>I create a launcher for this task, a bit like the <strong>Administrator Terminal</strong> in <strong>Applications &gt; System Tools</strong>:</p>
<ol>
<li>Right-click on the panel &gt; <strong>Add to panel, Custom Application Launcher</strong>.</li>
<li>Name: <code>Nautilus superuser</code></li>
<li>Command: <code>gksu nautilus</code></li>
</ol>
<p><em>Et voila.</em></p>
]]></content:encoded>
			<wfw:commentRss>http://positon.org/launch-nautilus-as-a-super-user/feed</wfw:commentRss>
		<slash:comments></slash:comments>
		</item>
		<item>
		<title>Configure user directories (Download, Documents, Images, Music, Vidéos)</title>
		<link>http://positon.org/configure-user-directories-download-documents-images-music-videos</link>
		<comments>http://positon.org/configure-user-directories-download-documents-images-music-videos#comments</comments>
		<pubDate>Tue, 26 Jan 2010 22:09:00 +0000</pubDate>
		<dc:creator><![CDATA[dooblem]]></dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Gnome]]></category>
		<category><![CDATA[Nautilus]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://positon.org:81/?p=84</guid>
		<description><![CDATA[In some modern distributions like Ubuntu, there are preconfigured user directories like Desktop, Download, Documents, Images, Music, Vidéos. You can remove some of the directories you don&#8217;t use, or rename some of them. If you change their name, you can set their new place in your ~/.config/user-dirs.dirs file: # This file is written by xdg-user-dirs-update [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>In some modern distributions like Ubuntu, there are preconfigured user directories like <em>Desktop, Download, Documents, Images, Music, Vidéos</em>.</p>
<p><a href="/wp-content/uploads/dotclearold/ubuntu_user_dirs.png" title="ubuntu_user_dirs.png"><img src="/wp-content/uploads/dotclearold/.ubuntu_user_dirs_m.jpg" alt="ubuntu_user_dirs.png" style="display:block; margin:0 auto;" title="ubuntu_user_dirs.png, janv. 2010" /></a></p>
<p>You can remove some of the directories you don&#8217;t use, or rename some of them.</p>
<p>If you change their name, you can set their new place in your <code>~/.config/user-dirs.dirs</code> file:</p>
<pre>
# This file is written by xdg-user-dirs-update
# If you want to change or add directories, just edit the line you're
# interested in. All local changes will be retained on the next run
# Format is XDG_xxx_DIR=&quot;$HOME/yyy&quot;, where yyy is a shell-escaped
# homedir-relative path, or XDG_xxx_DIR=&quot;/yyy&quot;, where /yyy is an
# absolute path. No other format is supported.
# 
XDG_DESKTOP_DIR=&quot;$HOME/Bureau&quot;
XDG_DOWNLOAD_DIR=&quot;$HOME/telech&quot;
XDG_TEMPLATES_DIR=&quot;$HOME/&quot;
XDG_PUBLICSHARE_DIR=&quot;$HOME/public&quot;
XDG_DOCUMENTS_DIR=&quot;$HOME/docs&quot;
XDG_MUSIC_DIR=&quot;$HOME/zic&quot;
XDG_PICTURES_DIR=&quot;$HOME/images&quot;
XDG_VIDEOS_DIR=&quot;$HOME/cine&quot;
</pre>
<p>Then restarting Nautilus should be sufficient. Otherwise restart your Gnome session.</p>
<p><ins>References</ins>:</p>
<ul>
<li><a href="http://www.freedesktop.org/wiki/Software/xdg-user-dirs" title="http://www.freedesktop.org/wiki/Software/xdg-user-dirs">http://www.freedesktop.org/wiki/Software/xdg-user-dirs</a></li>
<li><code>aptitude show xdg-user-dirs</code></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://positon.org/configure-user-directories-download-documents-images-music-videos/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
