Unix & Linux Stack Exchange
Q&A for users of Linux, FreeBSD and other Unix-like operating systems
Latest Questions
4
votes
3
answers
3703
views
How to force thumbnail refresh in PCmanFM
How can I force `pcmanfm` to refresh its thumbnails. I have a directory of photos in JPG format, (taken with iphone). I have rotated some of these using Ubuntu Image Viewer. When I rotate the image the thumbnail does not update. How can I force it to update? I have tried deleting all thumbnails form...
How can I force
pcmanfm
to refresh its thumbnails. I have a directory of photos in JPG format, (taken with iphone). I have rotated some of these using Ubuntu Image Viewer. When I rotate the image the thumbnail does not update. How can I force it to update?
I have tried deleting all thumbnails form ~/.cache/thumbnails
and selecting "reload folder" in pcmanfm
but no joy. Any suggestions? Where are the thumbnails actually stored?
Using pcmanfm 1.2.4 on Ubuntu 16.04.
Ron
(141 rep)
Dec 29, 2017, 03:30 PM
• Last activity: May 2, 2025, 12:02 AM
0
votes
0
answers
31
views
Using wezterm with pcmanfm
In pcmanfm, I'd like to open the current folder in wezterm. I've typed "wezterm" in the "Terminal emulator" box in pcmanfm (found at Preferences -> Advanced -> Terminal emulator). If I go to Tools -> Open Current Folder in Terminal, wezterm does start, but not in the correct directory, whereas gnome...
In pcmanfm, I'd like to open the current folder in wezterm.
I've typed "wezterm" in the "Terminal emulator" box in pcmanfm (found at Preferences -> Advanced -> Terminal emulator).
If I go to Tools -> Open Current Folder in Terminal, wezterm does start, but not in the correct directory, whereas gnome-terminal does start in the correct directory.
I noticed that wezterm isn't listed in this file [terminals.list](https://github.com/lxde/libfm/blob/3289abf583030c664babae64a73d1981afcbe8ed/data/terminals.list) in libfm used by pcmanfm. Maybe wezterm isn't supported by pcmanfm?
maliky0_o
(101 rep)
Apr 30, 2025, 12:29 PM
1
votes
1
answers
48
views
lxqt-session starts an unwanted file manager
I used to use Compiz as my window manager (no desktop environment) on Suse Tumbleweed. When I knew that I can use the LXQT desktop with a window manager of my choice, I installed it and at the first startup I was presented with a list of the installed WM and I chose Compiz. Everything is quite nice,...
I used to use Compiz as my window manager (no desktop environment) on Suse Tumbleweed.
When I knew that I can use the LXQT desktop with a window manager of my choice, I installed it and at the first startup I was presented with a list of the installed WM and I chose Compiz.
Everything is quite nice, my Compiz configuration was preserved and I will probably use this setup for a long time.
BUT
When the LXQT session (
/usr/bin/lxqt-session
, an ELF binary) starts, by default it starts the LXQT file manager like pcmanfm-qt --desktop
and I don't want it.
How can I prevent /usr/bin/lxqt-session
from starting pcmanfm-qt --desktop
gboffi
(1376 rep)
Dec 25, 2024, 10:24 PM
• Last activity: Dec 25, 2024, 10:41 PM
2
votes
1
answers
1061
views
How to solve the error "The name :1.83 was not provided by any .service files" (PCManFM-Qt Version at Debian 11 bullseye)
When I try to connect to a remote server using PCManFM-Qt Version: 0.16.0: "Go" "Connet to server" "Type SSH" I get the error message: The name: 1.83 was not provided by any service files Does did not solve to install: jmtpfs mtp-tools libmtp-runtime cdtool libcurl3-gnutls libcurl4 libtiff5 umtp-res...
When I try to connect to a remote server using PCManFM-Qt Version: 0.16.0:
"Go" "Connet to server" "Type SSH" I get the error message:
The name: 1.83 was not provided by any service files
Does did not solve to install: jmtpfs mtp-tools libmtp-runtime cdtool libcurl3-gnutls libcurl4 libtiff5 umtp-responder go-mtpfs gmtp libid3tag0 lxqt-archiver libfm-tools nautilus. Strangely nautilus connects without any errors.
Interestingly, the connections I make in Nautilus show up in PCManFM-Qt
Marcos G. Bocca
(21 rep)
Feb 9, 2023, 11:58 PM
• Last activity: Jul 23, 2023, 11:17 PM
1
votes
1
answers
105
views
Where is the grouping & list of applications defined for PCManFM-Qt?
**WHAT I DO:** PCManFM-Qt > Open With ... > Other Applications Choose Application > Installed Applications **WHAT IT DOES:** Displays a blank box. [![enter image description here][1]][1] **WHAT I EXPECT:** I expect to see a tree of applications grouped by type. When I use Dolphin it works as expecte...
**WHAT I DO:**
PCManFM-Qt > Open With ... > Other Applications
Choose Application > Installed Applications
**WHAT IT DOES:**
Displays a blank box.
**WHAT I EXPECT:**
I expect to see a tree of applications grouped by type.
When I use Dolphin it works as expected.


CW Holeman II
(3714 rep)
Jul 5, 2023, 04:23 PM
• Last activity: Jul 6, 2023, 03:07 PM
1
votes
2
answers
218
views
Which mountpoint paths will automatically show up in file browser under devices?
Some examples: - If I plug an external USB drive in, it will get mounted under `/media/$USER/ ` and my file browsers will automatically list the mountpoint under devices. - The same will happen if I manually mount something into a regular folder in my home directory. However, my file browsers will n...
Some examples:
- If I plug an external USB drive in, it will get mounted under
/media/$USER/
and my file browsers will automatically list the mountpoint under devices.
- The same will happen if I manually mount something into a regular folder in my home directory. However, my file browsers will not list the mountpoint if that folder is hidden.
- The file browser also won't list mountpoints that are in /tmp
, for example.
So what are the conditions for a mountpoint to automatically show up in file browsers under devices? Since PCManFM and Nautilus seemingly behave exactly the same, I believe there might be general rules for this? Can I "force" a mountpoint (which is a hidden folder or in /tmp
, for example) to show up under devices?
finefoot
(3554 rep)
Apr 13, 2023, 02:04 AM
• Last activity: Apr 13, 2023, 04:25 PM
1
votes
0
answers
379
views
PCManFM reverts back to icon view even after setting default to list view
I have configured PCManFM to use "list" view by default; however, it reverts back to "icon" view on its own. This is my configuration: ~/.config/pcmanfm/default/pcmanfm.conf [config] bm_open_method=0 [volume] mount_on_startup=1 mount_removable=1 autorun=1 [ui] always_show_tabs=0 max_tab_chars=32 win...
I have configured PCManFM to use "list" view by default; however, it reverts back to "icon" view on its own.
This is my configuration:
~/.config/pcmanfm/default/pcmanfm.conf
[config]
bm_open_method=0
[volume]
mount_on_startup=1
mount_removable=1
autorun=1
[ui]
always_show_tabs=0
max_tab_chars=32
win_width=636
win_height=1060
splitter_pos=385
media_in_new_tab=0
desktop_folder_new_win=0
change_tab_on_drop=1
close_on_unmount=1
focus_previous=0
side_pane_mode=hidden;places
view_mode=list
show_hidden=0
sort=name;ascending;
toolbar=newtab;navigation;home;
show_statusbar=1
pathbar_mode_buttons=0
Shortly thereafter, it turns into this:
[config]
bm_open_method=0
[volume]
mount_on_startup=1
mount_removable=1
autorun=1
[ui]
always_show_tabs=0
max_tab_chars=32
win_width=836
win_height=1030
splitter_pos=1
media_in_new_tab=0
desktop_folder_new_win=0
change_tab_on_drop=1
close_on_unmount=1
focus_previous=0
side_pane_mode=places
view_mode=icon
show_hidden=0
sort=name;ascending;
toolbar=newtab;navigation;home;
show_statusbar=1
pathbar_mode_buttons=0
View mode gets changed to icon.
I even tried setting the file to be immutable :) and ... no dice (I closed all running instances). Is PCManFM respecting the configuration, or is there some configuration file floating around somewhere else?
Walter
(1264 rep)
Feb 6, 2020, 07:33 PM
• Last activity: Mar 29, 2023, 03:23 PM
0
votes
1
answers
134
views
Focus the first Window Where pcmanfm is Running
From the command line, what is the best way to locate the first window where `pcmanfm` is running, and then give that window focus? `pcmanfm` does not showcase it's application name on the title bar of the window in which it is running, so you can't focus it using `wmctrl -a pcmanfm` (which works fo...
From the command line, what is the best way to locate the first window where
pcmanfm
is running, and then give that window focus?
pcmanfm
does not showcase it's application name on the title bar of the window in which it is running, so you can't focus it using wmctrl -a pcmanfm
(which works for me in other applications that do indeed showcase their application's name in the window title bar).
This is just one example, but what I'm really looking for is a better method of locating windows that are running a particular command, and then giving that window focus. The title bar method I've been using just isn't always reliable.
Lonnie Best
(5415 rep)
Jan 18, 2022, 11:45 AM
• Last activity: Nov 11, 2022, 02:29 PM
0
votes
0
answers
861
views
File manager time to run --- why are some very slow?
Some file managers open very slow on kubuntu, bullseye 11. I had a problem on UDisks2VolumeMonitor, so fixing this, halved the time needed to run. (ps. UDisks2VolumeMonitor --> problem on mraid2 not fixed) fixed by applying some of these: sudo apt-get install appmenu-gtk2-module chmod +x /usr/libexe...
Some file managers open very slow on kubuntu, bullseye 11.
I had a problem on UDisks2VolumeMonitor, so fixing this, halved the time needed to run.
(ps. UDisks2VolumeMonitor --> problem on mraid2 not fixed)
fixed by applying some of these:
sudo apt-get install appmenu-gtk2-module
chmod +x /usr/libexec/gvfs-gphoto2-volume-monitor
sudo apt install --reinstall glib2 -y
sudo apt install --reinstall gsettings-desktop-schemas
fixing XDG_DATA_DIRS paths
references:
Do you have overlay scrollbars activated? If yes, take a look at this bug report:
https://bugs.launchpad.net/ubuntu/+source/xfce4-settings/+bug/1239014
https://gitlab.gnome.org/GNOME/gvfs/-/issues/541
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=950174
So i measured the time these file managers need to run on my system:
Dolphin and Krusader less than 10sec.. other more then 30sec.
Note: I have 8 usb HDD on self-powered usb hub mounted.
So i would like to trace why eg. Nautilus takes 1 while minute to run!!! How i can do this?
Do you recommend any other file manager that can be faster (NOT Terminal based)?
nemo
Current gtk theme is not known to have nemo support (Adwaita), adding some...
real 0m34.582s
user 0m0.755s
sys 0m0.036s
after some changes / updates - no error on UDisks2VolumeMonitor
Current gtk theme is not known to have nemo support (Adwaita), adding some...
real 0m28.351s
user 0m0.538s
sys 0m0.048s
Nautilus
error StartServiceByName for rg.gtk.vfs.UDisks2VolumeMonitor:
real 1m20.784s
user 0m0.878s
sys 0m0.072s
after some changes / updates - no error on UDisks2VolumeMonitor
real 0m55.335s
user 0m0.642s
sys 0m0.080s
thunar
error StartServiceByName for rg.gtk.vfs.UDisks2VolumeMonitor:
real 0m54.789s
user 0m0.465s
sys 0m0.076s
thunar
after some changes / updates - no error on UDisks2VolumeMonitor
real 0m29.717s
user 0m0.523s
sys 0m0.125s
pcmanfm
WARNING **: 10:19:01.112: XDG_TEMPLATES_DIR is set to invalid path, ignoring it
error StartServiceByName for rg.gtk.vfs.UDisks2VolumeMonitor:
real 0m52.694s
user 0m0.250s
sys 0m0.032s
after some changes / updates - no error on UDisks2VolumeMonitor
WARNING **: 10:19:01.112: XDG_TEMPLATES_DIR is set to invalid path, ignoring it
real 0m27.530s
user 0m0.410s
sys 0m0.094s
dolphin
QApplication: invalid style override 'GTK+' passed, ignoring it.
qt.qpa.xcb: QXcbConnection: XCB error: 5 (BadAtom), sequence: 628, resource id: 0, major code: 20 (GetProperty), minor code: 0
real 0m7.418s
user 0m0.833s
sys 0m0.091s
QApplication: invalid style override 'GTK+' passed, ignoring it.
qt.qpa.xcb: QXcbConnection: XCB error: 5 (BadAtom), sequence: 628, resource id: 0, major code: 20 (GetProperty), minor code: 0
real 0m2.385s
user 0m0.708s
sys 0m0.087s
krusader
NOT TESTED WITH UDisks2VolumeMonitor error
warning default unknown@0 # QApplication: invalid style override 'GTK+' passed, ignoring it
real 0m2.268s
user 0m0.684s
sys 0m0.207s
Estatistics
(350 rep)
Jul 30, 2022, 09:46 AM
0
votes
1
answers
156
views
problem with thunar after installing lxqt desktop
I have Debian 11 with xfce desktop.After i also installed lxqt desktop when i open the Thunar file manager it doesn't show two of my ntfs partitions in left panel. But the partitions can be mounted via terminal. And those partitions are not displayed in pcmanfm either. Is there a solution to this...
I have Debian 11 with xfce desktop.After i also installed lxqt desktop when i open the Thunar file manager it doesn't show two of my ntfs partitions in left panel.
But the partitions can be mounted via terminal.
And those partitions are not displayed in pcmanfm either.
Is there a solution to this problem?
Alien_xxx
(73 rep)
Nov 27, 2021, 11:28 AM
• Last activity: Nov 28, 2021, 01:02 PM
1
votes
2
answers
1024
views
Debian 9: USB-volumes are not displayed in PCManFM-Qt's sidebar
I run Debian 9 with `LXQt` what is completely fine. However, attached USB-volumes are not getting displayed in the `PCManFM-Qt` sidebar in category `Devices` intended for that (see screenshot). Which package is responsible for that? I activated all three necessary options in `Preferences` -> `Volume...
I run Debian 9 with
**Screenshot of the working taskbar widget:**
PCManFM-Qt correctly" class="img-fluid rounded" style="max-width: 100%; height: auto; margin: 10px 0;" loading="lazy">
Again, clicking on the taskbar widget the device gets opened in
LXQt
what is completely fine. However, attached USB-volumes are not getting displayed in the PCManFM-Qt
sidebar in category Devices
intended for that (see screenshot).
Which package is responsible for that?
I activated all three necessary options in Preferences
-> Volume
, but the drives still don't appear in the sidebar. Ironically the taskbar-widget shows the drives and I can easily open them in PCManFM-Qt
by clicking on the widget. However they are never displayed in the sidebar while the category Devices
remains completely empty. During common workflows that is a bit uncomfortable...
----------
**Screenshot of the issue:**


PCManFM-Qt
without any problems. Only displaying its existence in the sidebar does not work.
Dave
(1046 rep)
May 16, 2018, 01:01 PM
• Last activity: Nov 11, 2021, 01:14 AM
10
votes
2
answers
3797
views
Default to "Execute" when double-clicking on a shell script in PCManFM
Is it possible to get an executable to execute by default? What I mean is this. I have an `.sh` file, which if I click on twice, it will show me this: ![enter image description here][1] If I then click `Execute`, it does the right thing. Is it possible to get it to `Execute` without being shown the...
Is it possible to get an executable to execute by default?
What I mean is this. I have an
If I then click
.sh
file, which if I click on twice, it will show me this:

Execute
, it does the right thing. Is it possible to get it to Execute
without being shown the Execute File
dialog box? So simply by double clicking the .sh
file, it should do its thing without showing me the Execute File
dialog box.
I am using Lubuntu/PCManFM if that info is needed.
oshirowanen
(2661 rep)
Jul 1, 2014, 10:15 AM
• Last activity: Oct 20, 2021, 03:34 PM
1
votes
1
answers
1824
views
Connecting to SFTP with PcManFM
When I run `pcmanfm 'sftp://user@machine'`, it gives me a 'Operation not supported' error. I think I'm just missing some software for mounting sftp connection into the file system, but I have no idea what it is. Simply running `sftp user@machine` works as expected, but I'd like to be able to see the...
When I run
pcmanfm 'sftp://user@machine'
, it gives me a 'Operation not supported' error. I think I'm just missing some software for mounting sftp connection into the file system, but I have no idea what it is. Simply running sftp user@machine
works as expected, but I'd like to be able to see the file system from pcmanfm, just like you can with KDE's dolphin.
I'm fairly certain that this is possible since when I was searching for an answer to this problem, I found some people asking about this, however I didn't find any actual solutions to this problem. Any idea how to resolve it?
ItsDrike
(133 rep)
Sep 6, 2021, 10:17 PM
• Last activity: Sep 8, 2021, 04:22 PM
0
votes
0
answers
60
views
How to mimic rename file operations on a backup disk having same layout?
I want to tidy my external harddrive. This harddrive is kept in sync with a backup via rsync. When I move/rename (and delete for convinience) files on the disk, it would be nice if those fast actions could also be performed on the backup drive analogical, so I don't have to rsync the corresponding f...
I want to tidy my external harddrive. This harddrive is kept in sync with a backup via rsync.
When I move/rename (and delete for convinience) files on the disk, it would be nice if those fast actions could also be performed on the backup drive analogical, so I don't have to rsync the corresponding files again.
For tidying I like to use a GUI (i.e. pcmanfm).
Are there any tools capable of this?
//Edited b/c delete makes my point harder to see - I want to avoid rsync deleting renamed/moved files and copying them again to the new location. And I'd like to stick to the tidying process as I'm used to (move/rename and delete things in a file manager with graphical interface).
kai-dj
(186 rep)
Aug 8, 2021, 07:56 AM
• Last activity: Aug 8, 2021, 11:06 AM
2
votes
1
answers
582
views
How to use lsof to find high activity file writing?
I recently discovered that a buggy program called pcmanfm was writing 200 MB per second to its run.log file, so I had to find ways to combat that. I discovered what file it was that it was writing to in a laborious manner: du -h for various directories trying to find the offending file. I'm now face...
I recently discovered that a buggy program called pcmanfm was writing 200 MB per second to its run.log file, so I had to find ways to combat that. I discovered what file it was that it was writing to in a laborious manner: du -h for various directories trying to find the offending file.
I'm now faced with another similar situation. Something is filling up my hard drive and I have no idea what it is, although I can guess.
Is there a way to use lsof to find out what 1 or 2 files are being written to at a high rate?
* Can I sort the file list by file size?
* Can I sort the file list by writing rate i.e. bytes/second?
wudude
(247 rep)
Oct 4, 2020, 05:39 PM
• Last activity: Feb 17, 2021, 05:15 AM
0
votes
0
answers
86
views
Why are file managers not using top-dir trash dirs?
I'm making a FUSE filesystem with fusepy and I want to give a special meaning to deletion. I'd like to intercept moves to trash too. For this I would like file managers to use the trash dirs at the root/mount point of my filesystem (`.Trash/$uid` or `.Trash-$uid`) rather than the user ones (`~/.loca...
I'm making a FUSE filesystem with fusepy and I want to give a special meaning to deletion. I'd like to intercept moves to trash too. For this I would like file managers to use the trash dirs at the root/mount point of my filesystem (
.Trash/$uid
or .Trash-$uid
) rather than the user ones (~/.local/share/Trash
).
I'm referring to the Freedesktop Trash specification .
I've tried 3 file managers:
* PCManFM-Qt uses the top-dir trash dir ;
* PCManFM tells me the filesystem doesn't support Trash and offers a hard delete ;
* Dolphin creates the top-dir trash dir if it doesn't exist but then uses the user one.
Can I convince all file managers to use .Trash/$uid
/ .Trash-$uid
?
Nahoj
(129 rep)
Aug 17, 2020, 10:53 PM
4
votes
1
answers
4787
views
In PCManFM, is it possible to launch and connect to a SFTP server?
For example, I know that I can use the command `pcmanfm` to launch PCManFM and I can also type `pcmanfm ~/Desktop` to open PCManFM to the desktop folder. However, `pcmanfm sftp://[ipaddresshere]` gives the error [xcb] Unknown request in queue while dequeuing [xcb] Most likely this is a multi-threade...
For example, I know that I can use the command
pcmanfm
to launch PCManFM and I can also type pcmanfm ~/Desktop
to open PCManFM to the desktop folder. However, pcmanfm sftp://[ipaddresshere]
gives the error
[xcb] Unknown request in queue while dequeuing
[xcb] Most likely this is a multi-threaded client and XInitThreads has not been called
[xcb] Aborting, sorry about that.
pcmanfm: ../../src/xcb_io.c:179: dequeue_pending_request: Assertion `!xcb_xlib_unknown_req_in_deq' failed.
Aborted
Clearly I'm doing something wrong. So, how can I open PCManFM and connect to a server with one command? I want to place this command in a .desktop file for easy access.
Thunar and Nautilus both allow me to do this easily by launching them with the same argument but if possible I would like to be able to do this with PCManFM since I use it elsewhere.
Aaron Franke
(1045 rep)
Mar 1, 2017, 09:41 PM
• Last activity: Jan 20, 2020, 01:50 PM
0
votes
2
answers
1953
views
Why PCManFM-Qt custom actions are not working
I'm trying to add some custom actions to the PCManFM-Qt contextual menu from this guide on Manjaro wiki. https://wiki.manjaro.org/index.php?title=CUSTOM_ACTIONS_FOR_PCmanFM-Qt Unfortunately none of them are working, I've tested the same thing described there. There's no error log on `syslog`, `dmesg...
I'm trying to add some custom actions to the PCManFM-Qt contextual menu from this guide on Manjaro wiki. https://wiki.manjaro.org/index.php?title=CUSTOM_ACTIONS_FOR_PCmanFM-Qt
Unfortunately none of them are working, I've tested the same thing described there.
There's no error log on
syslog
, dmesg
, but this log on the ~/.xsession-errors
** (process:24519): CRITICAL **: fm_file_action_item_launch: assertion 'ctx != NULL' failed
So how to fix it ? Thanks !
**I am on Ubuntu 16.04, using PCMandFM-Qt 0.10.0**
Arnab
(1691 rep)
Jan 31, 2017, 03:58 PM
• Last activity: Jan 14, 2020, 04:09 PM
4
votes
1
answers
446
views
PCManFM Alt+Up keyboard shortcut no longer works
After Upgrading my Debian Stable to the Buster version, the alt+up keyboard shortcut (doing `cd ..`) doesn't work any more. Both Alt+Left (Back) and Alt+Right (Forward) work fine. I'm using Awesome WM and I haven't set Alt+Up as a customized key binding. (PCManFM version 1.3.1)
After Upgrading my Debian Stable to the Buster version, the alt+up keyboard shortcut (doing
cd ..
) doesn't work any more. Both Alt+Left (Back) and Alt+Right (Forward) work fine.
I'm using Awesome WM and I haven't set Alt+Up as a customized key binding.
(PCManFM version 1.3.1)
pedyram
(256 rep)
Sep 13, 2019, 06:51 PM
• Last activity: Dec 17, 2019, 11:24 AM
1
votes
1
answers
783
views
How to hide files of a certain extension in PCManFM
I use latex in my work a lot. Compiling a latex file generates a lot of intermediate files with .log, .aux extensions. To avoid clutter, I would like to hide these intermediate files. Is there a way to hide files based on their extension?
I use latex in my work a lot. Compiling a latex file generates a lot of intermediate files with .log, .aux extensions. To avoid clutter, I would like to hide these intermediate files. Is there a way to hide files based on their extension?
elexhobby
(113 rep)
Feb 7, 2015, 09:02 PM
• Last activity: Apr 6, 2019, 01:48 AM
Showing page 1 of 20 total questions