You are not logged in.

#1 2014-10-25 17:50:53

esquire70
Member
Registered: 2014-10-25
Posts: 13

[Solved] autostart cbatticon

I am trying to get cbatticon to start when I login.  From the Arch wiki (here, I have created cbatticon.service located here: /etc/systemd/system

cbatticon.service

[Unit]
Description=cbatticon

[Service]
ExecStart=/usr/bin/cbatticon

[Install]
WantedBy=multi-user.target

When I execute

sudo systemctl enable cbatticon.service

I get

Created symlink from /etc/systemd/system/multi-user.target.wants/cbatticon.service to /etc/systemd/system/cbatticon.service.

But on reboot it does not start. How can I get cbatticon working? Thanks.

Last edited by esquire70 (2014-12-11 17:58:20)

Offline

#2 2014-10-25 18:18:05

Painless
Member
Registered: 2006-02-06
Posts: 233

Re: [Solved] autostart cbatticon

cbatticon is a user (as opposed to a system) application.  Start it when you start your window manager.

Offline

#3 2014-10-25 19:33:29

esquire70
Member
Registered: 2014-10-25
Posts: 13

Re: [Solved] autostart cbatticon

Thanks for your help and good point. The solution is described in detail here here (I am using LXDE).

~/.config/lxsession/LXDE/autostart now looks like this (everything other than the cbatticon is default):

@lxpanel --profile LXDE
@pcmanfm --desktop --profile LXDE
@xscreensaver -no-splash
@cbatticon

Offline

Board footer

Powered by FluxBB