Step 2 :- Edit configuration file
Ok so the next step is to get the hardware names for your network interfaces, these change from one PC to another so the easiest way to find them out is to open up a terminal and type
Here's what it returns on my laptop.
It doesn't matter if they are connected to the internet or not they will still show up here. This lists 3 interfaces but you only need the names of two, enx00e04c534458 which I've highlighted in this picture is the ethernet interface and wlp1s0 is the wireless. So leave this terminal open and open another wherever you downloaded the config file from the previous post, probably home/Downloads/ you are looking for a file called conky.conf
Now you need to edit the file to add these names so the network monitors know which interfaces to track. Once you've found the file, open it in a text / code editor, xed is the default one in Mint and is fairly easy to work with so I'll use that for this thread. In the terminal type xed conky.conf it's a fairly long file but you are looking for a section near the end so it's easier to scroll or skip to the end of the file and work back up until you find this section.
If you look at the four lines above the one saying "#NETWORK SETTINGS ENDS." you will see each one contains wlan123 and eth123 replace these with the names of your wifi and ethernet interfaces which you can copy from the open terminal showing the output from the command ifconfig, if you use "find & replace" to make these changes it will also alter the top line that starts "#NETWORK INTERFACES" that's not a problem as it's only a comment line I've added to make the file clearer to read and easier for people to find this section.
Once you've edited all four lines and it's all correct you can save it and close the editor so you get back to the terminal.
Now you need to copy the config with the following so Conky will read it each time it is started.
sudo cp -p conky.conf /etc/conky/
This will ask for your password as it needs elevated permissions to write to that area of the system. It will only display a message if something goes wrong otherwise the terminal prompt will display again. At this point you can test it's working and displaying correctly by typing conky you should see it display like it did in the first picture with the various meters and monitors showing the network activity, CPU usage etc. To get your terminal back hit [Ctrl-C] don't worry that the Conky display closes, you can get it back without tying up a terminal by using the run dialogue tool / application launcher, on my XFCE desktop this is accessed by hitting [Alt-F2] or you can use the search box in the menu.
You've now got a working Conky install and you can edit the config file as much as you want, best to keep a copy. The config file isn't too long so you could print it out, at about 100 lines or so it'll fill a couple of pages but once you get the hang of the lauguage it uses it's fairly easy to read and edit. The net is full of far more complex configs if you've got a taste for tweaking it 😉 🙂
Now you've moved the file you will need to edit it as root so use the following if you want to do more editing at any point.
sudo xed /etc/conky/conky.conf
At this stage Conky isn't set up to start at boot so when you shut down or reboot you'll have to run it again. In the next post I'll explain how to get it to start at boot.