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:10] – added footer, spelling, section divs 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 === | ||
+ | |||
+ | First of all, check the [[https:// | ||
Clone the sources (required packages: git): | Clone the sources (required packages: git): | ||
Line 10: | Line 19: | ||
cd thunar | cd thunar | ||
- | Execute autogen (required packages: build-essential, | + | Execute autogen (required packages: build-essential, |
./ | ./ | ||
| | ||
- | If dependencies are missing, autogen will tell you. Depending on your distribution, | + | If any dependencies are missing, autogen will tell you. Depending on your distribution, |
- | If that does not help, you as will need to build and install | + | If that does not help, you will need to build and install the dependencies from source |
- | When autogen finished successfully (all required dependencies installed), you can build thunar: | + | When autogen |
make | make | ||
- | You don't need to install | + | For testing only thunar itself, you don't need to install |
- | Here my personal script for starting thunar from source: | + | Here is my personal script for starting thunar from source: |
#!/bin/bash | #!/bin/bash | ||
| | ||
- | # Quit any running thunar and starts | + | # Quit any running thunar |
THUNAR_TEST_FOLDER=/ | THUNAR_TEST_FOLDER=/ | ||
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 38: | 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 44: | Line 63: | ||
sudo make install | sudo make install | ||
- | Note that per default Thunar will be installed in parallel to the Thunar of your distro, into the "/ | + | Note that, per default, Thunar will be installed in parallel to the Thunar of your distribution, into the "/ |
You can uninstall it with: | You can uninstall it with: | ||
sudo make uninstall | sudo make uninstall | ||
| | ||
- | For more info, check the INSTALL file in the source code ! | + | For more infoormation, check the INSTALL file in the source code! |
- | === Build Flags === | + | === Thunar |
- | Here 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 59: | 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]] |