In Ubuntu 18.04, Audacity is in a loop, where no matter what location I type into the dialog, it keeps saying  Audacity could not find a safe place to store temporary files. Audacity needs a place where automatic cleanup programs won't delete the temporary files. Please enter an appropriate directory in the preferences dialog.
When trying to launch Audacity, I get the following error:  Audacity could not find a place to store temporary files. Please enter an appropriate directory in the preferences dialog.   No files or folder have been moved.   I have purged Audacity, deleted any files, etc manually and re-installed   In terminal:  pst007x@pst007x-Serval-Professional:~$ audacity   (process:16390): GLib-GObject-WARNING **: Attempt to add property GnomeProgram::sm-connect after class was initialised  (process:16390): GLib-GObject-WARNING **: Attempt to add property GnomeProgram::show-crash-dialog after class was initialised  (process:16390): GLib-GObject-WARNING **: Attempt to add property GnomeProgram::display after class was initialised  (process:16390): GLib-GObject-WARNING **: Attempt to add property GnomeProgram::default-icon after class was initialised  ** (Audacity:16390): WARNING **: Owner of /tmp/orbit-pst007x is not the current user  Segmentation fault pst007x@pst007x-Serval-Professional:~$    I have not changed any users or added any additional users. All privaleges, etc are default.   Ubuntu 13.10 64bit (all updates applied)  ADDITIONAL:  I can open as gksu audacity  So it looks like privileges is an issue somewhere. I have checked all privileges and all seems ok, but clearly not....  I tried changing the Directory in Preferences to a directory in my home folder:  /home/pst007x/Music/audacity_temp/  but when starting again (not in root) same error...  Any ideas what files could be lacking privileges?   After changing the Directory, when running I get this:  pst007x@pst007x-Serval-Professional:~$ audacity   (process:28364): GLib-GObject-WARNING **: Attempt to add property GnomeProgram::sm-connect after class was initialised  (process:28364): GLib-GObject-WARNING **: Attempt to add property GnomeProgram::show-crash-dialog after class was initialised  (process:28364): GLib-GObject-WARNING **: Attempt to add property GnomeProgram::display after class was initialised  (process:28364): GLib-GObject-WARNING **: Attempt to add property GnomeProgram::default-icon after class was initialised Segmentation fault pst007x@pst007x-Serval-Professional:~$    I checked installed files using Synaptic Package Manager, then checked permissions:  pst007x@pst007x-Serval-Professional:~$ sudo chmod -R 777 /usr [sudo] password for pst007x:  pst007x@pst007x-Serval-Professional:~$ audacity  (process:31026): GLib-GObject-WARNING **: Attempt to add property GnomeProgram::sm-connect after class was initialised  (process:31026): GLib-GObject-WARNING **: Attempt to add property GnomeProgram::show-crash-dialog after class was initialised  (process:31026): GLib-GObject-WARNING **: Attempt to add property GnomeProgram::display after class was initialised  (process:31026): GLib-GObject-WARNING **: Attempt to add property GnomeProgram::default-icon after class was initialised Segmentation fault pst007x@pst007x-Serval-Professional:~$    EDIT. After the above, I rebooted and was no longer able to login. So I did a fresh install. Not a bad thing since the original install on the this system was 10.10. Working ok after fresh install.  Thank you for taking the time to post answers and suggestions..
I hope somebody has already figured this one out. I just installed Geoserver 2.9 on a vanilla Ubuntu 16.04 distro. The Geoserver 2.8 method of enabling CORS with the shanbe.hezoun class does no longer work with Jetty 9.2.13.  There are mentions that CORS support is already packaged with Jetty 9.2.13 in the jetty-servlets.jar.  The Jetty lib which is compiled with Geoserver contains a jetty-servlet-9.2.13.v20150730.jar in geoserver/lib but not jetty-servlets.9.2.13.v20150730.jar. Are these supposed to be the same jar with a different name?  It should be possible to enable CORS either in geoserver/etc/webdefault.xml or in geoserver/webapps/geoserver/WEB-INF/web.xml.  My understanding is that the webdefault.xml is applied first and the web.xml thereafter.  I have tried following filter in both xml. I haven't got as far as adding a filter mapping. Adding the filter alone will cause the Geoserver/Jetty service to not start proper.  &lt;filter&gt;     &lt;filter-name&gt;cross-origin&lt;/filter-name&gt;     &lt;filter-class&gt;org.eclipse.jetty.servlets.CrossOriginFilter&lt;/filter-class&gt; &lt;/filter&gt; How to install pip for python 3 in ubuntu 12.04 LTS Is the coefficient of friction always less than unity? What are the cases in which coefficient of friction is greater than unity? Say if I define a power series over some arbitrary field $F$ as   $$a = \sum^{ \infty }_{i = 0} a_{i} X^{i} $$  Then can I say:  $$ab = \sum^{ \infty }_{i = 0} \sum^{ \infty }_{j = 0} a_{i} b_{j} X^{i + j} $$ algebra - matrices and polynoms $T:\mathbb P_2[x]↦\mathbb P_2[x]$ s.t.:   $T(1)=3+2x+4x^2$, $T(x)=2+2x^2$, $T(x^2)=4+2x+3x^2$.   Is there base $B$ of $\mathbb P_2[x]$ that $[T]_B$= \begin{bmatrix}     2 &amp; 0 &amp; 0\\     -1 &amp; 1 &amp; 0\\     5 &amp; 0 &amp; 4\\  \end{bmatrix}  Please help. Thanks. Suppose I installed ubuntu with the user usr1 then I added usr2. I then create a group grp1 where this 2 users are added. A folder is owned by usr1 and has group grp1. But when I login as usr2 I cannot write. The folder has permissions 755...  usr2@kmserver:/media/data/www$ groups usr1 usr1 : grp1 ... usr2@kmserver:/media/data/www$ groups usr2 usr2 : grp1 ... usr2@kmserver:/media/data$ ls -l total 20 drwx------ 2 root root 16384 2011-05-12 10:53 lost+found drwxrwxr-x 2 grp1   grp1    4096 2011-05-12 15:15 www   Whats wrong? Reload activity in Android Does the cross-entropy cost make sense in the context of regression? Does the cross-entropy cost make sense in the context of regression (as opposed to classification)? If so, could you give a toy example through TensorFlow? If not, why not?   I was reading about cross-entropy in  by Michael Nielsen and it seems like something that could naturally be used for regression as well as classification, but I don't understand how you'd apply it efficiently in TensorFlow since the loss functions take logits (which I don't really understand either) and they're listed under classification How to get horizontal black line when coloring cells? In the sentence     What’s funny is Cat’s dry humour.   Wouldn’t it be better to put a comma after “funny”:     What’s funny, is Cat’s dry humour.   This question entails a (at the time of writing) heated discussion in the . I have Ubuntu 14.04 installed on my laptop. Can I clone the entire system with apps, settings, etc on a USB 3 pendrive, and then boot from that on other computers as a portable Ubuntu installation to take around with me?  I am trying a function that Timeshift has that's called "Clone the current system on another device". I've selected the pendrive as the target device. Timeshift was talking about this being bootable. But is it going to bootable on only this laptop, or on any system? For example, on an Intel Mac, or a Windows computer without the grub bootloader? Is that Timeshift function what I am looking for, or do I have to do something else?  Edit: The Timeshift clone failed to boot on the first system I tested it on. (A Dell Hackintosh that usually boots from USB just fine.) every rank 2 oriented matroid is realizable Will Google punish me if I import a story from my own blog to content sharing sites such as Medium.com? I've heard that Google punishes sites with duplicate content.   If I write an article on my blog then import it on Medium (basically a copy/paste) will Google regard it as a duplicate?   Medium.com is a blog platform (sort of). regexp in ksh for extensions tgz, tar.tgz I'm trying to get a regexp (in ksh) to identify files with only the following extensions: tgz, tar.gz, TGZ and TAR.GZ. I tried several but can't get them to work. I'm using this regexp to select only files files with those extensions to do some work with them:  if [ -f $myregexp ]; then    .....  fi Elementary central binomial coefficient estimates How to prove that $\quad\displaystyle\frac{4^{n}}{\sqrt{4n}}&lt;\binom{2n}{n}&lt;\frac{4^{n}}{\sqrt{3n+1}}\quad$ for all $n$ &gt; 1 ?     Does anyone know any better elementary estimates?   Attempt.  We have $$\frac1{2^n}\binom{2n}{n}=\prod_{k=0}^{n-1}\frac{2n-k}{2(n-k)}=\prod_{k=0}^{n-1}\left(1+\frac{k}{2(n-k)}\right).$$ Then we have $$\left(1+\frac{k}{2(n-k)}\right)&gt;\sqrt{1+\frac{k}{n-k}}=\frac{\sqrt{n}}{\sqrt{n-k}}.$$ So maybe, for the lower bound, we have $$\frac{n^{\frac{n}{2}}}{\sqrt{n!}}=\prod_{k=0}^{n-1}\frac{\sqrt{n}}{\sqrt{n-k}}&gt;\frac{2^n}{\sqrt{4n}}.$$ By Stirling, $n!\approx \sqrt{2\pi n}\left(\frac{n}{e}\right)^n$, so the lhs becomes $$\frac{e^{\frac{n}{2}}}{(2\pi n)^{\frac14}},$$ but this isn't $&gt;\frac{2^n}{\sqrt{4n}}$. How do I disable fog on specific camera/s E: Malformed entry 54 in list file /etc/apt/sources.list (Component) Parse DateTime with time zone of form PST/CEST/UTC/etc Let $M$ be the space of all $m\times n$ matrices. And $C=\{X\in M|rank(X)\leq k\}$ where $k\leq \min\{m,n\}$. How to proof that C is a closed subset of M? Splitting a string into words and punctuation I'm trying to split a string up into words and punctuation, adding the punctuation to the list produced by the split.  For instance:  &gt;&gt;&gt; c = "help, me" &gt;&gt;&gt; print c.split() ['help,', 'me']   What I really want the list to look like is:  ['help', ',', 'me']   So, I want the string split at whitespace with the punctuation split from the words.  I've tried to parse the string first and then run the split:  &gt;&gt;&gt; for character in c: ...     if character in ".,;!?": ...             outputCharacter = " %s" % character ...     else: ...             outputCharacter = character ...     separatedPunctuation += outputCharacter &gt;&gt;&gt; print separatedPunctuation help , me &gt;&gt;&gt; print separatedPunctuation.split() ['help', ',', 'me']   This produces the result I want, but is painfully slow on large files.  Is there a way to do this more efficiently?