I have a separate ext4 partition which contains all my data (music, movies, etc). When I delete files from this partition it is very slow because it copies files from my data partition to the Trash folder in my home partition. How can I avoid this? Can’t the trash be configured so that it uses a trash folder in each partition instead of copying files to another partition (which is slow).
Enable ‘Delete’ in the context menu also avoids trash.
When you send to trash you have not deleted the file. It’s a different process to ‘Delete’. That’s how it is. And the problem you are experiencing is exacerbated when you are working on different partitions and or HD’s
If you want to move files but aren’t sure you want to delete them yet, why don’t you create a temp directory in your data partition called “TRASH” or something appropriate, and move your files there until you decide to delete them? It’s an extra step but it will be faster than using the default trash.
I am also using KDE 4.6/openSUSE 11.4, and I have two separate ext4 data partitions, besides my home partition, and on my system /data1 and /data2 each have their own trash folder called .Trash-1000. The trash folder for my home partition is ~/.local/share/Trash. My desktop widget gives me access to all three; the trashcan settings dialog lists the three partitions and allows me to set different maximum sizes for each. I didn’t do anything (that I’m aware of) to make that happen; I thought it was the default.
More specific: there is a .Trash-1000 folder on my data partition, but the KDE-Trash widget doesn’t seem to pick it up. It only shows my home partition…
Seems that there is no problem with removable media, just with partitions on the hdd. This is also what I’m experiencing. Does someone know if Opensuse is also configured to use this (very inefficient) trash setting? Can it be changed?
My two data partitions with .Trash-1000 folders that work the way you want are not on removable media; they are on the same physical drive, an internal 1TB SATA drive, as my home and root partitions. However, my two data partitions are user-mountable, and my user is the owner of them. Maybe one or both of those things makes KDE consider them “removable”?
Hm, seems this issue isn’t fixed after all. It seems that after a boot the problem was back. I think it worked after changing my partition settings because then the data partition was remounted again as user (myself). But when the pc boots, it uses fstab to mount the partition and this is probably not as my user…
Can anybody help on this issue? Did I setup my fstab in a bad way?
>
>Hm, seems this issue isn’t fixed after all. It seems that after a boot
>the problem was back. I think it worked after changing my partition
>settings because then the data partition was remounted again as user
>(myself). But when the pc boots, it uses fstab to mount the partition
>and this is probably not as my user…
>
>Can anybody help on this issue? Did I setup my fstab in a bad way?
>
>
>Code:
>--------------------
> /dev/disk/by-id/ata-Maxtor_6V320F0_V60SJM5G-part1 swap swap defaults0 0
> /dev/disk/by-id/ata-Maxtor_6V320F0_V60SJM5G-part2 / ext4 acl,user_xattr 1 1
> /dev/disk/by-id/ata-Maxtor_6V320F0_V60SJM5G-part4 /data ext4 user,acl,user_xattr,rw,suid,dev,exec,auto,async 1 2
> /dev/disk/by-id/ata-Maxtor_6V320F0_V60SJM5G-part3 /home ext4 user,acl,user_xattr,rw,suid,dev,exec,auto,async 1 2
> proc /proc proc defaults 0 0
> sysfs /sys sysfs noauto 0 0
> debugfs /sys/kernel/debug debugfs noauto 0 0
> devpts /dev/pts devpts mode=0620,gid=5 0 0
> /data /nfs4exports/data none bind 0 0
> /home /nfs4exports/home none bind 0 0
>--------------------
>
>
>Perhaps there is something wrong with the line below?
>
>
>Code:
>--------------------
> /data /nfs4exports/data none bind 0 0
>--------------------
>
>
>This is needed for NFS4 setup. Can I add options like “user” here as
>well?
Question, can you live with NFS3? I can get it to work but not NFS4.
Do you mean you can’t get NFS4 to work, or you can’t use the Trash.1000 folder when NFS4 is used to share this data partition?
If so, what is causing NFS to block the Trash.1000 folder?
>
>josephkk;2386134 Wrote:
>>
>> Question, can you live with NFS3? I can get it to work but not NFS4.
>> ?-)
>
>Do you mean you can’t get NFS4 to work, or you can’t use the Trash.1000
>folder when NFS4 is used to share this data partition?
>If so, what is causing NFS to block the Trash.1000 folder?
I haven’t been able to get NFS4 to work at all. But then, i figure that
it is something i don’t understand.