LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 01-22-2007, 10:34 PM   #1
The_Outlander
Member
 
Registered: Aug 2004
Location: Australia
Distribution: Slackware 12.1
Posts: 235

Rep: Reputation: 30
KDE Trash slow to empty?


Hi,
Emptying trash on my user account desktop, even small files takes up to 1 minute. With large files I am waiting up to 3 minutes or more. Delete works fine.
I notice that the other user account works normally and trash is deleted quickly.

I have the same setup on my laptop and it functions normally.

This account had been slow to respond at times until adding 'xhost +localhost". This improved things slightly? and I have trash deletion down to 5-6 seconds for a small text file.

Now if I do "xhost -localhost" and remove localhost from the xserver, trash deletion time increases 10-20 fold.
The addition of localhost to the xserver improves but does not really fix the problem. As the other account works OK and this problem is isolated to my user account I feel I must have changed something but cannot isolate the error. /var/log/messages dmesg reveal nothing and xorg.log.x does not exist?
Maybe I should reinstall X.

I understand that improperly set hostname or wrong DNS settings can slow the desktop down.

I have googled around and searched the forums but found nothing specific.

Any ideas?

Last edited by The_Outlander; 01-22-2007 at 11:12 PM.
 
Old 01-22-2007, 11:19 PM   #2
The_Outlander
Member
 
Registered: Aug 2004
Location: Australia
Distribution: Slackware 12.1
Posts: 235

Original Poster
Rep: Reputation: 30
Just as I return to this thread I notice that the Trash folder does not show trash. It always appears empty. This is new? So I need to fix the .directory file according to other threads. Will try and see if that fixes the problem. Maybe it's not server related at all. However I don't see a .directory file in trash even with hidden files selected?

Last edited by The_Outlander; 01-22-2007 at 11:28 PM.
 
Old 01-23-2007, 09:32 AM   #3
Old_Fogie
Senior Member
 
Registered: Mar 2006
Distribution: SLACKWARE 4TW! =D
Posts: 1,519

Rep: Reputation: 62
I've read about this before, and if I recall, the person's computer was looking to get rid of files that were from samba shares. could your pc be looking to clean out files that you deleted off of shares, doing the look up's and all? anything in syslog, messages, or dmesg after you try deleting files?
 
Old 01-29-2007, 11:57 PM   #4
The_Outlander
Member
 
Registered: Aug 2004
Location: Australia
Distribution: Slackware 12.1
Posts: 235

Original Poster
Rep: Reputation: 30
Fixed.
I am not sure what I have done.
After logging into xfce4 many files showed up in Trash that did not show up in KDE. Thunar vs Konqeror.
I was able to delete most of them. Others refused because of permissions.
After logging back into KDE I was then able to remove the remaining files?
In hindsight many of the files in Trash were from Samba shares, but under KDE did not show up in konqueror at all?

Thanks.
 
Old 02-01-2007, 03:31 PM   #5
uselpa
Senior Member
 
Registered: Oct 2004
Location: Luxemburg
Distribution: Slackware, OS X
Posts: 1,507

Rep: Reputation: 46
I have a similar problem.

It turns out that there are files in ~/.local/share/Trash/files that are owned by root, and also missing a description in ~/.local/share/Trash/info. Maybe from an older version of KDE or another DE/WM I've tried in the past.

I've deleted them manually and I'll watch how my trashbin will behave now.
 
Old 02-12-2007, 03:36 PM   #6
uselpa
Senior Member
 
Registered: Oct 2004
Location: Luxemburg
Distribution: Slackware, OS X
Posts: 1,507

Rep: Reputation: 46
It's been working fine ever since...
 
Old 02-25-2007, 04:01 PM   #7
mattydee
Member
 
Registered: Dec 2006
Location: Vancouver, BC
Distribution: Debian,Ubuntu,Slackware
Posts: 479

Rep: Reputation: 48
I had slow trash empty problems as well. I looked in the
Code:
~/.local/share/Trash/files
folder and found a whole bunch of files with no entry in the
Code:
~/.local/share/Trash/info
folder.

My trash can (KDE) was showing empty, but I managed to clear over 3GB of trash by manually removing these files!!!

I will see how my system reacts the next time I need to empty the trash.
 
Old 02-28-2007, 04:49 AM   #8
The_Outlander
Member
 
Registered: Aug 2004
Location: Australia
Distribution: Slackware 12.1
Posts: 235

Original Poster
Rep: Reputation: 30
Finally got back to it. Same problem. Cheers and Thanks.
 
Old 03-04-2007, 09:54 AM   #9
johnmuir
LQ Newbie
 
Registered: Mar 2007
Posts: 2

Rep: Reputation: 0
Lightbulb Check dormant network shares

I had the same problem (on SUSE), both using and emptying the trash bin.

It was due to a network share (a laptop) which was mounted, but the laptop was switched off. I unmounted the mount point and everything was super fast once again.

If any KDE developers are reading this, please check this out, it's a bug! I can't see any valid reason why it should check network shares.

Last edited by johnmuir; 03-04-2007 at 09:55 AM.
 
Old 03-04-2007, 10:03 AM   #10
uselpa
Senior Member
 
Registered: Oct 2004
Location: Luxemburg
Distribution: Slackware, OS X
Posts: 1,507

Rep: Reputation: 46
Quote:
Originally Posted by johnmuir
If any KDE developers are reading this, please check this out, it's a bug!
If you want to report a KDE bug, go to http://bugs.kde.org/. There's little chance otherwise that your bug report is taken into account. Also, check there first if it hasn't been reported yet.
 
Old 11-05-2019, 07:49 PM   #11
RonCam
Member
 
Registered: Dec 2008
Posts: 122

Rep: Reputation: 50
Lightbulb For KDE-users coming across this thread in a search ...

I was also trying to delete some files 'into the Trashcan' in KDE, got an error message that this could not be done, as there were too many things there, already. I opened Trash from in Dolphin, but saw no files or any other items, there.

I thought, when the GUI fails, time to go to Terminal and see if that works. Opened the Terminal and typed:
Code:
ktrash --empty
then, noted it took maybe four or five seconds before the terminal prompt 'came back'. I thought this is good, it seems to be 'doing something'.

As a test, I re-entered the same command again, and now the prompt returned in maybe a half-second. From this I suspect the problem was solved -- although Trash in Dolphin looked no different -- still 'empty'.
 
Old 11-05-2019, 07:53 PM   #12
Skaendo
Senior Member
 
Registered: Dec 2014
Location: West Texas, USA
Distribution: Slackware64-14.2
Posts: 1,045

Rep: Reputation: Disabled
Gotta be a record necro post. 12+ years.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Evolution won't empty trash jjonas Linux - Software 0 08-12-2006 06:44 AM
gnome trash cannot empty Schrambo Slackware 2 08-28-2004 11:29 AM
Trash icon not working with KDE (empty/full behavior) crdiscoverer Linux - Newbie 0 11-16-2003 06:28 PM
trying to empty trash jasonmcneil0 Linux - Software 4 10-26-2003 04:03 AM
empty trash Moleman Linux - Software 1 05-16-2003 01:23 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 08:02 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration