LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Blogs > linux-related notes
User Name
Password

Notices

Just annotations of little "how to's", so I know I can find how to do something I've already done when I need to do it again, in case I don't remember anymore, which is not unlikely. Hopefully they can be useful to others, but I can't guarantee that it will work, or that it won't even make things worse.
Rate this Entry

Make some apps (mainly KDE apps with text fields) start faster

Posted 02-26-2013 at 07:37 PM by the dsc
Updated 02-26-2013 at 07:39 PM by the dsc

Just create a folder "~/.compose-cache".

Or better yet, at least in a semi-philosophical level, have your startup script to create "/dev/shm/.compose-cache" every time, and just create it once, and a soft link to your home folder. No unnecessary access to your disk, writing to and reading from memory instead. Which is often assumed to be better for several cache-type usages, both for performance and (supposedly) for the lifespan of your hard disk*. Some people even make some scripts that will copy the entire profile folder of an application such as firefox or chrome to /dev/shm, where the browser will use it, and synchronize it back to the disk when it is closed.

If the PC is shared by more people who may use it with simultaneous sessions, perhaps it's better to have it as "/dev/shm/$USER/.compose-cache" instead.



* however, some studies surprisingly show no significant correlation between heavy disk usage and decreased lifespan, perhaps even somewhat of an inverse correlation when lower usage is accompanied by lower temperatures, which perhaps even more counter intuitively, correlate more with shorter lifespan than hotter temperatures. I'm not suggesting you should light a fire inside your cabinet though.
Posted in Uncategorized
Views 388 Comments 0
« Prev     Main     Next »
Total Comments 0

Comments

 

  



All times are GMT -5. The time now is 06:07 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration