You are not logged in.
Hi.
I can't seem to start my dzconky script as per the dzen2 wiki by putting it in the autostart file. I followed all the steps but all I see on startup is a slight flash of the panel and it disappears. it apprears to have crashed.
Her is my dzconky script
#!/bin/sh
FG='#aaaaaa'
BG='#1a1a1a'
FONT='-*-terminusmodx-*-r-normal-*-*-9-*-*-*-*-iso8859-*'
conky -c ~/.conky/conkydzen.conky | dzen2 -e - -h '14' -w '1440' -ta l -x 0 -y 1000 -fg $FG -bg $BG -fn $FONT &and the conky file piped into dzen...
background no
out_to_console yes
out_to_x no
update_interval 1.0
total_run_times 0
use_spacer none
TEXT
^fg(\#fcaf3e)♦ /:${fs_free_perc /}% /home:${fs_free_perc /home}% /mnt/sdd3:${fs_free_perc /mnt/sdd3}% --free^fg(\#FFFFFF)|^fg(\#00ffdf)♦ RAM ${memperc}%^fg(\#FFFFFF)|^fg(\#729fcf)♦ Scarborough, ON: ${execpi 600 sed -n '1p' /home/gorf/.conky/AccuW_2/Toronto/messages} ${execpi 600 sed -n '29p' /home/gorf/.conky/AccuW_2/Toronto/curr_cond}°C (${execpi 600 sed -n '30p' /home/gorf/.conky/AccuW_2/Toronto/curr_cond}°C)^fg(\#FFFFFF)|^fg(\#fce94f)♦ CPU0:${cpu cpu0}% @ ${execi 8 sensors | grep 'Core 0:' | cut -c16-17}° CPU1:${cpu cpu1}% @ ${execi 8 sensors | grep 'Core 1:' | cut -c16-17}°^fg(\#FFFFFF)|^fg(\#ff00dd)♦ up: ${alignr}${downspeed enp2s0} ^fg(\#8ae234) ♦ down: ${alignr}${upspeed enp2s0}^fg(\#FFFFFF)|${if_mpd_playing}^fg(\#FFFFFF)♦ MPD: ${mpd_smart} -- ${mpd_elapsed}/${mpd_length}${endif}and my autostart...
#
# These things are run when an Openbox X Session is started.
# You may place a similar script in $HOME/.config/openbox/autostart
# to run user-specific things.
#
# If you want to use GNOME config tools...
#
#if test -x /usr/lib/openbox/gnome-settings-daemon >/dev/null; then
# /usr/lib/openbox/gnome-settings-daemon &
#elif which gnome-settings-daemon >/dev/null 2>&1; then
# gnome-settings-daemon &
#fi
# If you want to use XFCE config tools...
#
#xfce-mcs-manager &
#My wallpaper
xcompmgr &
pytyle3 &
mpd &
eval `cat $HOME/.fehbg` &
tint2 &
dzconky &
#bash ~/start_conky.sh &and just incase, my xinitrc...
#!/bin/sh
#
# ~/.xinitrc
#
# Executed by startx (run your window manager from here)
if [ -d /etc/X11/xinit/xinitrc.d ]; then
for f in /etc/X11/xinit/xinitrc.d/*; do
[ -x "$f" ] && . "$f"
done
unset f
fi
# exec gnome-session
# exec startkde
# exec startxfce4
# ...or the Window Manager of your choice
#/usr/lib/systemd/systemd --user &
exec openbox-session
xset +fp /usr/share/fonts/local
xset fp rehash
#sxhkd &
#[ -e "$PANEL_FIFO" ] && rm "$PANEL_FIFO"
#mkfifo "$PANEL_FIFO"
#exec bspwm -s "$PANEL_FIFO" -p W
#2> ~/.bspwm.logLast edited by tedbell (2013-09-29 03:33:51)
Offline
'exec openbox-session' should be the last line of your `/.xinitrc, please move it to the bottom of the file.
Offline
'exec openbox-session' should be the last line of your `/.xinitrc, please move it to the bottom of the file.
thanks,
and I fixed the problem. It was my main conky script which was killing the conky process for dzen. Duhhh
Offline