<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<atom:link href="https://dev1galaxy.org/extern.php?action=feed&amp;tid=3948&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Dev1 Galaxy Forum / Thunar folder and file ordering]]></title>
		<link>https://dev1galaxy.org/viewtopic.php?id=3948</link>
		<description><![CDATA[The most recent posts in Thunar folder and file ordering.]]></description>
		<lastBuildDate>Sun, 15 Nov 2020 16:50:08 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Re: Thunar folder and file ordering]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=25859#p25859</link>
			<description><![CDATA[<p>Hello HoaS:</p><div class="quotebox"><cite>Head_on_a_Stick wrote:</cite><blockquote><div><p>... not saving my preferred setting would irritate me immensely.</p></div></blockquote></div><p>Indeed ...<br />It does irritate me.<br />Immensely.</p><p>But you grasped that already.&#160; 8^*<br />I digress ...</p><p>Preferred settings are usually set in a way that they can be recognised as such and are usually referred to as <em>Default</em> settings.<br />In Thunar: <span class="bbc">Edit</span> -&gt; <span class="bbc">Preferences</span> -&gt; <span class="bbc">File Manager Preferences</span> -&gt; <span class="bbc">Display</span> -&gt; <span class="bbc"><strong>Default View</strong></span></p><p>The <span class="bbc"><strong>Default View</strong></span> being the one that is there <span class="bbu">always</span>, no matter what.<br />ie: the preferred setting</p><p>When I click on Name, Size, Type, Date Modified, Permissions or Owner, I am <em>overriding</em> the default setting.</p><p>Whoever had this idea at Thunar HQ is (with all due respect) a dick.</p><div class="quotebox"><cite>Head_on_a_Stick wrote:</cite><blockquote><div><p>Create an executable wrapper script at <span class="bbc">/usr/local/bin/thunar</span> to reset the property every time the file manager is launched:</p><div class="codebox"><pre><code>#!/bin/sh
xfconf-query --channel thunar --property /last-sort-column --set THUNAR_COLUMN_NAME
/usr/bin/thunar &quot;$@&quot;</code></pre></div></div></blockquote></div><p>Thank you very much for taking the time to write this up for me.<br /><em>And</em> for improving my foul mood this morning.&#160; 8^7</p><p><span class="bbu">Edit:</span><br />While further researching on your lead, I found that property under the <span class="bbc">thunar</span> Channel using the <span class="bbc">Settings Editor</span> and saw that it had a check box in the <span class="bbc">Locked</span> column.</p><p>While this would imply that this setting could be locked (?) ie: Thunar would behave as if using the wrapper you wrote up and still be able to sort in a different manner if I wanted to, I am unable to check that box.</p><p>Is there a way to lock the setting?</p><p><span class="bbu">Edit_2:</span><br />I don&#039;t think this is possible.<br />The <span class="bbc">Value</span> for this <span class="bbc">Property</span> is changed <em>on-the-fly</em> as I use the different sorting options in Thunar.</p><p>I expect that locking it would not let me use any other sorting option and that what I need would require a <span class="bbc">Property</span> called something like <span class="bbc">default-sort-column</span> with a THUNAR_COLUMN_NAME <span class="bbc">Value</span>.</p><p>Cheers,</p><p>A.</p>]]></description>
			<author><![CDATA[dummy@example.com (Altoid)]]></author>
			<pubDate>Sun, 15 Nov 2020 16:50:08 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=25859#p25859</guid>
		</item>
		<item>
			<title><![CDATA[Re: Thunar folder and file ordering]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=25853#p25853</link>
			<description><![CDATA[<div class="quotebox"><cite>Altoid wrote:</cite><blockquote><div><p>Yet the sorting you last used actually <em>survives</em> a Thunar exit/restart, which is quite annoying.</p></div></blockquote></div><p>I totally disagree — not saving my preferred setting would irritate me immensely.</p><div class="quotebox"><cite>Altoid wrote:</cite><blockquote><div><p>why the flying fuck is this so?</p></div></blockquote></div><p>Because it&#039;s a sensible setting <img src="https://dev1galaxy.org/img/smilies/tongue.png" width="15" height="15" alt="tongue" /></p><div class="quotebox"><cite>Altoid wrote:</cite><blockquote><div><p>is there a way to keep Thunar from doing this?</p></div></blockquote></div><p>Create an executable wrapper script at <span class="bbc">/usr/local/bin/thunar</span> to reset the property every time the file manager is launched:</p><div class="codebox"><pre><code>#!/bin/sh
xfconf-query --channel thunar --property /last-sort-column --set THUNAR_COLUMN_NAME
/usr/bin/thunar &quot;$@&quot;</code></pre></div>]]></description>
			<author><![CDATA[dummy@example.com (Head_on_a_Stick)]]></author>
			<pubDate>Sun, 15 Nov 2020 15:18:31 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=25853#p25853</guid>
		</item>
		<item>
			<title><![CDATA[Re: Thunar folder and file ordering]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=25852#p25852</link>
			<description><![CDATA[<p>Hello:</p><div class="quotebox"><cite>mknoop wrote:</cite><blockquote><div><p>... files and directories for a folder will be listed as they were the last time I opened that particular folder.<br />Are you not seeing this?</p></div></blockquote></div><p>Yes, I am.</p><p>The problem arises when you sort files or folders (whichever way) and then exit Thunar.<br />When you open Thunar again, you get the files sorted the way you did it previously.<br />ie: it survives a restart.</p><p>eg: if you sort files by date in a folder and then exit Thunar, on opening Thunar again, you get the files sorted by date <em>again</em>.<br />Not according to the default alphabetical sorting.<br />Yes, you get folders first if you set it that way in <span class="bbc">File Manager Preferences</span> but the view is not reset to what you can expect to be the default (alphabetical sorting)</p><p>I really do not need Thunar to remind me how I sorted my files to be seen the last time I used it.<br />Why?</p><p>Because I will have purposely (or not) forgotten that very unneccesary tidbit of information.<br />Why?</p><p>Because alphabetical is the <span class="bbu">common sense</span> way to sort anything with a <em>name</em> made up of letters in an alphabet.<br />Hence the concept of <em>alphabetical</em>. </p><p>And it has <span class="bbu">always</span> been that way, probably from when the dictionary was invented.</p><p>Seeing that there is no option to set this type of sorting permanently in <span class="bbc">File Manager Preferences</span>, it stands to reason that a <span class="bbc">sort by date</span> action (or any other) is a temporary one.<br />ie: to specifically find a recently edited/modified file.</p><p>Yet the sorting you last used actually <em>survives</em> a Thunar exit/restart, which is quite annoying.<br />Very Poetteringesque™, if I may say so.</p><p>My question would then be: <span class="bbs">why the flying fuck is this so?</span> is there a way to keep Thunar from doing this?</p><p>Cheers,</p><p>A.</p>]]></description>
			<author><![CDATA[dummy@example.com (Altoid)]]></author>
			<pubDate>Sun, 15 Nov 2020 14:13:54 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=25852#p25852</guid>
		</item>
		<item>
			<title><![CDATA[Re: Thunar folder and file ordering]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=25849#p25849</link>
			<description><![CDATA[<p>I have had a similar problem, iirc it was the permissions for the settings file would not allow change. ymmv</p>]]></description>
			<author><![CDATA[dummy@example.com (GlennW)]]></author>
			<pubDate>Sun, 15 Nov 2020 02:34:41 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=25849#p25849</guid>
		</item>
		<item>
			<title><![CDATA[Re: Thunar folder and file ordering]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=25847#p25847</link>
			<description><![CDATA[<p>My experience is that the files and directories for a folder will be listed as they were the last time I opened that particular folder.&#160; The default for a folder I have not previously opened is folders first by name ascending followed by files by name ascending.&#160; Are you not seeing this?</p>]]></description>
			<author><![CDATA[dummy@example.com (mknoop)]]></author>
			<pubDate>Sun, 15 Nov 2020 00:07:27 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=25847#p25847</guid>
		</item>
		<item>
			<title><![CDATA[Thunar folder and file ordering]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=25845#p25845</link>
			<description><![CDATA[<p>Hello:</p><p>One thing I do not like about Thunar (Thunar 1.6.11 in ascii) is how it orders folders and files, placing the last opened file or folder at the top of the list.<br />Find it quite annoying having to reset it every time.</p><p>Anyone know where this specific behaviour is set?</p><p>Thanks in advance,</p><p>A.</p>]]></description>
			<author><![CDATA[dummy@example.com (Altoid)]]></author>
			<pubDate>Sat, 14 Nov 2020 20:59:51 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=25845#p25845</guid>
		</item>
	</channel>
</rss>
