Hot answers tagged

23 votes
Accepted

Cannot type file paths on any Open File Dialogs?

If the file dialog is based on the Gnome toolkit (Gtk), then you should be able to toggle the location popup using keyboard shortcut Ctrl+L See GtkFileChooserWidget: The “location-popup” signal
user avatar
  • 72.4k
16 votes

Can I add recent items view to Thunar Bookmarks?

Open ~/.config/gtk-3.0/bookmarks with your text editor. Add this line at the end: recent:/ Save the file. Open thunar. There should be a recent bookmark on the side panel now
user avatar
11 votes
Accepted

How to deal with characters like ":" or "?" that make invalid filenames?

These characters ? and : are not valid on a FAT32 filesystem, so if that is where you need to copy your files you will need to rename them. From the command line you can use command-line tools such ...
user avatar
  • 90.4k
11 votes

How to create folder shortcuts in file manager?

An alternative to drag and drop is the Send To menu: Right-click on the folder you want to add as bookmark Send to → Side Pane (Create Shortcut) Drag and drop didn’t work for me. According to a post ...
user avatar
  • 1,210
10 votes

Thunar column width

Deactivate "Automatically expand columns as needed" in Thunar's menu "View" > "Configure Columns". Source: https://askubuntu.com/questions/405369/thunar-doesnt-save-settings-on-exit That does work ...
user avatar
  • 101
10 votes
Accepted

thunar-archive-plugin - Failed to extract files: No suitable archive manager found

The way thunar-archive-plugin works is the following. If you want to extract the file test.tar.gz with a right click in thunar. the process that work in background is the following: It determines ...
user avatar
9 votes

How can I open thunar so that it selects specific file?

Building upon answer from theY4Kman, this is how to do it without Python: dbus-send --type=method_call --dest=org.xfce.Thunar /org/xfce/FileManager org.xfce.FileManager.DisplayFolderAndSelect string:"...
user avatar
  • 191
8 votes
Accepted

Can I mark files as recently-used from the command line?

The following Python script will add all the files given as arguments to the recently-used list, using GIO: #!/usr/bin/python3 import gi, sys gi.require_version('Gtk', '3.0') from gi.repository ...
user avatar
6 votes
Accepted

How can I open thunar so that it selects specific file?

With a little digging, I discovered this is possible using D-Bus: #!/usr/bin/env python import dbus import os import sys import urlparse import urllib bus = dbus.SessionBus() obj = bus.get_object('...
user avatar
  • 178
5 votes
Accepted

Why is usb-drive not visible with `lsblk` after having been ejected from Thunar?

Mounting just means "set up the operating system to actively use the some (part of) a block device". Often there is some "busy" or "dirty" on the superblock that gets changed when a file system is ...
user avatar
  • 29.1k
5 votes
Accepted

Hide FreeBSD swap partition in XFCE or KDE file manager

Inspired by this post on the Ubuntu forums, I found out the culprit was the Hardware Abstraction Layer. I ignored the device in question by creating the following file: /usr/local/share/hal/fdi/...
user avatar
  • 181
4 votes

How to deal with characters like ":" or "?" that make invalid filenames?

It is definitely allowed to have ? in a filename. From the POSIX standard: Filename A sequence of bytes consisting of 1 to {NAME_MAX} bytes used to name a file. The bytes composing the name shall not ...
user avatar
  • 272k
4 votes

Is it possible to make thunar sort by ASCII order?

As of Thunar version 1.6.10 (Xfce 4.12), this is still broken There is a good alternative to Thunar, however. LXDE's default file manager is PCManFM, and it's a perfect stand-in for Thunar. Not only ...
user avatar
4 votes

How to use Nautilus as default in XFCE?

The reason Thunar starts by default in xfce is because xfce comes out of the box already in agreement with Thunar as it's default file manager. This dependency is not written in mimetype, but rather ...
user avatar
  • 924
4 votes

How to disable trash can in Thunar/XFCE?

I don't like using a wastebasket, and I don't understand why they usually aren't optional with Linux DE's/file managers. Anyway whatever, here's a stupid but functional workaround with whatever DE. ...
user avatar
4 votes
Accepted

how does Thunar generate thumbnails?

Thunar internally uses tumbler for the thumbnail generation. Tumbler is a d-bus service for applications to request thumbnails for different MIME types.
user avatar
  • 8,878
4 votes
Accepted

Is it possible to backup and restore Thunar custom actions?

Custom Thunar actions are stored in ~/.config/Thunar/uca.xml; copying that file elsewhere will provide a backup that you can restore in future simply by copying it back. When restoring a file, it’s ...
user avatar
4 votes
Accepted

Make Nemo handle the desktop in (Mint) Xfce

So, as said in the question, Thunar removal is not needed. (If it was removed, it can be re-installed; in Mint it's sudo apt install thunar mint-meta-xfce thunar thunar-archive-plugin thunar-media-...
user avatar
  • 1,009
3 votes

How can I open thunar so that it selects specific file?

With thunar's built-in command line switches, you can't. If you see man thunar, you'll figure that you could only open a folder that way, but you won't be able to preselect a file in it. Does it mean ...
user avatar
  • 983
3 votes
Accepted

How does filetype determination by filename extension in addition to XDG spec (mimeapps.list) work

Make the mime-info file $ vi ~/.local/share/mime/packages/x-r-noweb.xml $ cat ~/.local/share/mime/packages/x-r-noweb.xml <?xml version="1.0" encoding="UTF-8"?> <mime-info xmlns="http://www....
user avatar
  • 576
3 votes

How to disable trash can in Thunar/XFCE?

I found this thread while looking for the solution of the same problem as OP. Later I found there is a simpler workaround. Pressing DEL will behave as real delete when you disable gvfs-trash command, ...
user avatar
3 votes
Accepted

Command to create launcher (behind the Xfce/Thunar GUI)

This is just creating a .desktop file in the ~/Desktop folder. You can create these files manually with a text editor or using any other program that can write an INI style file. A .desktop file can ...
user avatar
3 votes
Accepted

What is the Xfce desktop manager - given it's not Thunar? (What is the Xfce equivalent of nemo-desktop)?

By request, my comment posted as an answer: xfdesktop docs.xfce.org/xfce/xfdesktop/start Unfortunately, I don't have any directly pertinent details, as I've never pursued replacement of xfdesktop ...
user avatar
  • 1,464
2 votes

How to disable trash can in Thunar/XFCE?

If you haven't used the concept of "Trash" since Windows 3.1, like me, you could use: chmod 0 /home/username/.local/share/Trash/files While this throws an error when you just use DEL, at least that ...
user avatar
2 votes

How to create folder shortcuts in file manager?

Do this: right-click on the folder you want in the contextual menu, put the pointer on "Send to" and then click "Side-pane (Create shortcut)" edit: sorry, I didn't see the above answer. I only saw ...
user avatar
  • 21
2 votes

How to deal with characters like ":" or "?" that make invalid filenames?

The ? is a special character that has significance in bash, You can work with it by escaping it with \ ie: touch test\? will make the file: test? and you can move it with mv test\? /new/loction/...
user avatar
  • 1,512
2 votes
Accepted

Launch xterm to current directory through thunar

You should change directory before launching xterm. Something like: cd "%f" && xterm -hold
user avatar
  • 564
2 votes
Accepted

Inform me when extraction of RAR archive (with unar via Thunar custom action) is finished

You could always run the command in a terminal. Your notification is when the terminal closes itself :). It will also show whatever progress / activity indicator is provided by the unar command. ...
user avatar
  • 44.6k

Only top scored, non community-wiki answers of a minimum length are eligible