transmission-daemon is a daemon-based Transmission session that can be controlled via RPC commands from transmission's
web interface or transmission-remote, install the transmission-daemon:
apt install transmission-daemon
The
transmission-remote is the administrative front-end for transmission-daemon that lets you add,
remove, start, stop, and view your torrents, and a lot more besides.
Transmission-daemon will require a username and password for authentification! By default the username and password is
"transmission" like:
transmission-remote --auth=transmission:transmission -l
The command above will list current torrents,transmission-daemon configuration file is
/etc/transmission-daemon/settings.json
, this is a portion of configuration file to limit the upload speed to 1 kb:
"rpc-authentication-required": false,
"rpc-password": "",
"rpc-username": "",
"speed-limit-down": 100,
"speed-limit-down-enabled": false,
"speed-limit-up": 1,
"speed-limit-up-enabled": true,
"start-added-torrents": true,
"trash-original-torrent-files": false,
"umask": 18,
"upload-limit": 1,
"upload-limit-enabled": 1,
"upload-slots-per-torrent": 14,
Using the web interface for transmission-daemon
First add the localhost to the
/etc/transmission-daemon/settings.json:
"rpc-whitelist": "127.0.0.1",
Open the url
http://127.0.0.1:9091/ in a web browser.
The
transmisson-remote-gui/
is a gui client for transmission-daemon, download the client and connect with
localhost on port
9091.
Top
Making things easier – the watch directory
To make things easier, you can set up a watch directory; any .torrent files placed in that directory will
automatically be added to transmission-daemon. To set up a watch directory, edit settings.json and add the following:
watch-dir-enabled: "true",
watch-dir: "/path/to/watch/dir"
when transmission-daemon is started, every .torrent file in there will be added.The torrent you want to cancel remove from
the watch dir, you can put the watch dir any where even on online.
Ubuntu terminal prompt shows the full path for the working directory, to disable this action backup your
~/.bashrc and then search through it and remove every '\w' in the line starting with
PS1= like:
PS1='${debian_chroot:+($debian_chroot)}\u@\h:\$ '
PS1="\[\e]0;${debian_chroot:+($debian_chroot)}\u@\h: \a\]$PS1
For the root also remove the '\w' in
/etc/profile and "~/.bashrc".
Top
Encfs mounts or creates an encrypted virtual filesystem, install the encfs:
apt install encfs cryptkeeper libpam-encfs
Finally you are ready to create the encrypted directory. The application encfs will create one directory which contains the
encrypted files and one directory where the files are unlocked and accessible. The syntax for encfs is: encfs <path to encrypted
directory> <path to visible directory>.
For example, I wish to have a directory in my home directory called visible and another one called encrypted. Therefore I could
write:
encfs ~/.encrypted ~/visible
First encfs will ask you to create the selected directories. Simply type 'y'.Then it asks which degree of encryption that should
be used. I prefer to simply press enter to use default encryption-level. At last encfs will ask you for the password that is
needed to reach the encrypted information.
Use the directory ~/visible to store all kinds of sensitive information,In order to close the ~/visible directory simply type:
fusermount -u ~/visible
As long as the directory is closed all the information in ~/visible will seem to have disappeared. The only way to gain access to
this information again is by unlocking it. This can be done in a terminal by typing:
encfs ~/.encrypted ~/visible
To Automatically Mounting on Startup download the
gnome-encfs Python script, open the gnome-encfs directory and run the command to install:
install gnome-encfs /usr/bin
There is a gnome tray application called Cryptkeeper that allows for manual (GUI based) mounting/unmounting of directories
encrypted with encfs.
Top