Skip to content

Syncing transmission-gtk with transmission-daemon?

I want to migrate from the GTK client to transmission-remote-cli, but I don't want to manually re-add all torrents; and I would prefer any new torrents I add to be seen from both clients. Any ideas how to achieve this?

3 points9 comments
Open on Reddit
About this post
Posted
Archived
Score
3 · 100% up
Kind
Text
ID
3mp18f

Author

17
posts
84
comments
6
media
View profile

9 comments

Transmission daemon runs in /var/lib/transmission/.config/transmission-daemon by default, could you copy the session and relevant stats/settings over?

3 points

Yes you can, or you can modify the .service file to read the config from wherever (I believe -g). Just make sure the config is owned by the user transmissions daemon runs as, and that it's in a place it can access.

You may have trouble with torrent data being unavailable, but you can just "move" the files in transmission to where they actually are, and it should rescan them.

I did this about a week ago moving transmission from OpenWRT to Debian, but it should be the same here.

2 points

Cool. Okay wait, so ~/.config and ~/.local are normally the places for overrides to /etc and /usr, but now the .config/ bit is a default config mirrored somewhere in their dir in the /var tree. What the fuck

But thanks for the pointer, that's precisely what I was looking for. Be back with what I find in a bit.

1 points

Well the service file for transmission daemon assumes it runs as the transmission user so it's not that it's mirrored somewhere else, it's using a different user's config location.

1 points

While you can point both programs to the same config/data, I would recommend not running them both at the same time. They're not designed for that (for example, it overwrites the config file on exit), so you'd probably end up corrupting the database.

1 points

Good point. I wasn't planning to, I would probably start one of them manually at some point after boot and use it for the rest of the session. For purposes such as to let my woman download stuff on my laptop without ncurses being involved (-;

1 points

There is a transmission-remote-gui (even available for Windows!) that might be the best of both worlds here. I believe it's in the AUR.

1 points

The configuration directories for them are ~/.config/transmission and ~/.config/transmission-daemon. It should be fine if you just move over the directory or symlink it. Personally I just symlinked resume and torrents directories from the daemon to transmission and that was enough.

without ncurses being involved

Btw, there is a web-based GUI for transmission-daemon. You can find it at localhost:9091 by default. You can even install some skins for it, there are a few.

1 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.