Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Next
* Added application icons to the process table and tree

# 1.0.8
* Added localization support based on the system locale for:
* Simplified Chinese
Expand Down
9 changes: 9 additions & 0 deletions packaging/package-appimage.sh
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,15 @@ rm -f "$PROJECT_ROOT"/*.AppImage
export QMAKE
QMAKE="$(command -v "$QMAKE_CMD")"

# The application does not link Qt Svg, so linuxdeploy-plugin-qt would not bundle the SVG
# icon engine. Without it QIcon::fromTheme() silently skips every SVG icon of the host icon
# theme (Breeze, Adwaita and most others are SVG only).
export EXTRA_QT_MODULES="${EXTRA_QT_MODULES:+$EXTRA_QT_MODULES;}svg"

# The strip binary shipped inside linuxdeploy predates .relr.dyn sections produced by
# current binutils and aborts the build on such libraries.
export NO_STRIP="${NO_STRIP:-true}"

linuxdeploy \
--appdir "$APPDIR" \
--desktop-file "$APPDIR/usr/share/applications/io.github.benapetr.TuxManager.desktop" \
Expand Down
Binary file modified screenshots/ubuntu/process.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified screenshots/ubuntu/process_tree.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions src/TuxManager.pro
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ SOURCES += \
userswidget.cpp \
serviceswidget.cpp \
os/proc.cpp \
os/appregistry.cpp \
os/process.cpp \
os/processrefreshservice.cpp \
os/processtreemodel.cpp \
Expand Down Expand Up @@ -95,6 +96,7 @@ HEADERS += \
userswidget.h \
serviceswidget.h \
os/proc.h \
os/appregistry.h \
os/process.h \
os/processrefreshservice.h \
os/processtreemodel.h \
Expand Down
2 changes: 2 additions & 0 deletions src/configuration.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ void Configuration::Load()
// Processes
this->ShowKernelTasks = s.value("Processes/ShowKernelTasks", this->ShowKernelTasks).toBool();
this->ShowOtherUsersProcs = s.value("Processes/ShowOtherUsersProcs", this->ShowOtherUsersProcs).toBool();
this->ShowProcessIcons = s.value("Processes/ShowIcons", this->ShowProcessIcons).toBool();
this->ProcessTreeView = s.value("Processes/TreeView", this->ProcessTreeView).toBool();
this->ProcessListSortColumn = s.value("Processes/SortColumn", this->ProcessListSortColumn).toInt();
this->ProcessListSortOrder = s.value("Processes/SortOrder", this->ProcessListSortOrder).toInt();
Expand Down Expand Up @@ -175,6 +176,7 @@ void Configuration::Save()
// Processes
s.setValue("Processes/ShowKernelTasks", this->ShowKernelTasks);
s.setValue("Processes/ShowOtherUsersProcs", this->ShowOtherUsersProcs);
s.setValue("Processes/ShowIcons", this->ShowProcessIcons);
s.setValue("Processes/TreeView", this->ProcessTreeView);
s.setValue("Processes/SortColumn", this->ProcessListSortColumn);
s.setValue("Processes/SortOrder", this->ProcessListSortOrder);
Expand Down
1 change: 1 addition & 0 deletions src/configuration.h
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ class Configuration : public QObject
// ── Processes tab ─────────────────────────────────────────────────────────
bool ShowKernelTasks { true }; ///< Show kernel threads in the process list
bool ShowOtherUsersProcs { true }; ///< Show processes of other users
bool ShowProcessIcons { true }; ///< Show application icons in the process name column
bool ProcessTreeView { false }; ///< Processes tab: false=table, true=tree
int ProcessListSortColumn { 4 }; ///< ColCpu — column index to sort by
int ProcessListSortOrder { 1 }; ///< Qt::DescendingOrder
Expand Down
Loading
Loading