Conky all arch linux

Conky

This article or section needs language, wiki syntax or style improvements. See Help:Style for reference.

Conky is a system monitor software for the X Window System. It is available for GNU/Linux and FreeBSD. It is free software released under the terms of the GPL license. Conky is able to monitor many system 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.

Contents

Installation

Install the conky package. There are also alternative packages you can install from AUR with extra compile options enabled:

Some built in variables in conky require additional packages to be installed in order to be utilized, for example Hddtemp for hard drive temperature and mpd for music.

  • Conky Manager — Theme manager for Conky widgets. It provides options to start/stop, browse and edit Conky themes installed on the system.

https://teejeetech.com/conky-manager/ || conky-manager

Configuration

By default conky uses a configuration file located at

/.config/conky/conky.conf . You can print out an example configuration with:

Furthermore, you can create a default configuration file with the following command:

If you prefer to have a configuration dotfile in home, you can create a file elsewhere and tell conky to use it using arguments.

For example to tell conky to use a dotfile located in the user’s home directory:

Additional example configuration files are available in the upstream wiki article.

When editing your config file while conky is running, conky will update with the new changes every time you write to the file.

See the SourceForge page for a complete reference for all Conky objects/variables; these are also listed in conky(1) .

Dual screen

When using a dual screen configuration, you will need to play with a few options to place your conky window where you want it on the desktop.

By adjusting gap_x , let us say you are running a 1680×1050 pixels resolution and you want the window on middle top of your left monitor, you will use:

Читайте также:  Блютуз не отправляет файлы windows 10

The alignment option is self-explanatory, the gap_X is the distance, in pixels, from the left border of your screen.

xinerama_head is an alternative useful option, the following will place the conky window at the top right of the second screen:

Config file syntax changed

Since Conky 1.10, configuration files have been written with a new Lua syntax, like so:

Some examples below may still use the old syntax, which looks like this:

A Lua script is available to convert from the old syntax to the new Lua syntax here.

Fonts

For displaying Unicode pictures and emoji with conky you will need a font that supports this and then configure conky to use the font with the Unicode you want to display. For example:

Symbolic Fonts

Symbolic fonts are also very commonly used in more decorated conky configurations, some of the more popular ones include;

Autostart

Conky can be started automatically several different ways, as outlined in «Autostarting». Choose the one that works best for your window manager/desktop environment.

Conky has a configuration setting which will tell it to fork to the background. This may be desirable for some autostarting setups.

If you use a graphical desktop environment and wish to use a conky.desktop file for autostarting, use the following:

The pause=5 parameter delays conky’s drawing for 5 seconds at startup to make sure that the desktop had time to load and is up.

Troubleshooting

These are known issues people have with conky and their solutions.

Conky starts and does not display anything on the screen

First check for syntax errors in your configuration file’s text variable. Then double check that your user has permission to run every command inside your configuration file and that all needed packages are installed.

Transparency

Conky supports two different types of transparency. Pseudo-transparency and real transparency that requires a composite manager to be installed and running. If you enable real transparency and do not have a composite manager running your conky will not be alpha transparent with transparency enabled for fonts and images as well as the background.

Pseudo-transparency

Pseudo-transparency is enabled by default in conky. Pseudo-transparency works by copying the background image from the root window and using the relevant section as the background for conky. Some window managers set the background wallpaper to a level above the root window which can cause conky to have a grey background. To fix this issue you need to set it manually. An example with feh is:

Читайте также:  Arousor vst mac os

Enable real transparency

To enable real transparency, you must have a composite manager running and the following lines added to .conkyrc inside the conky.config array:

If window type «desktop» does not work try changing it to normal . If that does not work try the other options: dock , panel , or override instead.

Semi-transparency

To achieve semi-transparency in real transparency mode, the following setup must be used in the conky configuration file:

To reduce the transparency of the conky window, one can increase the value of own_window_argb_value towards 255.

Do not minimize on Show Desktop

Using Compiz: If the ‘Show Desktop’ button or key-binding minimizes Conky along with all other windows, start the Compiz configuration settings manager, go to «General Options» and uncheck the «Hide Skip Taskbar Windows» option.

If you do not use Compiz, try editing conky.conf and adding/changing the following line:

Refer to conky(1) man page for the exact differences. But the latter option enables you to snap windows to conkys border using resize key-binds in e.g. Openbox, which the first one does not.

Integrate with GNOME Shell

Some have experienced problems with conky showing up under GNOME.

Add these lines to conky.conf :

Prevent flickering

This article or section needs expansion.

Источник

GiorgioAresu / Conky Arch

# Size and position
alignment top_right
gap_x 5
gap_y 30
minimum_size 250 738
maximum_width 250
# Appearance and font
border_margin 4
border_width 2
default_color white
default_outline_color black
default_shade_color black
draw_borders no
draw_graph_borders yes
draw_outline no
draw_shades no
override_utf8_locale yes
own_window_argb_visual yes
own_window_argb_value 200
own_window_transparent no
stippled_borders 0
uppercase no
use_spacer left
use_xft yes
xftfont Bitstream Vera Sans Mono-7
xftalpha 1
# Properties and settings
background yes
double_buffer yes
no_buffers yes
out_to_console no
own_window yes
own_window_type normal
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
# Refresh settings
cpu_avg_samples 2
net_avg_samples 2
update_interval 2
TEXT
##
## STATUS INFO
##
$$$nodename$
$Kernel: $$kernel [$machine]
$Uptime: $$uptime
$Battery: $$$$$$else
$Remaining: $$$endif
$
##
## SYSTEM INFO
##
$$SYSTEM:$
$CPU Temp: $$°/$°$$CPU Freq:$$$freq_g GHz
$CPU Usage: $$$ $$$cpu% $
$
$GPU Temp: $$°$$GPU Profile:$$$
$RAM Usage:$$$$/$$$% $
$SWAP Usage:$$$$/$$$% $
# $SWAP Usage:$$$$/$$$% $
$
##
## PROCESSES INFO
##
$$PROCESSES:$
$Processes: $$processes$$Running:$$$running_processes
#### PROCESSES BY CPU USAGE
$NAME$PID â–¼CPU% MEM%
$$$$ $ $
$$$$ $ $
$$$$ $ $
$$$$ $ $
#### PROCESSES BY MEMORY USAGE
$NAME$PID CPU% â–¼MEM%
$$$$ $ $
$$$$ $ $
$$$$ $ $
$$$$ $ $$
$
##
## DISKS AND PARTITIONS INFO
##
$$DISK:$
#### ROOT PARTITION INFO
$/:$$$$/$$$% $$
$Read:$$$$$Write:$$$
$ $
#### HOME PARTITION INFO
$/home:$$$$/$$$% $$
$Read:$$$$$Write:$$$
$ $
$$
##
## NETWORK INFO
##
$$NETWORK:$
$TCP Connections: $$$$External IP: $$
#### ETHERNET CONNECTION INFO
$ $enp2s0:$$$$/$
$Down:$$$$$Up:$$$
$ $
$Address: $$
$endif#
#### WI-FI CONNECTION INFO
$ $wlp4s0:$$$$/$
$Down:$$$$$Up:$$$
$ $
$Address: $$$$
$SSID: $$$$% $
$endif#
#### PPP CONNECTION INFO
$ $ppp0:$$$$/$
$Down:$$$/s$$Up:$$$/s
$ $
$Address: $$
$endif
$endif

You can’t perform that action at this time.

You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.

Источник

Conky all arch linux

It is extremely configurable, however, the configuration can be a little hard to understand. Conky is a fork of torsmo.

Official sites:
http://conky.sourceforge.net/

Installation on Archlinux:

When you start conky, you will see the default conky like this:

or you can directly create .conkyrc file

For example if you want to apply this conkyrc:
http://conky.sourceforge.net/conkyrc-jc

Just save as .conkyrc directly to your home, then restart conky. Here for the result.

That’s the basic configuration. For more config file/theme you can visit:
http://conky.sourceforge.net/screenshots.html
https://bbs.archlinux.org/viewtopic.php?id=39906

For extended version of conky you can install it from aur / pacmanxg4
conky-lua, conky-cli, conky-nvida, conky-lua-nv
you need install toluapp first from aur, before installing conky with lua.

Example for applying config with lua files:
http://bigrza.deviantart.com/art/Suuuuny-conky-153331007

Download zip files, extract it. then copy conkyrc & text.lua to home, then rename .conkyrc

Done, then change wallpaper that included with zip.

How to get transparent work on fluxbox, icewm, etc.

And set autostart on your desktop environment/wm
but for some config files, it’s work perfectly without xcompmgr

Here’s my result, the text is not place correctly, because my resolution is not same as the author. :3

Источник

Читайте также:  Установка драйверов для видеокарты linux mint
Оцените статью