LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 01-18-2019, 11:18 PM   #1
Xerxeslins
LQ Newbie
 
Registered: Feb 2009
Posts: 16

Rep: Reputation: 0
Slackware Current : i3blocks not show IP


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:

[iface]
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.
Attached Thumbnails
Click image for larger version

Name:	barra01.png
Views:	7
Size:	2.7 KB
ID:	29503   Click image for larger version

Name:	barra02.png
Views:	5
Size:	1.9 KB
ID:	29504  
 
Old 01-19-2019, 04:02 PM   #2
individual
Member
 
Registered: Jul 2018
Posts: 118

Rep: Reputation: 86
What happens if you change "instance" to "IFACE=eth0?"
 
Old 01-21-2019, 08:22 AM   #3
Xerxeslins
LQ Newbie
 
Registered: Feb 2009
Posts: 16

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by individual View Post
What happens if you change "instance" to "IFACE=eth0?"
Nothing happens. Still same thing. Does not show IP.
 
Old 01-21-2019, 08:23 AM   #4
Xerxeslins
LQ Newbie
 
Registered: Feb 2009
Posts: 16

Original Poster
Rep: Reputation: 0
At the moment I chose to use i3status. I'll leave this problem with i3blocks for another occasion.
 
Old 01-21-2019, 09:40 AM   #5
individual
Member
 
Registered: Jul 2018
Posts: 118

Rep: Reputation: 86
Disregard. My suggestion likely would not have made a difference.

Last edited by individual; 01-21-2019 at 09:56 AM. Reason: Disregard.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Slackware 14.2 glibc-2.23 vs Slackware Current glibc-2.24 and the Current 4.4.17 Kernel kjhambrick Slackware 10 08-13-2016 01:00 AM
[SOLVED] how to show the current time at the top in the current shell Always ? rohitchauhan Linux - General 5 04-09-2014 03:05 PM
[SOLVED] Script to build always a current ISO image of Slackware (slackware-current) robertjinx Slackware 2 12-09-2010 02:00 AM
Slackware64 -current vs Slackware -current or Slackware onebuck Slackware 16 06-23-2009 01:19 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 08:16 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration