zcot / conky-manager2

Fork of GUI for managing Conky widgets. Support added for latest conky config version, and works with Ubuntu 16-22, Mint 18-21 and more.
GNU General Public License v3.0
233 stars 34 forks source link

Was able to compile it easily, but doesnt run any widget. #27

Open tojestzart opened 3 years ago

tojestzart commented 3 years ago

Wheres a problem? Executing conky itself it runs some basic widget

[09:02:56] App config saved: '/home/lsd/.config/conky-manager2.json'
lsd@lsd-IdeaPad-3-14ADA05:~/Pobrane/conky-manager2-add-1.10-support$ sudo conky
conky                     conky-manager2            conky-manager2-uninstall  
lsd@lsd-IdeaPad-3-14ADA05:~/Pobrane/conky-manager2-add-1.10-support$ sudo conky-manager2
[09:03:01] Desktop: unknown
[09:03:01] -----------------------------------------------------
[09:03:01] Found theme pack [new]: /usr/share/conky-manager2/themepacks/default-themes-2.1.cmtp.7z
[09:03:01] Importing: /usr/share/conky-manager2/themepacks/default-themes-2.1.cmtp.7z
.d..t...... ./
cd+++++++++ Conky MIUI/
>f+++++++++ Conky MIUI/b.png
>f+++++++++ Conky MIUI/c.png
>f+++++++++ Conky MIUI/miui
>f+++++++++ Conky MIUI/miui.jpg
>f+++++++++ Conky MIUI/source.txt
cd+++++++++ Conky Seamod/
>f+++++++++ Conky Seamod/conky_seamod
>f+++++++++ Conky Seamod/conky_seamod.jpg
>f+++++++++ Conky Seamod/seamod_rings.lua
>f+++++++++ Conky Seamod/source.txt
cd+++++++++ Gotham/
>f+++++++++ Gotham/Gotham
>f+++++++++ Gotham/Gotham.jpg
>f+++++++++ Gotham/source.txt
cd+++++++++ Green Apple Desktop/
>f+++++++++ Green Apple Desktop/Gotham
>f+++++++++ Green Apple Desktop/Gotham.png
>f+++++++++ Green Apple Desktop/Green Apple Desktop.cmtheme
>f+++++++++ Green Apple Desktop/Green Apple Desktop.jpg
>f+++++++++ Green Apple Desktop/conky_seamod
>f+++++++++ Green Apple Desktop/conky_seamod.jpg
>f+++++++++ Green Apple Desktop/seamod_rings.lua
>f+++++++++ Green Apple Desktop/source.txt
>f+++++++++ Green Apple Desktop/wallpaper.jpg
cd+++++++++ TeejeeTech/
>f+++++++++ TeejeeTech/CPU Panel (2-core)
>f+++++++++ TeejeeTech/CPU Panel (2-core).jpg
>f+++++++++ TeejeeTech/CPU Panel (4-core)
>f+++++++++ TeejeeTech/CPU Panel (4-core).jpg
>f+++++++++ TeejeeTech/CPU Panel (6-core)
>f+++++++++ TeejeeTech/CPU Panel (6-core).jpg
>f+++++++++ TeejeeTech/CPU Panel (8-core)
>f+++++++++ TeejeeTech/CPU Panel (8-core).jpg
>f+++++++++ TeejeeTech/NVIDIA Panel
>f+++++++++ TeejeeTech/NVIDIA Panel.jpg
>f+++++++++ TeejeeTech/Network Panel
>f+++++++++ TeejeeTech/Network Panel.png
>f+++++++++ TeejeeTech/Process Panel
>f+++++++++ TeejeeTech/Process Panel.jpg
>f+++++++++ TeejeeTech/README
>f+++++++++ TeejeeTech/nvidia.jpg
>f+++++++++ TeejeeTech/source.txt
cd+++++++++ fonts/
>f+++++++++ fonts/AvantGarde_LT_Medium.ttf
>f+++++++++ fonts/GE_Inspira.ttf
>f+++++++++ fonts/Ubuntu.ttf
[09:03:01] -----------------------------------------------------
[09:03:02] Font Copied: /root/.fonts/AvantGarde_LT_Medium.ttf
[09:03:02] Font Copied: /root/.fonts/GE_Inspira.ttf
[09:03:02] Font Copied: /root/.fonts/Ubuntu.ttf
[09:03:02] Searching for conkyrc files... 12 found
conky: Syntax error (/root/.conky/Gotham/Gotham:1: syntax error near 'yes') while reading config file. 
conky: Assuming it's in old syntax and attempting conversion.
conky: [string "..."]:159: attempt to call a nil value (global 'loadstring')
[09:03:33] App config saved: '/root/.config/conky-manager2.json'
lsd@lsd-IdeaPad-3-14ADA05:~/Pobrane/conky-manager2-add-1.10-support$ conky-manager2
[09:03:39] Desktop: unknown
[09:03:39] Found theme pack [installed]: /usr/share/conky-manager2/themepacks/default-themes-2.1.cmtp.7z
[09:03:39] App config loaded: '/home/lsd/.config/conky-manager2.json'
[09:03:40] Searching for conkyrc files... 12 found
[09:03:47] App config saved: '/home/lsd/.config/conky-manager2.json'
lsd@lsd-IdeaPad-3-14ADA05:~/Pobrane/conky-manager2-add-1.10-support$ conky-manager2
[09:04:10] Desktop: unknown
[09:04:10] Found theme pack [installed]: /usr/share/conky-manager2/themepacks/default-themes-2.1.cmtp.7z
[09:04:10] App config loaded: '/home/lsd/.config/conky-manager2.json'
[09:04:11] Searching for conkyrc files... 12 found
================================================================
                                      system         81W0 (LENOVO_MT_81W0_BU_idea_FM_IdeaPad 3 14ADA05)
/0                                    bus            LNVNB161216
/0/1                                  memory         12GiB System Memory
/0/1/0                                memory         8GiB Row of chips DDR4 Synchronous Unbuffered (Unregistered) 2400 MHz (0.4 ns)
/0/1/1                                memory         4GiB SODIMM DDR4 Synchronous Unbuffered (Unregistered) 2400 MHz (0.4 ns)
/0/3                                  memory         192KiB L1 cache
/0/4                                  memory         1MiB L2 cache
/0/5                                  memory         4MiB L3 cache
/0/6                                  processor      AMD Athlon Gold 3150U with Radeon Graphics
/0/d                                  memory         128KiB BIOS
/0/100                                bridge         Raven/Raven2 Root Complex
/0/100/0.2                            generic        Raven/Raven2 IOMMU
/0/100/1.1                            bridge         Raven/Raven2 PCIe GPP Bridge [6:0]
/0/100/1.1/0                          storage        Samsung Electronics Co Ltd
/0/100/1.1/0/0        /dev/nvme0      storage        SAMSUNG MZALQ128HBHQ-000L2
/0/100/1.1/0/0/1      /dev/nvme0n1    disk           128GB NVMe namespace
/0/100/1.1/0/0/1/1    /dev/nvme0n1p1  volume         511MiB Windows FAT volume
/0/100/1.1/0/0/1/2    /dev/nvme0n1p2  volume         118GiB EXT4 volume
/0/100/1.2                            bridge         Raven/Raven2 PCIe GPP Bridge [6:0]
/0/100/1.2/0          wlp2s0          network        RTL8822CE 802.11ac PCIe Wireless Network Adapter
/0/100/8.1                            bridge         Raven/Raven2 Internal PCIe GPP Bridge 0 to Bus A
/0/100/8.1/0                          display        Picasso
/0/100/8.1/0.1                        multimedia     Raven/Raven2/Fenghuang HDMI/DP Audio Controller
/0/100/8.1/0.2                        generic        Family 17h (Models 10h-1fh) Platform Security Processor
/0/100/8.1/0.3                        bus            Raven2 USB 3.1
/0/100/8.1/0.3/0      usb1            bus            xHCI Host Controller
/0/100/8.1/0.3/0/5                    bus            USB2.0 Hub
/0/100/8.1/0.3/0/5/1                  multimedia     Integrated Camera
/0/100/8.1/0.3/0/6                    communication  Bluetooth Radio
/0/100/8.1/0.3/1      usb2            bus            xHCI Host Controller
/0/100/8.1/0.5                        multimedia     Raven/Raven2/FireFlight/Renoir Audio Processor
/0/100/8.1/0.6                        multimedia     Family 17h (Models 10h-1fh) HD Audio Controller
/0/100/14                             bus            FCH SMBus Controller
/0/100/14.3                           bridge         FCH LPC Bridge
/0/101                                bridge         Family 17h (Models 00h-1fh) PCIe Dummy Host Bridge
/0/102                                bridge         Family 17h (Models 00h-1fh) PCIe Dummy Host Bridge
/0/103                                bridge         Raven/Raven2 Device 24: Function 0
/0/104                                bridge         Raven/Raven2 Device 24: Function 1
/0/105                                bridge         Raven/Raven2 Device 24: Function 2
/0/106                                bridge         Raven/Raven2 Device 24: Function 3
/0/107                                bridge         Raven/Raven2 Device 24: Function 4
/0/108                                bridge         Raven/Raven2 Device 24: Function 5
/0/109                                bridge         Raven/Raven2 Device 24: Function 6
/0/10a                                bridge         Raven/Raven2 Device 24: Function 7
/0/0                                  system         PnP device PNP0c02
/0/2                                  system         PnP device PNP0b00
/0/7                                  generic        PnP device PTL0001
/0/8                                  system         PnP device PNP0c02
/0/9                                  system         PnP device PNP0c01
zcot commented 3 years ago

I have no clue about it, I never run conky, or conky-manager2 as root.

When you run conky-manager2 as lsd it looks fine, and there is no error messages.

/home/lsd/ user is a reference.

~/Pobrane/ user is a reference.

and /root/ is also used.

I have no idea what you have going here.

If there is some problem with the program I will gladly try to fix it, but it looks like some user error must be in play here.

Lowrida commented 2 years ago

You try to start conkymanager with user lsd, but from folder ~/pobrane and conkymanager searches files in /root.... this is scripted for disaster! That is probably why desktop is unknown!

Under what username did you install conkymanager and conky?

If you want to use conkymanager as root, then login as root and install conky and conky manager. Then login as lsd and sudo conkymanager. But i wonder if the script it makes to start all the conky's will also get a sudo... i don't think so?? So to start all the conky's at boot you have to edit the startup script yourself and add 'sudo' in front.