Conky

Søger du et bestemt program? Mangler du et alternativ til dit Windowsprogram? Program-spørgsmål kan stilles her.
Kvik
Indlæg: 320
Tilmeldt: 16. jan 2008, 17:54
IRC nickname: kvik
Geografisk sted: Söderhamn, Sverige

Conky

Indlæg af Kvik »

Hej

Jeg har lidt problemer med conky, om jeg ligger det i opstartsprogrammer, starter det, jeg kan se det i top, men det er ikke på desktopen.
Et andet lille problem, jeg kan ikke få det til og vise CPU temp, her er mit script ~/.conkyrc

Den køre Ubuntu 12.04

# 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
#
# — Pengo (conky@pengo.us)
#

# Create own window instead of using desktop (required in nautilus)
own_window yes
own_window_type override
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager

# Use double buffering (reduces flicker, may not work for everyone)
double_buffer yes

# fiddle with window
use_spacer yes
use_xft no

# Update interval in seconds
update_interval 3.0

# Minimum size of text area
# minimum_size 250 10

# Draw shades?
draw_shades no

# Text stuff
draw_outline no # amplifies text if yes
draw_borders no
font arial
uppercase no # set to yes if you want all text to be in uppercase

# Stippled borders?
stippled_borders 3

# border margins
border_margin 10

# border width
border_width 10

# Default colors and also border colors, grey90 == #e5e5e5
default_color grey

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 30

# stuff after ‘TEXT’ will be formatted on screen

TEXT
$color
${color orange}SYSTEM ${hr 2}$color
$nodename $sysname $kernel on $machine

${color orange}CPU ${hr 2}$color
${freq}MHz Load: ${loadavg} Temp: ${acpitemp}
$cpubarA
${cpugraph 000000 ffffff}
NAME PID CPU% MEM%
${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}

${color orange}MEMORY / DISK ${hr 2}$color
RAM: $memperc% ${membar 6}$color
Swap: $swapperc% ${swapbar 6}$color

Root: ${fs_free_perc /}% ${fs_bar 6 /}$color
home: ${fs_free_perc /home}% ${fs_bar 6 /home}$color

${color orange}NETWORK (${addr eth1}) ${hr 2}$color
Down: $color${downspeed eth1} k/s ${alignr}Up: ${upspeed eth1} k/s
${downspeedgraph eth1 25,140 000000 ff0000} ${alignr}${upspeedgraph eth1
25,140 000000 00ff00}$color
Total: ${totaldown eth1} ${alignr}Total: ${totalup eth1}
Inbound: ${tcp_portmon 1 32767 count} Outbound: ${tcp_portmon 32768
61000 count}${alignr}Total: ${tcp_portmon 1 65535 count}
Med Venlig hilsen
Kvik

Blog: http://kviksworld.wordpress.com
----------------------------------------------------------------
Acer Aspire 5741G Ubuntu 12.04
----------------------------------------------------------------
Lubuntu 12.04
Pentium 4 3GHz
1GB ram
GeForce 6600GTS (tror jeg)
80 GB HD
pollute
Indlæg: 215
Tilmeldt: 29. okt 2009, 14:40
IRC nickname: pollute
Geografisk sted: Århus

Re: Conky

Indlæg af pollute »

Kører du med forsinket opstart?
Min computer er en Acer Predator G3610
Kvik
Indlæg: 320
Tilmeldt: 16. jan 2008, 17:54
IRC nickname: kvik
Geografisk sted: Söderhamn, Sverige

Re: Conky

Indlæg af Kvik »

Det tror jeg ikke har bare lagt den ind i opstartsprogrammer /usr/bin/conky
Med Venlig hilsen
Kvik

Blog: http://kviksworld.wordpress.com
----------------------------------------------------------------
Acer Aspire 5741G Ubuntu 12.04
----------------------------------------------------------------
Lubuntu 12.04
Pentium 4 3GHz
1GB ram
GeForce 6600GTS (tror jeg)
80 GB HD
pollute
Indlæg: 215
Tilmeldt: 29. okt 2009, 14:40
IRC nickname: pollute
Geografisk sted: Århus

Re: Conky

Indlæg af pollute »

Sidst jeg kørte Conky skulle man programere en forsinket opstart ellers virkede det ikke. :shock:

Her er linket :D

https://ubuntudanmark.dk/forum/viewtopic.php?f=3&t=12530


Her er en sjov Conky :D

http://www.upubuntu.com/2012/06/spice-up-your-desktop-with-bionic-conky.html
Min computer er en Acer Predator G3610