I am on a dual boot setup with both linux and windows, so I have an ext4 partition with linux on it and an ntfs partition with windows on it. In dolphin, if I right click on Trash → Configure Trash, it only allows me to configure the trash on my ntfs partition. Is there a graphical way for me to configure the trash on my ext4 partition as well?
I currently know two workarounds:
- I can manually configure the trash config file in
~/.config/ktrashrc
- I can create a dummy file on my ntfs partition called
.Trash-1000 to disable trash there entirely
However, none of these allow me to both configure trash graphically and have trash working on both partitions. If there isn’t another solution, would this be worth submitting as an enhancement request? This behavior was confusing enough that I accidentally permanently deleted some files. They weren’t especially important, but it was frustrating because I expected the graphical configuration to apply to my Linux partition as well.
hi, welcome.
are you saying that if you go into dolphin configure (ctrl+shift+,) and choose the trash tab that you do not see /home listed in the box of locations?
my setup has both /home and my ntfs partition trash listed in the box and i can manage them separately for limits and actions using that GUI.
if your /home is not listed then something is missing about your setup
what is the output of kinfo?
Different partitions are not listed at all in the box, only a single configuration is displayed and you never now to which partition the setting belong. In fact, the setting in the GUI acts on only one of the trash folders, not globally as far as I can see. Here my ktrashrc:
[/home/mook/.local/share/Trash]
Days=7
LimitReachedAction=0
Percent=10
UseSizeLimit=true
UseTimeLimit=false
[/media/archiv/.Trash-1000]
Days=7
LimitReachedAction=0
Percent=10
UseSizeLimit=true
UseTimeLimit=false
[/media/data/.Trash-1000]
Days=7
LimitReachedAction=0
Percent=10
UseSizeLimit=true
UseTimeLimit=false
and output from kinfo:
Operating System: KDE neon User Edition
KDE Plasma Version: 6.7.2
KDE Frameworks Version: 6.28.0
Qt Version: 6.11.1
Kernel Version: 6.17.0-40-generic (64-bit)
Graphics Platform: Wayland
Processors: 8 × Intel® Core™ i3-10100 CPU @ 3.60GHz
Memory: 8 GiB of RAM (6.6 GiB usable)
Graphics Processor: Intel® UHD Graphics 630
I’d say this is a bug.
i would agree, my ktrashrc shows both of the entries found in the dolphin settings GUI and yours should show you all 3 or your entries.
you could try renaming ktrashrc and restarting to see if it behaves differently.
Hello,
I think I am having the exact same problem as mook765. I have tried deleting my ktrashrc and restarting and it doesn’t fix the problem.
Output of kinfo:
Operating System: Arch Linux
KDE Plasma Version: 6.7.2
KDE Frameworks Version: 6.27.0
Qt Version: 6.11.1
Kernel Version: 7.1.3-arch1-2 (64-bit)
Graphics Platform: Wayland
Processors: 20 × 13th Gen Intel® Core™ i7-13650HX
Memory: 16 GiB of RAM (15.3 GiB usable)
Graphics Processor 1: Mesa Intel® Graphics
Graphics Processor 2: NVIDIA GeForce RTX 4060 Laptop GPU/PCIe/SSE2
Screenshot of my trash configuration GUI:
Contents of ktrashrc:
[/home/stanley/.local/share/Trash]
Days=14
LimitReachedAction=0
Percent=10
UseSizeLimit=false
UseTimeLimit=true
[/run/media/stanley/OS/.Trash-1000]
Days=7
LimitReachedAction=0
Percent=11
UseSizeLimit=true
UseTimeLimit=false
I’m curious as to what your trash configuration GUI looks like skyfishgoo. Also, based on the previous discussion, should I submit this to the bug tracker as a bug?
problem is mine’s from plasma 5
but it looks to me like the text box is simply missing…
Update: submitted a bug report https://bugs.kde.org/show_bug.cgi?id=523158. Thank you guys for your replies.