How do you restart KDE properly without logging out?

Asked by Robert Simmons

I would like to know the "official" way to restart KDE properly without logging out. I have had various problems after using WINE and other software that change display ratios and make other changes where icons are left very large, fonts very large, and other parts of the desktop are left in strange locations.

I have read many different ways that you are supposed to restart KDE/plasma, but they don't seem to be right for the current version of KDE (4.7.0).

My workaround has been to logout and log back in. Can someone please explain the correct way to restart KDE/plasma?

Question information

Language:
English Edit question
Status:
Solved
For:
KDE Base Edit question
Assignee:
No assignee Edit question
Solved by:
cb
Solved:
Last query:
Last reply:
Revision history for this message
Best cb (cbaptista) said :
#1

Hi,

To restart just plasma type:

kquitapp plasma-desktop && plasma-desktop

CB

Revision history for this message
Robert Simmons (rsimmons0) said :
#2

That helps, almost. I think there is a timing problem with that command on my computer. I think the second part of the command is run too quickly. It just gives the following error:

Invalid D-BUS interface name 'org.kde.plasma-desktop.PlasmaApp' found while parsing introspection
Object::disconnect: No such slot QObject::dataUpdated(QString,Plasma::DataEngine::Data)
Object::disconnect: (sender name: '/org/freedesktop/UDisks/devices/sr0:media')
Object::disconnect: No such slot QObject::dataUpdated(QString,Plasma::DataEngine::Data)
Object::disconnect: (sender name: '/org/freedesktop/UDisks/devices/sdc1')
Object::disconnect: No such slot QObject::dataUpdated(QString,Plasma::DataEngine::Data)
Object::disconnect: (sender name: '/org/freedesktop/UDisks/devices/sr0:media')
Object::disconnect: No such slot QObject::dataUpdated(QString,Plasma::DataEngine::Data)
Object::disconnect: (sender name: '/org/freedesktop/UDisks/devices/sdc1')
Object::disconnect: No such slot QObject::dataUpdated(QString,Plasma::DataEngine::Data)
Object::disconnect: (sender name: 'events:2011-08-28:2011-10-08')
plasma-desktop(3358): Communication problem with "plasma-desktop" , it probably crashed.
Error message was: "org.freedesktop.DBus.Error.NoReply" : " "Message did not receive a reply (timeout by message bus)" "

However, if I run the two commands separately, everything works fine.

Revision history for this message
Robert Simmons (rsimmons0) said :
#3

Thanks cb, that solved my question.