WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Thunar settings not holding  (Read 8546 times)

Offline madmax

  • Jr. Member
  • **
  • Posts: 98
Thunar settings not holding
« on: October 16, 2019, 10:04:58 AM »
Hello:

Now that I have Thunar working, I cannot get it to keep the settings.
See

ie:
Edit -> Preferences 
View -> Show Hidden Files / View as Detailed List

I shut down properly with the Backup option and .filetool.lst includes Home and opt.
I have jpilot installed and it holds its settings properly.

What am I doing wrong?

Thanks in advance.

MM

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14812
Re: Thunar settings not holding
« Reply #1 on: October 16, 2019, 10:11:42 AM »
Where does thunar keep its settings?

Offline madmax

  • Jr. Member
  • **
  • Posts: 98
Re: Thunar settings not holding
« Reply #2 on: October 16, 2019, 10:57:29 AM »
Hello:
Where does thunar keep its settings?
No idea ...
I'm still trying to find out where that is to add it to filetool.sh list.

Cheers,

MM

Offline madmax

  • Jr. Member
  • **
  • Posts: 98
Re: Thunar settings not holding
« Reply #3 on: October 16, 2019, 12:02:18 PM »
Hello:

I'm having to quote myself because I cannot find where to edit my last post.
I haven't been on the site for a while and cannot recall if the option was available.

No idea ...
I'm still trying to find out where that is to add it to filetool.sh list.

I actually forgot to mention the most important detail: Thunar does not hold settings within the same TC session.
ie: if I close Thunar and open it again, the options I set previously did not hold.

Cheers,

MM

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14812
Re: Thunar settings not holding
« Reply #4 on: October 16, 2019, 02:39:47 PM »
If you start thunar from a terminal window and then save the settings, do you see an error message?

Offline madmax

  • Jr. Member
  • **
  • Posts: 98
Re: Thunar settings not holding
« Reply #5 on: October 16, 2019, 03:28:23 PM »
Hello>
... thunar from a terminal window and then save the settings, do you see an error message?
No, no errors on the terminal.

I've also dicovered that Thunar does not hold settings not only after closing it and then opening it again but before it is closed.

eg> If I change the settings and then close the settings window ...

ie: Edit -> Preferences -> Close

... on opening the Preferences menu again I find that the settings I had changed have gone back to the previous state they were in, all this without having closed Thunar.   

Thanks for your input.

Cheers,
MM

Offline madmax

  • Jr. Member
  • **
  • Posts: 98
Re: Thunar settings not holding
« Reply #6 on: October 17, 2019, 11:52:02 AM »
Hello:
Where does thunar keep its settings?
In my Devuan ASCII installation, it seems that the Thunar settings are stored in /home/userid/.config/xfce4/xfconf/xfce-perchannel-xml/thunar.xml

Code: [Select]
<?xml version="1.0" encoding="UTF-8"?>
<channel name="thunar" version="1.0">
  <property name="last-view" type="string" value="ThunarDetailsView"/>
  <property name="last-icon-view-zoom-level" type="string" value="THUNAR_ZOOM_LEVEL_NORMAL"/>
  <property name="last-details-view-zoom-level" type="string" value="THUNAR_ZOOM_LEVEL_SMALLER"/>
  <property name="last-details-view-column-widths" type="string" value="50,126,50,194,409,234,77,53,102"/>
  <property name="last-window-width" type="int" value="1181"/>
  <property name="last-window-height" type="int" value="835"/>
  <property name="last-window-maximized" type="bool" value="false"/>
  <property name="last-separator-position" type="int" value="182"/>
  <property name="last-show-hidden" type="bool" value="true"/>
  <property name="misc-single-click" type="bool" value="true"/>
  <property name="last-sort-column" type="string" value="THUNAR_COLUMN_NAME"/>
  <property name="last-sort-order" type="string" value="GTK_SORT_ASCENDING"/>
  <property name="misc-date-style" type="string" value="THUNAR_DATE_STYLE_SHORT"/>
  <property name="last-details-view-fixed-columns" type="bool" value="true"/>
  <property name="misc-single-click-timeout" type="uint" value="253"/>
  <property name="last-side-pane" type="string" value="ThunarShortcutsPane"/>
  <property name="last-location-bar" type="string" value="ThunarLocationEntry"/>
  <property name="last-details-view-visible-columns" type="string" value="THUNAR_COLUMN_DATE_MODIFIED,THUNAR_COLUMN_NAME,THUNAR_COLUMN_OWNER,THUNAR_COLUMN_PERMISSIONS,THUNAR_COLUMN_SIZE,THUNAR_COLUMN_TYPE"/>
  <property name="last-details-view-column-order" type="string" value="THUNAR_COLUMN_NAME,THUNAR_COLUMN_SIZE,THUNAR_COLUMN_TYPE,THUNAR_COLUMN_DATE_MODIFIED,THUNAR_COLUMN_DATE_ACCESSED,THUNAR_COLUMN_PERMISSIONS,THUNAR_COLUMN_OWNER,THUNAR_COLUMN_MIME_TYPE,THUNAR_COLUMN_GROUP"/>
</channel>

My TC 7.2 installation (to see if I can get the nvidia-340 stuff working) only has home/tc/.config/Thunar/accels.scm and home/tc/.config/Thunar/uca.xlm

accels.scm is an automated accelerator map dump and uca.xlm is for setting Thunar custom actions.

Evidently, instaling Thunar does not pull these settings in (not in 7.2 or 10.1).
Is there some dependency missing here?

Thanks in advance,

MM




Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11618
Re: Thunar settings not holding
« Reply #7 on: October 17, 2019, 12:06:49 PM »
Hi madmax
... accels.scm is an automated accelerator map dump and uca.xlm is for setting Thunar custom actions. ...
uca.xlm  can be found here:
Code: [Select]
/usr/local/etc/xdg/Thunar/uca.xmlMaybe it needs  xdg-utils?

Offline madmax

  • Jr. Member
  • **
  • Posts: 98
Re: Thunar settings not holding
« Reply #8 on: October 17, 2019, 08:43:26 PM »
Hello Rich:
uca.xlm  can be found here:
Code: [Select]
/usr/local/etc/xdg/Thunar/uca.xml
It has different content.

Maybe it needs  xdg-utils?
I loaded it but still no fun.

Seems it's been rather a long time since the presently available version of Thunar was compiled for TC, like 4/5 years ago.
Maybe something's gone awry with it and the newer kernels/libraries?

The fact that libffi5 was needed and was not in the dep file sort of tells us something ...
No one noticed it before? eg: the version for TC 7.2 has the same problem.
Or is it just that Thunar is not a popular choice with TCers?

That said: is there any other suitable file managed for TC?

Thanks in advance,

MM

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14812
Re: Thunar settings not holding
« Reply #9 on: October 18, 2019, 01:50:41 AM »
Do you need xfconf or one of the xfce4 bits and pieces?

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14812
Re: Thunar settings not holding
« Reply #10 on: October 18, 2019, 01:55:57 AM »
That said: is there any other suitable file managed for TC?

There's emelfm, midnight commander (mc), nautilus, rox-filer, spacefm and possibly others.

Offline madmax

  • Jr. Member
  • **
  • Posts: 98
Re: Thunar settings not holding
« Reply #11 on: October 18, 2019, 05:34:21 AM »
Hello:
Do you need xfconf or one of the xfce4 bits and pieces?
I really don't know, especially since I am not getting any feedback from Thunar ie: error messages.

But it seems to me that it's the .dep file that should know about what's needed for Thunar to work as intended.
And in consequence, drag in what's needed into onboot.lst.

I could try loading xfconf but what bits and pieces may also be needed, it's rather a lottery or loading every xfce file available and see what happens.

Thanks for your input.

Cheers,

MM

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14812
Re: Thunar settings not holding
« Reply #12 on: October 18, 2019, 06:46:32 AM »
Looking for runtime deps is something of a lottery - you could also try looking at the thunar source code..

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11618
Re: Thunar settings not holding
« Reply #13 on: October 18, 2019, 08:59:05 AM »
Hi madmax
xfconf  is included in the dependency tree. I see there's a settings file that relies on  dbus:
Code: [Select]
tc@E310:~$ cat x/squashfs-root/usr/local/bin/thunar-settings
#!/bin/sh
#
# vi:set et ai sw=2 sts=2 ts=2: */

test "x$DISPLAY" != "x" || DISPLAY=:0

output=`dbus-send --session --print-reply --dest=org.xfce.FileManager \
  /org/xfce/FileManager org.xfce.FileManager.DisplayPreferencesDialog \
  "string:$DISPLAY" "string:$DESKTOP_STARTUP_ID"`

if ! [ $? -eq 0 ]; then
  echo $output
  exit 1
fi
tc@E310:~$

Check if  dbus  is running. Does this produce any response:
Code: [Select]
ps aux | grep -i dbus | grep -v grep
A string search of the  Thunar  executable shows no sign of it running the  thunar-settings  script:
Code: [Select]
tc@E310:~$ busybox strings -n 10 x/squashfs-root/usr/local/bin/thunar | grep -iE 'conf|used|sett'
gtk_icon_size_lookup_for_settings
xfce_rc_config_open
gtk_settings_get_for_screen
libxfconf-0.so.2
xfconf_channel_get_string_list
xfconf_channel_reset_property
xfconf_channel_get
xfconf_channel_get_property
xfconf_channel_has_property
xfconf_channel_set_property
xfconf_channel_set_string_list
xfconf_channel_set_string
xfconf_init
_IO_stdin_used
Thunar: Failed to initialize Xfconf: %s
The selected application is used to open this and other files of type "%s".
Configure Columns in the Detailed List View
Configure _Columns...
Configure the columns in the detailed list view
Confirm to replace files
%s of %s (%d%% used)
toolbar-reconfigured
ThunarIconFactory
when the mouse pointer is paused over it:
<a href="volman-config:">Configure</a> the management of removable drives
--configure
Failed to display the volume management settings
Your Thunar settings have been migrated to Xfconf.
The config file "%s"
is not used anymore.
Configuration
tc@E310:~$

Maybe that script needs to be run before starting  Thunar?

Offline madmax

  • Jr. Member
  • **
  • Posts: 98
Re: Thunar settings not holding
« Reply #14 on: October 18, 2019, 08:59:26 AM »
Hello:
... you could also try looking at the thunar source code.

If I was knowledgeable enough to be do that ie: actually be able to make something out of what the source code says, I would have compiled a the new version.

But I'm not (don't have a clue) I'm not a coder/programmer, just a TC user.
The most I am able to do is try to get it working and report here whatever I find when it does not.
eg: like with the issue regarding libffi5.

Thanks for your input.
Cheers,

MM