I have launched transmission 3.00-2 (extra repo) via command line on 5.8.18-1-MANJARO. Though it started pulling in the error messages like following ones despite i instructed it to run on background.
Just because a program should run in the background, does not mean it will not print error messages. It just means that you will get your promt back. Also if you close the Terminal emulator, all background process are killed.
By not doing what you did. Create a systemd service, the transmission-cli contains a systemd system service example. It might not fit perfectly, since you want a GUI. Btw, the cli has a web interface.
If you want the gtk version, you might want to create a systemd user service, for your user. This service can be started via a systemd timer, so there is no need for cron after all.
This is a very simple systemd user service which can start transmission minimized. You might want to tweak it to fit your needs.
It can be manually started with systemctl --user start transmission-user.service or via a timer. But it can’t be enabled. If you want to use it, don’t forget to reload systemd with systemctl --user daemon-reload
I see that the web interface complained about missing files, so i have installed transmission-cli package and web UI started working.
Btw. i am having problem with launching yours mentioned command (systemctl --user start transmission-user.service)via bash script. that bash script launches other commands OK, but the mentioned command not start transmission via bash, but when i run it directly via command line, then it works…
bash script that fails to start it:
#!/bin/bash
ps=$(ps aux)
if [[ “$ps” != “transmission-gtk” ]];then systemctl --user start transmission-user.service
fi
This is how the manually started service looks like:
● transmission-user.service - transmission
Loaded: loaded (/home/me/.config/systemd/user/transmission-user.service; static)
Active: active (running) since Tue 2020-12-08 01:12:37 CET; 22s ago
Main PID: 178503 (transmission-gt)
CGroup: /user.slice/user-1000.slice/user@1000.service/transmission-user.service
└─178503 /usr/bin/transmission-gtk -m
my aim is that the transmission-gtk is kept running, ideally via bash script as im already using it to keep running other services (as per the link above).