I am using Ubuntu GNOME 16.04 LTS. Today I tried to install conky with the commands:  sudo-apt get conky sudo-apt get conky-manager   But when I open the manager and select something, it always has the problem shown in the picture    I also tried:  sudo apt-get install conky-all   I've tried this , but it does not work for me.
I have this strange problem with conky. It doesn't show properly on the desktop:    I've tried everything from editing conky widget file to reinstalling conky and conky manager (v.2.4). Who knows how to fix it?
How do I uninstall xcode 5 command line tools? Why did Obi-Wan allow Leia to get adopted by such a high profile figure? How do I install Java? How do I install Java, including in my browser, so websites with Java work? I have an object already created in blender, a tree, or a human, or a pipe.. and I need this to be drilled with multiple holes.   The holes are painted in an image, that is, it is an image that has a repeating an images pattern (they can be circles, squares, or any form).  Here are some examples for drilling-pattern: On September 29th, I created the  tag for  Today, while checking the tag description, I saw that the  seems to be .  Why is that? Why has the Community user "stolen" the spot as author of the tag? Add Fake Display when No Monitor is Plugged In I have an Ubuntu 14.04 server that has no external monitor connected.  I use NoMachine to remote control the machine.  When I do so, the Unity/Gnome interface doesn't see any monitors connected, so I can only use 800x600 when connecting with NoMachine.  If I plug in a monitor, I can set the resolution to whatever size the NoMachine window is on the remote computer.  Is there a way to create a "fake" monitor device on Ubuntu so I can set a desktop resolution in Unity/Gnome? This is my first question on here. I'm trying to numerically solve the Schrödinger equation for the  and find the energy eigenvalues and eigenfunctions but I am confused about how exactly this should be done.  I've solved some initial value problems in the past using iterative methods such as Runge–Kutta. I've read that  is the way to solve Schrödinger's equation but Wikipedia also describes it as an iterative method for initial value problems.  How do I use it to solve an eigenvalue problem?  This confuses me for the following reasons:   Wouldn't iteratively solving the DE require knowledge of the energy eigenvalues to use as input to the calculation? I don't know the eigenvalues yet; they're precisely what I'm trying to calculate. If I did that, wouldn't I simply get a unique solution, instead of a family of eigenfunctions and eigenvalues?    I've seen some mention of "tridiagonal matrices" being generated somehow, but am not sure what the elements of that matrix would be or how that applies to the problem. Leandro M. mentioned that "the discretization defines a finite dimensional (matrix) eigenvalue problem". This seems like the correct road I should be going down, but I haven't been able to find anything that explicitly explains this process or how the matrix is constructed. If this is the correct procedure, how is such a matrix constructed? Clean URLs and php extension on nginx I've looked at dozens of other questions and references on the web - and by all my calculations, my setup should work, but it doesn't.  I have nginx installation with php-fpm.  If I try to access a .php file, it runs correctly and I get the correct results.  I got this in my config file:  location ~ \.php$ {     try_files $uri =404;     fastcgi_pass unix:/var/run/php5-fpm.sock;     include fastcgi_params;     fastcgi_param SCRIPT_FILENAME  $document_root$fastcgi_script_name; }   Now, I want to setup my web app so that /somedir/file automatically executes /somdir/file.php while still displaying /somdir/file in the browser's address bar.  So I modified my config to contain the following:  location / {     try_files $uri $uri/ $uri.php?query_string }   This kind of works, that is, the server does access the .php file.  Yet, instead of executing it using the existing location ~ \.php$ block above, it simply spits the php source code as the download into the browser.  If I append the .php manually to the requested URL, then the php is executed.  It feels as if once the server matches try_files to $uri.php, it then does not do another pass at locations to see that what it needs to do with the php files.  I tried putting the php block above and below the location /, but it makes no difference.  How can I get the php to be executed? Replacing the nth instance of a regex match in Javascript I'm trying to write a regex function that will identify and replace a single instance of a match within a string without affecting the other instances.  For example, I have this string:  12||34||56   I want to replace the second set of pipes with ampersands to get this string:  12||34&amp;&amp;56   The regex function needs to be able to handle x amount of pipes and allow me to replace the nth set of pipes, so I could use the same function to make these replacements:  23||45||45||56||67 -&gt; 23&amp;&amp;45||45||56||67  23||34||98||87 -&gt; 23||34||98&amp;&amp;87   I know that I could just split/replace/concat the string at the pipes, and I also know that I can match on /\|\|/ and iterate through the resulting array, but I'm interested to know if it's possible to write a single expression that can do this.  Note that this would be for Javascript, so it's possible to generate a regex at runtime using eval(), but it's not possible to use any Perl-specific regex instructions. Place each foot on a scale: can you add the two to find your weight? I frequent a blog from a British psychologist, and every Friday he likes to pose an interesting puzzle or riddle. The Monday after that he posts the answer. They're good fun, and IANAP but  made my it-might-not-be-quite-as-simple-as-that detector go off.  My question boils down to this: let's say I have two identical scales, and I stand on the scales with one foot on each scale. The scales read W1 and W2. Does my weight equal W1 + W2? Induction and electromagnetic fields I've got a few questions on induction and electromagnetic fields. My current understanding of induction and electromagnetic fields is that, when electricity/current flows through a wire, it creates an electromagnetic field. If you twist that wire into a coil then you can concentrate that field. You can then induce current into a different coil by placing it inside of the electromagnetic field created by the first coil.  So here are my questions:  Q1. Does the electromagnetic field contain any energy?  EDITED QUESTION  Q2. Electromagnetic fields are the same as waves, so does that mean that when current is induced, they get the energy from electromagnetic waves being exchanged, or do they induce current directly from the electromagnetic field?   Q3. If electromagnetic fields and waves are the same, then doesn't that mean that you can induce current from waves? Therefore transferring electricity over long distances?  Q4. What spectrum of light are the electromagnetic waves that are in a field created by electricity?  Q5. Finally, why is it not possible to induce current from the Earth's magnetic field? I thought Maxwell said that electric fields and magnetic fields were the same thing.   Thank you to anyone who answers.  Edited Q2: So my original question (although asked poorly) still stands. Where does the current that gets induced in the secondary coil come from? How does the electricity transfer from the primary coil to the secondary? For example, is it taken from the stored energy in the e.m field? Does the field just act as a bridge between the 2 coils? Or do the 2 coils exchange e.m waves which carry the electricity that is being transferred from coil 1 to coil 2? Or is it none of these things and something completely different? How to connect to remote X-Server (logged in via ssh) When I'm logged on to another host (e.g via ssh), how do I connect to the XServer of that machine (same user is logged in and is running a desktop (gnome))?  You may ask way I wish to do that: There are commands that don't open an X-Window, e.g. xinput, xhost, etc.. and there are situations where you want to run them from remote. How to clip an Openlayers OSM Background to a Vector Boundary? How to use induction to prove the product rule for higher derivatives? How do I show through mathematical induction that   \begin{equation} \frac{d^n}{dx^n}[f(x)\cdot g(x)] = \sum_{k = 0}^{n} \binom{n}{k} \frac{d^k}{dx^k} [f(x)] \cdot \frac{d^{n-k}}{dx^{n-k}} [g(x)] \end{equation}  which is the product rule for higher derivatives? Setting controller variables not reliable from apex:commandButton I'm trying to set a variable inside my controller via an actionFunction, which is called by some Javascript, which is initially called by either by an actionPanel (with styleClass='btn') or a commandButton.  If the caller is the actionPanel then the variable updates reliably. However with the commandButton I can see the updated value flash briefly before reverting to its previous value. Maybe one out of every six clicks of the button actually causes the new value to stick. Sometimes it can take a dozen or more tries, regardless of click frequency.  Can someone please explain what's going on here?  PAGE  &lt;apex:page controller="MyController"&gt;     &lt;apex:form &gt;         &lt;apex:outputPanel id="panel"&gt;             &lt;apex:outputText value="MyString = {!MyString}"/&gt;             &lt;apex:actionFunction name="SetString" rerender="panel"&gt;                 &lt;apex:param name="param1" value="" assignTo="{!MyString}"/&gt;             &lt;/apex:actionFunction&gt;             &lt;script&gt;                 function JSetString() {                     SetString('{!MyString}' + '.');                 }             &lt;/script&gt;             &lt;apex:outputPanel onclick="JSetString()" styleClass="btn"&gt;                 Grow {!MyString} (works)             &lt;/apex:outputPanel&gt;             &lt;apex:commandButton onclick="JSetString()" value="Grow {!MyString} (unreliable)" rerender="panel"/&gt;         &lt;/apex:outputPanel&gt;     &lt;/apex:form&gt; &lt;/apex:page&gt;   CONTROLLER  global class MyController {      public MyController() { MyString = 'hello'; }      public String MyString {get;set;} } As of the November 2018 core book updates, what changes were made in the latest printings of the PHB that aren't noted in the errata document? Create NSString by repeating another string a given number of times Can I connect to a sandbox using JWT Flow and Prod connect app? I'm trying to connect to a sandbox using the sfdx cli and the JWT flow through force:auth:jwt:grant. According to , we can use the same connected app information from Production to connect to our Scratch Org.  Is it something that should work for sandbox too ? I'm getting a "Failed: Not approved" error.  Connected app in sandbox comes from the refresh but has a different consumer key. The Permission set is set correctly on my user.  Is there a way to connect to a recently refreshed sandbox using the JWT flow (without manually changing something like the consumer key) ? Explaining two-tailed tests I am looking for various ways of explaining to my students (in an elementary statistics course) what is a two tailed test, and how its P value is calculated.  How do you explain to your students the two- vs one- tailed test? Unresponsive KeyListener for JFrame