LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 08-06-2011, 10:05 AM   #1
Lufbery
Senior Member
 
Registered: Aug 2006
Location: Harrisburg, PA
Distribution: Slackware 64 14.2
Posts: 1,180
Blog Entries: 29

Rep: Reputation: 135Reputation: 135
Speeding up KDE


Hi all,

I recently had the power supply on my desktop computer die a slow, painful death over the course of a week -- resulting in many abrupt shutdowns. In the course of one of those shutdowns, my .kde file apparently got corrupted.

So after I got a new power supply, I deleted the .kde directory in my home directory and started up KDE again. After a few minutes of setting up KDE for my preferences again, I noticed that KDE seemed a bit faster.

I decided to see about resetting more than just my KDE preferences. First, I always disable the Nepomuk semantic desktop and Strigi indexing. Then, since I don't use Kontact or Kmail, I followed the directions for completely disabling Akonadi.

I always switch from the Kickoff menu style to the classic menu style and I did that again, but I also used to switch to the "classic" desktop (Folder View pointing at my Desktop folder), but this time I used the default Desktop activity setting with only a couple of widgets on my desktop. For some reason, this seems faster than the folder view.

Finally, I decided to get really radical. As root, I moved everything out of my /tmp directory to a possible_trash folder in root's home directory. That operation took for-freaking-ever because the expanded source trees for all my SBo builds were sitting in an SBo subdirectory of /tmp!

In any event, there are a few KDE-related directories that get created in /tmp and there's a possibility that they had accumulated some cruft over the past year or so, although I doubt that this made much of a difference.

In any event, KDE feels a lot snappier now.

Regards,
 
Old 08-06-2011, 10:31 AM   #2
bgeddy
Senior Member
 
Registered: Sep 2006
Location: Liverpool - England
Distribution: slackware64 13.37 and -current, Dragonfly BSD
Posts: 1,810

Rep: Reputation: 232Reputation: 232Reputation: 232
Quote:
I decided to see about resetting more than just my KDE preferences. First, I always disable the Nepomuk semantic desktop and Strigi indexing. Then, since I don't use Kontact or Kmail, I followed the directions for completely disabling Akonadi.
Thanks for the link about disabling Akonadi - interesting stuff. I have tried removing Akonadi a few times but always ended up breaking something in my ignorance! I'll be studying this today - lots of really good information there - thanks again.
 
Old 08-06-2011, 12:13 PM   #3
Woodsman
Senior Member
 
Registered: Oct 2005
Distribution: Slackware 14.1
Posts: 3,482

Rep: Reputation: 546Reputation: 546Reputation: 546Reputation: 546Reputation: 546Reputation: 546
Perhaps the following might help:

Learning KDE4 - Part 2

Quote:
As root, I moved everything out of my /tmp directory to a possible_trash folder in root's home directory.
The FHS says that /tmp is intended for temporary files that are not persistent across reboots or shutdowns. The /var/tmp directory is for persistent temporary files. Many people run cleanup scripts at startup, shutdown or through cron to clean the /tmp directory.

Quote:
In any event, there are a few KDE-related directories that get created in /tmp and there's a possibility that they had accumulated some cruft over the past year or so, although I doubt that this made much of a difference.
I have used KDE for many years and I agree with your observation. I solved the problem by assigning the $TMP, $TEMP, and $TMPDIR environment variables to tmpfs. KDE automatically uses that tmpfs area for the two user directories normally created in /tmp. As I shut down the system at the end of each day, the tmpfs area is automatically deleted and recreated the next day. No cruft. KDE still uses the /var/tmp location for cache files.
 
Old 08-06-2011, 01:17 PM   #4
slackass
Member
 
Registered: Apr 2006
Location: SE Texas
Distribution: Slack64-15.0
Posts: 910

Rep: Reputation: 90
Woodsman:
Every time I go to your web site I learn something.
Thanks!
 
Old 08-06-2011, 05:32 PM   #5
Woodsman
Senior Member
 
Registered: Oct 2005
Distribution: Slackware 14.1
Posts: 3,482

Rep: Reputation: 546Reputation: 546Reputation: 546Reputation: 546Reputation: 546Reputation: 546
Quote:
Woodsman:
Every time I go to your web site I learn something.
Thanks!
Thank you!
 
Old 08-06-2011, 08:48 PM   #6
dimm0k
Member
 
Registered: May 2008
Location: Brooklyn ZOO
Distribution: Slackware64 14.2
Posts: 564

Rep: Reputation: 56
Quote:
Originally Posted by slackass View Post
Woodsman:
Every time I go to your web site I learn something.
Thanks!
Agreed! Actually stumbled upon his site not through this site, but by doing some searches on Google. Nice to associate a "face" with the site!
 
Old 08-06-2011, 10:00 PM   #7
Lufbery
Senior Member
 
Registered: Aug 2006
Location: Harrisburg, PA
Distribution: Slackware 64 14.2
Posts: 1,180

Original Poster
Blog Entries: 29

Rep: Reputation: 135Reputation: 135
Woodsman,

Your pages have been exceptionally helpful to me over the years. Thank you.

I want to be clear, though, that the few small steps I took and wrote about in my original post were performance changes that were more on the back end than through the UI itself. My computer and video card on my desktop computer have enough horsepower that the geez-wiz geeky effects work very smoothly and quickly. Now they work even quicker.

My Pentium III laptop, on the other hand, runs KDE 4 without any of the effects due to the performance hit.

What I wonder if whether or not the default desktop activity is really faster than the folder view activity for the desktop.

Regards,
 
  


Reply



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
Speeding up find subnet_rx Linux - Newbie 1 10-28-2006 09:37 AM
Speeding up Internet access SUSE 10.0 Kde 1kyle SUSE / openSUSE 2 03-25-2006 03:29 AM
Speeding it up.. Jordie Linux - Software 3 12-05-2004 07:37 AM
speeding up apps in KDE on a debian system. Lleb_KCir Linux - Software 12 11-23-2004 02:12 PM
speeding up dd NiallC Linux - General 6 08-18-2003 10:37 AM

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

All times are GMT -5. The time now is 05:18 AM.

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
Open Source Consulting | Domain Registration