2016-09-03 14:28:14 +00:00
|
|
|
#+TITLE: Transmission layer
|
|
|
|
|
2019-05-02 21:49:30 +00:00
|
|
|
#+TAGS: layer|tool
|
|
|
|
|
2016-09-03 14:28:14 +00:00
|
|
|
[[file:img/transmission.png]]
|
|
|
|
|
2019-05-07 20:05:06 +00:00
|
|
|
* Table of Contents :TOC_5_gh:noexport:
|
2016-09-03 14:28:14 +00:00
|
|
|
- [[#description][Description]]
|
2018-01-19 15:27:23 +00:00
|
|
|
- [[#features][Features:]]
|
2016-09-03 14:28:14 +00:00
|
|
|
- [[#install][Install]]
|
|
|
|
- [[#faq][FAQ]]
|
|
|
|
- [[#how-to-enable-status-auto-refresh][How to enable status auto refresh?]]
|
|
|
|
- [[#key-bindings][Key bindings]]
|
|
|
|
- [[#global][Global]]
|
|
|
|
- [[#transmission-mode][=transmission-mode=]]
|
|
|
|
- [[#transmission-info-mode][=transmission-info-mode=]]
|
|
|
|
- [[#transmission-files-mode][=transmission-files-mode=]]
|
|
|
|
- [[#transmission-peers-mode][=transmission-peers-mode=]]
|
2021-06-10 18:30:31 +00:00
|
|
|
- [[#transmission-turtle-mode][=transmission-turtle-mode=]]
|
2016-09-03 14:28:14 +00:00
|
|
|
|
|
|
|
* Description
|
2018-01-19 15:27:23 +00:00
|
|
|
This layer integrates a BitTorrent client into Spacemacs.
|
|
|
|
|
|
|
|
** Features:
|
2019-06-01 17:13:30 +00:00
|
|
|
- Integration of [[https://transmissionbt.com/][Transmission]] into Emacs.
|
2016-09-03 14:28:14 +00:00
|
|
|
|
|
|
|
* Install
|
|
|
|
To use this configuration layer, add it to your =~/.spacemacs=. You will need to
|
|
|
|
install and configure =transmission-daemon=. Debian example:
|
2018-07-10 10:57:25 +00:00
|
|
|
|
2016-09-03 14:28:14 +00:00
|
|
|
#+BEGIN_SRC sh
|
2018-09-19 03:54:47 +00:00
|
|
|
sudo apt-get -y install transmission-daemon
|
|
|
|
sudo service transmission-daemon stop
|
2016-09-03 14:28:14 +00:00
|
|
|
#+END_SRC
|
2018-07-10 10:57:25 +00:00
|
|
|
|
2016-09-03 14:28:14 +00:00
|
|
|
Set =rpc-authentication-required= to false (or 0 if it is numeric)
|
|
|
|
in /etc/transmission-daemon/settings.json or
|
|
|
|
configure authorization.
|
|
|
|
See transmission.el [[https://github.com/holomorph/transmission][README.org]] for details.
|
|
|
|
Start the daemon:
|
2018-07-10 10:57:25 +00:00
|
|
|
|
2016-09-03 14:28:14 +00:00
|
|
|
#+BEGIN_SRC sh
|
2018-09-19 03:54:47 +00:00
|
|
|
sudo service transmission-daemon start
|
2016-09-03 14:28:14 +00:00
|
|
|
#+END_SRC
|
|
|
|
|
|
|
|
* FAQ
|
|
|
|
** How to enable status auto refresh?
|
2018-10-23 14:18:21 +00:00
|
|
|
Add =(transmission :variables transmission-auto-refresh-all t)= to
|
2016-09-03 14:28:14 +00:00
|
|
|
=dotspacemacs-configuration-layers= or pick modes manually:
|
2018-07-10 10:57:25 +00:00
|
|
|
|
2016-09-03 14:28:14 +00:00
|
|
|
#+BEGIN_SRC emacs-lisp
|
2018-09-19 03:54:47 +00:00
|
|
|
(setq transmission-refresh-modes '(transmission-mode
|
|
|
|
transmission-files-mode
|
|
|
|
transmission-info-mode
|
|
|
|
transmission-peers-mode))
|
2016-09-03 14:28:14 +00:00
|
|
|
#+END_SRC
|
|
|
|
|
|
|
|
* Key bindings
|
|
|
|
** Global
|
|
|
|
|
2018-12-05 03:03:03 +00:00
|
|
|
| Key binding | Description |
|
2016-09-03 14:28:14 +00:00
|
|
|
|-------------+--------------------|
|
2020-06-21 22:04:52 +00:00
|
|
|
| ~SPC a t t~ | start transmission |
|
2016-09-03 14:28:14 +00:00
|
|
|
|
|
|
|
** =transmission-mode=
|
|
|
|
|
2021-06-10 18:30:31 +00:00
|
|
|
| Key binding | Description |
|
|
|
|
|--------------+-------------------------------------------------------------------|
|
|
|
|
| ~J/K~ | Move torrent down/up the queue by one. |
|
|
|
|
| ~H/L~ | Move torrent to the top/bottom of the queue. |
|
|
|
|
| ~SPC m D~ | Delete from disk and remove torrent(s) at point or in region. |
|
|
|
|
| ~SPC m m~ | Toggle mark on torrent(s) at point or in region. |
|
|
|
|
| ~SPC m q~ | Quit and bury the buffer. |
|
|
|
|
| ~SPC m r~ | Relocate torrent save directory at point or in region. |
|
|
|
|
| ~SPC m R~ | Remove torrent(s) at point or in region. |
|
|
|
|
| ~SPC m S~ | Sort torrents according to the column at point. |
|
|
|
|
| ~SPC m v~ | Verify torrent at point or in region. |
|
|
|
|
|--------------+-------------------------------------------------------------------|
|
|
|
|
| Add | |
|
|
|
|
|--------------+-------------------------------------------------------------------|
|
|
|
|
| ~SPC m a a~ | Add torrent by filename, URL, magnet link, or info hash. |
|
|
|
|
| ~SPC m a t~ | Add announce URLs to marked torrent(s) or torrent at point. |
|
|
|
|
|--------------+-------------------------------------------------------------------|
|
|
|
|
| Go to mode | |
|
|
|
|
|--------------+-------------------------------------------------------------------|
|
|
|
|
| ~SPC m g i~ | Open a =transmission-info-mode= buffer for torrent at point. |
|
|
|
|
| ~SPC m g f~ | Open a =transmission-files-mode= buffer for torrent at point. |
|
|
|
|
| ~SPC m g p~ | Open a =transmission-peers-mode= buffer for torrent at point. |
|
|
|
|
|--------------+-------------------------------------------------------------------|
|
|
|
|
| Set property | |
|
|
|
|
|--------------+-------------------------------------------------------------------|
|
|
|
|
| ~SPC m s d~ | Set global download speed limit in kB/s. |
|
|
|
|
| ~SPC m s l~ | Set label(s) for marked torrent(s) or torrent at point. |
|
|
|
|
| ~SPC m s p~ | Set bandwidth priority of torrent(s) at point or in region. |
|
|
|
|
| ~SPC m s r~ | Set global seed ratio limit. |
|
|
|
|
| ~SPC m s u~ | Set global upload speed limit in kB/s. |
|
|
|
|
|--------------+-------------------------------------------------------------------|
|
|
|
|
| Toggle | |
|
|
|
|
|--------------+-------------------------------------------------------------------|
|
|
|
|
| ~SPC m t s~ | Toggle torrent(s) at point or region between started and stopped. |
|
|
|
|
| ~SPC m t t~ | Toggle =transmission-turtle-mode=. |
|
2016-09-03 14:28:14 +00:00
|
|
|
|
|
|
|
** =transmission-info-mode=
|
|
|
|
|
2021-06-10 18:30:31 +00:00
|
|
|
| Key binding | Description |
|
|
|
|
|--------------+--------------------------------------------------------------|
|
|
|
|
| ~SPC m a~ | Add announce URLs to current torrent. |
|
|
|
|
| ~SPC m c~ | Copy magnet link of current torrent. |
|
|
|
|
| ~SPC m r~ | Relocate current torrent save directory. |
|
|
|
|
| ~SPC m T~ | Remove trackers from current torrent by ID or announce URL. |
|
|
|
|
|--------------+--------------------------------------------------------------|
|
|
|
|
| Go to mode | |
|
|
|
|
|--------------+--------------------------------------------------------------|
|
|
|
|
| ~SPC m g f~ | Open a =transmission-files-mode= buffer for current torrent. |
|
|
|
|
| ~SPC m g p~ | Open a =transmission-peers-mode= buffer for current torrent. |
|
|
|
|
|--------------+--------------------------------------------------------------|
|
|
|
|
| Set property | |
|
|
|
|
|--------------+--------------------------------------------------------------|
|
|
|
|
| ~SPC m s d~ | Set download limit of current torrent in kB/s. |
|
|
|
|
| ~SPC m s l~ | Set label(s) of current torrent. |
|
|
|
|
| ~SPC m s p~ | Set bandwidth priority of current torrent. |
|
|
|
|
| ~SPC m s r~ | Set seed ratio limit of current torrent. |
|
|
|
|
| ~SPC m s u~ | Set upload limit of current torrent in kB/s. |
|
2016-09-03 14:28:14 +00:00
|
|
|
|
|
|
|
** =transmission-files-mode=
|
|
|
|
|
2021-06-10 18:30:31 +00:00
|
|
|
| Key binding | Description |
|
|
|
|
|--------------+--------------------------------------------------------------|
|
|
|
|
| ~SPC m m~ | Toggle mark on the file at point. |
|
|
|
|
| ~SPC m X~ | Run a command on the file at point. |
|
|
|
|
|--------------+--------------------------------------------------------------|
|
|
|
|
| Go to mode | |
|
|
|
|
|--------------+--------------------------------------------------------------|
|
|
|
|
| ~SPC m g f~ | Visit the file at point with =find-file-read-only=. |
|
|
|
|
| ~SPC m g i~ | Open a =transmission-info-mode= buffer for current torrent. |
|
|
|
|
| ~SPC m g p~ | Open a =transmission-peers-mode= buffer for current torrent. |
|
|
|
|
|--------------+--------------------------------------------------------------|
|
|
|
|
| Set property | |
|
|
|
|
|--------------+--------------------------------------------------------------|
|
|
|
|
| ~SPC m s p~ | Set bandwidth priority on file(s) at point or in region. |
|
|
|
|
|--------------+--------------------------------------------------------------|
|
|
|
|
| Toggle | |
|
|
|
|
|--------------+--------------------------------------------------------------|
|
|
|
|
| ~SPC m m u~ | Mark file(s) at point or in region as unwanted. |
|
|
|
|
| ~SPC m m w~ | Mark file(s) at point or in region as wanted. |
|
2016-09-03 14:28:14 +00:00
|
|
|
|
|
|
|
** =transmission-peers-mode=
|
|
|
|
|
2018-12-05 03:03:03 +00:00
|
|
|
| Key binding | Description |
|
2016-09-03 14:28:14 +00:00
|
|
|
|-------------+--------------------------------------------------------------|
|
2021-06-10 18:30:31 +00:00
|
|
|
| Go to mode | |
|
|
|
|
|-------------+--------------------------------------------------------------|
|
2016-09-03 14:28:14 +00:00
|
|
|
| ~SPC m g i~ | Open a =transmission-info-mode= buffer for torrent at point. |
|
2021-06-10 18:30:31 +00:00
|
|
|
|
|
|
|
** =transmission-turtle-mode=
|
2021-07-05 23:23:52 +00:00
|
|
|
|
2021-06-10 18:30:31 +00:00
|
|
|
| Key binding | Description |
|
|
|
|
|--------------+-------------------------------------------------------------|
|
|
|
|
| Set property | |
|
|
|
|
|--------------+-------------------------------------------------------------|
|
|
|
|
| ~SPC m s D~ | Set days for =transmission-turtle-mode= to be active. |
|
|
|
|
| ~SPC m s S~ | Set global speed limits for =transmission-turtle-mode=. |
|
|
|
|
| ~SPC m s T~ | Set time range for =transmission-turtle-mode= to be active. |
|