| Summary: | Get rid of VFS handles without affected found files | ||
|---|---|---|---|
| Product: | [Applications] krusader | Reporter: | adalbert.hanssen |
| Component: | general | Assignee: | Krusader Bugs Distribution List <krusader-bugs-null> |
| Status: | RESOLVED NOT A BUG | ||
| Severity: | normal | CC: | alex.bikadorov, krusader-bugs-null |
| Priority: | NOR | ||
| Version First Reported In: | 2.7.2 | ||
| Target Milestone: | --- | ||
| Platform: | Ubuntu | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
| Attachments: | Script to reset Krusader (i.e. get rid of all vfs together) | ||
|
Description
adalbert.hanssen
2023-04-14 15:30:42 UTC
Created attachment 159824 [details] Script to reset Krusader (i.e. get rid of all vfs together) Explanations see https://askubuntu.com/questions/1440560/how-can-i-get-rid-of-names-of-virtual-file-systems-made-by-krusader-after-feed You can go to "virt:///" - the root directory of all virtual directories and delete the directories you want. Deleting single files in a virtual directory is currently not supported. Does this solve your issue? (In reply to Alex Bikadorov from comment #2) > You can go to "virt:///" - the root directory of all virtual directories and > delete the directories you want. > Deleting single files in a virtual directory is currently not supported. > > Does this solve your issue? Thank you for your hint. It solves my problem even better than my script, which requires you to create the ~/.config/krusaderrc_reset file before using it for the first time. There is no directory with the name "virt:" or "virt" in the directory tree of my computer. virt:/// looks to be a purely krusader-internal entity. In my post I mentioned the file ~/.local/share/krusader/virtualfilesystem.db, which changes its content after feeding search results to a listbox or after the operation which you describe. I guess, this file physically is what is called the virtual file system. Trying out your advice I created several such search result listboxes. I can select n of them (internal to krusader) in "virt:" and delete them. Then a message appears asking me whether I wanted to delete theses n entries, the physical files are kept. So your advice solves my problem. But I think the user interface should becomre clearer and it should enable one to manually manipulate the listbox too (as an alternative to manipulating physical files). One often has to refine some search by by excluding some found items manually and possibly applying another search to the manipulated search results. So it probably would be a good thing to be able to delete single found files from a listbox (without deleting the files) and then continue searches from such a manually modified set. As I have observed, this can be done by manipulating the proper line in ~/.local/share/krusader/virtualfilesystem.db. But that's cumbersome and error prone. To enable such search refinements with manual manipulations of search results, I suggest 1. to add a checkbox switching between manipulating selected file in the listbox rather than the physical files (it should default to that) or really manipulate the physical files themselves. 2. when it comes to delete physical files by a listbox operation, there always should be a safety question.. > There is no directory with the name "virt:" or "virt" in the directory tree > of my computer. virt:/// looks to be a purely krusader-internal entity. yes, "virt://" is an internal protocol by Krusader. The parent directories in it are purely virtual. > But I think the user interface should becomre clearer and it should enable > one to manually manipulate the listbox too (as an alternative to > manipulating physical files). > > One often has to refine some search by by excluding some found items > manually and possibly applying another search to the manipulated search > results. So it probably would be a good thing to be able to delete single > found files from a listbox (without deleting the files) and then continue > searches from such a manually modified set. > > As I have observed, this can be done by manipulating the proper line in > ~/.local/share/krusader/virtualfilesystem.db. But that's cumbersome and > error prone. To enable such search refinements with manual manipulations of > search results, I suggest > 1. to add a checkbox switching between manipulating selected file in the > listbox rather than the physical files (it should default to that) or really > manipulate the physical files themselves. > 2. when it comes to delete physical files by a listbox operation, there > always should be a safety question.. The easiest way is to add an option (maybe as context menu entry + shortcut) to remove entries (not physical files) in virtual directories. Please create a new bug report with importance "wishlist" for this. This bug report has been solved. |