-   Linux - Desktop (
-   -   Slackware Current : i3blocks not show IP (

Xerxeslins 01-18-2019 11:18 PM

Slackware Current : i3blocks not show IP
2 Attachment(s)
Hello, I'm going to use google translator because English is not my native language.

I'm facing a small problem in Slackware Current with i3 + i3blocks.

I installed i3blocks through SlackBuilds. And it works by replacing i3status.

However, it does not display the local IP.

What could it be, by logic?

1. The [iface] block of the i3blocks.conf file is disabled.

But it's not.

It is like this:

instance = eth0
color = # 00FF00
interval = 10
separator = false

2. The "/usr/libexec/i3blocks/iface" script that comes bundled with i3blocks is buggy.

But it's not! If I run the script on the terminal, it fulfills what it promises. Displays my local IP address twice.

Still, if I edit the script and change the IPADDR variable to ... "potato" (BATATA, in portuguese), potato appears in the bar of i3blocks! Where the IP should appear. If I put a dummy IP, it also works.

So the script is not setting the variable? But if it is not, how does it work if run in the terminal?

I hope I have managed to explain.

Anyone have any tips?

Thank you.

individual 01-19-2019 04:02 PM

What happens if you change "instance" to "IFACE=eth0?"

Xerxeslins 01-21-2019 08:22 AM


Originally Posted by individual (Post 5951131)
What happens if you change "instance" to "IFACE=eth0?"

Nothing happens. Still same thing. Does not show IP.

Xerxeslins 01-21-2019 08:23 AM

At the moment I chose to use i3status. I'll leave this problem with i3blocks for another occasion.

individual 01-21-2019 09:40 AM

Disregard. My suggestion likely would not have made a difference.

All times are GMT -5. The time now is 01:56 PM.