I have Xubuntu 14.04 and I cannot access recovery mode via holding down the SHIFT key. I read almost everywhere that this is how you do it.   Does that work for Xubuntu as well or just Ubuntu?  The reason this is needed is because I somehow lost sudo on my user account and cant access any root commands.
I read here at  that holding Shift during boot can bring up the GRUB menu. However I try holding one or the other Shift keys, tapping, tapping then holding, nothing works. Am I missing something? How does one access the GRUB menu during boot time?   No dual boot here, just standard Lubuntu 14.04 install.
9 pirates have to divide 1000 coins... I need to cite the journal "Sankhyā: The Indian Journal of Statistics" in a paper.  I would like to draw the ā character properly (i.e., I'd prefer, if possible, to avoid using some hack, such as \bar or \overline).  Question: How do I properly write ā in LaTeX?  I didn't have luck with  (after several attempts in both in capital and lowercase) nor The Comprehensive LATEX Symbol List (searching the file for "ā" and "india" revealed no hits). How do I tell what version and edition of Windows is on the filesystem? How to find a Java Memory Leak How do you find a memory leak in Java (using, for example, JHat)? I have tried to load the heap dump up in JHat to take a basic look. However, I do not understand how I am supposed to be able to find the root reference () or whatever it is called. Basically, I can tell that there are several hundred megabytes of hash table entries ([java.util.HashMap$Entry or something like that), but maps are used all over the place... Is there some way to search for large maps, or perhaps find general roots of large object trees?  [Edit] Ok, I've read the answers so far but let's just say I am a cheap bastard (meaning I am more interested in learning how to use JHat than to pay for JProfiler). Also, JHat is always available since it is part of the JDK. Unless of course there is no way with JHat but brute force, but I can't believe that can be the case.  Also, I do not think I will be able to actually modify (adding logging of all map sizes) and run it for long enough for me to notice the leak. Why do birds sitting on electric wires not get shocked? When we touch electric wires, we get shocked. Why don't birds sitting on electric wires not get shocked? How do I load an mp4 video with multiple audio tracks into blender? Each Stack Exchange site should provide users the option of using a dark mode design/theme.  Why is this feature missing?  The major IDEs are already a letdown regarding dark color schemes. How do I mount shared folders in Ubuntu using VMware tools? I ajaxly call a route and pass data to it, In my controller, I want to get $_POST['var'] , $_POST['var2'], it seems because of using HttpFoundation in drupal 8, $_POST and $_GET are not exists in old method, How I can access $_POST parameters in custom Controller? For what values of $\theta$ does $\sum_{1}^{\infty} \frac{e^{i n\theta}}{n}$ Converge? I just came across the problem of what happens in the boundary cases of .  More concisely, for what $\theta$ will the following sum converge? $$\sum_{n=1}^{\infty} \frac{e^{ni\theta}}{n}$$ It is well known that this sum will diverge for $\theta=0$ and will converge for $\theta=\pi$. In fact, for any odd multiple of an even root of unity, since we have symmetry, for each line through the origin of the complex plane, we can use the alternating series theorem to show that they converge.  Another idea I had was to split  the sum into imaginary and real parts, and if we can prove each of these converges, then we are all set. So now we must prove that both of the following converge $$\sum_{n=1}^{\infty}\frac{\cos(n\theta)}{n}\space, \space \sum_{n=1}^{\infty}\frac{\sin(n\theta)}{n}$$ Now these can be shown to converge easily by Dirichlet's test for any rational multiple of pi, but what about irrational multiples of pi? I know it has been shown to converge with $\theta=1$, but I don't see how to generalize this. Under what conditions will healers switch targets? I've been using healers lately, which I haven't really utilized much before. I've noticed that they will sometimes switch targets, even when their original target still lives.   What conditions are needed for healers to switch targets? Code working in jsFiddle but not in browser Changing Vim indentation behavior by file type Could someone explain to me in simple terms the easiest way to change the indentation behavior of Vim based on the file type? For instance, if I open a Python file it should indent with 2 spaces, but if I open a Powershell script it should use 4 spaces. "Recent Badges" list is displayed without margins on "Home" page When the &quot;Hide Hot Network Questions&quot; preference is enabled (i.e. HNQ sidebar is hidden), we see &quot;Recent Tags&quot; and &quot;Recent Badges&quot; in the homepage instead of the HNQ. However, the &quot;Recent Badges&quot; list is displayed with no margins. ex.)   I think that the appropriate margins were set in the past. cf.) if command in find -exec I was just trying to list all directories and files under current directory and also write if they are file or directory with the following command:  find -exec echo `echo {} : ;if [ -f {} ]; then echo file; else echo directory;fi` \;   I know it is a silly command, I can use other things like -type f or -type d, but I want to learn why that piece of code did not work as I expected. It just prints directory to all of them. For example while output of find is:  . ./dir ./dir/file   output of my code is :  . : directory ./dir : directory ./dir/file : directory   And output of   echo `echo dir/file : ;if [ -f dir/file ]; then echo file; else echo directory;fi`   is  dir/file : file   I am working on Ubuntu 14.10 and using find (GNU findutils) 4.4.2 Leftmargin problem at the bibliography I have some trouble with the bibliography alignment. It's similar to , but that solution doesn't work for me.   Here is MWE:  \documentclass{article}  \let\oldthebibliography=\thebibliography \let\endoldthebibliography=\endthebibliography \renewenvironment{thebibliography}[1]{%   \begin{oldthebibliography}{#1}%   \setlength{\parskip}{0ex}%   \setlength{\itemsep}{0ex}%   \setlength{\itemindent}{3ex}   \setlength{\leftmargin}{0pt}% }% { \end{oldthebibliography}% }  \begin{document}  Some text. Some text. Some text. Some text. Some text. Some text. Some text. Some text.    Some text. Some text. Some text. Some text. Some text. Some text. Some text. Some text.   \begin{thebibliography}{0} \bibitem{1} Baider A. Noncompact Riemannian manifolds with discrete spectra // J.Diff.Geom. -- 1979 -- V. 14 -- p. 41--57. \bibitem{2} Berger M., Gauduchon P., Mazet E. Le spectre d'une vari\'et\'e Rieman\-nienne -- Berlin-New York: Springer-Verlag, 1971. -- 251p. -- (Lecture Notes in Math.; V.~194) \end{thebibliography} \end{document}   So I need the reference labels to be aligned with the parindent, and the rest part of the each bibliography entry should have general text width. I thought it's enough to set \leftmargin=0pt, but it didn't work. I have the following result:   And what is actually more weird - it seems any value of \leftmargin doesn't have any effect to the bibliography display. The solution from the link above works fine if we don't have biblabel, but it's not my case.  Could you help me to move lines with the red marks to the green one? How do I set up a supply line? Time Manager (QGIS) date format I've been through associated answers but cannot quite seem to find something which works!  I'm having trouble getting TimeManager to recognise a simple data field (this is in QGIS2 - but I've had this error in earlier versions). I have these fields formatted in what appears to be one of the acceptable formats:    ... here is a screenshot of the field properties:    The format appears to be recognised in QGIS as I've worked out days difference between two dates (the "Time on Market" field shown in the image).  However ... I always end up with:   The Twitter.shp file works fine as a test, so I don't think this is an issue with the install / phyton conflict.  Any thoughts welcome! I have tried as following:  1. Turn off: export DISPLAY=:0.0 &amp;&amp; xset dpms force off  2. Turn on: export DISPLAY=:0.0 &amp;&amp; xset -dpms   Which works but that is a temporary solution, which does not fix my problem yet. When i reboot system it start again and again the same auto turn off mode.   How can i now remotely using SSH turn it off forever?  IMPORTANT:  - KIOSK (ATM machine will use this option) - 24/7 advertising display/slides will use this   Optional Note: this guide i followed   , but permanent solution did not worked. Why is it “a defeated Napoleon, not “the defeated Napoleon” who rode off the battlefield and into exile? I noticed an infinite article; ‘a’ was used before ‘defeated Napoleon’ in the following sentence of Jeffery Archer’s novel, "Fales Impression" :  “General Sir Harry Wentworth sat at the right hand of the Iron Duke that night, and was commanding his left flank when a defeated Napoleon rode off the battlefield and into exile."  I’m curious to know why it should be “a defeated Napoleon,” not “the defeated Napoleon” or simply “defeated Napoleon.” Isn’t it only one Napoleon who was defeated the battle and exiled (to St. Helena). It looks like as though there were many (defeated) Napoleons who were exiled.  It’s always headache for me to handle articles as we Japanese (I think Chinese too) don’t have article as the basic part of speeches in our language system. I’ve studied it on English grammar text books at school, but have never reached full understanding of the usage of articles, because we don’t have that practice. Is there any special knack to master how to use articles?