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 [2020/09/17 01:21] – grammar and punctuation improvements kevinbowen | thunar:dev:build_and_run [2025/01/19 09:08] (current) – alexxcons | ||
---|---|---|---|
Line 1: | Line 1: | ||
~~NOTOC~~ | ~~NOTOC~~ | ||
- | {{ : | + | {{ : |
====== Thunar - build, test, and debugging suggestions ===== | ====== Thunar - build, test, and debugging suggestions ===== | ||
+ | |||
+ | * **[[# | ||
+ | * **[[# | ||
+ | * **[[#Thunar Build Flags|Thunar Build Flags]]** | ||
---- | ---- | ||
=== Building Thunar === | === Building Thunar === | ||
+ | |||
+ | First of all, check the [[https:// | ||
Clone the sources (required packages: git): | Clone the sources (required packages: git): | ||
Line 13: | Line 19: | ||
cd thunar | cd thunar | ||
- | Execute autogen (required packages: build-essential, | + | Execute autogen (required packages: build-essential, |
./ | ./ | ||
| | ||
Line 22: | Line 28: | ||
make | make | ||
- | You don't need to install | + | For testing only thunar itself, you don't need to install |
Here is my personal script for starting thunar from source: | Here is my personal script for starting thunar from source: | ||
Line 31: | Line 37: | ||
echo " | echo " | ||
./ | ./ | ||
+ | |||
+ | Here a workaround to as well test thunar plugin changes (thunar-sbr in this example) without the need to install thunar: | ||
+ | |||
+ | ./ | ||
+ | make | ||
+ | THUNARX_DIRS=~/ | ||
---- | ---- | ||
Line 41: | Line 53: | ||
echo " | echo " | ||
./ | ./ | ||
+ | |||
+ | On a freeze, get a backtrace of all threads via | ||
+ | |||
+ | thread apply all bt | ||
If you want to test thunar-plugins, | If you want to test thunar-plugins, | ||
Line 53: | Line 69: | ||
For more infoormation, | For more infoormation, | ||
- | === Build Flags === | + | === Thunar |
- | Here is a small collection of flags which often needs to be passed to '' | + | Here is a small collection of useful |
- | < | + | < |
--enable-introspection : for usage of the GtkInspector | --enable-introspection : for usage of the GtkInspector | ||
--prefix < | --prefix < | ||
Line 62: | Line 78: | ||
--enable-debug=full|yes|minimum|no</ | --enable-debug=full|yes|minimum|no</ | ||
+ | Some flags need to be passed to the thunar binary: | ||
+ | < | ||
+ | |||
+ | You might want to run that via gdb to get a backtrace: | ||
+ | < | ||
[[|Back To Top]] | [[|Back To Top]] | ||
---- | ---- | ||
- | [[ :xfce:thunar:|Return to Main thunar documentation page]] | + | [[ https://docs.xfce.org/xfce/thunar/start|Return to Main thunar documentation page]] |