Deepin log viewer is a fast and lightweight application for viewing system log.
The GUI is based on DTK, Qt (Supported >= 5.12).
The master branch is current development branch, build dependencies may changes without update README.md, refer to ./debian/control
for a working build depends list
- debhelper (>= 11)
- pkg-config
- qt5-qmake
- qt5-default
- libdtkwidget-dev
- libdtkgui-dev
- qtbase5-private-dev
- qttools5-dev-tools
- libqt5svg5-dev
- libsystemd-dev
- libicu-dev
- Make sure you have installed all dependencies.
Package name may be different between distros, if deepin-log-viewer is available from your distro, check the packaging script delivered from your distro is a better idea.
Assume you are using Deepin or other debian-based distro which got deepin-log-viewer delivered:
$ sudo apt-get build-dep deepin-log-viewer
- Build.
cd deepin-log-viewer
mkdir build
cd build
cmake ..
make
- Install.
$ sudo make install
Caution: deepin-log-viewer is depend on polkit, So if build from source code, you have to add policy to usr/share/polkit-1/actions/. add com.deepin.pkexec.logViewerAuth.policy to /usr/bin. If run in Qt Creator, you should set [Project][Run Settings] [Run] [Run configuration] to src from 2 projects authenticateProxy and src.
-
sudo cp application/com.deepin.pkexec.logViewerAuth.policy /usr/share/polkit-1/actions/
-
sudo cp build-deepin_log_viewer-unknown-Debug/logViewerAuth/logViewerAuth /usr/bin
-
./deepin-log-viewer
Any usage issues can ask for help via
We encourage you to report issues and contribute changes
Deepin Log Viewer is licensed under GPL-3.0-or-later.