Conky

From ArchWiki

Jump to: navigation, search
i18n
English
Italiano

Contents

[edit] Introduction

Conky is a system monitor software for the X Window System. It is available for Linux and FreeBSD. It is free software released under the terms of the BSD license. Conky is able to monitor many systems variables including CPU, memory, swap, disk space, temperature, top, upload, download, system messages, and much more. It is extremely configurable, however, the configuration can be a little hard to understand.Conky is a fork of torsmo.

[edit] Installation & Configuration

  • Conky is provided by pacman extra repository
# pacman -S conky
$ nano ~/.conkyrc

[edit] How to prevent flickering

Conky needs Double Buffer Extension (DBE) support from X server to prevent flickering, because it can't update window fast enough without it. It can be enabled in /etc/X11/xorg.conf with Load "dbe" line in Section "Module". To enable double-buffer check to have in ~/.conkyrc

double_buffer yes

[edit] Integration with Kdesktop

Conky with screenshot configuration generate problems with icons visualization. So there are some steps to follow.

  • Add these lines to ~/.conkyrc
own_window yes
own_window_type normal
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_page
  • check to have not this setting. If yes use a # or delete that line
minimum_size
  • To autostart conky create this link
$ ln -s /usr/bin/conky ~/.kde/Autostart/conkylink
  • Install feh
# pacman -S feh
  • Make this script to have transparency with desktop
$ nano -w ~/.kde/Autostart/fehconky 
#!/bin/bash
feh --bg-scale `dcop kdesktop KBackgroundIface currentWallpaper 1`

use --bg-center if you use a centered wallpaper

  • Make it executable
$ chmod +x ~/.kde/Autostart/fehconky
  • Optionally instead using a script you can add this line to the bottom of .conkyrc
$ nano ~/.conkyrc

${exec feh --bg-scale `dcop kdesktop KBackgroundIface currentWallpaper 1`}

[edit] External links

Wolfanger 03:12, 9 January 2008 (EST)

Personal tools