Bug 25822 - Conky-manager don't apply the configuration to desktop conky application
Summary: Conky-manager don't apply the configuration to desktop conky application
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 7
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Dimitrios Glentadakis
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-12-04 16:59 CET by Jose Manuel López
Modified: 2020-01-03 08:50 CET (History)
3 users (show)

See Also:
Source RPM: conky-manager-2.4-2.mga7.src.rpm
CVE:
Status comment:


Attachments

Description Jose Manuel López 2019-12-04 16:59:52 CET
Description of problem: I've installed conky and conky-manager. I run conky, and after, conky-manayer for configure themes and widgets of conky, but, when I apply the changes, this don't apply to conky.


Version-Release number of selected component (if applicable): Mageia 7 Plasma - Conky - Conky-manager


How reproducible: Install conky and conky-manager packages. Configure conky-manager and apply changes. Conky don't show the applied changes.


Steps to Reproduce:
1. Install conky and conky-manager.
2. Run conky-manager, configure and accept changes.
3. The new configuration don't show in conky.
Comment 1 MAG Linares Andalucía 2019-12-04 23:19:24 CET
I suffer exactly the same problem: The Conky monitor does not respond to modifications issued from Conky-Manager, always remaining unchanged and immutable, in its initial basic configuration.

CC: (none) => mag.linares

Comment 2 Lewis Smith 2019-12-10 21:29:14 CET
Thank you both for reporting/confirming the problem, which certainly looks like conky-manager.

Assigning to Dimitrios as the official maintainer, also CC DavidG as the most recent committer.

CC: (none) => geiger.david68210
Source RPM: Conky and conky-manager => conky-manager-2.4-2.mga7.src.rpm
Assignee: bugsquad => dglent

Comment 3 Dimitrios Glentadakis 2019-12-11 06:41:26 CET
I think that is the case with the configuration file format:
Check this to convert it to the new format:
https://forums.mageia.org/en/viewtopic.php?p=75640
https://forums.bunsenlabs.org/viewtopic.php?id=3983
Comment 4 Jose Manuel López 2019-12-11 09:23:44 CET
Hi,

I tried run the command for convert conkyrc, but no works. First convert.lua doesn't ejecutable. I put how ejecutable and I run the command again in konsole with this result:

[jose@localhost ~]$ /usr/share/doc/conky/convert.lua .conkyrc .conkyrc.new
/usr/bin/lua: /usr/share/doc/conky/convert.lua:131: cannot open file '.conkyrc' (No such file or directory)
stack traceback:
        [C]: in function 'input'
        /usr/share/doc/conky/convert.lua:131: in main chunk
        [C]: in ?
[jose@localhost ~]$ su -
Contraseña: 
[root@localhost ~]# /usr/share/doc/conky/convert.lua .conkyrc .conkyrc.new
/usr/bin/lua: /usr/share/doc/conky/convert.lua:131: cannot open file '.conkyrc' (No such file or directory)
stack traceback:
        [C]: in function 'input'
        /usr/share/doc/conky/convert.lua:131: in main chunk
        [C]: in ?
[root@localhost ~]# 


Doesn't find the file .conkyrc.

Greetings!!
Comment 5 Dimitrios Glentadakis 2019-12-11 15:22:50 CET
I tried to install conky and conky-manager. I have only one widget and i cannot either add widgets from conky-manager
I use LXQt desktop
Could you ask in the forum to see if it works on other users.
Sorry :(
Comment 6 Harold Toms 2019-12-13 10:35:49 CET
The conkyrc snippets provided by conky-manager are in the old format for conky version < 1.10. Mageia 7 comes with conky v 1.11 so they don't work. They can be converted to the new format using the /usr/share/doc/conky/convert.lua script 

e.g. /usr/share/doc/conky/convert.lua oldfile newfile

The files are all in ~/.conky/<Theme name> together with jpeg files of the same root name to show what they look like. As noted above the convert.lua script needs to be made executable before you can use it (or you could put "lua" before the command). By default, conky uses the file ~/.conkyrc for its configuration... and you need to create that file yourself. If you use conky-manager it runs conky from a script ~/.conky/conky-startup.sh which doesn't use ~/.conkyrc but uses the files from the Themes in ~/.conky hence they need to be converted to the new format.

CC: (none) => h.toms

Comment 7 MAG Linares Andalucía 2019-12-16 19:38:17 CET
Hello.

I have already get to convert the conkyrc to the new format.
I have those files at /home/and/.conky/ folder:
$ ls -la
drwxr-xr-x 10 and and  4096 dic 16 19:32  ./
drwxr-x--- 39 and and  4096 dic 16 19:13  ../
-rw-r--r--  1 and and 18910 sep 20 21:52  bargraph.lua
-rw-r--r--  1 and and  6069 sep 21 16:38  conkyrc
-rw-r--r--  1 and and   784 sep 21 08:21  conkyrc2
-rw-r--r--  1 and and   112 dic 13 17:03  conky-startup.sh
-rw-r--r--  1 and and 15985 sep 20 17:30  graph.lua
-rw-r--r--  1 and and  7220 may  6  2019  grid2.png
-rwxr-xr-x  1 and and    94 sep 21 08:29  kk.sh*
-rw-r--r--  1 and and  2153 sep 21 16:32  README.txt

and, when I use "conky" at bash, the initial black and square conky still appears. And I receive:

conky: desktop window (260000b) is subwindow of root window (1dd)
conky: window type - desktop
conky: drawing to created window (0x6e00001)
conky: Unknown setting 'out_to_ncurses'
Comment 8 Harold Toms 2019-12-17 09:50:54 CET
As I've also pointed out on the forum, you need to tell conky to actually use those conkyrc files, otherwise it will only use the file .conkyrc in your home directory. To use a different configuration conky must be invoked with the "-c" option:

conky -c /home/<yourname>/conkyrc

Change <yourname> to the correct username for your account.
Comment 9 MAG Linares Andalucía 2019-12-17 11:26:16 CET
Thanks a lot. We are approaching.

I convert the old format to the new format

./convert.lua Gotham conkyrc

No error.

After,

conky -c /home/and/.conky/Gotham/conkyrc

No error, but Conky appears like this:

https://gyazo.com/46cc72be25f19102b742f80cf777b44e
Comment 10 Harold Toms 2019-12-17 11:47:38 CET
That looks quite close to what I see with the "Gotham" theme, except I don't get all the text from behind the conky window. Because you're using kde and I'm using xfce I can't really help you much further other than to suggest you try the various options for own_window* settings from:

http://conky.sourceforge.net/config_settings.html

In particular the own_window_type and own_window_transparent settings may need changing.
Comment 11 Harold Toms 2019-12-17 15:20:17 CET
Also, try changing in your conkyrc file

own_window_argb_visual = false;

to

own_window_argb_visual = true;
Comment 12 Jose Manuel López 2020-01-03 08:50:04 CET
Hi,

From what I can read, it seems that the conky-manager application is not updated by its developer to support the new conky features. With these corrections explained in the bug I close the issue hoping that conky-manager will be officially updated some day.

Greetings!

Status: NEW => RESOLVED
Resolution: (none) => FIXED


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