You are not logged in.
I've searched the forums, and there was some talk of rescutime, but nothing that solves or even mentions my problem. I hope this is the right board.
So, I use rescuetime (https://aur.archlinux.org/packages/rescuetime/). It has no service available, which I could potentially systemctl enable. I can activate it anytime manually by simply typing "rescutime" into my terminal.
I would however prefer it run automatically each time I start my computer.
I've tried putting 2>/dev/null 1>&2 rescuetime & into .xinitrc and .bash_profile, but neither of those start the application. It works if I put it into .zshrc, but then it runs each time I open a new zsh session (of which I have multiple, since I use Guake). So each time I open a new terminal, I get notified of the new process having been created via "[1] + 8546 exit 1 rescuetime 2> /dev/null >&2"
I'd appreciate some help in figuring this out.
Last edited by VesterDe (2018-08-29 20:31:18)
Offline
Did you check your logs for clues for why starting from .xinitrc didn't work? If this is graphical application, that would be one of the most obvious ways to launch it.
There's also the XDG autostart directory, or your window manager may have some way to autostart applications on statup. See https://wiki.archlinux.org/index.php/Autostarting for starters.
You could also write your own systemd user service. Although I think that requires a few additional steps with graphical applications, since you need to make sure the service starts during X startup, not on login.
Offline
Where do you put it in your .xinitrc? It has to be before any exec invocation as that will replace the shell parsing your .xinitrc. Post your .xinitrc in doubt.
Offline
Thank you both for answering, I started by putting the line above an exec statement, below which I now know it shouldn't have been. I was fooled by other statements below the exec, which I suppose also aren't being executed. It works as intended now, thanks a lot!
Last edited by VesterDe (2018-08-28 21:58:17)
Offline
No problem, please mark as [SOLVED] by changing the title in your first post: https://wiki.archlinux.org/index.php/Co … ow_to_post
Offline