Was ist das KKSRC-Dateiformat?
Eine .kksrc-Datei ist ein Tastenkombinations-Schema, das aus KDE Plasma exportiert wurde, der Desktop-Umgebung, die auf vielen Linux-Distributionen verwendet wird. Sie ist im INI-Stil als Klartext verfasst und lässt sich daher in jedem Editor gut lesen. Gruppenüberschriften stehen in eckigen Klammern und benennen die Komponente, die sie konfigurieren, wie zum Beispiel [kwin][Global Shortcuts] für den Fenstermanager oder [plasmashell][Global Shortcuts] für die Desktop-Shell. Unter jeder Überschrift ordnet jede Zeile einer Aktion eine Tastenfolge zu, zum Beispiel Walk Through Windows=Alt+Tab. Eine Aktion kann mehrere alternative Bindungen enthalten, die durch Semikolons getrennt sind, und der Wert none kennzeichnet eine Aktion, der kein Kurzbefehl zugewiesen ist.
Die Datei ist eine portable Momentaufnahme. Ihre aktiven Bindungen laufen über ~/.config/kglobalshortcutsrc, und ein .kksrc-Schema ist das, was die Systemeinstellungen schreiben, wenn Sie diese Bindungen exportieren, um sie zu teilen, zu sichern oder auf einen anderen Rechner zu kopieren. Das Format lehnt sich eng an eine einfache .ini-Datei an, und man findet .kksrc-Dateien oft zusammen mit anderen Dotfiles in der Versionsverwaltung.
Sicherheit
RISIKO: LOWA .kksrc file is plain text that lists action names and key sequences. It holds no executable code and cannot run on its own. The only caution is that importing an unknown scheme will overwrite your existing shortcut bindings, so review the file first if it came from someone else.
Formatdetails
kurz gefasst- KHotKeys custom shortcut data - The older KDE KHotKeys engine handled custom hotkeys and gestures via [khotkeys] groups; it is unmaintained after the Plasma 5.27 branch.
Programme zum Öffnen von KKSRC-Dateien
.kksrc file to read its plain-text shortcut entries, though the file only applies inside KDE Plasma. .kksrc file contains. .kksrc file to read and edit the bracketed groups and action=shortcut lines directly as text. kcmshell6 keys (or kcmshell5 keys) to launch the Shortcuts control module, then import the scheme file. Technische Details
technische Spezifikation| Encoding | UTF-8 plain text |
| Byte order | N/A (text, no byte-order marker) |
| Container | INI-style key=value groups |
| Structure | Grouped INI file. Each group header takes the form [ComponentName][Global Shortcuts] (for example [kwin][Global Shortcuts] or [plasmashell][Global Shortcuts]). Under each header, lines follow ActionName=KeySequence, such as Walk Through Windows=Alt+Tab. Multiple alternative bindings for one action are separated by semicolons, and the value none marks an unbound action. |
| Typical size | A few kilobytes; commonly 2 KB to 30 KB depending on how many components and actions are exported |
| Integrity | None built in; integrity relies on the plain-text file being well formed |
| Platforms | Linux, BSD |
| Notes | Produced by the Shortcuts module in KDE System Settings when a shortcut scheme is exported. It mirrors the on-disk kglobalshortcutsrc data but is packaged as a portable, importable scheme file. The runtime configuration itself lives in ~/.config/kglobalshortcutsrc, which uses the same INI grouping but a richer value syntax (action=binding,default,friendly name). |
| Editability | Fully human-readable and editable in any text editor |
| Line Format | action name = key sequence |
| Veröffentlicht | KDE 4 / Plasma era (KDE global shortcuts framework) |
| Spezifikation | docs.kde.org |
KKSRC-Konvertierungen
Community Q&A
von Nutzern gefragtNoch keine Fragen - stellen Sie die erste Frage zu KKSRC-Dateien.
Häufig gestellte Fragen
Wie öffne ich eine .kksrc-Datei?
kcmshell6 keys aus. Um den Inhalt nur zu lesen oder zu bearbeiten, öffnen Sie sie in einem beliebigen Texteditor wie Kate, VS Code oder Notepad.Wo speichert KDE meine tatsächlichen Kurzbefehle?
~/.config/kglobalshortcutsrc verwaltet. Eine .kksrc-Datei ist ein portables Schema, das aus diesen Daten über die Systemeinstellungen exportiert wurde und für den Austausch oder die Sicherung gedacht ist.Kann ich eine .kksrc-Datei über die Kommandozeile importieren?
kcmshell6 keys starten und von dort aus importieren oder vollständige Profile mit einem Tool wie Konsave verwalten. Einige Benutzer skripten stattdessen Änderungen direkt in der kglobalshortcutsrc.Löscht das Importieren einer .kksrc-Datei meine aktuellen Kurzbefehle?
Funktioniert .kksrc unter Windows oder macOS?
Warum zeigt ein Kurzbefehl den Wert „none“ an?
none bedeutet, dass der Aktion derzeit keine Taste zugewiesen ist. Es ist ein normaler Platzhalter für Aktionen, die absichtlich ohne Bindung gelassen wurden.