Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| thunar:dev:build_and_run [2021/11/13 21:57] – [Thunar - build, test, and debugging suggestions] alexxcons | thunar:dev:build_and_run [2026/05/29 09:26] (current) – [Thunar - build, test, and debugging suggestions] alexxcons | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ~~NOTOC~~ | ~~NOTOC~~ | ||
| - | {{ : | + | {{ : |
| ====== Thunar - build, test, and debugging suggestions ===== | ====== Thunar - build, test, and debugging suggestions ===== | ||
| - | * **[[#Building Thunar|Building Thunar]]** | + | First, check the [[https:// |
| - | * **[[# | + | |
| - | * **[[#Thunar Build Flags|Thunar | + | |
| - | ---- | + | Then refer to the following pages for build instructions on all Xfce packages: |
| - | === Building Thunar === | + | https:// |
| + | https:// | ||
| - | Clone the sources | + | If dependencies are still missing, you will need to build and install |
| - | git clone https://gitlab.xfce.org/ | + | |
| - | + | ||
| - | Enter build folder: | + | |
| - | cd thunar | + | |
| - | Execute autogen (required packages: build-essential, automake): | + | For testing only thunar itself, you don't need to install it. You can run it directly from the source folder. (Though if you want to test thunar plugins, you will need to install |
| - | ./ | + | |
| - | + | ||
| - | If any dependencies are missing, autogen will tell you. Depending on your distribution, | + | |
| - | If that does not help, you will need to build and install | + | |
| - | When autogen has finished successfully (all required dependencies have been installed), you can build thunar: | + | build/ |
| - | make | + | |
| - | You don' | + | Here a workaround to as well test thunar plugin changes (thunar-sbr in this example) without the need to install thunar: |
| - | Here is my personal script for starting | + | |
| - | | + | |
| - | | + | |
| - | # Quit any running thunar instance and start a new thunar from source. Enable debug messages | + | |
| - | THUNAR_TEST_FOLDER=/path/to/thunar/testing/ | + | |
| - | echo " | + | |
| - | | + | |
| - | ---- | ||
| - | === Debugging Thunar === | + | A full list of build flags can be found here: https://gitlab.xfce.org/xfce/thunar/-/blob/master/meson_options.txt? |
| - | + | ||
| - | For debugging Thunar, I use the following: | + | |
| - | + | ||
| - | #!/bin/bash | + | |
| - | echo "./ | + | |
| - | ./thunar/thunar | + | |
| - | + | ||
| - | If you want to test thunar-plugins, | + | |
| - | + | ||
| - | You can install Thunar with: | + | |
| - | sudo make install | + | |
| - | + | ||
| - | Note that, per default, Thunar will be installed in parallel to the Thunar of your distribution, | + | |
| - | You can uninstall it with: | + | |
| - | sudo make uninstall | + | |
| - | + | ||
| - | For more infoormation, | + | |
| - | + | ||
| - | === Thunar Build Flags === | + | |
| - | Here is a small collection of flags which often needs to be passed to '' | + | |
| - | + | ||
| - | < | + | |
| - | --enable-introspection : for usage of the GtkInspector | + | |
| - | --prefix < | + | |
| - | --g-fatal-warnings : Lets thunar crash an any warning/ | + | |
| - | --enable-maintainer-mode | + | |
| - | --enable-debug=full|yes|minimum|no</ | + | |
| [[|Back To Top]] | [[|Back To Top]] | ||
| ---- | ---- | ||
| [[ https:// | [[ https:// | ||