
kdefastrestart
Source (link to git-repo or to original if based on someone elses unmodified work):
To install this, simply run the ksetup.sh program. This setup program will compile and install kdefastrestart for you. This program works with version 3.3 of kde and higher.
Any feedback is appreciated. The core of this new version was rewritten using the QT framework, thus giving some flexibility for new features.
v1.2alpha -
Fixed Screen Resolution Issues
Added KDE shutdown dialog
Changed backsplash screen and sound
Works with 3.3 up to 3.5.
v1.1alpha -
Rewrote the restart script in Qt.
Reduced CPU usage to near zero.
Slightly faster startup times.
Added a textbrowser object so you can now view the kde startup messages when kde is restarting
Modified ksetup script so it can compile programs
TODO- Possibly some panel applet to show
current messages being sent to the console.
TODO- Control Center integration and configuration
TODO - Try to reduce memory usage even furthur
TODO- Screen resolution fixes.
TODO - KDM Integration
v1.0BETA initial public announcement
code clean up
v.50 Added the ksetup.sh generic kdialog based installation program.
Ratings & Comments
5 Comments
Despite ksetup.sh dialog showing a successful install, chokes on restart when attempting to execute ~/.kde/kdefastrestart Any tips on how to debug?
Howdy, What does it do bascially? Is the kdefastrestart program segfaulting upon start up? If so, what is your distribution, kde version number, X11 version number. The old version would most definatly segfault when there is a stale .kde/status/kderestart file. I fixed this by erasing stale kderestart files. (very stupid bug, yes i know) I have plans to really work on the initialization code more, hopefully fixing some of that. It is alpha software not beta software :). Try the newer version, let me know if it works any better. It does has some bugs too sadly. I am working on this in my spare time, so if anyone would like to contribute any bug fixes, go over to the sourceforge site.
Here is another script that may help some folks. This script will erase your session then restart KDE. I'll integrate this into the package during next release: #!/bin/sh DLG=`kdialog --title "Erasing Session - Restarting KDE" --progressbar "Time until shutdown..." 10` TIME="10 9 8 7 6 5 4 3 2 1" TIMELEFT=0 for loop in $TIME ; do TIMELEFT=$(($TIMELEFT+1)) dcop "$DLG" "setProgress" $TIMELEFT dcop "$DLG" "setLabel" "Your session will be erased. Time until session is erased and KDE is restarted: $loop seconds." sleep 1 done; touch $HOME/.kde/status/kderestart dcop "$DLG" 'close' dcop "ksmserver" "ksmserver" 'logout' '0' '0' '0' rm ~/.kde/share/config/session/* cat ~/.kde/share/config/ksmserverrc | grep -i '[^[command]]' > ~/.kde/share/config/ksmserverrc
With Kdm it just logs you out and asks you to log back in no biggy.
kdm restarts the X server, the purpose of this tool is to restart kde without having to restart X.