You are not logged in.

#1 2023-04-09 16:09:26

Morta
Member
Registered: 2019-07-07
Posts: 660

Conky doesn't autostart

Hi I have follwing conky setup which looks like this

https://0x0.st/HXVo.png

My config files

[morta@lapt0p ~]$ curl -F 'file=@-' 0x0.st < .conkyrc
http://0x0.st/HXOn.txt
[morta@lapt0p ~]$ curl -F 'file=@-' 0x0.st < .conkyrc2
http://0x0.st/HXVH.txt
[morta@lapt0p ~]$

I lunch manually like this

[morta@lapt0p ~]$ conky -c /home/morta/.conkyrc & conky -c /home/morta/.conkyrc2 &

My .desktop file looks like this but nothing shows up in the background

~/.config/autostart/conky.desktop

Type=Application
Name=conky
Exec=conky -c /home/morta/.conkyrc --daemonize --pause=5 & conky -c /home/morta/.conkyrc2 --daemonize --pause=5 &
StartupNotify=false
Terminal=false

What is wrong?

Offline

#2 2023-04-09 16:38:28

progandy
Member
Registered: 2012-05-17
Posts: 5,320

Re: Conky doesn't autostart

It looks like you are using sway or i3. In that case, there is no autostart for xdg-desktop files included by default. You'll have to add conky to your sway or i3 config.
If you wish to enable xdg autostart, then you'll have to start an autostarter like dex from the sway/i3 configuration: https://wiki.archlinux.org/title/XDG_Autostart


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' | alias ENGLISH='LANG=C.UTF-8 ' |

Offline

#3 2023-04-09 16:41:37

Morta
Member
Registered: 2019-07-07
Posts: 660

Re: Conky doesn't autostart

Thanks. I will check.

Offline

#4 2023-04-09 17:32:24

Morta
Member
Registered: 2019-07-07
Posts: 660

Re: Conky doesn't autostart

In sway config

exec dex ~/.config/autostart.desktop

It's open a terminal and isn't on background even Terminal=false in the .dekstop file. Why?

Offline

#5 2023-04-09 18:00:00

progandy
Member
Registered: 2012-05-17
Posts: 5,320

Re: Conky doesn't autostart

Does it really open a terminal and not simply conky in a window like in your first post? wayland support is still a work in progress for conky and the version in arch linux has not been compiled with wayland support, as a result it opens in a window through xwayland instead of the background layer. You can probably recompile conky with BUILD_WAYLAND=ON and then launch it with "env -u DISPLAY conky ...".
Other alternatives are
https://aur.archlinux.org/packages/eww-wayland
https://aur.archlinux.org/packages/nwg-wrapper


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' | alias ENGLISH='LANG=C.UTF-8 ' |

Offline

Board footer

Powered by FluxBB