From 654bc9f47199a945c9f5e2bd90002b2ab2fd7f03 Mon Sep 17 00:00:00 2001 From: Teo Mrnjavac Date: Fri, 3 Apr 2015 15:04:24 +0200 Subject: [PATCH] Add debug output to SetKeyboardLayoutJob. CAL-206 #comment I've just pushed some debug output to master, could you please test again and post a new log? --- src/modules/keyboard/SetKeyboardLayoutJob.cpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/modules/keyboard/SetKeyboardLayoutJob.cpp b/src/modules/keyboard/SetKeyboardLayoutJob.cpp index 162b97f54..28542520f 100644 --- a/src/modules/keyboard/SetKeyboardLayoutJob.cpp +++ b/src/modules/keyboard/SetKeyboardLayoutJob.cpp @@ -199,6 +199,8 @@ SetKeyboardLayoutJob::writeVConsoleData( const QString& vconsoleConfPath, stream.flush(); file.close(); + cDebug() << "Written KEYMAP=" << keymap << "to vconsole.conf"; + return ( stream.status() == QTextStream::Ok ); } @@ -230,6 +232,10 @@ SetKeyboardLayoutJob::writeX11Data( const QString& keyboardConfPath ) const file.close(); + cDebug() << "Written XkbLayout" << m_layout << + "; XkbModel" << m_model << + "; XkbVariant" << m_variant << "to X.org file" << keyboardConfPath; + return ( stream.status() == QTextStream::Ok ); } @@ -237,6 +243,7 @@ SetKeyboardLayoutJob::writeX11Data( const QString& keyboardConfPath ) const Calamares::JobResult SetKeyboardLayoutJob::exec() { + cDebug() << "Executing SetKeyboardLayoutJob"; // Read the location of the destination's / in the host file system from // the global settings Calamares::GlobalStorage* gs = Calamares::JobQueue::instance()->globalStorage();