kdefastrestart

Various KDE 1.-4. Improvements

Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on opencode.net

0
5 .0
Description:

This program will allow you to restart KDE without having to leave X. It is intended for users that use the "startx" script to start their X sessions. Do not use this with any graphical login managers such as kdm.

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.
Last changelog:

14 years ago

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.

Ydef

14 years ago

Despite ksetup.sh dialog showing a successful install, chokes on restart when attempting to execute ~/.kde/kdefastrestart

Any tips on how to debug?

Report

C

ringwraith

14 years ago

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.

Report

C

ringwraith

15 years ago

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

Report

jmiahman

15 years ago

With Kdm it just logs you out and asks you to log back in no biggy.

Report

6thpink

15 years ago

kdm restarts the X server, the purpose of this tool is to restart kde without having to restart X.

Report

14 years ago

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.

12345678910
Be the first to comment
File (click to download) Version Description PackagetypeArchitecture Downloads Date Filesize DL OCS-Install MD5SUM
*Needs pling-store or ocs-url to install things
Pling
0 Affiliates
Details
license
version
1.2 Alpha
updated Jan 04 2006
added Sep 21 2005
downloads 24h
0
mediaviews 24h 0
pageviews 24h 0