information about ubuntu
authorJean-Philippe Orsini <jeanfi@gmail.com>
Mon, 13 Jun 2016 15:47:34 +0000 (17:47 +0200)
committerJean-Philippe Orsini <jeanfi@gmail.com>
Mon, 13 Jun 2016 15:47:34 +0000 (17:47 +0200)
psensor-www-update.sh
src/psensor/ubuntu.adoc [new file with mode: 0644]
www/psensor/nav.js
www/psensor/style.css
www/psensor/ubuntu.html [new file with mode: 0644]

index 40444b9..6dd761f 100755 (executable)
@@ -24,3 +24,4 @@ asciidoctor $OPTS $GIT_DIR/psensor/doc/faq.txt -D www/psensor
 asciidoctor $OPTS $GIT_DIR/psensor/doc/TODO.txt -D www/psensor
 
 asciidoctor $OPTS src/psensor/index.adoc -D www/psensor
 asciidoctor $OPTS $GIT_DIR/psensor/doc/TODO.txt -D www/psensor
 
 asciidoctor $OPTS src/psensor/index.adoc -D www/psensor
+asciidoctor $OPTS src/psensor/ubuntu.adoc -D www/psensor
diff --git a/src/psensor/ubuntu.adoc b/src/psensor/ubuntu.adoc
new file mode 100644 (file)
index 0000000..765e14f
--- /dev/null
@@ -0,0 +1,88 @@
+= Psensor Ubuntu Support
+:docinfo2:
+
+== Specific Features On Ubuntu
+
+Psensor has few specific features to improve the user experience on Ubuntu.
+
+image::screenshots/psensor-2011-06-16.png[]
+
+=== Application Indicator Support
+
+The Application Indicator is providing a quick access to sensor values and
+ settings. When a sensor temperature is too much hot, a desktop notification
+  bubble appears and the Application Indicator icon is changed to a red one.
+
+Psensor graph window can be closed and raised by using the ‘show’ menu. It is also possible to hide the graph window at startup.
+
+=== Integration With Unity Desktop Environment
+
+The Unity Launcher of Psensor can display the higher temperature.
+
+== How To Install Psensor On Ubuntu
+
+=== Stable Version
+
+For Ubuntu Karmic(9.10), Lucid(10.04), Maverick(10.10) and Natty(11.04) the recommended way is to use the stable PPA:
+
+----
+sudo apt-add-repository ppa:jfi/ppa
+sudo apt-get update
+sudo apt-get install psensor
+----
+
+Since Oneiric, Psensor is available in the official Ubuntu repository. The stable version of Psensor can be installed without adding any PPAs. The Ubuntu Software Center can be used, or the following command line:
+
+----
+sudo apt-get install psensor
+----
+
+=== Development Version
+
+The development version is providing the last features and should not have any major bugs. It can be installed by using a dedicated PPA with the following command lines:
+
+----
+sudo apt-add-repository ppa:jfi/psensor-unstable
+sudo apt-get update
+sudo apt-get install psensor
+----
+
+=== Daily Snapshot
+
+Each day a package is automatically built directly from the source repository. The purpose of this daily build is to test Psensor and report bugs.  It can be installed by using a dedicated PPA with the following command lines:
+
+----
+sudo apt-add-repository ppa:jfi/psensor-daily-trunk
+sudo apt-get update
+sudo apt-get install psensor
+----
+
+=== Installation From Source Archive
+
+Of course, it is also possible to compile and install Psensor from the source archive. There is no real benefit except to tune compilation settings or hack the source code.
+
+First, all build prerequisites must be installed:
+
+----
+sudo apt-get install autoconf automake gettext autopoint
+                     libgtk2.0-dev libgconf2-dev libnotify-dev
+                     libsensors4-dev help2man libcurl4-openssl-dev
+                     libjson0-dev libmicrohttpd-dev
+                     libgtop2-dev perl libunity-dev libgtop2-dev
+                     libappindicator-dev nvidia-settings
+----
+
+Downloads the source archive from: http://wpitchoune.net/psensor/files/.
+
+Extracts the content of the archive, and from the created directory, compiles psensor:
+
+----
+./configure
+make clean all
+----
+
+And finally install `psensor`:
+
+----
+sudo make install
+----
index ee905a3..ecc25ae 100644 (file)
@@ -1,4 +1,4 @@
 $( document ).ready(function() {
 $( document ).ready(function() {
-        $("#header").prepend("<nav><ul><li><a href='/'>Home</a></li><li><a href='/ppastats'>PPAstats</a></li><li><a href='/psensor'>psensor</a></li></ul></nav>");
+        $("#header").prepend("<nav><ul><li><a href='/'>News</a></li><li><a href='/ppastats'>PPAstats</a></li><li><a href='/psensor'>psensor</a></li></ul></nav>");
         console.log("END");
 });
         console.log("END");
 });
index 80161ea..49be7d3 100644 (file)
@@ -1,5 +1,6 @@
 nav li {
         float: left;
 nav li {
         float: left;
+        position: relative;
         list-style: none;
         margin-right: 1em;
 }
         list-style: none;
         margin-right: 1em;
 }
@@ -33,7 +34,12 @@ h1 {
         padding: 0;
 }
 
         padding: 0;
 }
 
-#content,#header,h2 {
+h2 {
+        padding: 0;
+        margin: 0;
+}
+
+#content,#header {
         margin: 1em;
         padding: 0;
 }
         margin: 1em;
         padding: 0;
 }
diff --git a/www/psensor/ubuntu.html b/www/psensor/ubuntu.html
new file mode 100644 (file)
index 0000000..fd76dd5
--- /dev/null
@@ -0,0 +1,148 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+<meta charset="UTF-8">
+<!--[if IE]><meta http-equiv="X-UA-Compatible" content="IE=edge"><![endif]-->
+<meta name="viewport" content="width=device-width, initial-scale=1.0">
+<meta name="generator" content="Asciidoctor 1.5.4">
+<title>Psensor Ubuntu Support</title>
+<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Open+Sans:300,300italic,400,400italic,600,600italic%7CNoto+Serif:400,400italic,700,700italic%7CDroid+Sans+Mono:400,700">
+<link rel="stylesheet" href="./asciidoctor.css">
+<link rel="stylesheet" href="style.css">
+<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js"></script>
+<script src="nav.js"></script>
+</head>
+<body class="article">
+<div id="header">
+<h1>Psensor Ubuntu Support</h1>
+</div>
+<div id="content">
+<div class="sect1">
+<h2 id="_specific_features_on_ubuntu">Specific Features On Ubuntu</h2>
+<div class="sectionbody">
+<div class="paragraph">
+<p>Psensor has few specific features to improve the user experience on Ubuntu.</p>
+</div>
+<div class="imageblock">
+<div class="content">
+<img src="screenshots/psensor-2011-06-16.png" alt="psensor 2011 06 16">
+</div>
+</div>
+<div class="sect2">
+<h3 id="_application_indicator_support">Application Indicator Support</h3>
+<div class="paragraph">
+<p>The Application Indicator is providing a quick access to sensor values and
+ settings. When a sensor temperature is too much hot, a desktop notification
+  bubble appears and the Application Indicator icon is changed to a red one.</p>
+</div>
+<div class="paragraph">
+<p>Psensor graph window can be closed and raised by using the ‘show’ menu. It is also possible to hide the graph window at startup.</p>
+</div>
+</div>
+<div class="sect2">
+<h3 id="_integration_with_unity_desktop_environment">Integration With Unity Desktop Environment</h3>
+<div class="paragraph">
+<p>The Unity Launcher of Psensor can display the higher temperature.</p>
+</div>
+</div>
+</div>
+</div>
+<div class="sect1">
+<h2 id="_how_to_install_psensor_on_ubuntu">How To Install Psensor On Ubuntu</h2>
+<div class="sectionbody">
+<div class="sect2">
+<h3 id="_stable_version">Stable Version</h3>
+<div class="paragraph">
+<p>For Ubuntu Karmic(9.10), Lucid(10.04), Maverick(10.10) and Natty(11.04) the recommended way is to use the stable PPA:</p>
+</div>
+<div class="listingblock">
+<div class="content">
+<pre>sudo apt-add-repository ppa:jfi/ppa
+sudo apt-get update
+sudo apt-get install psensor</pre>
+</div>
+</div>
+<div class="paragraph">
+<p>Since Oneiric, Psensor is available in the official Ubuntu repository. The stable version of Psensor can be installed without adding any PPAs. The Ubuntu Software Center can be used, or the following command line:</p>
+</div>
+<div class="listingblock">
+<div class="content">
+<pre>sudo apt-get install psensor</pre>
+</div>
+</div>
+</div>
+<div class="sect2">
+<h3 id="_development_version">Development Version</h3>
+<div class="paragraph">
+<p>The development version is providing the last features and should not have any major bugs. It can be installed by using a dedicated PPA with the following command lines:</p>
+</div>
+<div class="listingblock">
+<div class="content">
+<pre>sudo apt-add-repository ppa:jfi/psensor-unstable
+sudo apt-get update
+sudo apt-get install psensor</pre>
+</div>
+</div>
+</div>
+<div class="sect2">
+<h3 id="_daily_snapshot">Daily Snapshot</h3>
+<div class="paragraph">
+<p>Each day a package is automatically built directly from the source repository. The purpose of this daily build is to test Psensor and report bugs.  It can be installed by using a dedicated PPA with the following command lines:</p>
+</div>
+<div class="listingblock">
+<div class="content">
+<pre>sudo apt-add-repository ppa:jfi/psensor-daily-trunk
+sudo apt-get update
+sudo apt-get install psensor</pre>
+</div>
+</div>
+</div>
+<div class="sect2">
+<h3 id="_installation_from_source_archive">Installation From Source Archive</h3>
+<div class="paragraph">
+<p>Of course, it is also possible to compile and install Psensor from the source archive. There is no real benefit except to tune compilation settings or hack the source code.</p>
+</div>
+<div class="paragraph">
+<p>First, all build prerequisites must be installed:</p>
+</div>
+<div class="listingblock">
+<div class="content">
+<pre>sudo apt-get install autoconf automake gettext autopoint
+                     libgtk2.0-dev libgconf2-dev libnotify-dev
+                     libsensors4-dev help2man libcurl4-openssl-dev
+                     libjson0-dev libmicrohttpd-dev
+                     libgtop2-dev perl libunity-dev libgtop2-dev
+                     libappindicator-dev nvidia-settings</pre>
+</div>
+</div>
+<div class="paragraph">
+<p>Downloads the source archive from: <a href="http://wpitchoune.net/psensor/files/" class="bare">http://wpitchoune.net/psensor/files/</a>.</p>
+</div>
+<div class="paragraph">
+<p>Extracts the content of the archive, and from the created directory, compiles psensor:</p>
+</div>
+<div class="listingblock">
+<div class="content">
+<pre>./configure
+make clean all</pre>
+</div>
+</div>
+<div class="paragraph">
+<p>And finally install <code>psensor</code>:</p>
+</div>
+<div class="listingblock">
+<div class="content">
+<pre>sudo make install</pre>
+</div>
+</div>
+</div>
+</div>
+</div>
+</div>
+<div id="footer">
+<div id="footer-text">
+Last updated 2016-06-13 17:33:07 CEST
+</div>
+</div>
+</body>
+</html>
\ No newline at end of file