Portable KShutdown Changelog

What's new in Portable KShutdown 5.90 Beta

Oct 13, 2022
  • NEW: Added "File Monitor" trigger (detects a file remove/create).
  • CHANGED: Future KShutdown versions will be released as 5.9x-beta/6.0
  • instead of 5.3-beta/5.4 as previously planned)
  • User Interface:
  • NEW: Configurable (global) shortcuts to show main window/show the Actions menu.
  • Show Action Menu - equivalent of right clicking on the system tray icon
  • Show/Hide Main Window - equivalent of left clicking on the system tray icon
  • NEW: Updated main window UI
  • Fixed missing icons
  • Improved support for dark color themes
  • Improved "--ui-dialog" UI
  • Various minor UI tweaks and improvements
  • Misc.:
  • Updated the Hungarian translation (by Egyed Ferenc)
  • Updated the Polish translation
  • Updated the Russian translation (by beliy)
  • CHANGED: Colorized log output
  • FIXED: Bug #40:
  • KShutdown icon is wrong on Wayland session of KDE Plasma desktop environment)
  • Do not show popup menus near the mouse cursor to avoid accidental "Shut Down" click
  • CHANGED: Main window: "OK" button renamed to "Activate"
  • also removed "Press OK to activate KShutdown" hint)
  • Improved colors and fonts in "Command Line Options" window
  • Windows: Hidpi-aware installer (non blurry window text)
  • NEW: Added Help ? System Information menu item
  • FIXED: Custom menu shortcuts no longer disappear after application restart
  • FIXED: Workaround for disabled Sleep/Hibernate actions shortly after a Desktop Environment start
  • NEW: Show warning if installed KShutdown version is older than 2 years
  • NOTE: the warning is very subtle and does not affect any KShutdown functionality)
  • version command line option:
  • Show basic system info
  • Now works in MS Windows
  • FIXED: Workaround for non-ASCII digits in some Chinese time formats
  • e.g. Simplified Han, Hong Kong SAR on Windows 10)
  • NEW: Linux: Tools ? Run menu: Add more "journalctl" commands
  • FIXED: Use "C" locale in some date/time formatting/parsing
  • FIXED: Use "C" date/time format for consistency with other parts of the User Interface
  • Source Code:
  • NEW: Basic Support for Qt 6.x (Qt 5 is still used by default)
  • CHANGED: Requires Qt 5.12.x or later to compile
  • Replace signal/slot with lambda and remove unnecessary Q_OBJECT for faster compilation
  • Replaced deprecated Qt API
  • Minor C++ code modernizations and cleanup
  • Workaround for wineconsole crash when building win32 version using Wine
  • New *.desktop file parser and writer

New in Portable KShutdown 5.2 (Dec 30, 2019)

  • NEW: Experimental: Added "--ui-dialog" command line option. This option allows you to create a custom dialog window (buttons only; no timer). Items are arranged in a grid layout from left to right ("=" element creates a new row)
  • Syntax: --ui-dialog item1[:item2][:item3]
  • Valid items
  • Buttons : shutdown, reboot, lock, logout, hibernate, suspend, cancel, quit, test
  • Separator/Gap : -
  • Row Wrap (--ui-dialog only): =
  • Menu Title (--ui-menu only): title
  • Misc:
  • About window: Move "About Qt" button to the bottom buttons panel
  • Update GPL license www links
  • Updated the Polish translation
  • CHANGED: Run external programs/commands as "detached" which may fix some issues
  • Windows:
  • UPDATED: Qt library in version 5.13.1
  • Source:
  • FIXED: Added proper way to enable C++14 standard and fix compile error
  • Bug: https://sourceforge.net/p/kshutdown/bugs/38/
  • REMOVED: Obsolete stats.cpp and stats.h files
  • CHANGED: i18n: Do not include line numbers in generated *.po/*.pot files
  • Fixed some "QString::null" warnings (other "deprecated" warnings will be fixed later)
  • Minor code cleanup

New in Portable KShutdown 5.1 Beta (Jul 25, 2019)

  • CHANGED: New action names that matches more closely the terminology used in current Desktop Environments. You can select "Use old action names" option if don't like the change.
  • NEW: Added Help|What's New? menu item
  • NEW: Added --logoff, --restart, and --sleep command line option aliases (run kshutdown --help for details)
  • Misc.:
  • CHANGED: Do not show "Ctrl+Q" shortcut in system tray menu
  • CHANGED: Tweaked popup notifications autohide timeout
  • FIXED: Better default keyboard focus in dialog windows
  • NEW: Added "Wiki" link button to the "Command Line Option" help window
  • Qt5: About window:
  • Links can be selected and opened using Tab/Enter keys
  • Selectable text
  • Linux:
  • NEW: Tools|Run menu: Added boot-related "journalctl" commands
  • Windows:
  • UPDATED: Qt library in version 5.13.0
  • UPDATED: NSIS installer in version 3.04
  • Haiku OS:
  • Partially fixed Shut Down and Restart actions
  • NEW: Added Lock action support
  • Source:
  • CHANGED: Simplify and normalize application versioning. Now all versions are in format: "mm.ii" plus optional "-beta" suffix.
  • This mostly apply to -
  • versions displayed in KShutdown GUI
  • default download URLs (e.g. sourceforge.net/projects/kshutdown/files/KShutdown/$VERSION/kshutdown-source-$VERSION.zip/download)
  • UPDATED: "VERSION" file format and related files
  • REMOVED: "test-wine.bat"; use "Setup-wine.sh" instead
  • REMOVED: Obsolete "kshutdown.nsh" file (version number is now passed as /DAPP_VERSION option)
  • Code cleanup

New in Portable KShutdown 5.0 (May 6, 2019)

  • New:
  • Added option to focus/select "Cancel" button by default in confirmation message
  • Added Tools -> Run menu with various related Linux commands (this replaces "Statistics" menu item)
  • Improve error message in the process list combo box
  • Windows:
  • Updated Qt library to version 5.11.2
  • Source:
  • Added .editorconfig file with sane text format defaults
  • Fixed - remove autogenerated files before creating source package
  • Updated win32 build scripts
  • Versioning:
  • Major version number is now "5" to better align with Qt 5/KF 5 versions numbers.
  • Older KShutdown 4.2 still works with Qt 4/KDE 4.

New in Portable KShutdown 4.99 Beta (Oct 17, 2018)

  • CHANGED: KShutdown 5.x now requires Qt 5.9 or newer
  • REMOVED: Qt 4 support
  • REMOVED: KDE 4 support
  • REMOVED: Windows XP/Vista support (requires Windows 7/10 or newer, 32/64-bit)
  • Misc.:
  • CHANGED: New command line option parser. This fixes some previous issues. However, the new parser is more strict and may print a warning if passed application options are malformed or incomplete.
  • NEW: Progress Bar context menu: Show size/position preview icons
  • NEW: Added Help|Command Line Options menu item
  • NEW: Added "--confirm-auto" command line option (see --help)
  • UPDATED: Spanish translation (by Pier Jose Gotta Perez)
  • Improve info/warning message bars (smaller icons, nicer colors)
  • CHANGED - Version format is now slightly different:
  • $MAJOR.$MINOR_EVEN - stable version (e.g. 5.0, 5.2)
  • $MAJOR.$MINOR_ODD-beta - Beta version (e.g. 5.1-beta, 5.3-beta)
  • Note that package file names now include "-" (dash) before "beta".
  • Version numbers displayed in UI are formatted like before (e.g. 5.1 Beta)
  • FIXED: "--confirm" option can now work together with "--ui-menu" option
  • REMOVED: Unused "?" button from window title bars
  • Enable hi-dpi UI icons
  • Minor bugfixes and updates
  • MS Windows:
  • NEW: Show countdown progress in taskbar entry
  • CHANGED: Using Qt 5.x instead of old 4.8.x
  • REMOVED: "/?" command line option; use "--help" instead
  • FIXED: Uninstaller: Ask before removing user settings
  • Source:
  • CHANGED: Require Qt 5.9 or newer to compile
  • NEW: Enable and use c++14 standard
  • CHANGED: Incorrect combination of KS_PURE_QT/KS_KF5 defines will result in a compile error
  • CHANGED: Cleaned up #defines:
  • KS_NATIVE_KDE -> KS_KF5
  • KS_DBUS -> QT_DBUS_LIB
  • KS_UNIX -> !Q_OS_WIN32
  • CHANGED: Require NSIS 3.x to create an installer for Windows with Unicode support
  • CHANGED: In all build types (KF5/Qt5), executable name is now "kshutdown" instead of "kshutdown-qt"
  • NEW: Setup-qt5.bat
  • REMOVED: Setup-qt4.bat and Setup-qt4.sh
  • REMOVED: U_* macros
  • REMOVED: Unused KDE 4 code
  • Fixed and clean up "tools" scripts
  • CHANGED: Setup-wine.sh: Use a separated Wine profile (~/.wine-kshutdown) and force 32-bit architecture
  • Move command line related stuff to "commandline.*" files and "CLI" class
  • Move all action/trigger classes to a dedicated plugins.cpp/h files
  • Cleanup build scripts
  • (Qt5): cmake: Enable "automoc" for faster compilation
  • Various code cleanups
  • New Known Issues:
  • cmake: If you get "(...) bootentry.h: No such file or directory" error try to run cmake from non-symlinked directory, e.g. cd "$(realpath .)"

New in Portable KShutdown 4.2 (Oct 17, 2017)

  • Fixed: Password on Cancel bypasses the Action setting (bug #33)
  • Statistics: Added Ctrl+Shift+S shortcut
  • Updated the Polish translation
  • Linux:
  • Fixed: Suspend only works the second time (bug #34)
  • Fixed missing Ctrl+Q shortcut in some Desktop Environments
  • Fixed: Show application main window if KShutdown is already running
  • When Selected Application Exit trigger:
  • - Fixed combo box selection of root and non-own processes
  • - Fixed root and non-own processes exit detection
  • Source:
  • Removed semi-private KDevelop project files
  • Updated links and args in tools/*.sh scripts

New in Portable KShutdown 4.0 / 4.1.1 Beta (Aug 25, 2017)

  • Installer: Remove "License Agreement" because GNU GPL is not an EULA
  • Nicer system tray icon
  • Add KShutdown logo icon to the kshutdown.exe file

New in Portable KShutdown 4.1 Beta (Apr 18, 2017)

  • Better tool tips in menus (requires Qt 5.1+) (feature-request #21)
  • Removed ambiguous "Build" text from version info.
  • yyyy-MM-DD string now refers to the official release date rather than build/compilation date.
  • Nicer font in About|License tab
  • Update Portuguese translation (thanks to Américo Monteiro)
  • Better icon in confirmation message box
  • UI Use pixel metrics instead of hardcoded values
  • Fixed Process List Do not truncate command names with spaces
  • Update links to use encrypted https//kshutdown.sourceforge.io/
  • instead of http//kshutdown.sourceforge.net/
  • Command Line:
  • ui-menu show confirmation box only if --confirm option is set
  • version Print correct Qt version
  • Source:
  • Qt Build/cmake Install "kshutdown.png" icons (bug #29)
  • Use install(TARGETS) to install the kshutdown binary
  • (patch #6 by Raphael Kubo da Costa)
  • Added ./tools/clang-tidy.sh script
  • cmake Auto generate compile commands (used by clang-tidy)
  • Fix compilation error with Qt4 (bug #30)
  • Qt Build/cmake Include missing translations and application icons
  • Auto show warnings reported by POFileChecker while building language
  • translations using ./tools/i18n.sh (need optional gettext-lint package)
  • Modernize code
  • > nullptr
  • Use " = default" destructors
  • Use "auto"
  • Minor code cleanup
  • Minor docs update
  • Windows:
  • Update Qt libraries to version 4.8.

New in Portable KShutdown 4.0 (Aug 31, 2016)

  • Qt Build:
  • NEW: Use the standard Ctrl+Q shortcut instead of Ctrl+Shift+Q (bug #26)
  • Fixed: Support "--version" command line option (bug #26)
  • Command Line: Ignore "/?" option in non-Windows versions
  • Fixed: Honor $INSTALL_ROOT environment variable when installing icons (bug #25)
  • Fixed: Remove icons during "make uninstall"
  • Misc:
  • Czech translation update (Pavel Fric)
  • Updated German translation (Vinzenz Vietzke)
  • Updated Russian translations (Victor Ryzhykh)
  • Updated Polish translation
  • Fixed: Make menu titles less distractive and less annoying
  • (feature request #21)
  • Fixed: Disable incorrectly positioned tool tips in System Tray menu
  • Windows: Updated installer
  • Source:
  • Fix compiler warnings
  • README.html: Document "Required Libraries" (bug #23)

New in Portable KShutdown 3.99 Beta (Nov 7, 2015)

  • Misc.:
  • Remove "Maximize" button
  • Minor fixes in time display format
  • Auto switch to next day in case of invalid date
  • Minor bugfixes and updates
  • README.html updates:
  • - Add "Qt Build (Windows)" section
  • - Update "Configuration Files"
  • - Add "Installed Files"

New in Portable KShutdown 3.3.1 Beta (Jul 3, 2015)

  • User Inteface:
  • Avoid smaller text fonts
  • Remove Help|What's This? menu item
  • Clean up menu bar
  • Show tool tips in Action and Bookmarks menus
  • Show a small note that 24h+ delay is not recommended
  • Fix minor issues
  • Command-Line:
  • Allow "h" and "m" time suffixes. Example: 2h (two hours), 10m (ten minutes)
  • Better "--help" output formatting
  • Extras Menu:
  • Show command to execute in tool tip
  • Better menu item names
  • Fix launching commands with a long file name
  • Source:
  • Clean up TODO list
  • Update Doxygen configuration
  • Minor code clean up; fix lint warnings

New in Portable KShutdown 3.3 Beta (Dec 3, 2014)

  • NEW: Allow custom bookmark names
  • Increase minimum required password length to 12 characters
  • Updated the Polish and Russian translations
  • Updated README.html documentation
  • Fixed: Reduce the number of debug messages printed to stderr/console
  • Renamed "Quit" action to "Quit KShutdown"
  • NEW: Add "--mod" command-line option (allows various UI tweaks such as progress bar opacity or color themes; to be documented and continued...)
  • NEW: Added "--portable" command-line option to run KShutdown in a portable mode.
  • This works only with "kshutdown-qt" build and KShutdown for Windows.
  • The standard version for KDE will stop with "Unknown option 'portable'" error.
  • NEW: Flash taskbar button 1 or 5 minutes before action timeout
  • Updated About window (show build date in yyyy-mm-dd format; better text layout)
  • Show "Press OK to activate KShutdown" hint
  • Fix text wrap and spacing in notification text
  • Windows:
  • Support Qt 4.8.6 library and newer MinGW
  • Update/simplify installer
  • Extras Action:
  • Fixed: Show "(Empty)" text if Extras folder does not contain any items
  • Added "Do not show this message again" option
  • Settings Window:
  • Autoselect recently visited tab
  • KDE: Added tab icons
  • Fix minor UI layout issues
  • Source:
  • NEW: scan-build support (./tools/scan-build.sh)
  • Fix minor issues reported by static analyzers
  • Updated examples in ./Setup* scripts
  • Improved ./tools/make-version.h
  • NEW: cmake: support Qt5 build (patch #4)
  • NEW: Added flint++ (C++ Linter) support (./tools/flint++.sh)
  • C++ code clean up:
  • Add "override"
  • Add missing "virtual"
  • Use typesafe "enum class"
  • Remove some "inline" directives
  • Use C++11 R"( for better strings readability
  • Fix _WIN32_WINNT-related warnings
  • Update build instructions for Wine/Win32
  • Updated utility scripts

New in Portable KShutdown 3.2 (Feb 27, 2014)

  • Czech translation update
  • Updated the Polish translation
  • Fixed language translations in some common UI elements
  • Minor User Inteface tweaks
  • Fixed: Disable "OK" button if new password is invalid

New in Portable KShutdown 3.1 Beta (Dec 7, 2013)

  • NEW: Simple password protection
  • see menu bar -> Preferences -> Password tab)
  • Updated README.html
  • Updated the Spanish translation
  • Updated the Polish translation
  • Qt Build: Allow logout from KDE 4
  • NEW: "Test" action:
  • Renamed to "Show Message"
  • Configurable text
  • Source:
  • NEW: Removed "kworkspace" library dependency
  • libkworkspace is no longer required to build KShutdown for KDE)
  • Enable C++11 support
  • cppcheck tool support (./tools/cppcheck.sh)
  • Windows: Fixed compilation errors

New in Portable KShutdown 3.0 (Jul 9, 2013)

  • Updated Czech translation
  • Updated Simplified Chinese translation
  • Bookmarks menu: Mark the current/selected bookmark
  • Windows: Use the latest Qt 4.8.5
  • README: Added alternate Qt 5.1 build instructions

New in Portable KShutdown 3.0 Beta 8 (Jun 17, 2013)

  • NEW: Bookmarks menu
  • Czech translation update
  • Updated Polish translation

New in Portable KShutdown 3.0 Beta 7 (Apr 10, 2013)

  • NEW: MATE Desktop Environment support
  • NEW: Razor-qt Desktop Environment support
  • Updated Serbian translations
  • Updated Brazilian Portuguese translation
  • Unified system tray icon view and options in all KShutdown versions
  • Fixed -e and --extras command line options
  • Fixed transparent background in "kshutdown" icons; reduced "kshutdown.ico" size

New in Portable KShutdown 3.0 Beta 6 (Feb 13, 2013)

  • NEW: Qt 5 support
  • Disable drop shadow and input focus in progress bar and screen lock windows
  • Windows:
  • Updated Qt libs/dlls (v4.8.4)
  • Documentation:
  • Fixed broken www links

New in Portable KShutdown 3.0 Beta 5 (Nov 26, 2012)

  • Progress Bar:
  • NEW: Size configuration (see context menu)
  • Fixed: Auto update location/width on screen size change
  • Improved Kiosk support
  • Use KDE native color chooser
  • Extras:
  • NEW: Support "Extras" in all KShutdown versions
  • NEW: Added Extras -> Stop -> VLC
  • KDE: Do not show security/confirmation dialog for new *.desktop files
  • Show command name in menu item
  • User Interface:
  • Improved confirmation message box
  • Changed "Quit" shortcut to Ctrl+Shift+Q
  • KDE: Show credits, author, and bug report address in About box
  • KDE: Show action keyboard shortcuts in menu
  • Process Monitor: Linux: Show own processes on top of the list
  • Misc.:
  • Fixed bug #1044213 (update date/time status after resume)
  • Include README.html file in portable package
  • KDE: Extras: Use current/default file manager instead of hardcoded "/usr/bin/dolphin"
  • Fixed small memory leaks
  • Updated Polish translation
  • NEW: Smaller portable package compressed using 7-Zip
  • Updated application description
  • Updated sf.net and Wiki links
  • Windows:
  • NEW: Added "When selected application exit" trigger
  • Show icons in message panes
  • Fixed: Removed "" tags from system tray tool tip
  • Fixed: Force shutdown if screen is locked (Windows XP)
  • Fixed shutdown issues caused by multiple logged in users
  • Fixed: Hide "Do not save session" option if it's not needed
  • Windows Installer:
  • "Autostart" option is now unselected by default
  • NEW: Support for silent mode ("/S" option). Installer launched with /S option will install KShutdown in a default location without asking any questions :)
  • Reduced installer size
  • Setup scripts:
  • Removed kdesudo (optional package) dependency (bug #16)
  • Fixed confusing "ERROR: Build failed..." message
  • Source:
  • Fixed/suppressed issues reported by Krazy2 tool
  • Win32: Fixed compilation
  • Win32: Updated compilation instructions
  • Helper test script for Wine (./tools/test-wine.bat)

New in Portable KShutdown 3.0 Beta 4 (Sep 18, 2012)

  • Progress Bar:
  • NEW: Customizable color (progress bar -> context menu -> Set Color...)
  • Fixed: Show/hide progress bar on settings change
  • Show progress bar in user inactivity detector
  • Misc.:
  • A more compact "Action" and system tray context menu
  • Czech translation update
  • Updated Polish translation
  • Show error message if trigger (e.g. user inactivity detector) is not available
  • Windows: Updated Qt DLLs (v4.8.1) and MinGW
  • README:
  • Updated MinGW docs
  • Added Clang (alternate C++ compiler) docs

New in Portable KShutdown 3.0 Beta 3 (Mar 2, 2012)

  • NEW: Option to quit program instead of minimizing to tray (RFE #3494853)
  • NEW: Option to hide system tray icon
  • Fixed Alt+A keyboard shortcut which clashed with the Cancel button (English translation only)
  • Updated language translations:
  • Czech translation update.
  • Danish translation updates
  • Italian translation updates
  • Serbian translation updates
  • Source:
  • KDE 4: Auto run "kdesudo" to install compiled KShutdown
  • KDE 4: Fixed: KShutDown doesn't build on KDE 4.8 (patch)
  • Fixed compilation warnings

New in Portable KShutdown 2.0 Beta 10 (Sep 29, 2010)

  • NEW: Show warning notification 30, 60, or 120 minutes before timeout
  • NEW: Danish translation
  • "Restart/Turn Off Computer" actions are now disabled for GNOME Display Manager and in GNOME/Xfce desktop environment
  • Menu Bar: "File" menu renamed to "Action"
  • NEW: Added "Test" action (an action that does nothing; useful in testing)
  • Updated Polish translation
  • Updated Serbian translation
  • Updated documentation
  • Command Line:
  • NEW: Added "-hide-ui" command line option to hide all KShutdown user interface (main window and system icon)
  • Command line help window (--help) now includes a link to the full Command Line documentation