Manjaro Control Panel is around the corner. All basic functionality is implemented as far as I can see and I’d like you to check what’s missing or broken in current installations.
Packages are in extra repo in all branches, though it’s recommended to use the unstable branch.
mcp-qt is a Qt+Kirigami version suitable for all desktops
mcp-qt-gnome is a Qt+Kirigami version which features Adwaita theme for GNOME desktop.
mcp-kcm are a set of KCMs for KDE’s System Settings
On testing branch with KDE Plasma the mcp-kcm installs msm_mhwd again. Is that correct?
I don’t get it loaded in system settings.
mcp-qt seems fine so far.
mcp_kernel - Add and remove manjaro kernels
mcp_langpack - Detection and installation of language packages
msm_mhwd - Manjaro Hardware Detection graphical user interface
Yep, msm should be removed in order to use mcp. They share the same MHWD page, mcp one is updated to be a more eyecandy. This will be replaced with the entirely new module eventually.
Looks like a packaging issue, I’ll take a look. Thanks for sharing.
Once I’ll understand how to make it more useful than the current one, yes.
Yeah I think it’s a packaging issue. I uninstalled all of MSM and then proceeded with fresh install. Did it 2 times also with reboot and still shows msm_mhwd.
Maybe to mention: manjaro-settings-manager-knotifier is not (in the list of) being removed when installing mcp. You maybe add it as well into conflicting dependencies because it won’t let mcp replace MSM without removing knotifier together with MSM.
That’s some content of the package with msm_mhwd.so:
KDE, unstable branch, kernel 5.18, in QEMU.
Installed mcp-qt and mcp-kcm.
When ran either from terminal or menu it uses nearly 150% of 2 CPUs and around 150M ram and everything gets pretty unresponsive. Nothing relevant in logs.
Weirdly enough if I run it from ssh with DISPLAY=:0 mcp-qt it starts with light theme (default: breeze dark) and CPU usage seems normal.
If I try to install/remove whatever, nothing happens, but I get a bunch of:
qrc:/modules/kernel/package/contents/ui/KernelListView.qml:17: TypeError: Cannot read property 'horizontalCenter' of null
qrc:/modules/kernel/package/contents/ui/KernelListView.qml:18: TypeError: Cannot read property 'width' of null
Another thing, is this supposed to show under System settings? Because I don’t have it.
Then there is some cosmetic stuff (big version numbers look weird beside names - maybe if there was more separation between number and names, and instead of “Booted” there could be “In use” or something), but then again I’m not going to be using this, so…
Edit: another cosmetic thing: When clicking on a kernel without a changelog, that pop-up “No changelogs found” has overflown title, ie. window is too small.
There is now an mcp-debug package available in the unstable branch with r83.20d3421-6. If you run into any errors, install it and run mcp-qt with gdb. Please report any issues here.
I’ll create a gitlab issue if I’m on the right path here, and necessary
Environment: XFCE
I changed to the unstable repos in a VM, upgraded, installed mcp-qt and mcp-debug. Rebooted.
I selected “Manjaro Control Panel” in the Whisker menu and saw nothing.
I checked what command was being executed. On the command line, I ran mcp-qt and got:
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
QQmlComponent: Component is not ready
Segmentation fault (core dumped)
I ran with gdb and got:
(gdb) run
Thread 1 "mcp-qt" received signal SIGSEGV, Segmentation fault.
main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/msm-ng/mcp-qt/main-qt.cpp:44
44 item1->setComponent(component1);
Ran again:
(gdb) n
42 QObject *myObject1 = component1->create();
(gdb) n
QQmlComponent: Component is not ready
43 auto *item1 = dynamic_cast<KernelViewQt *>(myObject1);
(gdb) n
44 item1->setComponent(component1);
(gdb) n
Thread 1 "mcp-qt" received signal SIGSEGV, Segmentation fault.
main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/msm-ng/mcp-qt/main-qt.cpp:44
44 item1->setComponent(component1);
(gdb)
One thing i noticed on unstable branch, the uninstall is not initiated … I see briefly a popup and closes, and the kernel i want to remove is not removed.
@LordTermor The reason why mcp-kcm is not showing in KDE system settings is because the manjaro-category.desktop file is missing in the package as it is part of MSM-kcm.
$ mcp-qt
QML debugging is enabled. Only use this in a safe environment.
QQmlEngine::setContextForObject(): Object already has a QQmlContext
kf.service.services: KApplicationTrader: mimeType "x-scheme-handler/qrc" not found
There is an inconsistency between the fonts in the left column and the font in the right
When one initializes a qt app one set a variable to allow scaling if required by the system and my monitor is 5120x1440 - but I don’t use scaling though it looks to me like the app partly uses scaling.
I still wish we could get the kernel metapackages back (like “linux-latest” and “linux-lts”), but this seems like an alright upgrade to the control panel.
kcmshell5 mcp_langpack SEGV ✘
kf.coreaddons: "Could not load plugin from /usr/lib/qt/plugins/mcp_langpack.so: Cannot load library /usr/lib/qt/plugins/mcp_langpack.so: (/usr/lib/qt/plugins/mcp_langpack.so: undefined symbol: _ZN17LanguagePackModel16getCountryPixmapERK7QString)"
Is it an issue on my side?
mcp-qt-gnome tested on a VM misses icons for installing and removing kernels for me. That could be theming or VM issue also, should work irregardless though.