LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
LinkBack Search this Thread
Old 03-10-2013, 11:46 AM   #1
Dornith
Member
 
Registered: Jul 2012
Location: U.S.A
Distribution: Archlinux Multilib, Debian 7.0.0 32b
Posts: 149

Rep: Reputation: Disabled
i3status not working


I finally got around to customizing my .config/i3status/config file, but now it's not working. I commented out most everything but ipv6 and still nothing happens. Can anyone tell me why?

Code:
general
{
        colors          = true
#       color_good      = "#00FF00"
#       color_degraded  = "#0000FF"
#       color_bad       = "#FF0000"
#       color_separator = "#FF00FF"
        interval        = 5
#       output_format   = "i3bar"
}

order                   += "ipv6"
#order                  += "disk /"
#order                  += "disk /home"
#order                  += "disk /boot"
#order                  += "disk /root"
#order                  += "disk /var"
#order                  += "disk /mnt/usb"
#order                  += "run_watch DHCP"
#order                  += "run_watch VPN"
#order                  += "wireless wlan0"
#order                  += "ethernet enp4s0"
#order                  += "battery 0"
#order                  += "cpu_temperature 0"
#order                  += "cpu_usage"
#order                  += "load"
#order                  += "time"
#order                  += "tztime berlin"
#order                  += "ddate"
#order                  += "volume"

ipv6
{
#       %ip = ipv6 address
        format_up       = "IPv6: %ip"
        format_down     = "IPv6: none"
#       color_good      = "#00FF00"
#       color_degraded  = "#0000FF"
#       color_bad       = "#FF0000"
}

disk "/"
{
#       %free = free space; %avail = availble space; %used = used space; %total = total space; %percentage_free = percent free; %percentage_avail = percent avail; %percentage_used = percent used
        format          = "/: %used/%total"
#       color_good      = "#00FF00"
#       color_degraded  = "#0000FF"
#       color_bad       = "#FF0000"
}

disk "/home"
{
#       %free; %used = used space; %total = total space; %percentage_free = percent free; %percentage_avail = percent avail; %percentage_used = percent used
        format          = "/home: %used/%total"
#       color_good      = "#00FF00"
#       color_degraded  = "#0000FF"
#       color_bad       = "#FF0000"
}

disk "/boot"
{
#       %free = free space; %avail = availble space; %used = used space; %total = total space; %percentage_free = percent free; %percentage_avail = percent avail; %percentage_used = percent used
        format          = "/boot: %used/%total"
#       color_good      = "#00FF00"
#       color_degraded  = "#0000FF"
#       color_bad       = "#FF0000"
}

disk "/root"
{
#       %free = free space; %avail = availble space; %used = used space; %total = total space; %percentage_free = percent free; %percentage_avail = percent avail; %percentage_used = percent used
        format          = "/root: %used/%total"
#       color_good      = "#00FF00"
#       color_degraded  = "#0000FF"
#       color_bad       = "#FF0000"
}

disk "/var"
{
#       %free = free space; %avail = availble space; %used = used space; %total = total space; %percentage_free = percent free; %percentage_avail = percent avail; %percentage_used = percent used
        format          = "/var: %used/%total"
#       color_good      = "#00FF00"
#       color_degraded  = "#0000FF"
#       color_bad       = "#FF0000"
}

disk "/mnt/usb"
{
#       %free = free space; %avail = availble space; %used = used space; %total = total space; %percentage_free = percent free; %percentage_avail = percent avail; %percentage_used = percent used
        format          = "usb: %used/%total"
#       color_good      = "#00FF00"
#       color_degraded  = "#0000FF"
#       color_bad       = "#FF0000"
}

run_watch DHCP
{
#       %title; %status
        pidfile         = "/var/run/dhclient*.pid"
#       color_good      = "#00FF00"
#       color_degraded  = "#0000FF"
#       color_bad       = "#FF0000"
}

run_watch VPN
{
#       %title; %status
        pidfile         = "/var/run/vpnc/pid"
#       color_good      = "#00FF00"
#       color_degraded  = "#0000FF"
#       color_bad       = "#FF0000"
}

wireless wlan0
{
#       %quality = quality; %essid = network name; %bitrate = speed; %ip = ip address
        format_up       = "W: (%quality at %essid) %ip"
        format_down     = "W: down"
#       color_good      = "#00FF00"
#       color_degraded  = "#0000FF"
#       color_bad       = "#FF0000"
}

ethernet enp4s0
{
#       %ip = ip address; %speed = speed
#       if you use %speed, i3status requires root privileges : "setcap cap_net_admin=ep $(which i3status)"
        format_up       = "E: %ip (%speed)"
        format_down     = "E: down"
#       color_good      = "#00FF00"
#       color_degraded  = "#0000FF"
#       color_bad       = "#FF0000"
}

battery 0
{
#       %status = charging, discharging, or running; %remaining = percent left; %emptytime = time left; %consumption = speed of usage
        format          = "%status %percentage %remaining"
        last_full_capacity = true
        integer_battery_capacity = false
        threshold_type  = "time"
        low_threshold   = 15
#       color_good      = "#00FF00"
#       color_degraded  = "#0000FF"
#       color_bad       = "#FF0000"
}

cpu_temperature 0
{
#       %degrees = temapture in Celcius
        format          = "%degrees C"
#       max_threshold   = 75
#       color_good      = "#00FF00"
#       color_degraded  = "#0000FF"
#       color_bad       = "#FF0000"
}

cpu_usage
{
#       %usage = usage
        format          = "%usage"
#       color_good      = "#00FF00"
#       color_degraded  = "#0000FF"
#       color_bad       = "#FF0000"
}

load
{
#       %1min = number of waiting prosseses in last minute; %5min = number of waiting prosseses; %15min = number of waiting prosseses
        format          = "%1min"
#       max_threshold   = 5
#       color_good      = "#00FF00"
#       color_degraded  = "#0000FF"
#       color_bad       = "#FF0000"
}

time
{
#       %Y = year; %m = month; %d = day; %H = hours; %M = minutes; %S = Seconds
        format          = "%Y-%m-%d; %H:%M:%S"
#       color_good      = "#00FF00"
#       color_degraded  = "#0000FF"
#       color_bad       = "#FF0000"
}

tztime berlin
{
#       %Y = year; %m = month; %d = day; %H = hours; %M = minutes; %S = Seconds;
        format          = "%Y-%m-%d; %H:%M:%S"
        timezone        = "Europe/Berlin"
#       color_good      = "#00FF00"
#       color_degraded  = "#0000FF"
#       color_bad       = "#FF0000"
}

ddate
{
#       %a; %b; %d; %Y; %N; %H
        format          = "%{%a, %b %d%}, %Y%N - %H"
#       color_good      = "#00FF00"
#       color_degraded  = "#0000FF"
#       color_bad       = "#FF0000"
}

volume master
{
#       %volume = volume
        format          = "%volume"
        device          = "default"
        mixer           = "Master"
        mixer_idx       = 0
#       color_good      = "#00FF00"
#       color_degraded  = "#0000FF"
#       color_bad       = "#FF0000"
}
 
Old 03-10-2013, 01:44 PM   #2
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Hanover, Germany
Distribution: Slackware
Posts: 14,880
Blog Entries: 2

Rep: Reputation: 3805Reputation: 3805Reputation: 3805Reputation: 3805Reputation: 3805Reputation: 3805Reputation: 3805Reputation: 3805Reputation: 3805Reputation: 3805Reputation: 3805
What exactly does not work? Is your i3bar configured to use i3status output? Do you get error messages on the terminal you started i3 from? Do you get any output in your i3bar, corrupted output, ... .
Please be more verbose what exactly is happening.
 
Old 03-10-2013, 08:34 PM   #3
Dornith
Member
 
Registered: Jul 2012
Location: U.S.A
Distribution: Archlinux Multilib, Debian 7.0.0 32b
Posts: 149

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by TobiSGD View Post
What exactly does not work? Is your i3bar configured to use i3status output? Do you get error messages on the terminal you started i3 from? Do you get any output in your i3bar, corrupted output, ... .
Please be more verbose what exactly is happening.
I know the file is used by i3bar because when I made one small change it made a difference when I restarted X. I don't get any error messages, or any corrupted output, it just displays nothing.

Edit: I turned it on today and it started working. No idea why.

Last edited by Dornith; 03-11-2013 at 07:48 PM.
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Wifi not working in Eee PPC 1000HE (Debian Squeeze), but ethernet is working someshpr Linux - Laptop and Netbook 8 10-10-2011 03:59 PM
media problem with .avi --- audio only in vlc working rest amarock ,etc. not working fedex Linux - Newbie 1 12-22-2007 08:06 AM
SED - minor changes work - Larger doesn't (working and non working code included) Nimoy Programming 17 09-22-2007 04:34 PM
Fortemedia FM801 card not working under FC5 on Intel 845 but working with windows morningkiran Linux - Hardware 0 11-30-2006 07:57 AM
acpi nearly working IBM thinkpad R40e 2684HVG no Fn key working, throttling OK Emmanuel_uk Linux - Laptop and Netbook 2 05-31-2006 01:41 AM


All times are GMT -5. The time now is 08:53 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration