I recently installed Ubuntu 14.04 for the first time. Although I have set brightness a million times, every time I start the computer, it goes to maximum again. If I restart the computer it remembers my brightness definitions, but I completely turn off, it forgets.   How can I get it to remember my preferences?  Thank you, cheers.
The brightness of my laptop is reset to max on every restart. I tried the solution provided at  but had no luck.   This command   cat /sys/class/backlight/acpi_video0/max_brightness   Returns   cat: /sys/class/backlight/acpi_video0/max_brightness: No such file or directory   Then I found that I don't have a folder named acpi_video0, but a folder called intel_backlight:    Every time I increase or decrease the brightness using the brightness control keys, the values in brightness and actual_brightness get updated.  Is there any method I could follow to set the brightness to a fixed value on every boot and vary it as and when I need it using the brightness control keys?
Calculating MEAN and STANDARD DEVIATION confussed "There Is"/"There are" depends on plurality of the first list element or not? How to render world position pass A world position pass is a pass used for composting other elements into the scene after the initial render. In a world position pass the R, G, B values correspond to the X, Y, Z axis (or X, Z, Y). A world position pass could look something like this. (Image form another 3d app)    Is there a way to render out corresponding world space coordinates of each pixel? I am trying to write a script that will delete all comments and everything in between inside C files in my current directory. I've been using sed, and this is what I have so far:   sed -i '/ * [^()] */d' *.c  This works when the comments are on the same line as an asterisk or backslash.   However it doesn't work when there is a commented line without a slash or asterisk.   I know sed goes line by line, I just don't know how to tell it to keep deleting until it sees a */. Yesterday, my laptop caught a virus which caused massive damage. Since them, I have been trying to recover important files before reformatting my computer, a task the virus has not made easy.   Restoration points predating the attack have been deleted.  Most of my folders show empty.  My Start menu is essentially empty, with the exception of Trillian and Mirror's Edge. The same goes for my Desktop, which only has programs which were installed after the attack.  Searching for files through my computer is pretty much useless, as it only rarely brings up anything. I suspect most of my files have not been deleted. While my folders show empty, uTorrent still does display them and I can open them from here. Unfortunately, when I select Open Containing Folder, the folder still shows as completely empty even if I'm currently watching a video from that very folder. Further adding evidence to the not-deleted-just-missing theory, the data recovery software I'm using (Restoration) cannot find only find an handful of the missing files.   If they were deleted, I could do a forensic recovery to get them back but since they're probably still somewhere on my computer, just out out of my reach, I can't find them.   Under those circumstances, is there a way I can recover those files? I'm reading page number 4 here. In particular the section where it deals with the case $p=\infty$, that is , showing that $L^{\infty}$ is complete.    Two questions:  1) Why is the convergence uniform? where it says "for $x \in N^{c}$ , $f_{n}$ is a Cauchy sequence of complex numbers. Thus $f_{n} \rightarrow f$ uniformly. Clearly we have pointwise convergence but why is it uniform?  2) I don't see why $||f_{n} - f||_{\infty} \rightarrow 0$. Can you please explain this step?  Thanks.  (3/2015) Edit: The original link appears to be broken.  seems to provide a similar (maybe even identical) proof to the one the OP talks about with slight notational differences. How do you read CSS rule values with JavaScript? My wife wants a 4th baby, but I don't.  We have been talking about it for the last few days (talking strongly).   I have raised points such as:   We will get less time to spend with our current kids. The age gap between the first and the last will be too wide. It will cost more money. She will be out of work longer. We will need a bigger house. And we don't even have our own house yet (we are still renting). We will have to start again. Sleepless nights, nappies, feeding, new cot, car seat, etc etc.   She says:   She feels like she is missing something. She has always wanted a large family. Things will be the same regardless of having 3, or 4 kids. She agrees that money will be tighter, but wants to push through it.   Our current kids are 9 months, 2 years, and 4 years. We are young married couple (25), and I have a fairly decent job.  What would be the pros and cons of having another child?   How can we rationally talk to the other about having/or not having another child?  And what should we do if we cannot agree? How to play MP3 files using Rhythmbox? Yesterday I just installed the Ubuntu 12.04 for the first time, the problem is that I can't play and of the MP3 files that I have.    I get this error:       Required plugin could not be found Python (v2.7) requires to install plugins to play media files of the following type: MPEG-1 Layer 3 (MP3) decoder   Please help me so I can play the files. Thanks "Out of pocket"? I'm increasingly hearing the phrase "out of pocket" used in America as a colloquialism to mean "away from the office", "unavailable", or "incommunicado".     I apologize for not replying sooner; I have been out of pocket.    What is the etymology of this usage? It always sounds odd to me, since I had previously always associated the phrase with expenses, e.g., "I had to pay for the service out of pocket," meaning, "I had to pay for the service using my own money." Should either of these usages be avoided? What is the extent of their acceptance? I have seen the word 'only' placed both before and after a noun. Where should the word 'only' go in this sentence? Is it the writer's choice?   If you have attended every lesson, only the songs need to be rehearsed at home. If you have attended every lesson, the songs only need to be rehearsed at home. Evaluating a mathematical expression in a string How do I install .run files? I am trying to lock some boxes in a map of mine, and I used this command:   /blockdata 10 4 9 {Lock:Elyiana's Mage Key}   At first it worked, but then when I logged back on the next day it gave me this error message:    Data tag parsing failed: Expected '}' but ''' at: {Lock:Elyiana'&lt;--[HERE]     I don't know why it doesn't like the apostrophe in the key's name. I would change it, but it already worked and locked some other items. My version is 1.12, does anyone have an answer to my problem? Which command should I use for displayed equations? A number of related questions have already been asked about this issue:       and even    But I'm still confused by the conflicting suggestions that have been given so far. So I'm trying again.  Which should be the preferred command to produce a displayed equation in my LaTeX documents?  So far the suggestions indicate that one should use \[ ... \], maybe \begin{equation*} ... \end{equation*}, or maybe even the gather* or align* environments from amsmath.  And one should definitely avoid using either $$...$$ or the eqnarray environment.  Now I have to say that, from a language perspective, I have a strong preference for the equation* environment because it is less cryptic than the \[ ... \] notation and it is  the most accurate.  So, is it fine to use equation*? Maybe only after loading amsmath? Or should the equation/equation* environment be redefined to something else so that spacing, package support, or whatever is improved? In a Discord call on the desktop app and my voice cannot be heard by others. When I use Discord  through browser I can be heard. Any help appreciated. Unable to disable assignment rules I have a condition where I need to disable standard Lead Assignment Rules if certain criteria are met.   if(emailWithAccIdMap.containsKey(ledRec.Email) &amp;&amp; emailWithAccIdMap.get(ledRec.Email) != null &amp;&amp; !openOppMap.isEmpty() &amp;&amp; openOppMap.get(emailWithAccIdMap.get(ledRec.Email)) != null &amp;&amp; openOppMap.get(emailWithAccIdMap.get(ledRec.Email)).Owner.isActive ==true){                     ledRec.Status = 'Duplicate';                     System.debug('Changing the Status');                     //then assign the original lead owner to new lead owner                     ledRec.OwnerId = openOppMap.get(emailWithAccIdMap.get(ledRec.Email)).OwnerId;                     ledRec.Account_Name__c = openOppMap.get(emailWithAccIdMap.get(ledRec.Email)).AccountId;                     ledRec.Field_for_Lead_Workflow__c = true;                     Database.DMLOptions dmo = new Database.DMLOptions();                     dmo.assignmentRuleHeader.useDefaultRule = false;                     ledRec.setOptions(dmo);                     //since owner is assigned, it shouledRec not pass through round robin                     ledRec.checkAssignment__c = false;  }   This is my code snippet which is running on before insert. The control is entering the IF condition as the debug statement is getting printed. Yet, the owner assigned through this snippet is being overridden by the assignment rules.  I also tried executing this in after insert trigger context but it did not work. Can somebody tell me what I'm doing wrong? Why do we say there is an overall negative charge on the intracellular side of the plasma membrane at rest, and an overall positive charge on the extracellular side when both potassium and sodium are positively charged ions, and they are in relatively equal amounts on either side? It seems to me that both sides should be positively charged, and I can't get my head around it. How to exclude jars generated by maven war plugin? /testfor for item enchantment What I have now is:  /testfor @a {SelectedItemSlot:0,Inventory:[{Slot:0b,id:"diamond_pickaxe"}]}   How can I use the /testfor command to test a specific slot for a specific item that is enchanted?