--- hastr: true layout: project title: Awesome Widgets short: awesome-widgets tags: python, kde, qt, linux, system, awesome hasgui: true hasdocs: false developers: - Evgeniy Alekseev - Ernesto Avilés Vzqz (Spanish translation) - Mermouy (French translation) - underr (Brazillian Portuguese translation) - Виктор Слободян (Ukrainian translation) - Lemueler (Chinese translation) license: GPLv3 links: - Plasmoid page on kde-look.org - DataEngine page on kde-look.org - Archlinux AUR package - Migration to version 2.0 - Scripts and bars ---

Information

A collection of minimalistic Plasmoids written on CPP. It looks like widgets in Awesome WM. My plasmoid is highly and easily configurable and does not clutter your KDE system. Also this packages has an additional DataEngine written on CPP (old version was written on Python2).

NOTE: LOOKING FOR TRANSLATORS!

Developers and contributors

License

Changelog

CHANGELOG

Installation

Instruction

Dependencies

I want note that all were tested on latest version of dependencies.

How to use

Open your Plasma widgets and select Awesome Widget.

Tips & tricks

You may use different colors for labels. Just put label text into html code. See issue for more details.

Numbering of elements of temperature, HDD usage, HDD speed, HDD temperature refers to elements order from second tab (Advanced settings). You should select an item to the required listWidget first. And the first selected element in the listWidget will be $tag0. See issue for more details.

Configuration

DataEngine configuration

You may edit DataEngine configuration. It is /usr/share/config/extsysmon.conf or $HOME/.kde4/share/config/extsysmon.conf depending on the type of installation. Uncomment needed line and edit it.

DataEngine options

ACPIPATH Path to ACPI devices. Default is /sys/class/power_supply/.
GPUDEV Set GPU device. May be nvidia (for nVidia), ati (for ATI Radeon), disable or auto. Default is auto.
HDDDEV Set block device for hddtemp comma separated or use all. disable will disable HDD temperature monitor. Default is all.
HDDTEMPCMD A command which will be run for hddtemp DataEngine. Default is sudo hddtemp.
MPDADDRESS MPD host address. Default is localhost.
MPDPORT MPD host port. Default is 6600.
PKGCMD Commands to run for package manager, comma separated.
PKGNULL Number of null lines for commands, comma separated.
PLAYER Set music player. Supported players are amarok, clementine, mpd, qmmp.

Widget configuration

For edited output you must open Settings window and setup output format. HTML tags work normally.

Available flags are in the table below.
NOTE The numbering of all arrays in variables starts at 0.

Time $time Time in default format. For example, fri Nov 6 04:48:01 2013.
$isotime Time in ISO format.
$shorttime Time in short locale format.
$longtime Time in long locale format.
$ctime Will enable custom time format.
Uptime $uptime System uptime, ---d--h--m.
$cuptime Will enable custom uptime format.
CPU label $cpu Total load CPU, %, -----.
$cpuN Load CPU for core N, %, -----.
CPU clock $cpucl Average CPU clock, MHz, ----.
$cpuclN CPU clock for core N, MHz, ----.
Temperature $tempN Temperature for device N, ----. For example, $temp0.
Fan $fanN Fan speed for device N, ----. For example, $fan0.
GPU $gpu GPU usage, %, -----. aticonfig or nvidia-smi must be installed.
GPU temperature $gputemp GPU temperature, ----. aticonfig or nvidia-smi must be installed.
Memory $mem Memory usage, %, -----.
$memmb Memory usage, MB, -----.
$memgb Memory usage, GB, ----.
$memfreemb Free memory, MB, -----.
$memfreegb Free memory, GB, ----.
$memtotmb RAM, MB, -----.
$memtotgb RAM, GB, ----.
$memusedmb Used and cached memory, MB, -----.
$memusedgb Used and cached memory, GB, ----.
Swap $swap Swap usage, %, -----.
$swapmb Swap usage, MB, -----.
$swapgb Swap usage, GB, ----.
$swapfreemb Free swap, MB, -----.
$swapfreegb Free swap, GB, ----.
$swaptotmb Swap, MB, -----.
$swaptotgb Swap, GB, ----.
HDD usage $hddN Usage for mount point N, %, -----. For example $hdd0.
$hddmbN Usage for mount point N, MB, -----. For example $hddmb0.
$hddgbN Usage for mount point N, GB, -----. For example $hddgb0.
$hddfreembN Free space for mount point N, MB, -----. For example $hddfreemb0.
$hddfreegbN Free space for mount point N, GB, -----. For example $hddfreegb0.
$hddtotmbN Total size of mount point N, MB, -----. For example $hddtotmb0.
$hddtotgbN Total size of mount point N, GB, -----. For example $hddtotgb0.
HDD speed $hddrN Read speed of disk N, KB/s, -----. For example $hddr0.
$hddwN Write speed of disk N, KB/s, -----. For example $hddw0.
HDD temperature $hddtempN Temperature for HDD N, ----. For example $hddtemp0. hddtemp must be installed.
Network $down Download speed, KB/s, ----.
$up Upload speed, KB/s, ----.
$netdev Current network device.
Battery $bat Average battery charge, %, ---.
$batN Battery N charge, %, ---.
$ac Status of AC device. Returns (*) if AC device is online or ( ) if offline.
Music player $album Current song album. One of supported music players must be installed.
$artist Current song artist. One of supported music players must be installed.
$duration Current song duration. One of supported music players must be installed.
$progress Current song progress. One of supported music players must be installed.
$title Current song title. One of supported music players must be installed.
Process $ps List of running processes comma separated.
$pscount Number of running processes.
$pstotal Total number of processes.
Package manager $pkgcountN Number of packages, which available to upgrade for command N.
Custom $customN Get output from custom command N. For example $custom0.
Desktop $desktop Name of the current desktop.
$ndesktop Number of the current desktop.
$tdesktops Total number of desktops.

Advanced settings

Enable background: Uncheck to disable default background and set transparent one.

Enable popup: Uncheck box if you do not use popup messages.

Custom time format:

$dddd Weekday in long format.
$ddd Weekday in short format.
$dd Day.
$d Day without zero.
$MMMM Month in long format.
$MMM Month in short format.
$MM Month.
$M Month without zero.
$yyyy Year.
$yy Year in short format.
$hh Hours.
$h Hours without zero.
$mm Minutes.
$m Minutes without zero.
$ss Seconds.
$s Seconds without zero.

Custom uptime format:

$dd Uptime days.
$d Uptime days without zero.
$hh Uptime hours.
$h Uptime hours without zero.
$mm Uptime minutes.
$m Uptime minutes without zero.

Temperature units: Select units for temperature. Available units are Celsius, Farenheit, Kelvin, Reaumur, cm^-1, kJ/mol, kcal/mol.

Temperature devices: List of devices, which will be observed in temperature label (combo box items come from sensors). List widget is editable.

Mount points: List of mount points, which will be observed in HDD label (combo box items come from mount). List widget is editable.

HDDs (speed): List of hard disk devices, which will be observed in HDD speed label (combo box items come from DataEngine). List widget is editable.

HDDs (temperature): List of hard disk devices, which will be observed in HDD temperature label (combo box items come from find). List widget is editable.

Network device: Use specified device as active. This option will disable auto select network device.

AC online tag: Line which will be shown when AC is online. Default is (*).

AC offline tag: Line which will be shown when AC is offline. Default is ( ).

Check updates: Check updates on load. Default is true.

Tooltips

Since version 1.7.0 CPU, CPU clock, memory, swap, network and battery support graphical tooltip. To enable them just make the needed checkboxes a fully checked. The number of stored values can be set in the tab. Colors of graphs are configurable too.

DataEngine settings

ACPI path: Path to ACPI devices. The file /sys/class/power_supply/.

GPU device: Select one of supported GPU devices. auto will enable auto selection, disable will disable all GPU monitors. Default is auto.

HDD: Select one of HDDs for HDD temperature monitor. all will enable monitor for all devices, disable will disable HDD temperature monitor. Default is all.

hddtemp cmd: Type a command which will be run for hddtemp DataEngine. Default is sudo hddtemp.

MPD address: Address of MPD server. Default is localhost.

MPD port: Port of MPD server. Default is 6600.

MPRIS: Select MPRIS player name. auto will enable auto selection. Default is auto.

Package manager: List of commands, which will be run. Number of null lines is a number of unneeded lines. Defaults are:

Distro Command Number
Arch pacman -Qu 0
Debian apt-show-versions -u -b 0
Ubuntu aptitude search '~U' 0
Fedora yum list updates 3
FreeBSD pkg_version -I -l '<' 0
Mandriva urpmq --auto-select 0

Music player: Select one of supported music playes for player label.

Desktop Panel

Since version 1.11.0 it provides a minimalistic panel for monitoring on desktops written on C++. And yes, it looks like the same panel in Awesome.

Desktop panel configuration

Enable background: Uncheck to disable default background and set transparent one.

Vertical layout: Use vertical layout instead of horizontal one.

Enable tooltip: Check to enable preview on selected destkop. Default is true. Also you show specify type of preview, default is Windows.

Tooltip width: Using tooltip width in px. Default is 200px.

Color of window borders: Color of window contours which are used in "Contours preview". Default is #ffffff.

Mark: Type symbol (or string) which will be shown if this desktop is active now.

Pattern tags

$mark Show mark if this desktop is active.
$fullmark The same as $mark, but shows empty space too.
$name Name of the desktop.
$number Number of the desktop.
$total Total number of desktops.

Panel toggle: Select panels which will be set hidden on hotkey.

Graphical user interface

Screenshots

{% assign scrdesc = "Widget (clickable)" %} {% assign scrname = "awesomewidgets_widget" %} {% include prj_scr.html %} {% assign scrdesc = "Configuration window" %} {% assign scrname = "awesomewidgets_config_01" %} {% include prj_scr.html %} {% assign scrdesc = "Configuration window" %} {% assign scrname = "awesomewidgets_config_02" %} {% include prj_scr.html %} {% assign scrdesc = "Configuration window" %} {% assign scrname = "awesomewidgets_config_03" %} {% include prj_scr.html %} {% assign scrdesc = "Configuration window" %} {% assign scrname = "awesomewidgets_config_04" %} {% include prj_scr.html %} {% assign scrdesc = "Configuration window" %} {% assign scrname = "awesomewidgets_config_05" %} {% include prj_scr.html %} {% assign scrdesc = "Tooltips" %} {% assign scrname = "awesomewidgets_tooltips" %} {% include prj_scr.html %}