A small thunar extension displaying the metadata in a torrent file.
- Works with both
thunarx-2.0
andthunarx-3.0
- Fetches the number of seeders / leechers currently available
- Display a list of tracker URLs
- Display the files described by the torrent file in a tree-based viewer
- Right Click on a torrent file and open Properties...
- Go to the Torrent tab
- ???
- Profit.
cmake
make
orNinja
- a
C
andC++
compiler (at the moment, onlygcc
is actively supported)
gtk+-2.0
thunarx
(installed with XFCE / Thunar)libtorrent
(the rasterbar version), >= 1.1.0Boost/system
(required to interface withlibtorrent
)
pacman -S base-devel cmake libtorrent-rasterbar thunar gtk2 boost
apt install cmake libthunarx-2-dev libgtk2.0-dev \
libboost-filesystem-dev libboost-system-dev libglib2.0-dev \
build-essential libssl-dev libtorrent-rasterbar-dev
apt install cmake libthunarx-3-dev libgtk2.0-dev \
libboost-filesystem-dev libboost-system-dev libglib2.0-dev \
build-essential libssl-dev libtorrent-rasterbar-dev
dnf install gtk+-devel boost-devel cmake gcc Thunar-devel \
rb_libtorrent-devel make gcc-c++
This project uses CMake
. Start by creating a directory to do an
an out-of-source build:
mkdir build
cd build
By default, the target thunarx
version is detected automatically
using pkg-config
. Set the THUNARX_TARGET_VERSION
variable to
2 or 3 to manually select the version to build against.
cmake .. -GNinja
ninja
sudo ninja install
cmake ..
make
sudo make install
Both commands will install a single file, thunar-torrent-property.so
,
in the extensions
directory of Thunar (you can check where that
directory is running pkg-config --variable=extensionsdir thunarx-X
,
most of the time it will be /usr/lib/thunarx-X
or /lib/thunarx-X
)
where X
is either 2
or 3
depending on your library version.