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/28 12:10] – [Thunar - build, test, and debugging suggestions] alexxcons | 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 ===== | ||
Line 19: | Line 19: | ||
cd thunar | cd thunar | ||
- | Execute autogen (required packages: build-essential, | + | Execute autogen (required packages: build-essential, |
./ | ./ | ||
| | ||
Line 28: | 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 37: | 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 47: | 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 60: | Line 70: | ||
=== Thunar Build Flags === | === Thunar Build Flags === | ||
- | 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 < | ||
- | --g-fatal-warnings : Lets thunar crash an any warning/ | ||
--enable-maintainer-mode | --enable-maintainer-mode | ||
--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]] | ||
---- | ---- | ||
[[ https:// | [[ https:// |