I upgraded 12.04 to 14.04 last night. I'm using unity. After upgrade this is what it looks like  .      How to place these menus back in global menubar?   I haven't touched any compiz settings.  Thanks in advance!
I'm fairly excited for Unity, as it looks like a promising new direction for Ubuntu.  However, I do have a concern - will it be possible to use Unity without the global menu?  I have my window manager set to focus-follows-mouse/sloppy focus, and find the productivity gains to be immense. Sloppy focus is incompatible, however, with global menus, as it is possible for the focus to change while you move from window to menu.  Will Unity support an option to use window menus while still using Unity?
Is there evidence that adding salt to water prior to boiling can damage a stainless steel pan? I have a Surface Pro 4 and an iMac (late 2019). I would like to connect my Surface Pro to the iMac to use the iMac screen as a second monitor.  Is that possible?  What are the requirements to use an iMac as a second screen? I have a Python script which takes as input a list of integers, which I need to work with four integers at a time.  Unfortunately, I don't have control of the input, or I'd have it passed in as a list of four-element tuples.  Currently, I'm iterating over it this way: for i in range(0, len(ints), 4):     # dummy op for example code     foo += ints[i] * ints[i + 1] + ints[i + 2] * ints[i + 3]  It looks a lot like &quot;C-think&quot;, though, which makes me suspect there's a more pythonic way of dealing with this situation.  The list is discarded after iterating, so it needn't be preserved.  Perhaps something like this would be better? while ints:     foo += ints[0] * ints[1] + ints[2] * ints[3]     ints[0:4] = []  Still doesn't quite &quot;feel&quot; right, though.  :-/ Related question: How to disable SMS notification during phone call? I call somebody, or somebody calls me, we are talking. Now, during the call I got SMS and I cannot hear anything because the SMS notification is playing.  So how to disable this notification when call is active? Thank you in advance.  Samsung Galaxy Ace 2, Android 2.3.  Note: I am interested in setting this once and for good. Not something I have to remember to switch off each time I make/get a call. Consider the following table:  id  title   genre1  genre2  genre3  genre4  genre5 1   Movie1  Thriller    Crime   NULL    NULL    NULL 2   Movie2  Fantasy NULL    NULL    NULL    NULL 3   Movie3  Political   Philosophical   Historical  NULL    NULL 4   Movie4  Science Fiction NULL    NULL    NULL    NULL   When I unpivot genre1, genre2, ... the NULL values are removed, so that, for example, the rows for Movie1 would be:  id title  genre     original_column 1  Movie1 Thriller  genre1 1  Movie1 Crime     genre2   Is there a way to include NULL values, for example:  id title  genre     original_column 1  Movie1 Thriller  genre1 1  Movie1 Crime     genre2 1  Movie1 NULL      genre3 1  Movie1 NULL      genre4 1  Movie1 NULL      genre5   I can SELECT ISNULL(genre1, '*'), ISNULL(genre2, '*') ..., but suppose I want the values to appear as NULL? Is there a better way than:  WITH  -- SELECT that unpivots table AS unpivoted SELECT unpivoted.id,    unpivoted.title,    ,CASE unpivoted.genre WHEN '*' THEN NULL ELSE unpivoted.genre END    ,unpivoted.original_transaction FROM unpivoted   Also, I notice that the query that returns the source data to be unpivoted MUST have an alias. For example:  SELECT ... FROM   -- *must* give it an alias or it's a syntax error   (SELECT ... FROM) AS source    UNPIVOT(genre for original_column IN (genre1,genre2, genre3,genre4,genre5))   Does anyone know why? I have not found a way to refer to the alias anywhere in the query. Way to list "Contact Us" email address on web site, yet reduce likelihood of spam? What's a good way to list a "Contact Us" email address on a web site, while reducing the likelihood it will get spammed?  Is putting the email address in an image the best technique, or are there others? During U-substitution, is the $du$ that we use as the infinitesimal in $\int f(u) \ du$ changing size? I am familiar and comfortable with the following definition of an integral (defined as the the Riemann Sum where n approaches infinity).    I have circled in red two terms to emphasize a concept that I was taught: the $\frac{b-a}{n}$ term effectively becomes the $dx$ term. This intuitively makes sense to me.   Additionally, I am familiar with the following statement (as expressed here: )    However, I have boxed in red something that I find rather confusing when trying to interpret it through the understanding that $\frac{b-a}{n}$ sorta kinda equals $dx$...  Specifically, the $du$ value appears to be changing throughout the interval $[ g(a), g(b)]$. To reframe this in the "Riemann Sum" version,we would have something like: $\text{ "value that varies depending on where you are"} * \frac{g(b)-g(a)}{n}$  This is very confusing to me...because, if this is the correct interpretation, I'm not quite certain I understand why this is allowed. Encode/Decode URLs in C++ Does anyone know of any good C++ code that does this? How is Cooper's age justified? How do I kill mobs using /kill without them dropping loot? I have a spawn area I am hoping to make a safe haven, so I have a command block on a clock that kills each hostile mob type. This works to keep the place free of any hostile mobs, however every night I see rotten flesh, bones, arrows, and string everywhere.  I would like to add something to my command blocks so that they are killed without dropping loot. How can I accomplish this?  Note that I want mobs to drop loot generally elsewhere in the world, so /gamerule doMobLoot false will not do the trick for me. I'm hoping for a command that only applies to the mobs killed by the command block, and not anything else. Are there attacks that break collision resistance but not preimage resistance? What is the difference between Python's list methods append and extend? The various modern revolutions in physics, in psychology, in politics, even in literary style, have not escaped his intelligent notice, but they can scarcely be said to have influenced him deeply.    Could you please explain the following?  They can scarcely be said to have influenced him deeply.  Or, I can not understand such a structure like the following:  In contrast, prices set by a central planner are necessarily arbitrary, since there is no standard against which they can be said to be correct or incorrect. d'oh! I realise it's unlikely that posting the file would cause a problem. However, since I know nothing about what a what's in a minidump file I thought I should check. How does friction stop a car? I'm unable to understand how friction causes motion in cars and also is responsible for stopping them. When it starts the impending motion of tyres is in the backward direction that's why friction is in the forward direction and the car starts moving. But when the car engine turns off, the car stops after some time, but the condition of tyres are the same as in the previous case and friction must be in the forward direction. I own a notebook running Ubuntu 16.04 with Unity DE that does not have any keyboard LEDs to indicate NUM-Lock or CAPS-Lock states.  It would be useful for me to see them anyway, ideally through an indicator in Unity's panel.   Please note that I only want to see the states of NUM-Lock, CAPS-Lock and optionally Scroll-Lock. I do not want to see whether any other modifier keys like Shift, Ctrl, Alt, Super etc. are currently pressed. I only want a replacement for my missing LEDs.  Are there any working indicators available?    I already have read , but it does not suit my needs. indicator-xkbmod only displays a wrong icon but does not react on keyboard NUM-/CAPS-Lock status changes, kbstate is for KDE only and key-mon does not show the NUM-/CAPS-Lock states but indicates key presses to modifier keys. Center of a free product Take a sponge ball and compress it. The net force acting on the body is zero and the body isn't displaced.  So can we conclude that there is no work done on the ball? What is the metal sheath surrounding a USB connector, and is it commonly connected? I need to draw a tree, and constantly using dotty and including the PNGs is starting to be a pain. Is there a way to get LaTeX to draw it's own trees that doesn't involve learning an entirely new language like TikZ?