Visit KShutdown Home Page and Wiki for more info.
KDE 4 Build | Qt 4 Build | |
Summary | A KShutdown version compiled using KDE4 libraries (super integration with KDE platform + extra features) | A KShutdown version compiled without KDE4 libraries (Qt only, for Xfce, GNOME, etc.) |
Compilation Script | ./Setup-kde4.sh | ./Setup-qt4.sh |
Required Libraries | libqtgui4, libqt4-dbus, libkworkspace4, base KDE libraries |
libqtgui4, libqt4-dbus |
Menu Shortcut Name | KShutdown | KShutdown/Qt |
Default Program Location (after "make install") | /usr/bin/kshutdown | /usr/bin/kshutdown-qt |
Dev Info | ||
C++ #define | KS_NATIVE_KDE |
KS_PURE_QT |
Build System | CMake (CMakeLists.txt files) | QMake (src/src.pro file) |
Language Translation System (input: po/*.po) | Gettext (output: build.tmp/po/*.mo) | Gettext (output: src/i18n/*.qm), kshutdown.qrc |
See Supported Functions/Platforms table for more info.
"kdelibs-dev"
package, CMake 2.4, and Gettext Utilities./Setup-kde4.sh
./Setup-kde4.sh "/your/prefix/dir"
CMake Error at /usr/share/cmake-2.6/Modules/FindKDE4.cmake:72 (MESSAGE): ERROR: cmake/modules/FindKDE4Internal.cmake not found in ...;/usr/lib/kde4/share/kde4/apps
Install "kdelibs-dev" (sometimes called kdelibs5-dev) and "kdebase-workspace-dev" packages for your KDE version.
This may happed after Ubuntu upgrade even if required Phonon files are already installed. [Solution]
Try to run
./Setup-kde4.sh
and
cd build.tmp; sudo make install
instead of
sudo sh Setup-kde4.sh
BUILDTYPE can be Release
or Debug
.
You can change the installation directory (prefix) by setting the CMAKE_INSTALL_PREFIX
environment variable.
To display default prefix for KDE 4 applications, run kde4-config --prefix
.
mkdir build && cd build
cmake -DCMAKE_BUILD_TYPE=BUILDTYPE -DCMAKE_INSTALL_PREFIX="/usr/local" ..
make
make install
Note: Some functions may be unavailable in this build. See Qt 4 Build table for more info.
./Setup-qt4.sh
Note: You can download a binary (already compiled) KShutdown version for Windows.
Setup-qt4.bat
(this will build both portable and installable version)./Setup-wine.sh
Turn Off Computer** | Restart Computer** | Suspend | Hibernate | Lock Screen | Logout | Extras | Waiting for a selected application | Inactivity Monitor |
Legend | ||||||||
TEST | Should work, still testing ;) | |||||||
OK | Done (hover an item to display implementation details) | |||||||
N/A | Function is not available on this platform/KShutdown version | |||||||
TODO/FIXME | Work In Progress - to be implemented in a future... | |||||||
CLI | Function available via Command Line (example: kshutdown --lock) | |||||||
Windows | Microsoft Windows XP/Vista/7 or compatible | |||||||
* | KDE 4 Build not supported | |||||||
** | D-Bus commands should work with GDM, KDM, and LightDM | |||||||
KDE 4 (KDE 4 Build) | ||||||||
OK | OK | OK | OK | OK | OK | OK | OK, no CLI | OK |
Windows (Qt 4 Build) * | ||||||||
OK | OK | OK | OK | OK | OK | N/A | TODO | OK |
Xfce 4.8 (Qt 4 Build) * | ||||||||
OK | OK | OK | OK | OK | FIXME | N/A | OK, no CLI | TODO |
LXDE (Qt 4 Build) * | ||||||||
OK | OK | OK | OK | OK | OK | N/A | OK, no CLI | TODO |
KDE 4 (Qt 4 Build) | ||||||||
TEST | TEST | OK | OK | OK | TODO | N/A | OK, no CLI | OK |
GNOME 3 (Qt 4 Build) * | ||||||||
TEST | TEST | OK | OK | OK | OK | N/A | OK, no CLI | TODO |
Unity (Qt 4 Build) * | ||||||||
TEST | TEST | OK | OK | OK | OK | N/A | OK, no CLI | TODO |
Enlightenment (Qt 4 Build) * | ||||||||
TEST | TEST | OK | OK | OK | OK | N/A | OK, no CLI | TODO |
Razor-qt (Qt 4 Build) * | ||||||||
TEST | TEST | TEST | TEST | TODO | TODO | N/A | TEST | TODO |
Openbox (Qt 4 Build) * | ||||||||
TODO (?) | ||||||||
GNOME 2 (Qt 4 Build) * | ||||||||
TODO (?) | ||||||||
KDE 3 (Qt 4 Build) * | ||||||||
TODO (?); KShutDown 1.0.x exists but it's outdated and not supported... |
Some configuration and command line options in KShutdown 2.x may be not fully compatible with the old KShutdown 1.0.x.