I'm interested if anyone is running an alternative conky setup....specifically one that can auto switch between wlan0 and eth0 as the connect becomes active short of displaying both.
I'm thinking if I put a script into if-up.d I could check the network adaptor and do a sed on the .conkyrc file replacing eth0 with wlan0 or vice versa depending on which adaptor just came up.
Does anyone know where the adaptor picked for the lxde network monitor is saved in settings? I'd like to change it to suit the active adaptor but not sure where the information is saved.
The one I'm debating is this one:
Save the following as .conkyrc in your home directory after backing up the default one to .conkyrc.old
########################################## background yes font Snap.se:size=10 xftfont Snap.se:size=10 use_xft yes xftalpha 0.1 update_interval 1.0 total_run_times 0 own_window yes own_window_type override own_window_transparent yes own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager double_buffer yes draw_shades yes draw_outline no draw_borders no draw_graph_borders no minimum_size 206 5 maximum_width 206 default_color ffffff default_shade_color 000000 default_outline_color 000000 alignment top_right gap_x 6 gap_y 42 no_buffers yes cpu_avg_samples 2 override_utf8_locale no uppercase no # set to yes if you want all text to be in uppercase use_spacer no
TEXT ${font LCD:style=Bold:pixelsize=46}${alignc}${time %H:%M:%S}${font Snap.se:size=10}
Highest CPU $alignr CPU% MEM% ${hr 1} ${top name 1}$alignr${top cpu 1}${top mem 1} ${top name 2}$alignr${top cpu 2}${top mem 2} ${top name 3}$alignr${top cpu 3}${top mem 3}
Highest MEM $alignr CPU% MEM% ${hr 1} ${top_mem name 1}$alignr${top_mem cpu 1}${top_mem mem 1} ${top_mem name 2}$alignr${top_mem cpu 2}${top_mem mem 2} ${top_mem name 3}$alignr${top_mem cpu 3}${top_mem mem 3}