You are not logged in.
Hi guys, whenever i use fullscreen mode i3bar crashes and show me this error:
Error: status_command process exited unexpectedly (exit 0)If i restart i3 it comes back to normal, but crashes again when i use full screen.
I use conky-cli from aur to manage the bar and i3-wm latest version from community repo.
This is the command i use to start the bar:
bar {
i3bar_command /usr/bin/i3bar
status_command exec $scripts/i3barconky
}i3barconky
#!/bin/bash
echo "{ \"version\": 1, \"stop_signal\": 10, \"cont_signal\": 12, \"click_events\": true }"
echo "[[]"
conky -d -c /home/luca/.config/i3/conkyrc
IFS="}"
while read;do
IFS=" "
STR=`echo $REPLY | sed -e s/[{}]//g -e "s/ \"/\"/g" | awk '{n=split($0,a,","); for (i=1; i<=n; i++) {m=split(a[i],b,":"); if (b[1] == "\"name\"") {NAME=b[2]} if (b[1] =="\"x\"") {X=b[2]} if (b[1] =="\"y\"") {Y=b[2]} } print NAME " " X " " Y}'`
read NAME X Y <<< $STR
X=$(($X-50))
case "${NAME}" in
\"updates\")
notify-send -a "Available updates" -u normal "$(yaourt -Qu)" &
;;
\"mpd_i\")
mpc --quiet toggle &
;;
\"mpd_r\")
mpc --quiet random &
;;
\"mpd_t\")
mpc --quiet prev &
;;
\"mpd_a\")
mpc --quiet next &
;;
\"mpd_-\")
mpc --quiet stop &
;;
\"mpd_b\")
i3-msg -q "exec --no-startup-id urxvt -title music -e ncmpcpp" &
;;
\"time\")
notify-send -a "Calendar" -u normal "$(cal)" &
;;
\"menu\")
i3-msg -q "exec --no-startup-id sh ~/.config/i3/scripts/menu" &
;;
\"date\")
i3-msg -q "exec --no-startup-id yad --no-buttons --sticky --geometry=+886+24 --class "CALENDAR" --calendar" &
sleep 10 && killall yad &
;;
\"kill\")
i3-msg -q "kill" &
;;
\"maxi\")
i3-msg -q "floating toggle" &
;;
\"mini\")
i3-msg -q "border toggle" &
;;
\"temp\")
notify-send -a "Temperatures" -u normal "$(temp_nc)" &
;;
\"bat\")
notify-send -a "Battery" -u normal "$(sh ~/.config/i3/scripts/battery)" &
;;
\"net_up\")
notify-send -a "External IP" -u normal "$(sh ~/.config/i3/scripts/ip-external)" &
;;
\"net_down\")
notify-send -a "Internal IP" -u normal "$(sh ~/.config/i3/scripts/ip-internal)" &
;;
\"net_up_i\")
i3-msg -q "exec --no-startup-id firefox" &
;;
\"net_down_i\")
i3-msg -q "exec --no-startup-id chromium" &
;;
\"kernel\")
i3-msg -q "exec --no-startup-id xfce4-appfinder" &
;;
\"home\")
notify-send -a "Disks mounted" -u normal "$(dfc -d | grep /dev/sda && dfc -d | grep /dev/sdb)" &
;;
\"fsicon\")
i3-msg -q "exec --no-startup-id thunar" &
;;
\"mem\")
notify-send -a "RAM" -u normal "$(free -m | grep total && free -m | grep Mem)" &
;;
\"cpu\")
i3-msg -q "exec --no-startup-id xfce4-taskmanager" &
;;
\"bright\")
~/.config/i3/scripts/lightdown &
;;
\"bright_i\")
~/.config/i3/scripts/lightup &
;;
\"volume\")
i3-msg -q "exec --no-startup-id pavucontrol" &
;;
*)
;;
esac
IFS="}"
doneconkyrc:
background no
out_to_console yes
out_to_x no
update_interval 2
total_run_times 0
short_units yes
pad_percents 3
override_utf8_locale yes
TEXT
,[{ "full_text": " ", "separator": false},
{"name": "spotify", "full_text": "${exec .config/i3/scripts/spotify-nowplaying.sh}", "color": "\#96CA62", "separator_block_width": 12},
${if_mpd_playing} {"name": "mpd_r", "full_text": "$mpd_random", "color": "\#ecedee", "separator_block_width": 7}, ${endif}
${if_match "${mpd_status}" == "Paused" }
{"name": "mpd_i", "full_text": " ", "color": "\#33B6BA", "separator_block_width": 3}, ${else}
{"name": "mpd_i", "full_text": " ", "color": "\#33B6BA", "separator_block_width": 3}, ${endif}
#${if_mpd_playing} {"name": "mpd_b", "full_text": "${mpd_bar 16,6}", "color": "\#33B6BA", "separator_block_width": 10}, ${endif}
${if_mpd_playing} {"name": "mpd_t", "full_text": "$mpd_title", "color": "\#33B6BA", "separator_block_width": 5}, ${endif}
${if_mpd_playing} {"name": "mpd_-", "full_text": "-", "color": "\#565656", "separator_block_width": 5}, ${endif}
${if_mpd_playing} {"name": "mpd_a", "full_text": "$mpd_artist", "color": "\#ecedee", "separator_block_width": 5}, ${endif}
{"name": "separator", "full_text": "│", "color": "\#565656", "separator_block_width": 4},
{"name": "volume", "full_text": "${exec /home/luca/.config/i3/scripts/pacvol.sh display}", "color": "\#8BADF9", "separator_block_width": 4},
${if_existing /sys/class/net/wlp2s0/operstate up} {"name": "separator", "full_text": "│", "color": "\#565656", "separator_block_width": 4}, ${endif}
${if_existing /sys/class/net/wlp2s0/operstate up} {"name": "net_down_i","full_text": " ", "color": "\#A4DC6A", "separator_block_width": 1}, ${endif}
${if_existing /sys/class/net/wlp2s0/operstate up} {"name": "net_down", "full_text": "${downspeed wlp2s0}", "color": "\#A4DC6A"}, ${endif}
${if_existing /sys/class/net/wlp2s0/operstate up} {"name": "net_up_i", "full_text": " ", "color": "\#FF797b", "separator_block_width": 1}, ${endif}
${if_existing /sys/class/net/wlp2s0/operstate up} {"name": "net_up", "full_text": "${upspeed wlp2s0}", "color": "\#FF797b", "separator_block_width": 4}, ${endif}
{"name": "separator", "full_text": "│", "color": "\#565656", "separator_block_width": 4},
#{"name": "cpu", "full_text": " {${cpu cpu1}.${cpu cpu2}.${cpu cpu3}.${cpu cpu4}}", "color": "\#8BC3E7"},
{"name": "cpu", "full_text": " ${cpu}%", "color": "\#8BC3E7", "separator_block_width": 4},
{"name": "separator", "full_text": "│", "color": "\#565656", "separator_block_width": 4},
{"name": "temp", "full_text": " ${acpitemp}", "color": "\#B987D9", "separator_block_width": 4},
{"name": "separator", "full_text": "│", "color": "\#565656", "separator_block_width": 4},
{"name": "mem", "full_text": " ${mem}", "color": "\#F3D194", "separator_block_width": 4},
{"name": "separator", "full_text": "│", "color": "\#565656", "separator_block_width": 4},
{"name": "fsicon", "full_text": " ", "color": "\#FF9D17", "separator_block_width": 3},
{"name": "home", "full_text": "${fs_free /}", "color": "\#FF9D17", "separator_block_width": 4},
{"name": "separator", "full_text": "│", "color": "\#565656", "separator_block_width": 4},
#${if_match "${battery_short}" == "F" }
#{"name": "bat", "full_text": "", "color": "\#94F397", "separator_block_width": 4}, ${else}
#{"name": "bat", "full_text": "${exec .config/i3/scripts/bat_icon.sh}", "color": "\#94F397", "separator_block_width": 4}, ${endif}
{"name": "bat", "full_text": "${exec .config/i3/scripts/bat_icon.sh}", "color": "\#94F397", "separator_block_width": 4},
{"name": "separator", "full_text": "│", "color": "\#565656", "separator_block_width": 4},
{"name": "bright_i", "full_text": "", "color": "\#F3EA0C", "separator_block_width": 5},
{"name": "bright", "full_text": "${exec /home/luca/.config/i3/scripts/blevel.sh}%", "color": "\#F3EA0C", "separator_block_width": 4},
{"name": "separator", "full_text": "│", "color": "\#565656", "separator_block_width": 4},
{"name": "kernel", "full_text": "${kernel}", "color": "\#C599BB", "separator_block_width": 4},
{"name": "separator", "full_text": "│", "color": "\#565656", "separator_block_width": 3},
{"name": "date_i", "full_text": " ", "color": "\#ff797b", "separator_block_width": 3},
{"name": "date", "full_text": "${time %a %d %b}", "color": "\#ff797b", "separator_block_width": 5},
{"name": "sep", "full_text": ">", "color": "\#565656", "separator_block_width": 5},
{"name": "time", "full_text": "${time %H:%M}", "color": "\#8BADF9", "separator_block_width": 4},
{"name": "separator", "full_text": "│", "color": "\#565656", "separator_block_width": 6},
{"name": "updates", "full_text": "${execi 1800 /home/luca/.config/i3/scripts/update_count.sh}" , "separator_block_width": 5},
{"name": "separator", "full_text": "│", "color": "\#565656", "separator_block_width": 5},
{"name": "menu", "full_text": "menu", "color": "\#cacaca", "separator_block_width": 5},
{"name": "separator", "full_text": "│", "color": "\#565656", "separator_block_width": 6},
{"name": "mini", "full_text": "", "color": "\#F3D194", "separator_block_width": 9},
{"name": "maxi", "full_text": "", "color": "\#F3D194", "separator_block_width": 9},
{"name": "kill", "full_text": "", "color": "\#F3D194"}
]What do you think the problem is? Tell me if you need other outputs.
Thanks in advance for the help!
Last edited by TheImmortalPhoenix (2016-02-17 20:52:35)
Offline
Wow, that's a pretty complicated i3bar setup ![]()
Although a lot of the scripts and programs are not available on my machine, I was able to reproduce the issue.
What should the 'stop_signal' and 'cont_signal' part in the beginning of your shell script do? Removing the 'stop_signal' solves the issue for me.
Offline
Honestly i don't know, that script is not mine, i took it from internet and just modified it to pursuit my needs, i neved touched that line...anyway i removed those parts and now it works! Thanks a lot for the tip buddy!
P.S. i'm following you on github!
Last edited by TheImmortalPhoenix (2016-02-17 20:51:19)
Offline