DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD Packages and Ports

OpenBSD Packages and Ports Installation and upgrading of packages and ports on OpenBSD.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 13th November 2014
Oficre_josef Oficre_josef is offline
Port Guard
 
Join Date: Nov 2014
Posts: 26
Default Temperature in i3 wm?

Oh, i got it, ty a lot, will try to write something to developers

One unrelated question please.
I use i3 wm, in custom i3status conf
Code:
cpu_temperature 0 {
        format = "T: %degrees C"
        path = ""
}
And its give me a lot of numbers in output, what should i put in path to get only hw.sensors.cpu0.temp0 for example?
( path = "/sys/devices/platform/coretemp.0/temp1_input" this path in man )
Reply With Quote
  #2   (View Single Post)  
Old 13th November 2014
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 6,974
Default

Quote:
Originally Posted by Oficre_josef View Post
One unrelated question please.
This forum's admins recommend that unrelated questions/discussions go in separate threads, it makes searches here much more effective. Don't worry, I'm sure ocicat or one of the other admins will separate this last question and any answers to a new thread.
Quote:
I use i3 wm...
I've never used i3 or any other tiling window manager before. I've just installed it (and am using it now to reply) and when I have some time I see if I can manipulate sensor information on this machine and perhaps give you some guidance. Unless someone else replies before I have the opportunity. Which happens often. Even more frequently, people reply after I do with much better answers.
Reply With Quote
  #3   (View Single Post)  
Old 13th November 2014
ocicat ocicat is offline
Administrator
 
Join Date: Apr 2008
Posts: 3,304
Default

Quote:
Originally Posted by Oficre_josef View Post
One unrelated question please.
Welcome!

We do attempt to implement some level of continuity in thread discussions, so this new topic has been separated from its parent thread:

http://daemonforums.org/showthread.p...2012#post52012
Reply With Quote
  #4   (View Single Post)  
Old 14th November 2014
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 6,974
Default

Quote:
Originally Posted by Oficre_josef View Post
I use i3 wm, in custom i3status conf
Code:
cpu_temperature 0 {
        format = "T: %degrees C"
        path = ""
}
And its give me a lot of numbers in output...
OK. I've had a little time to look at this.

When you installed the package for x11/i3status, which installs automatically as a run time dependency of x11/i3, this message appears which you may have missed:
Code:
Information for inst:i3status-2.8p0

Install notice:
Before running i3status, a configuration file needs to be created.
Copy the provided /usr/local/share/examples/i3status/i3status.conf
to ~/.i3status.conf and modify as necessary.
You can get this message to appear again with $ pkg_info -M i3status. If you leave out the package name with that command, you will see any admin messages for all installed packages that have them.

That example file contains these settings for temperature monitoring:
Code:
order += "cpu_temperature cpu0" 
order += "cpu_temperature acpitz0"

.
.
.

cpu_temperature cpu0 {
         format = "C: %degrees C"
         path = "cpu0"
}

cpu_temperature acpitz0 {
        format = "TZ: %degrees C" 
}
Try these, and see if they work for your Thinkpad. They work on my little Asus netbook.

I'm enjoying i3. Thanks!
Reply With Quote
  #5   (View Single Post)  
Old 14th November 2014
Oficre_josef Oficre_josef is offline
Port Guard
 
Join Date: Nov 2014
Posts: 26
Default

TY a lot, i thought somewhere is some examples, and even tried "find " command, but its easier than I thought
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
temperature readings bogd OpenBSD General 2 1st January 2009 02:59 AM
sysctl and cpu information and temperature neurosis FreeBSD General 11 22nd October 2008 09:16 PM
Why does smartctl show my temperature threshold is 0? PeterSteele FreeBSD General 0 25th August 2008 03:33 PM


All times are GMT. The time now is 01:39 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick