I found some Linux goodies while redditing the other day and thought they were worthy of reposting here.
First, I found this awesome weather app for the console. Basically, you type your "FIPS area code" and it spits out an update on the area directly from that particular mornitoring station. It's fairly detailed and it's on the console which is just great for those that appreciate being able to do that. It may seem a bit inconvenient to get that type of information that way but it's not very hard to just creat an alias and only have to type a short command to get it. You can even set it as a cron job and get periodic updates on an open console. Maybe you just think it sounds cool. Anyway, to get this little gem go ahead and type
$ sudo apt-get install weather-util
which should install it. This can also be done via the ubuntu software centre if you so chose. To get the weather update you just have to type
$ weather ????
or
$ weather --forecast CYYZ
where ???? is the 4 digit FIPS code for your area, in my case CYYZ corresponds to Toronto International Airport. Note that not everywhere has these updates available, to check what is available check out the IWS website. The website for the actual software you can find at http://fungi.yuggoth.org/weather/
I found this link from a post by avaipar on /r/ubuntu and the article comes from OMG ubuntu.
The other link I came across was smileymalais' conky config from his blog (presumably). Here is the config for it:
# UBUNTU-CONKY
# A comprehensive conky script, configured for use on
# Ubuntu / Debian Gnome, without the need for any external scripts.
#
# Based on conky-jc and the default .conkyrc.
# INCLUDES:
# - tail of /var/log/messages
# - netstat connections to your computer
#
#
# Create own window instead of using desktop (required in nautilus)
own_window yes
own_window_hints undecorated,below,skip_taskbar
background yes
# Use double buffering (reduces flicker, may not work for everyone)
double_buffer yes
# fiddle with window
use_spacer no
use_xft yes
# Update interval in seconds
update_interval 3.0
# Minimum size of text area
minimum_size 0
# Maximum width
maximum_width 160
# Draw shades?
draw_shades yes
# Text stuff
draw_outline no # amplifies text if yes
draw_borders no
uppercase no # set to yes if you want all text to be in uppercase
# Stippled borders?
stippled_borders 8
# border margins
border_margin 4
# border width
border_width 1
# Default colors and also border colors, grey90 == #e5e5e5
default_color white
default_shade_color black
default_outline_color white
own_window_colour black
own_window_transparent yes
own_window_argb_value 50
# 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
gap_x 10
gap_y 110
# stuff after 'TEXT' will be formatted on screen
override_utf8_locale no
xftfont Inconolata:size=8
#xftalpha 0.8
TEXT
${offset 0}${color #ddaa00}LUBUNTU 13.10
# ${offset 0}${color white}${time %a, } ${color #aaaaaa}${time %B %e %G}
# ${offset 0}${color white}${time %Z, }${color #aaaaaa}${time %H:%M:%S}
${offset 0}${color #ddaa00}Kern:${color #aaaaaa}$kernel
${offset 0}${color #ddaa00}UpTime: ${color #aaaaaa}$uptime
${offset 0}${color #ddaa00}CPU:${color white} $cpu% ${acpitemp}C
${offset 0}${cpugraph 20,130 000000 ffffff}
${offset 0}${color #ddaa00}Load: ${color }$loadavg
${offset 0}${color #ddaa00}Processes: ${color }$processes
${offset 0}${color #ddaa00}Running: ${color }$running_processes
${offset 0}${color #ddaa00}Highest CPU:
${offset 0}${color white} ${top name 1}${top_mem cpu 1}
${offset 0}${color lightgrey} ${top name 2}${top cpu 2}
${offset 0}${color lightgrey} ${top name 3}${top cpu 3}
${offset 0}${color lightgrey} ${top name 4}${top cpu 4}
${offset 0}${color #ddaa00}Highest MEM:
${offset 0}${color white} ${top_mem name 1}${top_mem mem 1}
${offset 0}${color lightgrey} ${top_mem name 2}${top_mem mem 2}
${offset 0}${color lightgrey} ${top_mem name 3}${top_mem mem 3}
${offset 0}${color lightgrey} ${top_mem name 4}${top_mem mem 4}
${offset 0}${color #ddaa00}RAM: ${color } $memperc% $mem/$memmax
${offset 0}${membar 3,130}
${offset 0}${color #ddaa00}SWAP: ${color }$swapperc% $swap/$swapmax
${offset 0}${swapbar 3,130}
${offset 0}${color #ddaa00}ROOT: ${color }${fs_free /}/${fs_size /}
${offset 0}${fs_bar 3,130 /}
${offset 0}${color #ddaa00}HOME: ${color }${fs_free /home}/${fs_size /home}
${offset 0}${fs_bar 3,130 /home}
${offset 0}${color #ddaa00}NET:
${offset 0}${color}Up: ${color }${upspeed wlan0} k/s
${offset 0}${upspeedgraph wlan0 20,130 000000 ffffff}
${offset 0}${color}Down: ${color }${downspeed wlan0}k/s${color}
${offset 0}${downspeedgraph wlan0 20,130 000000 ffffff}
No comments:
Post a Comment