Questions tagged [thunar]

Thunar is the file manager of Xfce. Question tagged thunar should be about programming with this file manager's API or about compiling and modifying the source code of Thunar.

Thunar is a file manager for Linux and other Unix-like systems, written using the GTK+ 2 toolkit, and shipped with Xfce version 4.4 RC1 and later.

16 questions
3
votes
1 answer

How to tell google chrome to respect system default file browser (Thunar) on Xfce?

In Chrome, after downloading a file, clicking on the "Show in folder" menu now force to use nautilus to open the folder, but my system preferred file browser is Thunar on my xfce desktop. is there a way to let chrome to open folder using system…
FangQ
  • 1,444
  • 10
  • 18
3
votes
1 answer

How do Thunar and MC decide how to open a file?

It seems that Thunar and Midnight Commander (any maybe other tools) don't use Mailcap to decide how to open a file. What do they use instead? Background of the question: On my system, Thunar and Midnight Commander open all ODT files with Okular…
vog
  • 23,517
  • 11
  • 59
  • 75
2
votes
1 answer

Python lxml: Ignore XML declaration (errors)

I am trying to parse the file browser Thunar's custom actions files (~/.config/Thunar/uca.xml) with the lxml Python module. For some reason, Thunar obviously writes a malformed declaration into these files:
NobodyInPerson
  • 115
  • 1
  • 11
1
vote
0 answers

Creating a Thunar Custom Action to compare the md5sum of file against an md5 in the clipboard

Trying to make a Thunar Custom Action for XFCE that gets the md5sum of the file you right click and compares it to the md5 in the clipboard, after a pattern match is used to check if what is in the clipboard is an md5. Then output the results in…
1
vote
1 answer

How do you kill the thunar process?

If I'd like to kill all instances of that file manager, I'd do killall thunar which gives me thunar: no process found But this FM is definitely running! Similarly ps aux | grep thunar doesn't find anything and yields: cadoiz 27791 0.0 0.0…
Cadoiz
  • 1,446
  • 21
  • 31
1
vote
0 answers

Using wildcards in thunar search, search by pattern / bulk renamer

Is it possible to use wildcards for searching for files / pattern? Same question for the built in bulk renamer?
leakth
  • 11
  • 1
1
vote
1 answer

Accidentally created a MATLAB file

I was recently playing around with a command-line hex editor called Hx, and decided to create a sample file to play around in. I typed in the bytes 23, 23, 23, 23, and 23. Somehow, my system file manager (Thunar) recognized this as a MATLAB file. …
0
votes
1 answer

add View menu to thunar context menu

How can I add the View menu to right click in Thunar? I would like to be able to right click an empty area in the Thunar window to at least select between icon, compact list, or details list if not access the rest of the View menu. In reference to…
0
votes
1 answer

D-Bus - 'ServiceUnknown' exception encountered while calling a remote procedure

I'm trying to call the remote procedure DisplayFolderAndSelect() of Thunar file manager from my own program: import dbus bus = dbus.SessionBus() obj = bus.get_object('org.xfce.Thunar', '/org/xfce/FileManager') iface = dbus.Interface(obj,…
user6039980
  • 3,108
  • 8
  • 31
  • 57
0
votes
2 answers

Using SFTP with Thunar file manager and a PEM key on Ubuntu

I am using the Thunar file manager on Ubuntu Desktop and wish to connect to a Ubuntu server using SFTP and a PEM key. What is the syntax in Thunar for this? Was thinking along the lines of sftp://user@myserver.com /pemkey ?
0
votes
1 answer

source compiled to 'shared library'

I have a simple source-file 'source.cpp: #include using namespace std; int main() { int ival(0); cout << "Bitte eine Ganzzahl: "; cin >> ival; cout << "Sie gaben die Zahl " << ival << " ein\n"; cout << "Ein Monster…
0
votes
1 answer

Where does Tumbler (of Thunar) store/cache its thumbnails?

Tumbler is the thumbnailer for Thunar, from XFCE. Where does it store its thumbnails? Where is the thumbnail cache? I managed to see #define THUMBNAILER_CACHE_PATH "/org/freedesktop/thumbnails/Cache1" in the source code for Tumbler. Not sure if…
650aa6a2
  • 172
  • 11
0
votes
1 answer

Script to append timestamp prefix to variable

I've got a Thunar script with this only line: cp "$@" "$@-$TS".txt it appends a timestamp suffix and the .txt extension to the file I right-click in Now, I want to append a timestamp prefix and also add the .txt extension, but it doesn't work: cp…
-1
votes
0 answers

customize icons/themes of thunar based on the folders

I have two folders whose files/subfolders have similar names. These are shared files/folders and I cannot rename them. To avoid confusion, is there a way to customize thunar so that e.g. all files/subfolders under folder #1 use one theme and/or…
underflow
  • 143
  • 1
  • 1
  • 4
-1
votes
2 answers

Escaping characters in bash

I use thunar as a file manager I want to use "custom actions" on certain files (Thunar --> Edit --> Configure Custom Actions...) the command I use is: xfce4-terminal -e "md5sum '%F'" --hold This works fine, except when the file path or file name…
user1557314
  • 169
  • 3
  • 14
1
2