catppuccin / conky

🐶 Soothing pastel theme for Conky
MIT License
34 stars 4 forks source link

Catppuccin conky: X Error: type 0 #9

Closed GuilhermeRomano closed 7 months ago

GuilhermeRomano commented 8 months ago

Conky doesn't display under default settings, shows following message

DEBUG(0) [./src/conky.cc:2603]: reading contents from config file 'mocha.conf'
DEBUG(0) [./src/x11.cc:400]: enter init_X11()
DEBUG(0) [./src/x11.cc:481]: Fixed xinerama area to: 0 0 1920 1080
DEBUG(0) [./src/x11.cc:432]: leave init_X11()
DEBUG(0) [./src/x11.cc:641]: enter init_window()
DEBUG(0) [./src/x11.cc:481]: Fixed xinerama area to: 0 0 1920 1080
conky: desktop window (2200010) is subwindow of root window (1e7)
DEBUG(0) [./src/x11.cc:620]: Found ARGB Visual
conky: window type - override
conky: drawing to created window (0x5800002)
DEBUG(0) [./src/x11.cc:994]: leave init_window()
conky: X Error: type 0 Display 556c6d22a290 XID 35651600 serial 148 error_code 8 request_code 1 minor_code 0 other Display: 556c6d22a290

[1]    86032 IOT instruction (core dumped)  conky -D -c mocha.conf

Changing own_window_type = 'override' to own_window_type = 'desktop' in .conf file fix the issue.

ohxxm commented 7 months ago

Closing as PR #10 fixes this issue