There's been a patch recently that fixes a very annoying bug in Thunar, which has the latter lock up when files change in the currently open directory. I don't want to wait and would like to download the source, patch, compile and upgrade Thunar 1.6.11 on my Manjaro 17.0.1 system. Is there a guide how to do it the right... I mean the Arch way? (pun intended.)


Write a PKGBUILD, use makepkg to build the package and use pacman to install it.

You can start with thunar-git, get it with the Download snapshot link. Download the patch, put it in the same directory and add the patch command just before the call to autogen.sh in the build function of the PKGBUILD.

Maybe you want to start with the default PKGBUILD of manjaro if thunar-git doesn't work with your version of xfce.

Update: The patch is already pushed to git, so thunar-git from aur might work for you without modifications.

  • Thanks for the hint. From what you wrote, turns out I just had to run yaourt -S thunar-git. I'll report if the bug is fixed or not. – user86969 May 12 '17 at 11:26
  • That would be the 'proscribed arch way' ;) – ctx May 12 '17 at 13:22
  • Ah... oops... About Manjaro? ;-) – user86969 May 12 '17 at 15:55
  • I' don't know about Manjaro, but have a look on this page: wiki.archlinux.org/index.php/AUR_helpers#Comparison_table You might find a better one. – ctx May 12 '17 at 16:29
  • I see... All but yaourt in fact, that is :-D – user86969 May 14 '17 at 17:34

For the sake of the question, to patch, compile and upgrade the Arch way, I think you should download from the AUR the corresponding package (I mean, the git version if possible, since that's what developer patches usually apply to), then have something like this in its PKGBUILD:

prepare() {
wget -O "${startdir}"/patch.diff https://bugzilla.xfce.org/attachment.cgi?id=7074
patch -p1 -i "${startdir}"/patch.diff -d "${srcdir}/${pkgname}"

Replace the last arguments of either command with whatever the patch URL and actual-root-folder-the-patch-file-expects are.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy