Sponsored Content
Special Forums UNIX Desktop Questions & Answers [LUA / DE] AwesomeWM & Vicious Widgets Post 302899129 by sea on Sunday 27th of April 2014 09:53:29 AM
Old 04-27-2014
Heyas, keept trying...
PHP Code:
    -- INFO SYSTEM --
    -- 
cat /etc/system-release uname -r
    
-- Fedora release 21 (Rawhide)
    -- 
3.15.0-0.rc2.git0.1.fc21.x86_64
    
    
-- Try1:
    -- 
URL:     http://xor0110.wordpress.com/2010/05/10/cpu-core-temperature-with-vicious-without-acpi/
    
-- Reason:      He refers to a filecat /sys/devices/platform/coretemp.0/temp1_input,
    --         
Folder is availablebut no file indicating to 'temp'eratur or heat.
    
    -- 
Try2:
    -- 
URL:     https://bbs.archlinux.org/viewtopic.php?id=123941
    
-- Reason:     Confirms Try1its just 'temp2_input' nowalso not available on my system
But figured that file was moved even more..
Code:
/sys/devices/platform/coretemp.0/temp1_input
vs
/sys/devices/platform/coretemp.0/hwmon/hwmon2/temp[0-5]_input

At first i though i need to change the widget...
But on closer look figure i could change my rc.lua too.

Solved by changing 'orginal & working for most':
Code:
vicious.register(thermwidget, vicious.widgets.thermal, "cpu $1 °C", 30, { "coretemp.0", "core"})

to working on fedora 21:
Code:
vicious.register(thermwidget, vicious.widgets.thermal, "cpu $1 °C", 30, { "coretemp.0/hwmon/hwmon2", "core"})

Hope this helps others too.
Cheerio Smilie

Last edited by sea; 04-27-2014 at 11:23 AM..
 

4 More Discussions You Might Find Interesting

1. AIX

create widgets using perl pk module

hi I am posting this for my friend... is it possible to create widgets using perl pk module in IBM AIX 5.3? They dont have a GUI so is it possible to create the above mentioned thing in a CUI? thanks! Sathish (1 Reply)
Discussion started by: sathumenon
1 Replies

2. Infrastructure Monitoring

Nagios widgets to create custom GUI

Hi, I need to create a custom GUI for Nagios, as follows: - no logo - including monitoring info (network status overview, host/service details & status) as well as some network google map I'm looking for Nagios widgets that can be easily integrated in our HTML page. Can you suggest if there... (0 Replies)
Discussion started by: CHK
0 Replies

3. Shell Programming and Scripting

[LUA-Awesome] Can i use $XDG_XY_DIR inside a lua script?

Heyas I'm a fan of AwesomeWM, but i had failed to learn lua, though, i'm quite satisfied with the cofniguration i have by now. Either way, i'd like to know if i could 'call' those XDG_XY_DIR variables which are located on my linux ~/.config/user-dirs.dirs. While to call scripts i use... (0 Replies)
Discussion started by: sea
0 Replies

4. Programming

[LUA] Set variables according to if file exists

Heya I'm using Awesome WM with the Vicious widget library. As i'm using multi boot, Win8, Fedora and Arch, i have my WM-Config shared accross my GNU/Linux installations. The regarding snippet: -- Functions -- Its just a workaround for an 'unstable' 'hwmon/hwmon' definition of Fedora21 -... (0 Replies)
Discussion started by: sea
0 Replies
All times are GMT -4. The time now is 07:52 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy