Configuration keys
These are the configuration keys of SonicDE's widgets, to use with writeConfig(). Each list is under the widget's ID, with each key's type and default. Where a key is in a group other than General, use currentConfigGroup first:
widget.currentConfigGroup = ["Appearance"];
widget.writeConfig("showDate", "true");
The list comes from each widget's main.xml, which is the place to look for the full default values and any widget not listed here.
Application launchers
org.kde.plasma.kickoff
icon(String,start-here-sonicde-symbolic): icon of the compact representationmenuLabel(String): text label for the panel buttonappNameFormat(Int,2): how application names are shown;0is the name only,1the generic name onlyfavorites(StringList): general favorites, usually.desktopfile namessystemFavorites(StringList,suspend,hibernate,reboot,shutdown): system action favoritesprimaryActions(Int,0): actions in the footer;0power,1session,2customfavoritesPortedToKAstats(Bool,false): whether favorites have been ported to per-activity favoritessystemApplications(StringList): applications at the top of the "Computer" tabpaneSwap(Bool,false): swap the sidebar and content panesfavoritesDisplay(Int,0):0grid,1listapplicationsDisplay(Int,1):0grid,1listalphaSort(Bool,false): sort menu contents alphabeticallypin(Bool,false): keep the popup open when another window is activatedshowActionButtonCaptions(Bool,true): show captions on the footer action buttonscompactMode(Bool,false): compact list itemsswitchCategoryOnHover(Bool,false): switch category on hoverhighlightNewlyInstalledApps(Bool,true): highlight newly installed applications
org.kde.plasma.kicker
icon(String,start-here-sonicde-symbolic): icon of the compact representationuseCustomButtonImage(Bool,false): use a custom image instead of an iconcustomButtonImage(Url): URL of the custom imageappNameFormat(Int,0): how application names are shown;0is the name only,1the generic name onlylimitDepth(Bool,false): flatten top-level menu categories to one levelalphaSort(Bool,false): sort menu contents alphabeticallyrecentOrdering(Int,0):0recent first,1popular firstfavoriteApps(StringList): general favoritesfavoriteSystemActions(StringList,logout,reboot,shutdown): system action favoritesfavoritesPortedToKAstats(Bool,false): whether favorites have been ported to per-activity favoriteshiddenApplications(StringList):.desktopfile names not to show in the menushowRecentApps(Bool,true): show the "Recent Applications" categoryshowRecentDocs(Bool,true): show the "Recent Files" categoryshowRecentFolders(Bool,false): show the "Recent Places" categoryuseExtraRunners(Bool,true): use additional KRunner plugins in searchextraRunners(StringList): plugin IDs of those KRunner pluginsalignResultsToBottom(Bool,true): align search results to the bottom of the menushowIconsRootLevel(Bool,false): show icons on the root levelhighlightNewlyInstalledApps(Bool,true): highlight newly installed applicationsforceDarkMode(Bool,true): force dark mode for the dashboardfavoritesColumns(Int,3): columns in the dashboard's favorites grid
org.sonicde.sonicmenu
icon(String,menu_new-symbolic): icon of the compact representationuseCustomButtonImage(Bool,false): use a custom image instead of an iconcustomButtonImage(Url): URL of the custom imageshowIcons(Bool,false): show icons in the menumenuWidth(Int,240): width of the dropdown in pixels;0for the defaultbuttonHeight(Int,28): height of each item in pixels;0for the defaultmenuJson(String): JSON array defining the menu; items can havename,iconandcommand, among others
Task bar and window lists
org.kde.plasma.taskmanager
showOnlyCurrentScreen(Bool,false): only tasks on the widget's screenshowOnlyCurrentDesktop(Bool,true): only tasks on the current virtual desktopshowOnlyCurrentActivity(Bool,true): only tasks on the current activityshowOnlyMinimized(Bool,false): only minimized tasksunhideOnAttention(Bool,true): unhide if a window wants attentiongroupingStrategy(Enum,1):0don't group,1by program namegroupedTaskVisualization(Enum,0): what clicking a grouped task does;0cycles through the groupgroupPopups(Bool,true): reduce groups to one button that expands into a popuponlyGroupWhenFull(Bool,true): group only when out of spacegroupingAppIdBlacklist(StringList): application IDs not to groupgroupingLauncherUrlBlacklist(StringList): launcher URLs not to groupsortingStrategy(Int,1): a value ofTaskManager::TasksModel::SortModeseparateLaunchers(Bool,true): sort launcher tasks separately at the starthideLauncherOnStart(Bool,true): hide a launcher task when its application startsmaxStripes(Int,1): maximum rows, or columns on a vertical panelforceStripes(Bool,false): always use as many rows or columns asmaxStripesshowToolTips(Bool,true): show tooltips on hovertaskMaxWidth(Enum,1): maximum width of task itemswheelEnabled(Enum,0): whether the mouse wheel switches between taskswheelSkipMinimized(Bool,true): skip minimized tasks when using the wheelhighlightWindows(Bool,false): highlight windows when hovering their tooltipslaunchers(StringList): the launcher tasks, usually.desktopfile or executable URLsmiddleClickAction(Enum,2): what middle-clicking a task doesindicateAudioStreams(Bool,true): indicate applications playing audiointeractiveMute(Bool,true): mute applications through the audio indicatorstooltipControls(Bool,true): media and volume controls in the tooltipfill(Bool,true): occupy all available spacetaskHoverEffect(Bool,true): change a task's appearance on hovermaxTextLines(Int,0): maximum text lines in a task button;0for no limitminimizeActiveTaskOnClick(Bool,true): minimize the active task when clickedreverseMode(Bool,false): grow tasks opposite to the system configurationiconSpacing(Int,1): multiplier for the spacing between icons
org.kde.plasma.windowlist
showOnlyCurrentScreen(Bool,false),showOnlyCurrentDesktop(Bool,true),showOnlyCurrentActivity(Bool,true),showOnlyMinimized(Bool,false): which windows to listshowText(Bool,true): show the window title on a horizontal panelshowIcon(Bool,true): show the icon on the panel buttonopenOnHover(Bool,false): open the popup on hoverhoverOpenDelay(Int,300): delay before that, in millisecondssortingStrategy(Enum,SortVirtualDesktop): a value ofTaskManager::TasksModel::SortMode
org.kde.plasma.pager
displayedText(Enum,2): text inside the desktop rectanglesshowWindowOutlines(Bool,true): show window outlinesshowWindowIcons(Bool,false): show window iconsshowOnlyCurrentScreen(Bool,false): limit to the widget's screenwrapPage(Bool,false): wrap when navigatingcurrentDesktopSelected(Enum,0): what left-clicking a desktop doespagerLayout(Enum,0): layout style
org.kde.plasma.showActivityManager
showActivityName(Bool,true): show the current activity's nameshowActivityIcon(Bool,true): show its icon instead of the widget's
org.kde.plasma.showdesktop
icon(String,user-desktop-symbolic)
System tray and status
org.kde.plasma.systemtray
extraItems(StringList): widgets explicitly enabled in the tray, by IDdisabledStatusNotifiers(StringList): status notifier items that shouldn't be visiblehiddenItems(StringList): items always in the popupshownItems(StringList): items always shownshowAllItems(bool,false): keep all entries in the main areaknownItems(StringList)reverseIconOrder(bool,false): reverse the order of icons in the panelscaleIconsToFit(bool,false): scale icons to the panel's thicknessiconSpacing(int,2): multiplier ofKirigami.Units.smallSpacingbetween iconspin(Bool,false): keep the popup open when another window is activated
org.kde.plasma.keyboardlayout
displayStyle(Enum,0): text or a flag on the compact representation
org.kde.plasma.keyboardindicator
key(StringList,Caps Lock)
org.kde.plasma.kimpanel, group Appearance
vertical_lookup_table(Bool,false)use_default_font(Bool,true)font(Font)hiddenList(StringList)scaleIconsToFit(bool,false): scale icons to the panel's thickness
org.kde.plasma.devicenotifier
removableDevices(Bool,true): list removable devices, such as USB drivesnonRemovableDevices(Bool,false): list non-removable devicesallDevices(Bool,false): list all devices. Use only one of these three.popupOnNewDevice(Bool,true): open when a new device is inserted
org.kde.plasma.clipboard
barcodeType(String,QRCode)
org.kde.plasma.lock_logout
actionsOrder(StringList): order of the actionsshow_lockScreen(Bool,true),show_requestLogoutScreen(Bool,true),show_requestShutDown,show_requestReboot,show_requestLogout,show_switchUser,show_suspendToDisk,show_suspendToRam(Bool,false): which actions to show
org.kde.plasma.userswitcher
showFace(Bool,false),showName(Bool,true),showFullName(Bool,true),showTechnicalInfo(Bool,false)
Clocks and calendars
org.kde.plasma.digitalclock, group Appearance
showLocalTimezone(Bool,false): show the zone when showing local timeshowSeconds(Enum,1): how seconds are shownshowDate(Bool,true): show the date next to the clockdateFormat(string,shortDate):shortDate,longDate,isoDateorcustomcustomDateFormat(string,ddd d): custom date formatautoFontAndSize(Bool,true): use the default font and find the size automaticallyfontFamily(string),boldText(Bool,false),italicText(Bool,false),fontWeight(Int,50),fontStyleName(string),fontSize(Int,10): the font when not automatictimeFormat(string,default)selectedTimeZones(StringList,Local): time zones, such asEurope/London;Localis the local zonelastSelectedTimezone(String,Local): the zone shown on restorewheelChangesTimezone(Bool,false): the wheel switches between zonesdisplayTimezoneFormat(Enum,0): the zone as a code, text or UTC offsetshowWeekNumbers(Bool,false): week numbers in the calendaruse24hFormat(UInt,1): force 12 or 24 hour timefirstDayOfWeek(Int,-1): first day of the week;-1follows the localeenabledCalendarPlugins(StringList): plugins for additional calendar eventspin(Bool,false): keep the popup open when another window is activateddateDisplayFormat(Enum,0): the date below or beside the time
org.kde.plasma.analogclock
showSecondHand(Bool,false),showTimezoneString(Bool,false)
org.kde.plasma.binaryclock
showOffLeds(Bool,true),showSeconds(Bool,true)useCustomColorForActive(Bool,false),customColorForActive(Color,green)useCustomColorForInactive(Bool,false),customColorForInactive(Color,red)useCustomColorForGrid(Bool,false),customColorForGrid(Color,blue)
org.kde.plasma.fuzzyclock, group Appearance
fuzzyness(Int,1),boldText(Bool,false),italicText(Bool,false)
org.kde.plasma.calendar, group Agenda
startOfWorkingDay(int,9),endOfWorkingDay(int,17),showWeekNumbers(Bool,false),compactDisplay(String,d)
org.kde.plasma.timer
predefinedTimers(StringList): timers in secondsrunning(int,0),seconds(int,0),savedAt(DateTime)showTitle(Bool,false),title(String,Timer)showRemainingTime(Bool,true),showSeconds(Bool,true),showTimerToggle(Bool,true),showProgressBar(Bool,false)showNotification(Bool,true),notificationText(String,Timer finished)runCommand(Bool,false),command(String)
Panel items
org.kde.plasma.panelspacer
expanding(bool,true): take all available spacelength(Int,-1): length in pixels, when not expanding
org.kde.plasma.marginsseparator
icon(String,user-desktop)
org.kde.plasma.appmenu, group Appearance
compactView(Bool,false): show only a button for the menuallScreens(Bool,true): show menus for applications on all screens
org.kde.plasma.icon
url(String),localPath(String)
org.kde.plasma.quicklaunch
maxSectionCount(Int,1),showLauncherNames(Bool,false),enablePopup(Bool,false),title(String),launcherUrls(StringList),popupUrls(StringList)
Other widgets
org.kde.plasma.colorpicker
history(StringList),autoClipboard(Bool,true),defaultFormat(String,#RRGGBB),pickOnActivate(Bool,true),compactPreviewCount(Int,1)
org.kde.plasma.comic, no group
comic(string): the current comic tabshowComicUrl,showComicAuthor,showComicTitle,showComicIdentifier(Bool,false): what to show in metadata rowsarrowsOnHover(Bool,true): navigation arrows only on hovermiddleClick(Bool,true): middle-clicking opens a full viewtabIdentifier(StringList): enabled comic pluginscheckNewComicStripsIntervall(Int,180): minutes between checks for new stripsmaxComicLimit(Int,29): strips to cache per comicsavingDir(String): folder of the last saved image
org.kde.plasma_applet_dict
dictionary(String,all)
org.kde.plasma.fifteenpuzzle, group Appearance
imagePath(String),useImage(Bool,false),showNumerals(Bool,true),boardColor(Color,#333333),numberColor(Color,#ffffff),boardSize(Int,4)
org.kde.plasma.mediaframe
interval(Double,10.0),randomize(Bool,true),pauseOnMouseOver(Bool,true),leftClickOpenImage(Bool,true),showCountdown(Bool,true),fillMode(int,1)- In group Paths:
pathList(StringList)
org.kde.plasma.notes
color(String,yellow),fontSize(int),noteId(String),scrollX(Double,0),scrollY(Double,0),cursorPosition(Int,-1),pinOpen(Bool,false)
org.kde.plasma.weather
- In group WeatherStation:
updateInterval(int,30),placeDisplayName,provider,placeInfo,source(string) - In group Appearance:
showTemperatureInCompactMode(bool,false),showTemperatureInBadge(bool,false),showTemperatureInTooltip(bool,true),showWindInTooltip(bool,true),showPressureInTooltip(bool,false),showHumidityInTooltip(bool,true) - In group Units:
temperatureUnit,pressureUnit,speedUnit,visibilityUnit(int)
org.kde.plasma.webbrowser
useDefaultUrl(Bool,false),defaultUrl(String),url(String),pin(Bool,false)useMinViewWidth(Bool,true),minViewWidth(Int,600),constantZoomFactor(Int,100)icon(String),favIcon(String),useFavIcon(Bool,true)enableNavigationBar(Bool,true),privateBrowsing(Bool,true)