LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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
  Search this Thread
Old 03-13-2013, 07:02 PM   #1
Dornith
Member
 
Registered: Jul 2012
Location: U.S.A
Distribution: Archlinux Multilib, Debian 7.0.0 32b
Posts: 153

Rep: Reputation: Disabled
i3status "SPEC VIOLATION (null)" Error with Volume


Recently I just personalized my config file for i3status and I came into this problem:
Where it should display the volume, it instead shows
Code:
SPEC VIOLATION (null)
I did some searching but couldn't find anything on this error, even in i3's or i3status's manual.
Here is some information that might be relevant:
cat .config/i3status/config
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 master"

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 = free space; %avail = availble space; %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		= "T: %degrees °C"
#	max_threshold	= 75
#	color_good	= "#00FF00"
#	color_degraded	= "#0000FF"
#	color_bad	= "#FF0000"
}

cpu_usage
{
#	%usage = usage
	format		= "CPU: %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		= "Tasks: %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"
}
aplay -l
Code:
**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: ALC887-VD Analog [ALC887-VD Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 1: ALC887-VD Digital [ALC887-VD Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 2: Generic [HD-Audio Generic], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
lsmod | grep '^snd' | column -t
Code:
snd_hda_codec_hdmi     27593   1
snd_hda_codec_realtek  61761   1
snd_usb_audio          103863  0
snd_usbmidi_lib        19046   1   snd_usb_audio
snd_hda_intel          27668   0
snd_rawmidi            18800   1   snd_usbmidi_lib
snd_seq_device         5269    1   snd_rawmidi
snd_hda_codec          100743  3   snd_hda_codec_realtek,snd_hda_codec_hdmi,snd_hda_intel
snd_hwdep              6429    2   snd_usb_audio,snd_hda_codec
snd_pcm                77827   4   snd_usb_audio,snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel
snd_page_alloc         7427    2   snd_pcm,snd_hda_intel
snd_timer              18935   1   snd_pcm
snd                    60157   11  snd_hda_codec_realtek,snd_usb_audio,snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_pcm,snd_rawmidi,snd_usbmidi_lib,snd_hda_codec,snd_hda_intel,snd_seq_device
Also, to use amixer to set the volume, I have to type:
Code:
amixer -c 0 set Master 4-
(As opposed to without the "-c 0")

Also, it may be of significance that I recently had some issues with my sound card not being the default so I had to do some reconfiguration of that yesterday (not to imply that this was working then stopped, this is the first time I had volume in my bar).
 
Old 03-13-2013, 07:18 PM   #2
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
While I use Conky to fill my i3bar instead of i3status and therefore can not be much help here I would recommend to try to get a solution for your problems with i3status (I remember that you had more than only this problem) on the i3 mailing list. The developer is very helpful and solved some of my problems in the past already.
Of course it would be nice if you post here the solution to your problem once it is solved.

By the way, i3 4.5 was just released, maybe you should upgrade first and see if the problem persists.
 
  


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
Sendmail STARTTLS error "tls_verify_cb, ssl == null" fast-reflexes Linux - Server 2 07-23-2010 02:13 AM
Javascript error "is null or not an object" apt Programming 2 03-28-2005 06:14 AM
Couldn't display "SMB:///" , No host "(Null)" could been Found?????? munkey Linux - Newbie 3 05-03-2004 04:30 PM
Can't locate object method "splitpath" via package "File::Spec" RobJohnston Linux - General 2 06-28-2003 09:59 AM
RH "null" beta system freezes right after printing "INIT" markus1982 Linux - Hardware 0 09-09-2002 03:31 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:00 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
Open Source Consulting | Domain Registration