torpor
hack hack hack, the little machines fight back
I ran it, it showed up in a window ..
torpor said:I ran it, it showed up in a window ..
lintendo said:http://www.hermocom.com/en/downloads/openpandora/Conky.pnd/
# conky configuration
# set to yes if you want Conky to be forked in the background
background no
# X font when Xft is disabled, you can pick one with program xfontsel
#font 5x7
#font 6x10
#font 7x13
#font 8x13
#font 9x15
#font *mintsmild.se*
#font -*-*-*-*-*-*-34-*-*-*-*-*-*-*
# Use Xft?
use_xft yes
# Xft font when Xft is enabled
xftfont Bitstream Vera Sans Mono:size=9
# Text alpha when using Xft
xftalpha 0.8
# Update interval in seconds
update_interval 1.0
# This is the number of times Conky will update before quitting.
# Set to zero to run forever.
total_run_times 0
# Create own window instead of using desktop (required in nautilus)
own_window no
# Use double buffering (reduces flicker, may not work for everyone)
double_buffer yes
# Minimum size of text area
minimum_size 300 0
maximum_width 350
# Draw shades?
draw_shades yes
# Draw outlines?
draw_outline no
# Draw borders around text
draw_borders no
draw_graph_borders yes
# Stippled borders?
stippled_borders 8
# border margins
border_margin 4
# border width
border_width 1
# Default colors and also border colors
default_color white
default_shade_color black
default_outline_color white
# own window options
own_window yes
own_window_transparent yes
own_window_type override
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
# Text alignment, other possible values are commented
alignment top_left
#alignment top_right
#alignment bottom_left
#alignment bottom_right
# Gap between borders of screen and text
# same thing as passing -x at command line
gap_x 10
gap_y 35
# Subtract file system buffers from used memory?
no_buffers yes
# set to yes if you want all text to be in uppercase
uppercase no
# number of cpu samples to average
# set to 1 to disable averaging
cpu_avg_samples 2
# number of net samples to average
# set to 1 to disable averaging
net_avg_samples 2
# Force UTF8? note that UTF8 support required XFT
override_utf8_locale yes
# Add spaces to keep things from moving about? This only affects certain objects.
use_spacer right
# colours
color1 white
color2 orange
text_buffer_size 2048
# variable is given either in format $variable or in ${variable}. Latter
# allows characters right after the variable and must be used in network
# stuff because of an argument
# stuff after 'TEXT' will be formatted on screen
TEXT
${offset -5}${color2}${font StyleBats:style=CleanCut:size=12}q ${voffset -2}${font Bitstream Vera Sans Mono:style=Bold:size=11}System${font} ${hr}
Host: ${color1}$nodename${color2} Uptime: ${color1}${uptime}${color2}
OS: ${color1}$sysname $kernel${color2} on ${color1}$machine
${offset -5}${color2}${font StyleBats:style=CleanCut:size=12}q ${voffset -2}${font Bitstream Vera Sans Mono:style=Bold:size=11}Power${font} ${hr}
AC Adaptor: ${color1}${acpiacadapter}${color2}
Battery: ${color1}$battery ${battery_bar 6 BAT0}
${offset -5}${color2}${font StyleBats:style=CleanCut:size=12}q ${voffset -2}${font Bitstream Vera Sans Mono:style=Bold:size=11}CPU${font} ${hr}
${color1}${execi 1000 cat /proc/cpuinfo | grep 'model name' | sed -e 's/model name.*: //'}
${freq}MHz ${color2}Load: ${color1}${loadavg} ${color2}Temp: ${color1}${acpitemp}
${color2}CPU Bar: ${color1}$cpubar
${color2}Load Bar: ${color1}${cpugraph FFFFFF ffffff}
${offset -5}${color2}${font StyleBats:style=CleanCut:size=12}q ${voffset -2}${font Bitstream Vera Sans Mono:style=Bold:size=11}Processing${font} ${hr}
NAME PID CPU% MEM%${color1}
${top name 1} ${top pid 1} ${top cpu 1} ${top mem 1}
${top name 2} ${top pid 2} ${top cpu 2} ${top mem 2}
${top name 3} ${top pid 3} ${top cpu 3} ${top mem 3}
${top name 4} ${top pid 4} ${top cpu 4} ${top mem 4}
${offset -5}${color2}${font StyleBats:style=CleanCut:size=12}q ${voffset -2}${font Bitstream Vera Sans Mono:style=Bold:size=11}Memory / Disk${font} ${hr}
RAM: ${color1}$memperc% used ${membar 6}${color2}
Swap: ${color1}$swapperc% used ${swapbar 6}${color2}
Root: ${color1}${fs_free_perc /} % free ${fs_bar 6 /}
${offset -5}${color2}${font StyleBats:style=CleanCut:size=12}q ${voffset -2}${font Bitstream Vera Sans Mono:style=Bold:size=11}Networks${font} ${hr}
${color1}${if_existing /sys/class/net/eth0/operstate up}${color2}Wired: ${alignr 2}IP address: ${color1}${execi 3600 wget -O - http://www.whatismyip.org/ | tail}
${color2}${alignr 2}Router : ${color1}${addr eth0}
${color2}Down:${color1} ${downspeed eth0} k/s ${offset 50}${color2}Up:${color1} ${upspeed eth0} k/s
${downspeedgraph eth0 25,145 FFFFFF ffffff} ${upspeedgraph eth0 25,145 FFFFFF ffffff}
${else}${alignc}${font sans:size=6:bold}Wired Off-Line${font}${endif}
${color2}${stippled_hr 1}
${color1}${if_up wlan0}${color2}Wi-Fi: ${alignr 2}IP address: ${color1}${addr wlan0}
${color2}${alignr 2}Connected to : ${color1}"${wireless_essid wlan0}"
${color2}Down:${color1} ${downspeed wlan0} k/s ${offset 50}${color2}Up:${color1} ${upspeed wlan0} k/s
${downspeedgraph wlan0 25,145 FFFFFF ffffff} ${upspeedgraph wlan0 25,145 FFFFFF ffffff}
${color2}Signal: ${color1} ${wireless_bitrate wlan0} ${wireless_link_bar 7,75 wlan0} ${wireless_link_qual_perc wlan0}%
${else}${alignc}${font sans:size=6:bold}Wi-Fi Off-Line${font}${endif}
${color2}${stippled_hr 1}
${color1}${if_up ppp0}${color2}Dongle: ${alignr 2}IP address: ${color1}${addr ppp0}
${color2}Down:${color1} ${downspeed ppp0} k/s ${offset 50}${color2}Up:${color1} ${upspeed ppp0} k/s
${downspeedgraph ppp0 25,145 FFFFFF ffffff} ${upspeedgraph ppp0 25,145 FFFFFF ffffff}
${else}${alignc}${font sans:size=6:bold}Dongle Off-Line${font}${endif}
# conky configuration
# set to yes if you want Conky to be forked in the background
background no
# X font when Xft is disabled, you can pick one with program xfontsel
#font 5x7
#font 6x10
#font 7x13
#font 8x13
#font 9x15
#font *mintsmild.se*
#font -*-*-*-*-*-*-34-*-*-*-*-*-*-*
# Use Xft?
use_xft yes
# Xft font when Xft is enabled
xftfont Bitstream Vera Sans Mono:size=9
# Text alpha when using Xft
xftalpha 0.8
# Update interval in seconds
update_interval 1.0
# This is the number of times Conky will update before quitting.
# Set to zero to run forever.
total_run_times 0
# Create own window instead of using desktop (required in nautilus)
own_window no
# Use double buffering (reduces flicker, may not work for everyone)
double_buffer yes
# Minimum size of text area
minimum_size 300 0
maximum_width 350
# Draw shades?
draw_shades yes
# Draw outlines?
draw_outline no
# Draw borders around text
draw_borders no
draw_graph_borders yes
# Stippled borders?
stippled_borders 8
# border margins
border_margin 4
# border width
border_width 1
# Default colors and also border colors
default_color white
default_shade_color black
default_outline_color white
# own window options
own_window yes
own_window_transparent yes
own_window_type override
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
# Text alignment, other possible values are commented
#alignment top_left
alignment top_middle
#alignment bottom_left
#alignment bottom_right
# Gap between borders of screen and text
# same thing as passing -x at command line
gap_x 10
gap_y 35
# Subtract file system buffers from used memory?
no_buffers yes
# set to yes if you want all text to be in uppercase
uppercase no
# number of cpu samples to average
# set to 1 to disable averaging
cpu_avg_samples 2
# number of net samples to average
# set to 1 to disable averaging
net_avg_samples 2
# Force UTF8? note that UTF8 support required XFT
override_utf8_locale yes
# Add spaces to keep things from moving about? This only affects certain objects.
use_spacer right
# colours
color1 white
color2 orange
text_buffer_size 2048
# variable is given either in format $variable or in ${variable}. Latter
# allows characters right after the variable and must be used in network
# stuff because of an argument
# stuff after 'TEXT' will be formatted on screen
TEXT
${offset -5}${color2}${font StyleBats:style=CleanCut:size=12}q ${voffset -2}${font Bitstream Vera Sans Mono:style=Bold:size=11}Weather${font} ${hr}${color1}
${execpi 1800 conkyForecast --location=UKXX0215 --template=/home/simon/.conkyForecast.template}
${offset -5}${color2}${font StyleBats:style=CleanCut:size=12}q ${voffset -2}${font Bitstream Vera Sans Mono:style=Bold:size=11}E-Mails${font} ${hr}${color1}
Google Mail (Shared): ${execi 600 python /usr/share/conkyemail/conkyEmail.py --servertype=IMAP --servername=imap.googlemail.com --username=## --password=## --ssl}
Google Mail (Simon): ${execi 600 python /usr/share/conkyemail/conkyEmail.py --servertype=IMAP --servername=imap.googlemail.com --username=## --password=## --ssl}
Google Mail (Leah): ${execi 600 python /usr/share/conkyemail/conkyEmail.py --servertype=IMAP --servername=imap.googlemail.com --username=## --password=## --ssl}
${offset -5}${color2}${font StyleBats:style=CleanCut:size=12}q ${voffset -2}${font Bitstream Vera Sans Mono:style=Bold:size=11}Now Playing${font} ${hr}
Title: ${color1}${exec rhythmbox-client --no-start --print-playing-format %at}${color2}
Artist: ${color1}${exec rhythmbox-client --no-start --print-playing-format %aa}${color2}
Track: ${color1}${exec rhythmbox-client --no-start --print-playing-format "#%tn - %tt"}
# conky configuration
# set to yes if you want Conky to be forked in the background
background no
# X font when Xft is disabled, you can pick one with program xfontsel
#font 5x7
#font 6x10
#font 7x13
#font 8x13
#font 9x15
#font *mintsmild.se*
#font -*-*-*-*-*-*-34-*-*-*-*-*-*-*
# Use Xft?
use_xft yes
# Xft font when Xft is enabled
xftfont Bitstream Vera Sans Mono:size=9
# Text alpha when using Xft
xftalpha 0.8
# Update interval in seconds
update_interval 1.0
# This is the number of times Conky will update before quitting.
# Set to zero to run forever.
total_run_times 0
# Create own window instead of using desktop (required in nautilus)
own_window no
# Use double buffering (reduces flicker, may not work for everyone)
double_buffer yes
# Minimum size of text area
minimum_size 300 0
maximum_width 350
# Draw shades?
draw_shades yes
# Draw outlines?
draw_outline no
# Draw borders around text
draw_borders no
draw_graph_borders yes
# Stippled borders?
stippled_borders 8
# border margins
border_margin 4
# border width
border_width 1
# Default colors and also border colors
default_color white
default_shade_color black
default_outline_color white
# own window options
own_window yes
own_window_transparent yes
own_window_type override
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
# Text alignment, other possible values are commented
#alignment top_left
alignment top_right
#alignment bottom_left
#alignment bottom_right
# Gap between borders of screen and text
# same thing as passing -x at command line
gap_x 10
gap_y 35
# Subtract file system buffers from used memory?
no_buffers yes
# set to yes if you want all text to be in uppercase
uppercase no
# number of cpu samples to average
# set to 1 to disable averaging
cpu_avg_samples 2
# number of net samples to average
# set to 1 to disable averaging
net_avg_samples 2
# Force UTF8? note that UTF8 support required XFT
override_utf8_locale yes
# Add spaces to keep things from moving about? This only affects certain objects.
use_spacer right
# colours
color1 white
color2 orange
text_buffer_size 2048
# variable is given either in format $variable or in ${variable}. Latter
# allows characters right after the variable and must be used in network
# stuff because of an argument
# stuff after 'TEXT' will be formatted on screen
TEXT
${offset -5}${color2}${font StyleBats:style=CleanCut:size=12}q ${voffset -2}${font Bitstream Vera Sans Mono:style=Bold:size=11}RSS Feeds${font} ${hr}${color1}
${color2}${rss http://newsrss.bbc.co.uk/rss/newsonline_uk_edition/front_page/rss.xml 10 feed_title}
${color1}${rss http://newsrss.bbc.co.uk/rss/newsonline_uk_edition/front_page/rss.xml 10 item_titles 6}
${color2}${rss http://rss.slashdot.org/Slashdot/slashdot 10 feed_title}
${color1}${rss http://rss.slashdot.org/Slashdot/slashdot 10 item_titles 5}
${color2}${rss http://whatreallyhappened.com/rss.xml 10 feed_title}
${color1}${rss http://whatreallyhappened.com/rss.xml 10 item_titles 4}
${color2}${rss http://feeds.delicious.com/rss/bengoldacre 10 feed_title}
${color1}${rss http://feeds.delicious.com/rss/bengoldacre 10 item_titles 4}
${color2}${rss http://feeds.guardian.co.uk/theguardian/technology/rss 10 feed_title}
${color1}${rss http://feeds.guardian.co.uk/theguardian/technology/rss 10 item_titles 4}
${color2}${rss http://feeds.wired.com/wired/index 10 feed_title}
${color1}${rss http://feeds.wired.com/wired/index 10 item_titles 4}
${color2}${rss http://cryptome.info/cryptome.xml 10 feed_title}
${color1}${rss http://cryptome.info/cryptome.xml 10 item_titles 4}
${color2}${rss http://www.rsf.org/backend_une_en.php3 10 feed_title}
${color1}${rss http://www.rsf.org/backend_une_en.php3 10 item_titles 4}
${color2}${rss http://newsbiscuit.com/rss 10 feed_title}
${color1}${rss http://newsbiscuit.com/rss 10 item_titles 4}
#!/bin/bash
sleep 15
conky -d -c /home/simon/.conkyLeft.rc
sleep 5
conky -d -c /home/simon/.conkyMiddle.rc
sleep 5
conky -d -c /home/simon/.conkyRight.rc
exit
Gruso said:^ Great post, beautiful screens.
I just added some spoiler tags to your code, to reduce the amount of scrolling. Hope you don't mind.
WorldTripping said:Now some conky config files:
The conky code for the left panel (.conkyLeft.rc):
Code:# conky configuration # set to yes if you want Conky to be forked in the background background no # X font when Xft is disabled, you can pick one with program xfontsel #font 5x7 #font 6x10 #font 7x13 #font 8x13 #font 9x15 #font *mintsmild.se* #font -*-*-*-*-*-*-34-*-*-*-*-*-*-* # Use Xft? use_xft yes # Xft font when Xft is enabled xftfont Bitstream Vera Sans Mono:size=9 # Text alpha when using Xft xftalpha 0.8 # Update interval in seconds update_interval 1.0 # This is the number of times Conky will update before quitting. # Set to zero to run forever. total_run_times 0 # Create own window instead of using desktop (required in nautilus) own_window no # Use double buffering (reduces flicker, may not work for everyone) double_buffer yes # Minimum size of text area minimum_size 300 0 maximum_width 350 # Draw shades? draw_shades yes # Draw outlines? draw_outline no # Draw borders around text draw_borders no draw_graph_borders yes # Stippled borders? stippled_borders 8 # border margins border_margin 4 # border width border_width 1 # Default colors and also border colors default_color white default_shade_color black default_outline_color white # own window options own_window yes own_window_transparent yes own_window_type override own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager # Text alignment, other possible values are commented alignment top_left #alignment top_right #alignment bottom_left #alignment bottom_right # Gap between borders of screen and text # same thing as passing -x at command line gap_x 10 gap_y 35 # Subtract file system buffers from used memory? no_buffers yes # set to yes if you want all text to be in uppercase uppercase no # number of cpu samples to average # set to 1 to disable averaging cpu_avg_samples 2 # number of net samples to average # set to 1 to disable averaging net_avg_samples 2 # Force UTF8? note that UTF8 support required XFT override_utf8_locale yes # Add spaces to keep things from moving about? This only affects certain objects. use_spacer right # colours color1 white color2 orange text_buffer_size 2048 # variable is given either in format $variable or in ${variable}. Latter # allows characters right after the variable and must be used in network # stuff because of an argument # stuff after 'TEXT' will be formatted on screen TEXT ${offset -5}${color2}${font StyleBats:style=CleanCut:size=12}q ${voffset -2}${font Bitstream Vera Sans Mono:style=Bold:size=11}System${font} ${hr} Host: ${color1}$nodename${color2} Uptime: ${color1}${uptime}${color2} OS: ${color1}$sysname $kernel${color2} on ${color1}$machine ${offset -5}${color2}${font StyleBats:style=CleanCut:size=12}q ${voffset -2}${font Bitstream Vera Sans Mono:style=Bold:size=11}Power${font} ${hr} AC Adaptor: ${color1}${acpiacadapter}${color2} Battery: ${color1}$battery ${battery_bar 6 BAT0} ${offset -5}${color2}${font StyleBats:style=CleanCut:size=12}q ${voffset -2}${font Bitstream Vera Sans Mono:style=Bold:size=11}CPU${font} ${hr} ${color1}${execi 1000 cat /proc/cpuinfo | grep 'model name' | sed -e 's/model name.*: //'} ${freq}MHz ${color2}Load: ${color1}${loadavg} ${color2}Temp: ${color1}${acpitemp} ${color2}CPU Bar: ${color1}$cpubar ${color2}Load Bar: ${color1}${cpugraph FFFFFF ffffff} ${offset -5}${color2}${font StyleBats:style=CleanCut:size=12}q ${voffset -2}${font Bitstream Vera Sans Mono:style=Bold:size=11}Processing${font} ${hr} NAME PID CPU% MEM%${color1} ${top name 1} ${top pid 1} ${top cpu 1} ${top mem 1} ${top name 2} ${top pid 2} ${top cpu 2} ${top mem 2} ${top name 3} ${top pid 3} ${top cpu 3} ${top mem 3} ${top name 4} ${top pid 4} ${top cpu 4} ${top mem 4} ${offset -5}${color2}${font StyleBats:style=CleanCut:size=12}q ${voffset -2}${font Bitstream Vera Sans Mono:style=Bold:size=11}Memory / Disk${font} ${hr} RAM: ${color1}$memperc% used ${membar 6}${color2} Swap: ${color1}$swapperc% used ${swapbar 6}${color2} Root: ${color1}${fs_free_perc /} % free ${fs_bar 6 /} ${offset -5}${color2}${font StyleBats:style=CleanCut:size=12}q ${voffset -2}${font Bitstream Vera Sans Mono:style=Bold:size=11}Networks${font} ${hr} ${color1}${if_existing /sys/class/net/eth0/operstate up}${color2}Wired: ${alignr 2}IP address: ${color1}${execi 3600 wget -O - http://www.whatismyip.org/ | tail} ${color2}${alignr 2}Router : ${color1}${addr eth0} ${color2}Down:${color1} ${downspeed eth0} k/s ${offset 50}${color2}Up:${color1} ${upspeed eth0} k/s ${downspeedgraph eth0 25,145 FFFFFF ffffff} ${upspeedgraph eth0 25,145 FFFFFF ffffff} ${else}${alignc}${font sans:size=6:bold}Wired Off-Line${font}${endif} ${color2}${stippled_hr 1} ${color1}${if_up wlan0}${color2}Wi-Fi: ${alignr 2}IP address: ${color1}${addr wlan0} ${color2}${alignr 2}Connected to : ${color1}"${wireless_essid wlan0}" ${color2}Down:${color1} ${downspeed wlan0} k/s ${offset 50}${color2}Up:${color1} ${upspeed wlan0} k/s ${downspeedgraph wlan0 25,145 FFFFFF ffffff} ${upspeedgraph wlan0 25,145 FFFFFF ffffff} ${color2}Signal: ${color1} ${wireless_bitrate wlan0} ${wireless_link_bar 7,75 wlan0} ${wireless_link_qual_perc wlan0}% ${else}${alignc}${font sans:size=6:bold}Wi-Fi Off-Line${font}${endif} ${color2}${stippled_hr 1} ${color1}${if_up ppp0}${color2}Dongle: ${alignr 2}IP address: ${color1}${addr ppp0} ${color2}Down:${color1} ${downspeed ppp0} k/s ${offset 50}${color2}Up:${color1} ${upspeed ppp0} k/s ${downspeedgraph ppp0 25,145 FFFFFF ffffff} ${upspeedgraph ppp0 25,145 FFFFFF ffffff} ${else}${alignc}${font sans:size=6:bold}Dongle Off-Line${font}${endif}
The conky code for the middle panel (.conkyMiddle.rc):
Code:# conky configuration # set to yes if you want Conky to be forked in the background background no # X font when Xft is disabled, you can pick one with program xfontsel #font 5x7 #font 6x10 #font 7x13 #font 8x13 #font 9x15 #font *mintsmild.se* #font -*-*-*-*-*-*-34-*-*-*-*-*-*-* # Use Xft? use_xft yes # Xft font when Xft is enabled xftfont Bitstream Vera Sans Mono:size=9 # Text alpha when using Xft xftalpha 0.8 # Update interval in seconds update_interval 1.0 # This is the number of times Conky will update before quitting. # Set to zero to run forever. total_run_times 0 # Create own window instead of using desktop (required in nautilus) own_window no # Use double buffering (reduces flicker, may not work for everyone) double_buffer yes # Minimum size of text area minimum_size 300 0 maximum_width 350 # Draw shades? draw_shades yes # Draw outlines? draw_outline no # Draw borders around text draw_borders no draw_graph_borders yes # Stippled borders? stippled_borders 8 # border margins border_margin 4 # border width border_width 1 # Default colors and also border colors default_color white default_shade_color black default_outline_color white # own window options own_window yes own_window_transparent yes own_window_type override own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager # Text alignment, other possible values are commented #alignment top_left alignment top_middle #alignment bottom_left #alignment bottom_right # Gap between borders of screen and text # same thing as passing -x at command line gap_x 10 gap_y 35 # Subtract file system buffers from used memory? no_buffers yes # set to yes if you want all text to be in uppercase uppercase no # number of cpu samples to average # set to 1 to disable averaging cpu_avg_samples 2 # number of net samples to average # set to 1 to disable averaging net_avg_samples 2 # Force UTF8? note that UTF8 support required XFT override_utf8_locale yes # Add spaces to keep things from moving about? This only affects certain objects. use_spacer right # colours color1 white color2 orange text_buffer_size 2048 # variable is given either in format $variable or in ${variable}. Latter # allows characters right after the variable and must be used in network # stuff because of an argument # stuff after 'TEXT' will be formatted on screen TEXT ${offset -5}${color2}${font StyleBats:style=CleanCut:size=12}q ${voffset -2}${font Bitstream Vera Sans Mono:style=Bold:size=11}Weather${font} ${hr}${color1} ${execpi 1800 conkyForecast --location=UKXX0215 --template=/home/simon/.conkyForecast.template} ${offset -5}${color2}${font StyleBats:style=CleanCut:size=12}q ${voffset -2}${font Bitstream Vera Sans Mono:style=Bold:size=11}E-Mails${font} ${hr}${color1} Google Mail (Shared): ${execi 600 python /usr/share/conkyemail/conkyEmail.py --servertype=IMAP --servername=imap.googlemail.com --username=## --password=## --ssl} Google Mail (Simon): ${execi 600 python /usr/share/conkyemail/conkyEmail.py --servertype=IMAP --servername=imap.googlemail.com --username=## --password=## --ssl} Google Mail (Leah): ${execi 600 python /usr/share/conkyemail/conkyEmail.py --servertype=IMAP --servername=imap.googlemail.com --username=## --password=## --ssl} ${offset -5}${color2}${font StyleBats:style=CleanCut:size=12}q ${voffset -2}${font Bitstream Vera Sans Mono:style=Bold:size=11}Now Playing${font} ${hr} Title: ${color1}${exec rhythmbox-client --no-start --print-playing-format %at}${color2} Artist: ${color1}${exec rhythmbox-client --no-start --print-playing-format %aa}${color2} Track: ${color1}${exec rhythmbox-client --no-start --print-playing-format "#%tn - %tt"}
The conky code for the right panel (.conkyRight.rc):
Code:# conky configuration # set to yes if you want Conky to be forked in the background background no # X font when Xft is disabled, you can pick one with program xfontsel #font 5x7 #font 6x10 #font 7x13 #font 8x13 #font 9x15 #font *mintsmild.se* #font -*-*-*-*-*-*-34-*-*-*-*-*-*-* # Use Xft? use_xft yes # Xft font when Xft is enabled xftfont Bitstream Vera Sans Mono:size=9 # Text alpha when using Xft xftalpha 0.8 # Update interval in seconds update_interval 1.0 # This is the number of times Conky will update before quitting. # Set to zero to run forever. total_run_times 0 # Create own window instead of using desktop (required in nautilus) own_window no # Use double buffering (reduces flicker, may not work for everyone) double_buffer yes # Minimum size of text area minimum_size 300 0 maximum_width 350 # Draw shades? draw_shades yes # Draw outlines? draw_outline no # Draw borders around text draw_borders no draw_graph_borders yes # Stippled borders? stippled_borders 8 # border margins border_margin 4 # border width border_width 1 # Default colors and also border colors default_color white default_shade_color black default_outline_color white # own window options own_window yes own_window_transparent yes own_window_type override own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager # Text alignment, other possible values are commented #alignment top_left alignment top_right #alignment bottom_left #alignment bottom_right # Gap between borders of screen and text # same thing as passing -x at command line gap_x 10 gap_y 35 # Subtract file system buffers from used memory? no_buffers yes # set to yes if you want all text to be in uppercase uppercase no # number of cpu samples to average # set to 1 to disable averaging cpu_avg_samples 2 # number of net samples to average # set to 1 to disable averaging net_avg_samples 2 # Force UTF8? note that UTF8 support required XFT override_utf8_locale yes # Add spaces to keep things from moving about? This only affects certain objects. use_spacer right # colours color1 white color2 orange text_buffer_size 2048 # variable is given either in format $variable or in ${variable}. Latter # allows characters right after the variable and must be used in network # stuff because of an argument # stuff after 'TEXT' will be formatted on screen TEXT ${offset -5}${color2}${font StyleBats:style=CleanCut:size=12}q ${voffset -2}${font Bitstream Vera Sans Mono:style=Bold:size=11}RSS Feeds${font} ${hr}${color1} ${color2}${rss http://newsrss.bbc.co.uk/rss/newsonline_uk_edition/front_page/rss.xml 10 feed_title} ${color1}${rss http://newsrss.bbc.co.uk/rss/newsonline_uk_edition/front_page/rss.xml 10 item_titles 6} ${color2}${rss http://rss.slashdot.org/Slashdot/slashdot 10 feed_title} ${color1}${rss http://rss.slashdot.org/Slashdot/slashdot 10 item_titles 5} ${color2}${rss http://whatreallyhappened.com/rss.xml 10 feed_title} ${color1}${rss http://whatreallyhappened.com/rss.xml 10 item_titles 4} ${color2}${rss http://feeds.delicious.com/rss/bengoldacre 10 feed_title} ${color1}${rss http://feeds.delicious.com/rss/bengoldacre 10 item_titles 4} ${color2}${rss http://feeds.guardian.co.uk/theguardian/technology/rss 10 feed_title} ${color1}${rss http://feeds.guardian.co.uk/theguardian/technology/rss 10 item_titles 4} ${color2}${rss http://feeds.wired.com/wired/index 10 feed_title} ${color1}${rss http://feeds.wired.com/wired/index 10 item_titles 4} ${color2}${rss http://cryptome.info/cryptome.xml 10 feed_title} ${color1}${rss http://cryptome.info/cryptome.xml 10 item_titles 4} ${color2}${rss http://www.rsf.org/backend_une_en.php3 10 feed_title} ${color1}${rss http://www.rsf.org/backend_une_en.php3 10 item_titles 4} ${color2}${rss http://newsbiscuit.com/rss 10 feed_title} ${color1}${rss http://newsbiscuit.com/rss 10 item_titles 4}
A bash script to call all of the conkys on boot. Make it executable and include it in the startup files:
(Don't know how to do this on a Panda as I don't have mine yet.)
Code:#!/bin/bash sleep 15 conky -d -c /home/simon/.conkyLeft.rc sleep 5 conky -d -c /home/simon/.conkyMiddle.rc sleep 5 conky -d -c /home/simon/.conkyRight.rc exit
xopher said:How do we invoke these rc files with the PND?
sh pathToBashScript.sh
#!/bin/bash
sleep 15
conky -d -c /home/simon/.conkyLeft.rc
sleep 5
conky -d -c /home/simon/.conkyMiddle.rc
sleep 5
conky -d -c /home/simon/.conkyRight.rc
exit
How would one go about doing that and getting it pushed to the Pandora feed? Or upstream to Angstrom? I would really like to update the Midori package, but can't even find the original bitbake recipe.EvilDragon said:Hm, Conky is not in the Angström Repo... so if it should be included in the firmware, someone would need to create a recipe.
Tempel said:How would one go about doing that and getting it pushed to the Pandora feed? Or upstream to Angstrom? I would really like to update the Midori package, but can't even find the original bitbake recipe.EvilDragon said:Hm, Conky is not in the Angström Repo... so if it should be included in the firmware, someone would need to create a recipe.