Bug 2369338 - Conky is not build with Wayland Support
Summary: Conky is not build with Wayland Support
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: conky
Version: 42
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Miroslav Lichvar
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-05-30 05:19 UTC by trevor
Modified: 2025-09-12 19:27 UTC (History)
3 users (show)

Fixed In Version: conky-1.22.2-1.fc43
Clone Of:
Environment:
Last Closed: 2025-09-12 19:27:04 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description trevor 2025-05-30 05:19:37 UTC
Conky does not seem to be built in Fedora 42 with support for Wayland, this leads to it relying on XWayland which has various problems, most notably Conky will not start until some other process has started XWayland.

`conky --version` gives 
```
trevor  ~  conky --version                                                                                                                                        
conky 1.22.0-pre- compiled for Linux x86_64

Compiled in features:

System config file: /etc/conky/conky.conf
Package library path: /usr/lib64/conky


 General:
  * math
  * hddtemp
  * portmon
  * IPv6
  * Curl
  * RSS
  * support for IBM/Lenovo notebooks
  * old configuration syntax
  * Imlib2
  * OSS mixer support
  * apcupsd
  * iostats
  * ncurses
  * Internationalization support

 Lua bindings:
  * Cairo
  * Imlib2
 X11:
  * Xdamage extension
  * Xinerama extension (virtual display)
  * Xshape extension (click through)
  * XDBE (double buffer extension)
  * Xft
  * ARGB visual
  * Own window
  * Mouse events

 Music detection:
  * CMUS
  * MPD

 Default values:
  * Netdevice: eno1
  * Local configfile: $HOME/.conkyrc
  * Localedir: /usr/share/locale
  * Maximum netdevices: 256
  * Maximum text size: 16384
  * Size text buffer: 256
```

Looking through both 
https://github.com/brndnmtthws/conky/blob/main/cmake/ConkyBuildOptions.cmake and https://src.fedoraproject.org/rpms/conky/blob/f42/f/conky.spec
it seems to me that the "BUILD_WAYLAND" option should be specified, but fiddling with cmake files is beyond my skill set. :(

Reproducible: Always

Steps to Reproduce:
1. Log into Gnome (using wayland)
2. Immediately start conky  from 'Alt-F2' prompt

Actual Results:
Conky does not show on desktop

Expected Results:
Conky should show on desktop

Comment 1 Miroslav Lichvar 2025-06-05 11:15:24 UTC
Please try this scratch build:
https://koji.fedoraproject.org/koji/taskinfo?taskID=133581847

If it works I'll push the changes to the repository.

Comment 2 trevor 2025-06-05 22:50:17 UTC
Unfortunately it didn't work for me.

I downloaded and updated to this artifact https://kojipkgs.fedoraproject.org//work/tasks/1961/133581961/conky-1.22.0-2.fc42.x86_64.rpm

With the following in conky.conf

conky.config = {
	out_to_wayland = true,
	out_to_x = false,

I get ->

trevor  ~  conky                                                                                                                                                  
conky: drawing to single buffer
conky: forked to background, pid is 8896

conky: FOUND: wayland
conky: FOUND: x11
conky: FOUND: file
conky: FOUND: ncurses
conky: FOUND: console
conky: Compositor doesn't support wlr-layer-shell-unstable-v1. Can't run conky.

Without the above lines the behaviour remains as before, i.e. conky won't run as a startup program nor immediately after the desktop becomes available.

Comment 3 trevor 2025-09-01 23:21:51 UTC
I have changed to using the Niri window manager, https://github.com/YaLTeR/niri/, and the conky-1.22.0-2 release works. There are issues drawing graphs, {cpugraph}, {diskiograph},etc, but this is a known issue with Conky on Wayland.

Comment 4 Fedora Update System 2025-09-02 10:06:13 UTC
FEDORA-2025-f4b7be91e7 (conky-1.22.2-1.fc43) has been submitted as an update to Fedora 43.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-f4b7be91e7

Comment 5 Miroslav Lichvar 2025-09-02 10:07:52 UTC
Ok, the Wayland support is now enabled in rawhide and f43.

Comment 6 Fedora Update System 2025-09-03 01:13:43 UTC
FEDORA-2025-f4b7be91e7 has been pushed to the Fedora 43 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2025-f4b7be91e7`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-f4b7be91e7

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 7 Fedora Update System 2025-09-12 19:27:04 UTC
FEDORA-2025-f4b7be91e7 (conky-1.22.2-1.fc43) has been pushed to the Fedora 43 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.