View previous topic :: View next topic |
Author |
Message |
C1REX l33t
Joined: 02 Jan 2004 Posts: 774 Location: Poland/UK
|
|
Back to top |
|
|
shpaq n00b
Joined: 19 Jun 2007 Posts: 9 Location: Warszawa, Poland
|
Posted: Sat Sep 13, 2008 4:23 pm Post subject: |
|
|
Conky samo z siebie nie obsługuje grafik. Musisz znaleźć czcionkę, w której są obrazki zamiast klasycznych liter. |
|
Back to top |
|
|
C1REX l33t
Joined: 02 Jan 2004 Posts: 774 Location: Poland/UK
|
Posted: Sat Sep 13, 2008 11:33 pm Post subject: |
|
|
Trochę off-top, ale gdzie wrzucić i co zrobić, by system widział zassane czcionki spoza portage?
Edit: Aż dziw bierze, że o to zapytałem. Wrzucenie do /usr/share/fonts wykrywa wszystko automatycznie.
Zna ktoś jakiś prosty sposób do przeglądania dostępnych w systemie czcionek?
EDIT2:
OK. Poradziłem sobie.
Tu mój conky z "grafiką".
http://img67.imageshack.us/my.php?image=desktopgs1.jpg _________________ CLICK HERE to help move gentoo up on distrowatch.
If you like Gentoo you can thank devs here - https://www.gentoo.org/donate/ |
|
Back to top |
|
|
mistix Apprentice
Joined: 27 Dec 2006 Posts: 247 Location: Gliwice / Poland
|
Posted: Sun Sep 14, 2008 10:02 am Post subject: |
|
|
Może spróbuj adesklet ? _________________ Cuda się zdarzają. Co potwierdzi każdy programista. |
|
Back to top |
|
|
SlashBeast Retired Dev
Joined: 23 May 2006 Posts: 2922
|
Posted: Sun Sep 14, 2008 11:46 am Post subject: |
|
|
Poka poka .conkyrc. |
|
Back to top |
|
|
C1REX l33t
Joined: 02 Jan 2004 Posts: 774 Location: Poland/UK
|
Posted: Sun Sep 14, 2008 3:02 pm Post subject: |
|
|
Code: | # set to yes if you want Conky to be forked in the background
background yes
cpu_avg_samples 2
net_avg_samples 2
out_to_console no
# Use Xft?
use_xft yes
# Xft font when Xft is enabled
xftfont speculo-9
own_window_transparent no
own_window_colour hotpink
# Text alpha when using Xft
xftalpha 1
on_bottom yes
# mail spool
mail_spool $MAIL
# Update interval in seconds
update_interval 1
# 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 5 5
#maximum_width 150
# Draw shades?
draw_shades no
# Draw outlines?
draw_outline no
# Draw borders around text
draw_borders no
# Stippled borders?
stippled_borders 0
# border margins
border_margin 10
# border width
border_width 2
# Default colors and also border colors
default_color white
default_shade_color white
default_outline_color white
# Text alignment, other possible values are commented
alignment top_right
# Gap between borders of screen and text
gap_x 20
gap_y 25
# Add spaces to keep things from moving about? This only affects certain objects.
use_spacer yes
# Subtract file system buffers from used memory?
no_buffers yes
# set to yes if you want all text to be in uppercase
uppercase no
TEXT
${font OpenLogos:regular:size=30}${color #0077ff}Q ${font qubix:regular:size=35}${color #5da5d3}Gentoo
${color white}${font monospace:size=10}[${color #00ff00}HP Pavilion dv9702ea${color white}][${color red}$nodename${color white}] -
${font monofur:size=10}${color #0077ff}$sysname $kernel on ${color #7f8ed3}$machine
${color #0077ff}Uptime: ${color #7f8ed3} $uptime
${color white}${hr 2}
${color #0077ff}CPU ${cpu}%
${color #0077ff}${cpugraph 25 ff0000 ff00ff}
${color #e9c703}Core 1: ${color #7f8ed3}${freq 1} MHz $alignc ${cpu cpu1}% ${cpubar 5, 200 cpu1}
${color #e9c703}Core 2: ${color #7f8ed3}${freq 2} MHz $alignc ${cpu cpu2}% ${cpubar 5, 200 cpu2}
${color white}${hr 2}
${color #0077ff}RAM :${color #7f8ed3} $mem/$memmax - $memperc% ${membar}
${color #0077ff}Swap:${color #7f8ed3} $swap/$swapmax - $swapperc% ${swapbar}
${color #0077ff}procesy: ${color #7f8ed3}$processes ${color #0077ff}aktywne: ${color #7f8ed3}$running_processes
${color #ffccaa}Net:${color #7f8ed3}eth0
${color #0077ff}DOWN: ${color #7f8ed3}${downspeed eth0} k/s ${color #0077ff}UP: ${color #7f8ed3}${upspeed eth0} k/s
${color #0077ff}${downspeedgraph eth0 25,100 ff0000 0000ff} ${color #0077ff}${upspeedgraph eth0 25,100 0000ff ff0000}
${color #0077ff}TOTAL: ${color #7f8ed3}${totaldown eth0} ${color #0077ff}TOTAL: ${color #7f8ed3}${totalup eth0}
${font WC Rhesus A Bta:regular:size=20}abcdefghijkl${font monofur:regular:size=10}
${color #ffccaa}Partycje-
${color #0077ff}root : ${color #7f8ed3}${fs_used /}/${fs_size /} (${fs_free /} ${fs_free_perc /}% free)
${fs_bar /}
${color #0077ff}home : ${color #7f8ed3}${fs_used /home/c1rex}/${fs_size /home/c1rex} (${fs_free /home/c1rex} ${fs_free_perc /home/c1rex}% free)
${fs_bar /home/c1rex}
${color #0077ff}sda6 : ${color #7f8ed3}${fs_used /mnt/sda6}/${fs_size /mnt/sda6} (${fs_free /mnt/sda6} ${fs_free_perc /mnt/sda6}% free)
${fs_bar /mnt/sda6}
${color #0077ff}sda7 : ${color #7f8ed3}${fs_used /mnt/sda7}/${fs_size /mnt/sda7} (${fs_free /mnt/sda7} ${fs_free_perc /mnt/sda7}% free)
${fs_bar /mnt/sda7}
${color #ffccaa}Procesy.
${color #CCCCCC}Zużycie PID CPU% MEM%
${color #ddaa00} ${top name 1} ${top pid 1} ${top cpu 1} ${top mem 1}
${color #7f8ed3} ${top name 2} ${top pid 2} ${top cpu 2} ${top mem 2}
${color #7f8ed3} ${top name 3} ${top pid 3} ${top cpu 3} ${top mem 3}
${color #7f8ed3} ${top name 4} ${top pid 4} ${top cpu 4} ${top mem 4}
${color #7f8ed3} ${top name 5} ${top pid 5} ${top cpu 5} ${top mem 5}
${color #ffccaa}Zużycie RAMu
${color #ddaa00} ${top_mem name 1} ${top_mem pid 1} ${top_mem cpu 1} ${top_mem mem 1}
${color #7f8ed3} ${top_mem name 2} ${top_mem pid 2} ${top_mem cpu 2} ${top_mem mem 2}
${color #7f8ed3} ${top_mem name 3} ${top_mem pid 3} ${top_mem cpu 3} ${top_mem mem 3}
|
Config jest sklejony z kilku innych konfigów + kilka własnych edycji.
Jeszcze tylko wielki zegar chcę dodać na środku pulpitu. _________________ CLICK HERE to help move gentoo up on distrowatch.
If you like Gentoo you can thank devs here - https://www.gentoo.org/donate/ |
|
Back to top |
|
|
C1REX l33t
Joined: 02 Jan 2004 Posts: 774 Location: Poland/UK
|
|
Back to top |
|
|
SlashBeast Retired Dev
Joined: 23 May 2006 Posts: 2922
|
|
Back to top |
|
|
C1REX l33t
Joined: 02 Jan 2004 Posts: 774 Location: Poland/UK
|
Posted: Sun Sep 14, 2008 9:01 pm Post subject: |
|
|
To można mieć dwa conky z różnym configiem? _________________ CLICK HERE to help move gentoo up on distrowatch.
If you like Gentoo you can thank devs here - https://www.gentoo.org/donate/ |
|
Back to top |
|
|
SlashBeast Retired Dev
Joined: 23 May 2006 Posts: 2922
|
Posted: Sun Sep 14, 2008 9:30 pm Post subject: |
|
|
no a od czego masz przełącznik -c ? Kiedyś miałem 4 conky naraz gdzie 3 pozostałe robiły za coś w stylu roottail. |
|
Back to top |
|
|
C1REX l33t
Joined: 02 Jan 2004 Posts: 774 Location: Poland/UK
|
Posted: Mon Sep 15, 2008 5:15 pm Post subject: |
|
|
odpalam conky
Code: | conky && conky -c .conkyrc2 |
i mam dwa, ale migają i zajmują cały ram.
O co chodzi i jak temu zaradzić? _________________ CLICK HERE to help move gentoo up on distrowatch.
If you like Gentoo you can thank devs here - https://www.gentoo.org/donate/ |
|
Back to top |
|
|
SlashBeast Retired Dev
Joined: 23 May 2006 Posts: 2922
|
Posted: Mon Sep 15, 2008 6:11 pm Post subject: |
|
|
u mnie nic nie migało. dbe masz odpale w Xorg.conf i double_buffer w conkyrc? |
|
Back to top |
|
|
C1REX l33t
Joined: 02 Jan 2004 Posts: 774 Location: Poland/UK
|
Posted: Mon Sep 15, 2008 6:45 pm Post subject: |
|
|
Mam double buffer, bo bez tego nawet jeden conky mi miga.
W tym wypadku w momencie, kiedy się odświeża.
EDIT:
own_window yes
own_window_transparent yes
own_window_type override
double_buffer yes
Te 4 wpisy razem rozwiązują problemy z miganiem. _________________ CLICK HERE to help move gentoo up on distrowatch.
If you like Gentoo you can thank devs here - https://www.gentoo.org/donate/ |
|
Back to top |
|
|
|