In order to get full RGB output (0-255) on my Intel UHD630 integrated graphics I have to run this command at every reboot:  sudo xrandr --output HDMI-1 --set "Broadcast RGB" "Full"   Is there a way to save this so that it runs automatically when X starts?  I'm running Ubuntu 19.10.
I used to edit the startup script for the GDM (/etc/gdm/Init/Default) to permanently change my display resolution.   How can I do this with LigthDM in Ubuntu Oneiric?
Why are all of my appliances becoming energized when ground wire is excluded? Show that $ a，b, \sqrt{a}+ \sqrt{b} \in\mathbb Q \implies \sqrt{a},\sqrt{b} \in\mathbb Q $ Inspired by , I was wondering if there is a simple logical argument to   Show that $ a,b, \sqrt{a}+ \sqrt{b} \in\mathbb Q  \implies  \sqrt{a},\sqrt{b} \in\mathbb Q $  Note that the original link is using a computational method, where as I am looking for a simple logical argument.  I tried (unjutifiably) to argue that if some of two square roots is rational then each one is rational, this is a different than the (incorrect) argument that if sum of two algebraic numbers is rational then each one is rational ( counter example $a=1-\sqrt{2},b= 1+\sqrt{2} $) Expected value of the number of flips until the first head Suppose we flip a coin until we see a head. What is the expected value of the number of flips we will take?  I am pretty new to expected value, so I tried to evaluate it by multiplying the probability of each scenario with the number of flips it took to get there (like taking the arithmetic mean). This didn't work though, because of the infinite possibilities. I'm really confused, and if someone were to provide an answer, I would really appreciate it if they could go into detail. What is DOCTYPE? Why can't the Klein-Gordon equation with a Couloumb potential describe the hydrogen atom?  Why can the first order Dirac equation explain it? What are the failures? What steps can I take to try to recover lost or inaccessible data from any storage device?  Answers:   This applies to any computer storage device, e.g. internal/external hard drives, USB sticks, flash memory. The most important thing is to STOP using it, any type of I/O can ruin your chances of a recovery.     We have separate questions covering common problems with USB flash drives in greater detail: I've got a question about how to drive the car in Europe on Highways. In the US, I can overtake another car on either side, and I am fine.  In Europe I was told that I have to drive on the right side (Germany), and to overtake on the left side of the other driver.  Now I had following situation, and I did not know how to handle this properly: I was driving along on the right lane, the Autobahn was 3 lanes wide on my side, and was going around 110 km/h. Someone overtook me, but he stayed on the middle lane, and suddenly got slower. He wasn't really in front of me, so I could not change to the left lane, but I was told I may not overtake on the right side.  Would I have to brake in such a situation, or should I just ignore it, and overtake him again on the right side?  (I overtook him, and he was on the phone, so I guess that was why he got distracted and slowed down that much). I am new to this and not sure what to make of all the options available. I am interested in putting a machine-learning-related preprint, which will potentially be submitted to places like NIPS/ICLR/ICML in the future.   arXiv.org perpetual, non-exclusive license to distribute this article (Minimal rights required by arXiv.org)  Creative Commons Attribution license (CC BY 4.0)  Creative Commons Attribution-ShareAlike license (CC BY-SA 4.0)  Creative Commons Attribution-Noncommercial-ShareAlike license (CC BY-NC-SA 4.0)  Creative Commons Public Domain Declaration (CC0 1.0) How can we sum up $\sin$ and $\cos$ series when the angles are in arithmetic progression? How could Argus Filch clean up the whole castle by himself without magic? How to generate a random integer number from within a range When I went to the review overview on Meta on 08.01.2015, 19:16, it listed two open items in the suggested-edits queue, however when I clicked on the queue, I was told that the queue had been cleared. When I went back to the review overview, however, the edits were there again.  Since the icons for recent reviews had not moved, I suppose that these were still the same two items waiting for review, and since phenomenon lasted for half an hour now, I would rule out  or  to be the reason for this.  After a while, the phenomenon ceased, with one new reviewer popping up in the icon list of recent reviewers.  I had not performed or skipped any suggested-edit review from the queue at that point.    A similar phenomenon occurred for several hours up to 11.04.2015, 11:05: The review overview showed two suggested edits and when I went to the suggested-edits queue, it was cleared. Sometimes, edits that I could review appeared, but two phantom edits remained. I was wondering if there are any alternatives to  tools.  Thinking about it for a bit, I think the only alternative is to use R or RPY to do the analysis.   Basically I'm trying to solve routing problems based on nonPostGIS databases. As most of my data is actually stored in a different format; however, it's not to hard to convert. I'm finding that pgRouting to my dumb silly brain is difficult to implement. So perhaps a non-database solution that I can easily tweak would be ideal for me Add an image directly from the clipboard I've tried to find other questions covering this, but (surprisingly) I did not find any.  When I want to add a screenshot to a post, as far I know the only way to do it is to save it as a file and then upload the file, using Stack Overflow's image hosting. OK, much better than finding a hosting site yourself, but sometimes I wish I could just paste the image from the clipboard.  It's not as straightforward as it may seem, I know. , and it needs a Java applet to get it done. Is there anything special with complex fraction $\left|\frac{z-a}{1-\bar{a}{z}}\right|$? Is there anything special with the form:  $$\left|\frac{z-a}{1-\bar{a}{z}}\right|$$ ? With $a$ and $z$ are complex numbers.  In fact, I saw it in a problem:   If $|z| = 1$, prove that $|\frac{z-a}{1-\bar{a}{z}}| = 1$ If $|z| &lt; 1$ and $|a| &lt; 1$, prove that $|\frac{z-a}{1-\bar{a}{z}}| &lt; 1$   I can easily prove the first one with expansion:  $$z=\cos\theta + i\sin \theta \\ a = m +in$$  But it will be terrible to use in the second one. What's more, I found this form a little special so maybe there is some clever trick without using expansion?  Thank you a lot! You can use the range feature of unicode-math to set the math font for a specific unicode slots or the macro accessing the glyph. I tried this with the sum sign &amp; Latin Modern, see my example:  \documentclass{scrartcl}  \usepackage{amsmath} \usepackage{unicode-math} % use unicode in math &amp; setup math fonts \setmathfont{Asana Math} %\setmathfont[range=\sum]{Latin Modern Math} % substitute Sum sign  \begin{document}  Notice the different sum sign $\sum$, as intended.   Notice also, the difference in spacing, not intended: \begin{equation}     \begin{bmatrix}         0           &amp; \frac{1}{2}   &amp; \frac{2}{3} \\         \frac{3}{4} &amp; 0             &amp; \frac{4}{5} \\         \frac{5}{6} &amp; \frac{6}{7}   &amp; 0     \end{bmatrix}     \begin{pmatrix}         A \\         B \\         C     \end{pmatrix} \end{equation} \end{document}   However, not only the sum sign, but also the spacing in the matrices changes. With Latin Modern commented out (as in the example):  With Latin Modern active (remove % before relevant line):  Why is that? BTW, I'm using Lualatex from TeXLive 2012. How to get speech output from entered text by using command-line?  Also facility to change speech rate, pitch, volume etc using simple command. How to write in bibliography (package natbib) letter "a" with two dots above? Specially, I mean the word Birkhäuser.  Is there a general rule or way how to write such umlauts or other accented letters in bibliographies? How do you create grass? What are Salesforce ID's composed of? I remember seeing somewhere that IDs are composed of a few pieces. I always have a hard time trying to find that information when I'm looking for it. What I mean by the above is that the various places in the ID represent different things - for example the first few characters represent what type of sObject it is.