How to get Specific Conky scripts to work?

Add functionality to your desktop
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
User avatar
Koentje
Level 7
Level 7
Posts: 1577
Joined: Tue Jan 04, 2022 6:23 pm
Location: Netherlands

Re: How to get Specific Conky scripts to work?

Post by Koentje »

Can you test this script on the terminal and post the outcome here. And also test it with time.
time gpuinfo.sh

gpuinfo.sh.tar.gz
(1.46 KiB) Downloaded 23 times
User avatar
Koentje
Level 7
Level 7
Posts: 1577
Joined: Tue Jan 04, 2022 6:23 pm
Location: Netherlands

Re: How to get Specific Conky scripts to work?

Post by Koentje »

And if you will be so kind to test also this scipt for me and post the outcome here. Also with time!
time gpuinfo2.sh

gpuinfo2.sh.tar.gz
(578 Bytes) Downloaded 23 times


If both show the correct outputs, then the script is ready for use! It will look like this..
Schermafdruk van 2022-05-27 03-30-41.jpg
Schermafdruk van 2022-05-27 03-30-41.jpg (27.29 KiB) Viewed 715 times
TinMan1325
Level 3
Level 3
Posts: 114
Joined: Mon Apr 18, 2022 4:08 pm

Re: How to get Specific Conky scripts to work?

Post by TinMan1325 »

Koentje wrote: Thu May 26, 2022 5:10 pm Can you test this script on the terminal and post the outcome here. And also test it with time.
time gpuinfo.sh


gpuinfo.sh.tar.gz

Code: Select all

cardname      : Corporation GP106 [GeForce GTX 1060
cudacores     : 1280
driver        : nvidia
driver ver    : 510.73.05
coretemp      : 55 C
corefreq      : 1556 / 4006 Mhz
fanspeed rpm  : 0 rpm
fanspeed %    : 0 %
ramtotal      : 6070 Mb
ramused       : 426 Mb
rampercent    : 7 %
resolution    : 1920x1080~60 Hz
connector     : (DFP-1):
linkspeed     : 8.0 GT/s
linkwidth     : PCIe x16
I put "time" in front of it and nothing happened
"time gpuinfo.sh: No such file or directory"

Edit: or did you mean for me to rename it with "time" in front? If so, I got

Code: Select all

cardname      : Corporation GP106 [GeForce GTX 1060
cudacores     : 1280
driver        : nvidia
driver ver    : 510.73.05
coretemp      : 56 C
corefreq      : 1556 / 4006 Mhz
fanspeed rpm  : 604 rpm
fanspeed %    : 20 %
ramtotal      : 6070 Mb
ramused       : 470 Mb
rampercent    : 7 %
resolution    : 1920x1080~60 Hz
connector     : (DFP-1):
linkspeed     : 8.0 GT/s
linkwidth     : PCIe x16
It looks the same, I think
Last edited by TinMan1325 on Fri May 27, 2022 4:50 am, edited 1 time in total.
TinMan1325
Level 3
Level 3
Posts: 114
Joined: Mon Apr 18, 2022 4:08 pm

Re: How to get Specific Conky scripts to work?

Post by TinMan1325 »

Koentje wrote: Thu May 26, 2022 8:58 pm And if you will be so kind to test also this scipt for me and post the outcome here. Also with time!
time gpuinfo2.sh


gpuinfo2.sh.tar.gz


If both show the correct outputs, then the script is ready for use! It will look like this..
Schermafdruk van 2022-05-27 03-30-41.jpg
Oh dude, that looks sweet!

Code: Select all

gpuinfo2.sh: line 21: ./tempfiles/nvidia-smi.out: No such file or directory
gpuload    :  %
poweruse   :  Watt
powermax   :  Watt
And it does the same thing when I put the word time in front
"time gpuinfo2.sh: No such file or directory"
User avatar
Koentje
Level 7
Level 7
Posts: 1577
Joined: Tue Jan 04, 2022 6:23 pm
Location: Netherlands

Re: How to get Specific Conky scripts to work?

Post by Koentje »

TinMan1325 wrote: Fri May 27, 2022 4:46 am I put "time" in front of it and nothing happened
"time gpuinfo.sh: No such file or directory"
Strange, to my understanding time is a standard command in Mint. So you should have it...
It calculates the time the program/script needs from start to finish. So i have an idea how heavy the script is.

TinMan1325 wrote: Fri May 27, 2022 4:48 am Oh dude, that looks sweet!
Thanks!

TinMan1325 wrote: Fri May 27, 2022 4:48 am

Code: Select all

gpuinfo2.sh: line 21: ./tempfiles/nvidia-smi.out: No such file or directory
gpuload    :  %
poweruse   :  Watt
powermax   :  Watt
I made a small mistake in the script. It tries to write a tempfile to a directory that probably does not exist.

Go into the script and find this line:
nvidia-smi > "./tempfiles/nvidia-smi.out"

And change that into this:
nvidia-smi > "nvidia-smi.out"

Now run the script again and post the outcome..
User avatar
Koentje
Level 7
Level 7
Posts: 1577
Joined: Tue Jan 04, 2022 6:23 pm
Location: Netherlands

Re: How to get Specific Conky scripts to work?

Post by Koentje »

Now you can activate a blurred background of your desktop and rounded corners..
Schermafdruk van 2022-05-27 14-17-40.jpg
Schermafdruk van 2022-05-27 14-22-09.jpg
TinMan1325
Level 3
Level 3
Posts: 114
Joined: Mon Apr 18, 2022 4:08 pm

Re: How to get Specific Conky scripts to work?

Post by TinMan1325 »

Koentje wrote: Fri May 27, 2022 6:46 am And change that into this:
nvidia-smi > "nvidia-smi.out"

Now run the script again and post the outcome..
Success!

Code: Select all

gpuload    :  %
poweruse   :  Watt
powermax   :  Watt

real	0m0.033s
user	0m0.011s
sys	0m0.017s

Code: Select all

cardname      : Corporation GP106 [GeForce GTX 1060
cudacores     : 1280
driver        : nvidia
driver ver    : 510.73.05
coretemp      : 57 C
corefreq      : 1556 / 4006 Mhz
fanspeed rpm  : 0 rpm
fanspeed %    : 0 %
ramtotal      : 6070 Mb
ramused       : 389 Mb
rampercent    : 6 %
resolution    : 1920x1080~60 Hz
connector     : (DFP-1):
linkspeed     : 8.0 GT/s
linkwidth     : PCIe x16

real	0m0.263s
user	0m0.083s
sys	0m0.069s
User avatar
Koentje
Level 7
Level 7
Posts: 1577
Joined: Tue Jan 04, 2022 6:23 pm
Location: Netherlands

Re: How to get Specific Conky scripts to work?

Post by Koentje »

TinMan1325 wrote: Fri May 27, 2022 2:30 pm
Koentje wrote: Fri May 27, 2022 6:46 am And change that into this:
nvidia-smi > "nvidia-smi.out"

Now run the script again and post the outcome..
Success!

Code: Select all

gpuload    :  %
poweruse   :  Watt
powermax   :  Watt

real	0m0.033s
user	0m0.011s
sys	0m0.017s
Almost! ;) I know now that the bigger script is reasonable fast, but as you can see the above script does not output any data... I based the script on the outcome you posted. But it could be that there was a line lost in copying??

Can you go into the script and find this line:
if [ "$x" = "10" ]; then

And fiddle a bit with the number 10... maybe it's 9 or 11? And let me know if that made any difference.
TinMan1325
Level 3
Level 3
Posts: 114
Joined: Mon Apr 18, 2022 4:08 pm

Re: How to get Specific Conky scripts to work?

Post by TinMan1325 »

Koentje wrote: Fri May 27, 2022 5:01 pm Can you go into the script and find this line:
if [ "$x" = "10" ]; then

And fiddle a bit with the number 10... maybe it's 9 or 11? And let me know if that made any difference.
Hmm it doesn't appear to. I tried numbers 1-20 and they all gave the same result
User avatar
Koentje
Level 7
Level 7
Posts: 1577
Joined: Tue Jan 04, 2022 6:23 pm
Location: Netherlands

Re: How to get Specific Conky scripts to work?

Post by Koentje »

Ok that is strange.. then the outcome that you posted earlier does not match with what happens on the terminal.

Can you run this command and post the ouput file as an attachment.
nvidia-smi > "nvidia-smi.output"

Also what options has nvidia-smi? Can you post that.
nvidia-smi --help
User avatar
Koentje
Level 7
Level 7
Posts: 1577
Joined: Tue Jan 04, 2022 6:23 pm
Location: Netherlands

Re: How to get Specific Conky scripts to work?

Post by Koentje »

Never mind.. i got the gpu load from the nvidia-settings. The only thing i could not find was the power consumption. So instead it show the performance level the card is in. Try it and let me know if it works or not.
And don't forget to install both fonts in the /font folder! (Ubuntu-Title and Bitsumishi)

gpuinfo-1.0.tar.gz
(126.21 KiB) Downloaded 21 times
TinMan1325
Level 3
Level 3
Posts: 114
Joined: Mon Apr 18, 2022 4:08 pm

Re: How to get Specific Conky scripts to work?

Post by TinMan1325 »

Koentje wrote: Sat May 28, 2022 12:40 pm Never mind.. i got the gpu load from the nvidia-settings. The only thing i could not find was the power consumption. So instead it show the performance level the card is in. Try it and let me know if it works or not.
And don't forget to install both fonts in the /font folder! (Ubuntu-Title and Bitsumishi)


gpuinfo-1.0.tar.gz
Dang, it doesn't work

I'm just supposed to put the whole gpuinfo folder in the .conky folder, right?
User avatar
Koentje
Level 7
Level 7
Posts: 1577
Joined: Tue Jan 04, 2022 6:23 pm
Location: Netherlands

Re: How to get Specific Conky scripts to work?

Post by Koentje »

Yes. And if you use conky-manager2 then click on the refresh button.
But you can try it out on the terminal with conky -c ./gpuinfo.conky and see if there are errors shown..
And in your home folder there is a file xsession-errors. Conky errors and warnings show up in that log!
TinMan1325
Level 3
Level 3
Posts: 114
Joined: Mon Apr 18, 2022 4:08 pm

Re: How to get Specific Conky scripts to work?

Post by TinMan1325 »

Koentje wrote: Sat May 28, 2022 2:42 pm Yes. And if you use conky-manager2 then click on the refresh button.
But you can try it out on the terminal with conky -c ./gpuinfo.conky and see if there are errors shown..
And in your home folder there is a file xsession-errors. Conky errors and warnings show up in that log!
This is what I got in the terminal

Code: Select all

conky: llua_load: cannot open gpubars.lua: No such file or directory
conky: desktop window (2200041) is subwindow of root window (1e1)
conky: window type - dock
conky: drawing to created window (0x7c00001)
conky: drawing to double buffer
conky: llua_do_call: function conky_main_bars execution failed: attempt to call a nil value
conky: llua_do_call: function conky_main_bars execution failed: attempt to call a nil value
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
sh: 1: 4: not found
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
sh: 1: ./conky-blur-background.sh: not found
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
conky: Unable to load image '/home/tinman1325/.conky/conky_blurred_background/gpu-info.png'
conky: llua_do_call: function conky_main_bars execution failed: attempt to call a nil value
conky: llua_do_call: function conky_main_bars execution failed: attempt to call a nil value
conky: llua_do_call: function conky_main_bars execution failed: attempt to call a nil value
^Acat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
sh: 1: 4: not found
cat: ./tempfiles/gpuinfo.tmp: No such file or directorycat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: ./tempfiles/gpuinfo.tmpcat: : No such file or directory
./tempfiles/gpuinfo.tmp
: No such file or directory
conky: llua_do_call: function conky_main_bars execution failed: attempt to call a nil value
^Acat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: sh: 1: 4: not found
./tempfiles/gpuinfo.tmpcat: ./tempfiles/gpuinfo.tmp: No such file or directory: No such file or directory

cat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
conky: llua_do_call: function conky_main_bars execution failed: attempt to call a nil value
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
sh: 1: 4: not found
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: ./tempfiles/gpuinfo.tmpcat: ./tempfiles/gpuinfo.tmp: No such file or directory
: No such file or directory
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
sh: 1: ./conky-blur-background.sh: not found
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
conky: llua_do_call: function conky_main_bars execution failed: attempt to call a nil value
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: ./tempfiles/gpuinfo.tmpcat: ./tempfiles/gpuinfo.tmp: No such file or directory
: No such file or directory
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: ./tempfiles/gpuinfo.tmpcat: : No such file or directory
./tempfiles/gpuinfo.tmp: No such file or directory
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
sh: 1: 4: not found
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
conky: llua_do_call: function conky_main_bars execution failed: attempt to call a nil value
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
sh: 1: 4: not found
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
conky: llua_do_call: function conky_main_bars execution failed: attempt to call a nil value
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
sh: 1: 4: not found
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
sh: 1: ./conky-blur-background.sh: not found
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
conky: llua_do_call: function conky_main_bars execution failed: attempt to call a nil value
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: ./tempfiles/gpuinfo.tmpsh: 1: 4: not found
: No such file or directory
cat: ./tempfiles/gpuinfo.tmpcat: ./tempfiles/gpuinfo.tmp: No such file or directory: No such file or directory

cat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: cat: ./tempfiles/gpuinfo.tmp: No such file or directory
./tempfiles/gpuinfo.tmp: No such file or directory
conky: llua_do_call: function conky_main_bars execution failed: attempt to call a nil value
^[cat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: ./tempfiles/gpuinfo.tmpcat: ./tempfiles/gpuinfo.tmp: No such file or directory
: No such file or directory
sh: 1: 4: not found
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
conky: llua_do_call: function conky_main_bars execution failed: attempt to call a nil value
^[cat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: ./tempfiles/gpuinfo.tmp: No such file or directorysh: 1: 
./conky-blur-background.sh: not found
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: ./tempfiles/gpuinfo.tmp: No such file or directorysh: 1: 
4: not found
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
conky: llua_do_call: function conky_main_bars execution failed: attempt to call a nil value
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
sh: 1: 4: not found
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
conky: llua_do_call: function conky_main_bars execution failed: attempt to call a nil value
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
sh: 1: cat: ./tempfiles/gpuinfo.tmp: No such file or directory
4: not found
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
conky: llua_do_call: function conky_main_bars execution failed: attempt to call a nil value
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
sh: 1: 4: not found
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
sh: 1: ./conky-blur-background.sh: not found
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
conky: llua_do_call: function conky_main_bars execution failed: attempt to call a nil value
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
sh: 1: 4: not found
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: ./tempfiles/gpuinfo.tmpcat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
: No such file or directory
cat: cat: ./tempfiles/gpuinfo.tmp./tempfiles/gpuinfo.tmp: No such file or directory
: No such file or directory
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
conky: llua_do_call: function conky_main_bars execution failed: attempt to call a nil value
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
sh: 1: 4: not found
cat: ./tempfiles/gpuinfo.tmpcat: ./tempfiles/gpuinfo.tmp: No such file or directory
: No such file or directory
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
conky: llua_do_call: function conky_main_bars execution failed: attempt to call a nil value
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
sh: 1: 4: not found
sh: 1: ./conky-blur-background.sh: not found
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: cat: ./tempfiles/gpuinfo.tmp./tempfiles/gpuinfo.tmp: No such file or directory
: No such file or directory
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
conky: llua_do_call: function conky_main_bars execution failed: attempt to call a nil value
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
sh: 1: 4: not found
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: ./tempfiles/gpuinfo.tmpcat: ./tempfiles/gpuinfo.tmp: No such file or directory: No such file or directory

cat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
conky: llua_do_call: function conky_main_bars execution failed: attempt to call a nil value
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
sh: 1: 4: not found
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
conky: llua_do_call: function conky_main_bars execution failed: attempt to call a nil value
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
sh: 1: 4: not found
sh: 1: ./conky-blur-background.sh: not found
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
conky: llua_do_call: function conky_main_bars execution failed: attempt to call a nil value
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
sh: 1: 4: not found
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
cat: ./tempfiles/gpuinfo.tmp: No such file or directory
conky: llua_do_call: function conky_main_bars execution failed: attempt to call a nil value
^Cconky: received SIGINT or SIGTERM to terminate. bye!
User avatar
Koentje
Level 7
Level 7
Posts: 1577
Joined: Tue Jan 04, 2022 6:23 pm
Location: Netherlands

Re: How to get Specific Conky scripts to work?

Post by Koentje »

Aha ok.. i have to adjust a few things. ;)
What is the path to your conky folder?
TinMan1325
Level 3
Level 3
Posts: 114
Joined: Mon Apr 18, 2022 4:08 pm

Re: How to get Specific Conky scripts to work?

Post by TinMan1325 »

Koentje wrote: Sat May 28, 2022 2:56 pm Aha ok.. i have to adjust a few things. ;)
What is the path to your conky folder?
/home/tinman1325/.conky
User avatar
Koentje
Level 7
Level 7
Posts: 1577
Joined: Tue Jan 04, 2022 6:23 pm
Location: Netherlands

Re: How to get Specific Conky scripts to work?

Post by Koentje »

Ok, try this version. I have hard coded the path.
Be sure the path to gpuinfo folder is: /home/tinman1325/.conky/gpuinfo
And if you use a script to start it, try to cd into the gpuinfo folder before you start the conky script!

Let me know if it runs and if not what the errors are!

gpuinfo-1.1.tar.gz
(128.34 KiB) Downloaded 23 times
User avatar
Koentje
Level 7
Level 7
Posts: 1577
Joined: Tue Jan 04, 2022 6:23 pm
Location: Netherlands

Re: How to get Specific Conky scripts to work?

Post by Koentje »

Something like this:

Code: Select all

#~/bin/bash

cd /home/tinman1325/.conky/gpuinfo
conky -c /home/tinman1325/.conky/gpuinfo/gpuinfo.conky &
TinMan1325
Level 3
Level 3
Posts: 114
Joined: Mon Apr 18, 2022 4:08 pm

Re: How to get Specific Conky scripts to work?

Post by TinMan1325 »

Koentje wrote: Sat May 28, 2022 3:17 pm Something like this:

Code: Select all

#~/bin/bash

cd /home/tinman1325/.conky/gpuinfo
conky -c /home/tinman1325/.conky/gpuinfo/gpuinfo.conky &

Code: Select all

~/.conky/gpuinfo$ conky: desktop window (2200041) is subwindow of root window (1e1)
conky: window type - dock
conky: drawing to created window (0x7400001)
conky: drawing to double buffer
sh: 1: 4: not found
conky: Unable to load image '/home/tinman1325/.conky/conky_blurred_background/gpu-info.png'
conky: Unable to load image '/home/tinman1325/.conky/conky_blurred_background/gpu-info.png'
conky: Unable to load image '/home/tinman1325/.conky/conky_blurred_background/gpu-info.png'
sh: 1: 4: not found
conky: Unable to load image '/home/tinman1325/.conky/conky_blurred_background/gpu-info.png'
sh: 1: 4: not found
conky: Unable to load image '/home/tinman1325/.conky/conky_blurred_background/gpu-info.png'
sh: 1: 4: not found
conky: Unable to load image '/home/tinman1325/.conky/conky_blurred_background/gpu-info.png'
sh: 1: 4: not found
conky: Unable to load image '/home/tinman1325/.conky/conky_blurred_background/gpu-info.png'
sh: 1: 4: not found
conky: Unable to load image '/home/tinman1325/.conky/conky_blurred_background/gpu-info.png'
sh: 1: 4: not found
conky: Unable to load image '/home/tinman1325/.conky/conky_blurred_background/gpu-info.png'
sh: 1: 4: not found
conky: Unable to load image '/home/tinman1325/.conky/conky_blurred_background/gpu-info.png'
sh: 1: 4: not found
conky: Unable to load image '/home/tinman1325/.conky/conky_blurred_background/gpu-info.png'
sh: 1: 4: not found
conky: Unable to load image '/home/tinman1325/.conky/conky_blurred_background/gpu-info.png'
sh: 1: 4: not found
conky: Unable to load image '/home/tinman1325/.conky/conky_blurred_background/gpu-info.png'
sh: 1: 4: not found
conky: Unable to load image '/home/tinman1325/.conky/conky_blurred_background/gpu-info.png'
sh: 1: 4: not found
conky: Unable to load image '/home/tinman1325/.conky/conky_blurred_background/gpu-info.png'
sh: 1: 4: not found
conky: Unable to load image '/home/tinman1325/.conky/conky_blurred_background/gpu-info.png
User avatar
Koentje
Level 7
Level 7
Posts: 1577
Joined: Tue Jan 04, 2022 6:23 pm
Location: Netherlands

Re: How to get Specific Conky scripts to work?

Post by Koentje »

Looks like more is working already.. if i'm correct the info is now shown in the conky window, is that correct?

What i gather from the log is that the blurred background does not work.
conky: Unable to load image '/home/tinman1325/.conky/conky_blurred_background/gpu-info.png'

And what is not clear to me is this message..
sh: 1: 4: not found

Do you have convert installed?
Locked

Return to “Compiz, Conky, Docks & Widgets”