diff options
author | Ken Moore <ken@ixsystems.com> | 2017-01-27 14:22:46 -0500 |
---|---|---|
committer | Ken Moore <ken@ixsystems.com> | 2017-01-27 14:22:46 -0500 |
commit | 1ee0abd899e1da60b541110642dcc39e6bb44d7b (patch) | |
tree | ec24c8bf3b27485fdd3fd48cff6d7f5bfc8bdebe /src-qt5/core/libLumina | |
parent | Another large batch of work on the new unified desktop. (diff) | |
download | lumina-1ee0abd899e1da60b541110642dcc39e6bb44d7b.tar.gz lumina-1ee0abd899e1da60b541110642dcc39e6bb44d7b.tar.bz2 lumina-1ee0abd899e1da60b541110642dcc39e6bb44d7b.zip |
Another large update for Lumina 2:
Get the new LShortcutEvents class setup and functional. This is what converts the key presses and mouse clicks into a format that can be scanned for user-defined shortcuts to do things in the session.
NOTES:
The format of the keys.conf files uses "keycodes" (in ascending order") delimited by "+" to make the settings searchable and non-ordered-specific.
Example:
[strict]
22+37+64=logout
This is a shortcut for [L_Ctrl (37), L_Alt (64), Backspace (22)] and it will trigger the start of the logout procedures.
The "strict" section (and it's alternative "desktop" section) determine priority of the shortcut (strict is always evaluated, desktop is only evaluated if the desktop has focus and there is no corresponding "strict" shortcut).
Diffstat (limited to 'src-qt5/core/libLumina')
-rw-r--r-- | src-qt5/core/libLumina/DesktopSettings.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src-qt5/core/libLumina/DesktopSettings.cpp b/src-qt5/core/libLumina/DesktopSettings.cpp index bfd149ca..cd85df5e 100644 --- a/src-qt5/core/libLumina/DesktopSettings.cpp +++ b/src-qt5/core/libLumina/DesktopSettings.cpp @@ -164,7 +164,7 @@ void DesktopSettings::locateFiles(){ //run at start - finds the locations of the various files (based on RunMode) QString userdir; QStringList systemdirs; - userdir = QString(getenv("XDG_CONFIG_HOME"))+"/lumina-desktop"; + userdir = QString(getenv("XDG_CONFIG_HOME")); systemdirs << QString(getenv("XDG_CONFIG_DIRS")).split(":") << QString(getenv("XDG_DATA_DIRS")).split(":"); //Load all the user-level files for this run mode QList< DesktopSettings::File > tmp; |