View previous topic :: View next topic |
Author |
Message |
ty i pwn at terminal
Gender: Age: 34 Posts: 4515 Location: fLorida Style: RoyaleXP (6467) In Bank: 100 Rupees Loaned: 0 Rupees Jobs: Avid Poster, Valued Member Credit: 396748 Rupees
View Items
Status: Offline
|
Posted: Mon Nov 10, 2008 10:42 pm Post subject: Conky |
|
|
Well, I threw together a little conky script, Nothing special, but I personally am proud of myself for it, It just pulls up a little bit of information on you system, yanno, nothing TO special. like I said, But theres still more to come, This is just a small beginners project. Criticism is welcome!
**********And heres the code for it, Just copy and paste it into your conky file, No other files needed************
Code: | # UBUNTU-CONKY v1.4 By: ty
#
#
# For use with Ubuntu, without the need for any other scripts.
#
# Based on conky-jc and the default .conkyrc.
# Features:
# - netstat connections [your download/upload k/s]
# - Memory monitor
# - Swap monitor
# - Root/Home file space monitor
# - Highest CPU monitor
# - Highest Memory monitor
# - Date/time
# - Uptime
# - Kernel version
# - CPU temp
# - Load
# - Processes/runnning
# Simply copy and paste this code into your ~/.conkyrc file, and you're good to # go. Feel free to edit this, and make it better to suit your needs, I just threw # this together to make a fairly basic, beginners conky script, just to sorta show # off the abilities of conky. More advanced scripts to come.
# Create own window instead of using desktop (required in nautilus)
own_window yes
own_window_hints undecorated,below,skip_taskbar
background no
# Use double buffering (reduces flicker, may not work for everyone)
double_buffer yes
# fiddle with window
use_spacer right
use_xft yes
# Update interval in seconds
update_interval 1.2
# Minimum size of text area
minimum_size 400 5
# Draw shades?
draw_shades no
# 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 brown
own_window_transparent yes
# 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 10
# stuff after 'TEXT' will be formatted on screen
override_utf8_locale no
xftfont Terminus:size=8
xftalpha 0.8
TEXT
${offset 240}${color slate grey}${time %a, } ${color }${time %e %B %G}
${offset 240}${color slate grey}${time %Z, }${color }${time %H:%M:%S}
${offset 240}${color slate grey}UpTime: ${color }$uptime
${offset 240}${color slate grey}Kern:${color }$kernel
${offset 240}${color slate grey}CPU:${color } $cpu% ${acpitemp}C
${offset 240}${cpugraph 20,130 000000 ffffff}
${offset 240}${color slate grey}Load: ${color }$loadavg
${offset 240}${color slate grey}Processes: ${color }$processes
${offset 240}${color slate grey}Running: ${color }$running_processes
${offset 240}${color slate grey}Highest CPU:
${offset 240}${color #ddaa00} ${top name 1}${top_mem cpu 1}
${offset 240}${color lightgrey} ${top name 2}${top cpu 2}
${offset 240}${color lightgrey} ${top name 3}${top cpu 3}
${offset 240}${color lightgrey} ${top name 4}${top cpu 4}
${offset 240}${color slate grey}Highest MEM:
${offset 240}${color #ddaa00} ${top_mem name 1}${top_mem mem 1}
${offset 240}${color lightgrey} ${top_mem name 2}${top_mem mem 2}
${offset 240}${color lightgrey} ${top_mem name 3}${top_mem mem 3}
${offset 240}${color lightgrey} ${top_mem name 4}${top_mem mem 4}
${offset 240}${color slate grey}MEM: ${color } $memperc% $mem/$memmax
${offset 240}${membar 3,100}
${offset 240}${color slate grey}SWAP: ${color }$swapperc% $swap/$swapmax
${offset 240}${swapbar 3,100}
${offset 240}${color slate grey}ROOT: ${color }${fs_free /}/${fs_size /}
${offset 240}${fs_bar 3,100 /}
${offset 240}${color slate grey}HOME: ${color }${fs_free /home}/${fs_size /home}
${offset 240}${fs_bar 3,100 /home}
${offset 240}${color slate grey}NET:
${offset 240}${color}Up: ${color }${upspeed eth0} k/s
${offset 240}${upspeedgraph eth0 20,130 000000 ffffff}
${offset 240}${color}Down: ${color }${downspeed eth0}k/s${color}
${offset 240}${downspeedgraph eth0 20,130 000000 ffffff} |
_________________
|
|
Back to top |
|
|
ekim Majin Warrior
Gender: Age: 34 Posts: 3476 Location: La Style: RoyaleXP (6467) In Bank: Hidden Loaned: Hidden Jobs: Poster, WhatPulse Team, Valued Member Credit: 98 Rupees
View Items
Status: Offline
|
Posted: Fri Dec 05, 2008 2:47 pm Post subject: |
|
|
my conky
Code: | background no
use_xft yes
xftfont Bitstream Vera Sans:size=8
xftalpha 0.1
update_interval 1
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
minimum_size 230 5
maximum_width 230
draw_shades yes
draw_outline no
draw_borders no
draw_graph_borders no
default_color white
default_shade_color black
default_outline_color black
alignment top_right
gap_x 10
gap_y 36
no_buffers no
uppercase no
cpu_avg_samples 2
net_avg_samples 1
override_utf8_locale yes
use_spacer none
text_buffer_size 256
color0 3399cc
color1 3399cc
color2 3399cc
color3 666666
TEXT
${color0}${font openlogos:size=20}${color1}${voffset -5}${font Arial:size=20}${color2} ${voffset -10}${font}
${color3}${font Arial:bold:size=8}S${color1}Y${color3}ST${color1}E${color3}M ${color1}${hr 2}
${color3}${font}${sysname} ${kernel}${color1}${alignr}${machine}
${color3}${font}Dell Latitude D620${color1}${alignr}${freq_dyn_g 1}Ghz
${color3}${font}Uptime${color1}${alignr}${uptime}
${color3}${font}File System${color1}${alignr}${fs_type}
${color3}${font Arial:bold:size=8}PR${color1}O${color3}C${color1}E${color3}SS${color1}O${color3}RS ${color3}${hr 2}
${color3}${font}CPU1 ${color1}${cpu cpu1}${color3}% ${color1}${cpubar cpu1}
${color3}${font}CPU2 ${color1}${cpu cpu2}${color3}% ${color1}${cpubar cpu2}
${color3}${font Arial:bold:size=8}ST${color1}O${color3}R${color1}A${color3}G${color1}E ${color1}${hr 2}
${color3}${font}RAM${color3}${alignc}${mem} / ${memmax}${alignr}${color1}${memperc}${color3}%
${color2}$membar
${color3}${font}HDD${color3}${alignc}${fs_used /} / ${fs_size /}${alignr}${color1}${fs_free_perc /}${color3}%
${color2}${fs_bar /}
${color3}${font Arial:bold:size=8}T${color1}O${color3}P PR${color1}O${color3}C${color1}E${color3}SS${color1}E${color3}S ${color3}${hr 2}
${color2}${font}${top name 1}${color3}${alignr}${top cpu 1} ${color2}%
${color2}${font}${top name 2}${color3}${alignr}${top cpu 2} ${color2}%
${color2}${font}${top name 3}${color3}${alignr}${top cpu 3} ${color2}%
${color2}${font}${top name 4}${color3}${alignr}${top cpu 4} ${color2}% |
|
|
Back to top |
|
|
23 f.i. Moderator
Gender: Age: 39 Posts: 3636 Location: Akron, Ohio Style: RoyaleXP (6467) In Bank: 2091603 Rupees Loaned: 0 Rupees Jobs: Moderator, Poster Credit: 19031 Rupees
View Items
Status: Offline
|
Posted: Fri Dec 05, 2008 4:11 pm Post subject: |
|
|
i<3your desktop :] and u of course _________________ fundamentals are the building blocks of fun.
|
|
Back to top |
|
|
ekim Majin Warrior
Gender: Age: 34 Posts: 3476 Location: La Style: RoyaleXP (6467) In Bank: Hidden Loaned: Hidden Jobs: Poster, WhatPulse Team, Valued Member Credit: 98 Rupees
View Items
Status: Offline
|
Posted: Fri Dec 05, 2008 6:45 pm Post subject: |
|
|
<333
|
|
Back to top |
|
|
|
Tell a friend about f.i.
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You cannot download files in this forum
|
|