Page MenuHomeLubuntu Development

Updated 3 Days AgoPublic

This document seeks to serve as a central repository for information regarding debugging, i.e. to see what's going on under the hood of various programs.


There's a log file at $HOME/.config/lxqt/debug.log that will populate with information using QLoggingCategory.

There's a few ways to turn this logging on, but the easiest way is to add the following before exec lxqt-session in /usr/bin/startlxqt:

export QT_LOGGING_RULES="*.debug=false;lxqt-session.debug=true"

which turns off all debugging except for those messages with the lxqt-session category.

other LXQt applications

At time of writing, other LXQt applications use qDebug, which just prints to stderr. Running with 2>/path/to/some/file will get that output. Since startlxqt runs all the applications in /etc/xdg/autostart, any of these files can be edited so that their Exec key includes this addition.


Exec=lxqt-panel "2>/tmp/lxqt-panel.log"


See $HOME/.cache/Calamares/session.log.
See also /var/log/installer/debug which is created by our calamares-logs-helper script upon a successful install.

To start Calamares in debug mode sudo calamares -d. Debug mode will give information regarding the modules that are loaded and the associated settings.

Last Author
Last Edited
Sat, Jan 25, 12:49 PM

Event Timeline

wxl created this object.Sep 18 2019, 4:42 PM
kc2bez edited the content of this document. (Show Details)Sep 18 2019, 6:34 PM
wxl edited the content of this document. (Show Details)Sat, Jan 25, 12:49 PM