My base system is Gentoo amd64, up to date. Before the upgrade, I have the shutdown button in the KDE menu. But after the upgrade, this button is gone...I think it is because of the permission settings are wrong. The user account I used is in the user group. But I have no idea how the set the permission. I even tried to delete the KDE configuration files in the user directory and try to re-configure everything, but does not work.
No *shutdown* function in KDE
permissions;kde4
The configuration file /etc/config/kdm/kdmrc has the following section:[Shutdown]# The command (subject to word splitting) to run to halt the system.# Default is /sbin/shutdown -h -P now# HaltCmd=# The command (subject to word splitting) to run to reboot the system.# Default is /sbin/shutdown -r now# RebootCmd=# Whether it is allowed to shut down the system via the global command socket.# Default is false# AllowFifo=true# Whether it is allowed to abort active sessions when shutting down the# system via the global command socket.# Default is true#AllowFifoNow=falseUn-comment the AllowFifo=true line, then the system shutdown as it used to before the latest upgrade.Source and info As long as this is correct you can add a shutdown launcher.