mirror of
				https://github.com/arcan1s/awesome-widgets.git
				synced 2025-10-29 20:33:42 +00:00 
			
		
		
		
	
			
				
					
						
					
					c34e569603d213d0a10fb9c800f210de65af420a
				
			
			
		
	pytextmonitor
Information
PyTextMonitor is a minimalistic Plasmoid script written on Python2. It looks like widgets in awesome-wm.
Configuration
For edited output you must open Settings window and setup output format in lines:
- label $time- time in default format. For example,fri Nov 6 04:48:01 2013
- label $isotime- time in iso format
- label $shorttime- time in short locale format
- label $longtime- time in long locale format
- label $custom- will enable custom time format
- label $dddd- weekday in long format (required$customflag)
- label $ddd- weekday in short format (required$customflag)
- label $dd- day (required$customflag)
- label $d- day without zero (required$customflag)
- label $MMMM- month in long format (required$customflag)
- label $MMM- month in short format (required$customflag)
- label $MM- month (required$customflag)
- label $M- month without zero (required$customflag)
- label $yyyy- year (required$customflag)
- label $yy- year in short format (required$customflag)
- label $hh- hours (required$customflag)
- label $h- hours without zero (required$customflag)
- label $mm- minutes (required$customflag)
- label $m- minutes without zero (required$customflag)
- label $ss- seconds (required$customflag)
- label $s- seconds without zero (required$customflag)
- label $uptime- uptime, ---d--h--m
- label $custom- will enable custom uptime format
- label $ds- uptime days (required$customflag)
- label $hs- uptime hours (required$customflag)
- label $ms- uptime minutes (required$customflag)
- label $cpu- total load cpu, %
- label $ccpu- load CPU for each core, %
- label $cpucl- average cpu clock, MHz
- label $ccpucl- cpu clock for each core, MHz
- label $temp- average temperature in system
- label $gpu- GPU usage, %.aticonfigornvidia-smimust be installed
- label $gputemp- GPU temperature.aticonfigornvidia-smimust be installed
- label $mem- usage memory, %
- label $memmb- usage memory, MB
- label $swap- swap, %
- label $swapmb- swap, MB
- label @@/@@(in hdd label) - mount point (/in example) usage, %. Separator for mount points list is;, for example@@/;/home;/mnt/global@@
- label @@/dev/sda@@(in hddtemp label) - HDD (/dev/sdain example) temperature.hddtempmust be installed
- label $net- download and upload speed, KB/s. You may specify network device: something like@@eth0@@
- label $netdev- current network device
- label $bat- battery charge, %. Battery device may be set below. File (/sys/class/power_supply/BAT0/capacityby default) must contain only battery charge in percent
- label $ac- status AC device. Return (*) if AC device is online or ( ) if offline. AC device may be set below. FIle (/sys/class/power_supply/AC/onlineby default) must contain1if AC is online
- label $artist- current song artist. One of supported music players must be installed
- label $album- current song album. One of supported music players must be installed
- label $progress- current song progress. One of supported music players must be installed (mpd does not support yet)
- label $time- current song duration. One of supported music players must be installed
- label $title- current song title. One of supported music players must be installed
Label order will changed if you change slider position. HTML tags in label work normally.
NOTE you don't may set to show $cpu in swap label for example. $cpu will work only in cpu label.
DataEngine configuration
You may edit DataEngine configuration. It is /usr/share/config/extsysmon.conf or $HOME/share/config/extsysmon.conf depending on the type of installation. Uncomment needed line and edit it.
TODO (wish) list
Tooltip (graphical information):
- cpu, %
- cpuclock, mhz
- memory, %
- swap, %
- network, %
Instruction
Dependencies
- kdebase-workspace
- kdebindings-python2
- lm_sensors (for definition temperature device)
- net-tools (for definition network device)
- sysstat (for notification)
Optional dependencies
ext-sysmon (for GPU, GPU temp, HDD temp and player labels):
- proprietary video driver
- hddtemp
- music player (amarok, mpd or qmmp)
Make dependencies
- automoc4
- cmake
Installation
- 
download sources 
- 
install mkdir build && cd build cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=`kde4-config --localprefix` ../ make && make installAlso you may install it to "/": mkdir build && cd build cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix` ../ make && sudo make install
Additional information
Links
Description
				
					Languages
				
				
								
								
									C++
								
								82.3%
							
						
							
								
								
									QML
								
								14.6%
							
						
							
								
								
									CMake
								
								2.8%
							
						
							
								
								
									Shell
								
								0.3%