@guiodic It seems it works now ^^
Search Criteria
Package Details: material-kwin-decoration-git r215.38718de-4
Package Actions
| Git Clone URL: | https://aur.archlinux.org/material-kwin-decoration-git.git (read-only, click to copy) |
|---|---|
| Package Base: | material-kwin-decoration-git |
| Description: | Material-ish window decoration for KWin, with LIM (Locally Integrated Menu) support |
| Upstream URL: | https://github.com/guiodic/material-decoration |
| Keywords: | kde plasma6 wayland x11 |
| Licenses: | GPL-2.0-or-later |
| Conflicts: | material-kwin-decoration |
| Provides: | material-kwin-decoration |
| Submitter: | Zren |
| Maintainer: | xiota (guiodic) |
| Last Packager: | guiodic |
| Votes: | 10 |
| Popularity: | 0.29 |
| First Submitted: | 2020-07-14 15:46 (UTC) |
| Last Updated: | 2026-02-25 23:39 (UTC) |
Dependencies (13)
- kcmutils (kcmutils-gitAUR)
- kdecoration (kdecoration-gitAUR)
- kwin (kwin-gitAUR, kwin-3fingerAUR, kwin-without-gesturesAUR, kwin-screencast-apiAUR, kwin-povdAUR)
- kwin-x11 (sonic-win-binAUR, sonic-winAUR)
- plasma-x11-session (sonic-x11-sessionAUR, sonic-x11-session-binAUR, plasma-x11-session-povdAUR)
- cmake (cmake3AUR, cmake-gitAUR) (make)
- extra-cmake-modules (extra-cmake-modules-gitAUR) (make)
- git (git-gitAUR, git-glAUR, git-wd40AUR) (make)
- kwin (kwin-gitAUR, kwin-3fingerAUR, kwin-without-gesturesAUR, kwin-screencast-apiAUR, kwin-povdAUR) (make)
- kwin-x11 (sonic-win-binAUR, sonic-winAUR) (make)
- appmenu-gtk-module (appmenu-gtk-module-gitAUR) (optional) – gtk app support
- kwin-effects-better-blur-dxAUR (kwin-effects-better-blur-dx-gitAUR) (optional) – strongly recommended on Wayland if you set Titlebar Opacity < 100%
- kwin-minimize2tray-gitAUR (optional) – Minimize to tray on Close long press
Required by (0)
Sources (1)
TechniKris commented on 2026-01-31 20:01 (UTC)
guiodic commented on 2026-01-29 16:59 (UTC) (edited on 2026-01-30 19:43 (UTC) by guiodic)
@TechniKris
It is likely that the version under development has changed something; in fact, I use a private API on X11. Can you report the bug on GitHub?
EDIT: I removed the direct use of kwin's X11Window. Can you try again?
TechniKris commented on 2026-01-29 16:50 (UTC) (edited on 2026-01-29 16:52 (UTC) by TechniKris)
It seems the package fails to build now:
[ 88%] Building CXX object src/CMakeFiles/materialdecoration.dir/InternalSettings.cpp.o
[ 90%] Building CXX object src/CMakeFiles/materialdecoration.dir/Decoration.cc.o
[ 93%] Built target materialdecoration_kcm
In file included from /usr/include/kwin/x11window.h:19,
from /home/user/.cache/paru/clone/material-kwin-decoration-git/src/material-kwin-decoration/src/Decoration.cc:45:
/usr/include/kwin/utils/xcbutils.h: In member function ‘KWin::Xcb::GeometryHints::NormalHints::SizeHints* KWin::Xcb::GeometryHints::NormalHints::sizeHints()’:
/usr/include/kwin/utils/xcbutils.h:1061:65: error: ‘class std::optional<std::span<KWin::Xcb::GeometryHints::NormalHints::SizeHints, 18446744073709551615> >’ has no member named ‘transform’
1061 | return array<SizeHints>(32, XCB_ATOM_WM_SIZE_HINTS).transform([](std::span<SizeHints> span) {
| ^~~~~~~~~
make[2]: *** [src/CMakeFiles/materialdecoration.dir/build.make:192: src/CMakeFiles/materialdecoration.dir/Decoration.cc.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:455: src/CMakeFiles/materialdecoration.dir/all] Error 2
make: *** [Makefile:146: all] Error 2
==> ERROR: A failure occurred in build().
Aborting...
The issue spotted while using KDE-unstable repos.
guiodic commented on 2025-07-08 14:23 (UTC)
@Pafrape: in system settings > Colors & Themes > Window Decorations select "Material".
Then click on "configure buttons on titlebar" and drag the application menu on the titlebar
Pafrape commented on 2025-07-08 14:18 (UTC)
Thanks to this module, the menu button appears perfectly in the title bar and works perfectly. However, how can I make the menu bar appear in the title bar? Thank you for your help.
tassiovirginio commented on 2024-08-05 19:44 (UTC)
I generated it using extra-x86_64-build, it didn't make any difference,
Does it work on Wayland or only on X11?
Pinned Comments
guiodic commented on 2025-07-08 14:23 (UTC)
@Pafrape: in system settings > Colors & Themes > Window Decorations select "Material".
Then click on "configure buttons on titlebar" and drag the application menu on the titlebar