You are not logged in.
Pages: 1
Hi guys!
Because of the firefox and csd bug, I had to install the new xfwm4. And broke the layout of the title window. Its location. Before that, I used this patch, which centers the window title. How to arrange the title of the window strictly in the center? I can not apply this patch due to lack of knowledge and experience in this matter. I want to get this result (Screenshot from here )
Offline
Hello and welcome.
That patch file will still work if applied to the xfwm4-git AUR package and going through a manual makepkg process like this:
wget https://aur.archlinux.org/cgit/aur.git/snapshot/xfwm4-git.tar.gz
tar xzvf xfwm4-git.tar.gz
cd xfwm4-git
makepkg -o
cd src/xfwm4/
### save PATCHFILE file here
patch -p0 < PATCHFILE
cd ../../
makepkg -ei
"makepkg -o" gets all the files but doesn't build. You then manually patch the source. "makepkg -i" then continues the build and install.
Ideally, one should create a new PKGBUILD file, but this manual process will get it installed.
Last edited by ToZ (2019-02-03 01:48:22)
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
Installed and restarted xfwm, but there is no result. Where could I be wrong?
Offline
What was the output on the screen when applied the patch file? Did it show that it took?
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
test@test ~/xfwm/xfwm4-git/src/xfwm4/» patch -p0 < centralize.patch
patching file src/frame.c
Hunk #1 succeeded at 494 (offset -2 lines).
patch unexpectedly ends in middle of line
Hunk #2 succeeded at 525 with fuzz 1 (offset -2 lines).
Offline
Sorry, my last command was missing a switch. It should be:
makepkg -ei
I'll make the correction above as well.
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
Now everything works! Thank you for help:)
Offline
Hello again! I noticed that some of the letters in the title are hidden. It is necessary that the end of the heading be hidden, and not its beginning.
So displayed now:
Must be so:
If the title is long, the beginning and end of the title change.
So it looks completely:
How to fix it?
Offline
These user patches do not have these problems:
https://git.xfce.org/users/ajb/xfwm4/co … ntermodes1
https://git.xfce.org/users/ajb/xfwm4/co … ntermodes2
Offline
Pages: 1
[ Generated in 0.007 seconds, 7 queries executed - Memory usage: 546.98 KiB (Peak: 547.82 KiB) ]