GithubHelp home page GithubHelp logo

conky: X Error: type 0 Display about polycore HOT 3 CLOSED

philer avatar philer commented on August 17, 2024
conky: X Error: type 0 Display

from polycore.

Comments (3)

philer avatar philer commented on August 17, 2024

Hi,
that seems like an issue with conky itself and your desktop. I don't think there's much I can do.
Here's a similar issue which mentions own_window_type = "override": brndnmtthws/conky#424
Maybe if you change that to something else in conkyrc.lua it'll help.

from polycore.

presianbg avatar presianbg commented on August 17, 2024

Dear @philer ,
Thanks for looking into this and helping me out.
I have changed own_window_type = "override" to own_window_type = "desktop"

And now conky starts, but with the following traceback:

conky -c examples/columns.lua 
conky: desktop window (8200257) is subwindow of root window (1f0)
conky: window type - desktop
conky: drawing to created window (0x2000002)
conky: drawing to double buffer
conky: statfs '/mnt/blackstor': No such file or directory
sh: nvidia-smi: command not found
examples/../src/widget.lua:1351: attempt to perform arithmetic on a nil value (local 'mem_total')
stack traceback:
	examples/../src/polycore.lua:53: in metamethod '__div'
	examples/../src/widget.lua:1351: in method 'init'
	examples/../src/util.lua:17: in field 'Gpu'
	examples/columns.lua:142: in function 'src/polycore.setup'
	examples/../src/polycore.lua:21: in function <examples/../src/polycore.lua:20>
	[C]: in function 'xpcall'
	examples/../src/polycore.lua:58: in function 'conky_setup'
examples/../src/polycore.lua:35: attempt to index a nil value (field 'renderer')
stack traceback:
	examples/../src/polycore.lua:53: in metamethod '__index'
	examples/../src/polycore.lua:35: in function <examples/../src/polycore.lua:26>
	[C]: in function 'xpcall'
	examples/../src/polycore.lua:63: in function 'conky_update'
conky: statfs '/mnt/blackstor': No such file or directory

I'm not sure if it is related to the own_window_type function or it's entirely new problem ?

from polycore.

philer avatar philer commented on August 17, 2024

Hi, that's because you don't have nvidia-smi installed (notice the line that says sh: nvidia-smi: command not found). If you have a nvidia gpu you can install that. If you don't then you won't be able to use the Gpu widget and need to remove it in layout.lua.

from polycore.

Related Issues (8)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.