[expert] Script to correct kde2.1 control center problem

2001-02-23 Thread Praedor Tempus

I give up.  I am writing a script to take care of this pain in the ass each 
time I login.  The script will do:

rm -rf $HOME/.kde/share/applnk/p* 
cp -Rf /usr/share/kde/applnk/* $HOME/.kde/share/applnk 
kbuildsycoca 

I have to do this because nothing I do with kde will fix this problem.  EVERY 
damn time I login after booting up my laptop, my Control Center entry in 
KMenu is dicked - moved into a bizarro directory called 
$HOME/.kde/share/applnk/p^%.  Running Control Center produces the much 
beloved blank module window, rendering the app useless.  To correct the 
problem, EVERY time I login after starting the laptop, I have to run the 
above commands to fix it.  

I am tired of doing this so I am writing the script to do it for me.  
How/where would I place this script in order to ensure that it runs whenever 
I login to my account?  

-- 
Against stupidity, the gods themselves contend in vain.




Re: [expert] Script to correct kde2.1 control center problem

2001-02-23 Thread Ken THompson

Snip
 I am tired of doing this so I am writing the script to do it for me.
 How/where would I place this script in order to ensure that it runs
 whenever I login to my account?
Snip

Maybe in here: /etc/rc.d/rc5.d
Below is the Caption from the script file.
# This script will be executed *after* all the other init scripts.
# You can put your own initialization stuff in here if you don't
# want to do the full Sys V style init stuff.
-- 
Ken Thompson
Electrocom Computer Services
Payette, Idaho 83661
(208) 642-11701
Web: http://www.nwaa.com
Email: [EMAIL PROTECTED]