Find the answer to your Linux question:
Results 1 to 3 of 3
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    black font in conky [SOLVED]

    Hi, I was wondering how to set black fonts in conky, I'm pretty new to the software. This is my .conkyrc. I cobbled it together from a few different sources:

        background yes
        use_xft yes
        xftfont HandelGotD:size=9
        xftalpha 0.5
        update_interval 4.0
        total_run_times 0
        own_window yes
        own_window_type normal
        own_window_transparent yes
        own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
        double_buffer yes
        minimum_size 200 5
        maximum_width 220
        draw_shades no
        draw_outline no
        draw_borders no
        draw_graph_borders no
        default_color black
        default_shade_color black
        default_outline_color black
        alignment top_right
        gap_x 12
        gap_y 48
        no_buffers yes
        uppercase no
        cpu_avg_samples 2
        override_utf8_locale no
        $sysname $kernel on $machine
        Uptime $alignr $uptime
        Load $alignr $loadavg
        ${font Trebuchet MS:size=10}${time %H:%M}${font}${alignr}${time %a %d %b %Y}
        $processes processes ($running_processes running)
        CPU $alignr ${cpu cpu0}%
        ${cpubar cpu0}
        MEM $alignc $mem / $memmax $alignr $memperc%
        / $alignc ${fs_used /} / ${fs_size /} $alignr ${fs_free_perc /}%
        ${fs_bar /}
        /home $alignc ${fs_used /home} / ${fs_size /home} $alignr ${fs_free_perc /home}%
        ${fs_bar /home}
        swap $alignc $swap / $swapmax $alignr $swapperc%
        NAME $alignr PID    CPU
        ${top name 1} $alignr ${top pid 1} ${top cpu 1}
        ${top name 2} $alignr ${top pid 2} ${top cpu 2}
        ${top name 3} $alignr ${top pid 3} ${top cpu 3}
        ${top name 4} $alignr ${top pid 4} ${top cpu 4}
        ${top name 5} $alignr ${top pid 5} ${top cpu 5}
        ${top name 6} $alignr ${top pid 6} ${top cpu 6}
        ${top name 7} $alignr ${top pid 7} ${top cpu 7}
        ${top name 8} $alignr ${top pid 8} ${top cpu 8}
    Any help is appreciated, thanks in advance.
    Last edited by hail_santa; 10-03-2010 at 02:06 AM.

  2. #2
    Administrator MikeTbob's Avatar
    Join Date
    Apr 2006
    Check this tutorial, it has references to changing font colors if you scroll down far enough.
    Create a custum conky setup Linux Owns
    We also had a nice Conky thread going here.
    Enjoy and good Luck.
    I do not respond to private messages asking for Linux help, Please keep it on the forums only.
    All new users please read this.** Forum FAQS. ** Adopt an unanswered post.

    I'd rather be lost at the lake than found at home.

  3. #3
    The how to link was very informative. I played around until I realized all I had to do was redefine the xftalpha (4th line down) to 1.0 from 0.5... And now I can read the output against my black and white wallpaper! Thanks a lot
    Last edited by hail_santa; 10-03-2010 at 02:07 AM. Reason: typo


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts