Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

grayed out at very top of conky manager v2.73 #28

Open
hdawg12 opened this issue Dec 28, 2021 · 12 comments
Open

grayed out at very top of conky manager v2.73 #28

hdawg12 opened this issue Dec 28, 2021 · 12 comments

Comments

@hdawg12
Copy link

hdawg12 commented Dec 28, 2021

Hello,
I"m using Kali linux v 2021.4 and I followed everything in the directions, but when I open conky-manager v2.73, I have most of the buttons grayed out at the top. I can't start any widgets. Do you know what the problem is? i have a screenshot attached

conky_managerV2

@zcot
Copy link
Owner

zcot commented Dec 29, 2021

I don't know.

Most of the icons at the top are not relevant anyway unless you have selected one of the configs below(even though I never experience these disabled icons, they just don't do anything if nothing is selected below).

Are you running as a root account? I'm not sure if there is some issue with that.

@hdawg12
Copy link
Author

hdawg12 commented Dec 29, 2021

i have tried selecting something below, but it still grayed out. do you think it could be some type of bug related to version 2021.4? Do i have to have LUA installed? if so where do i go to see if I do? If I don't , where or what command should I type to install it?

@hdawg12
Copy link
Author

hdawg12 commented Dec 30, 2021

btw, yes I am running as a root account

@zcot
Copy link
Owner

zcot commented Dec 31, 2021

There's probably some issue with that. Did you test it from the user account, not root?

@hdawg12
Copy link
Author

hdawg12 commented Jan 1, 2022

no, I just have a root account. I would have to create a user acct and test it, but the it worked before when I was using it on my root acct. Not sure why its not now.

@zcot
Copy link
Owner

zcot commented Jan 2, 2022

I don't know if that's a problem or not, I never run the root gui account, which is also typically what everyone is doing on Debian/Ubuntu.

If it worked before then I would not suspect it to be a problem now. I don't know what has changed, nothing interesting related with conky-manager2 I would suspect.

I did do a little searching related to kali and conky and it looks like kali uses a newer version of lua where conky is internally failing related to the convert script, but you can easily just manually convert those older configs(which maybe all the default ones supplied with conky-manager2 are): https://github.com/brndnmtthws/conky/wiki/Configurations#converting-old-configs-to-110 And yes, you would need lua installed on the system to be able to do that, but it shouldn't have any issue with conky-manager2 itself, but of course you do not get anywhere anyway with broken configs.

@hdawg12
Copy link
Author

hdawg12 commented Jan 3, 2022

thanks for the update. Quick question. Is there a recent upgrade in lua? In my lua directory I have 5.1, 5.2, 5.3

@zcot
Copy link
Owner

zcot commented Jan 3, 2022

conky-manager2 doesn't run on lua.

One thing a user might do when experiencing a problem with a gui program, is to start the program from terminal, so maybe you can get some feedback as to what is going on.

In this case, since the manager is strictly a function of dealing with conky configs, I would want to check conky itself, is everything there functioning correctly in the first place? Can you run a custom config? I would specifically check one that is using lua. Hell, does the default one even work?

Work up to the problem. Let me know if there's something I can do that is broken with the manager.

@hdawg12
Copy link
Author

hdawg12 commented Jan 4, 2022

Yes I was doing that. I'm able to get the default conky working on the conky manager. I had to change some things on the config to make it happen, but it worked using conky manager v2.
Does each widget come with a conky.config? Which file would I need to work on for each widget so I can try and make it functional with conky-managerV2? What would the
conky_managerv2
file be called?

@zcot
Copy link
Owner

zcot commented Jan 4, 2022

If the config doesn't work with conky-manager then it doesn't work with conky itself. The actual order is that if it does not work with conky in the first place, then it also can not work using the conky-manager2.

If conky is broken because it tries to use an old-version config and fails when it comes to internally using its contained lua script then the same failure would be present in the manager. The manager only runs the config manually for you, using conky, it's only a tool of convenience, it is not doing anything that conky itself doesn't do, as far as running a config goes.

For example, on terminal: cd ~/.conky/Gotham ; conky -c ~/.conky/Gotham/Gotham
-running this old-version config will show the following lines in terminal:

conky: Syntax error (/home/zcot/.conky/Gotham/Gotham:1: '=' expected near 'yes') while reading config file. 
conky: Assuming it's in old syntax and attempting conversion.

-the next lines are the normal output because typically conky will succeed in the conversion, but when it fails then you get error message(s) instead.

On a system where Lua 5.3 is installed that conversion is going to fail because the original conversion script used the lua call for 'loadstring' which was deprecated and only lua 'load' is going to work. You would either need to use the latest version of conky, where the conversion script is fixed, or just download the fixed script and convert the config yourself.

As for the conky-manager2, like I mentioned, you'll have to figure it out, there's nothing I can do. You can run it from terminal to see if you get any useful error messages, I already mentioned that. Maybe you find something on the kali support forums about how to use conky? If you can get a functional conky setup then at least you can pinpoint a problem directly with conky-manager2.

@hdawg12
Copy link
Author

hdawg12 commented Jan 5, 2022

do you have the link to the latest version of conky?

@zcot
Copy link
Owner

zcot commented Jan 5, 2022

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants