I couldn't find the Belgian keyboard layout during Ubuntu 20.04 install, the option seems to be missing (some &quot;belgien&quot; layouts are listed, they're not what I need). The workaround is to execute the command sudo setxkbmap be at startup. Of course I'd like to automate this hassle. I've tried putting the command (both directly and as a (tested) script) in crontab, preceded by @reboot through sudo crontab -e. The cron log lists this script so I suppose it has been executed, however, on startup the correct keyboard layout had not been loaded. I thought that perhaps it got overruled afterwards by system settings, but adding a minute of sleep did not work either. Neither does evoking crontab -e as regular user. Nor doing something like @reboot root /path/to/script.sh. I've looked at anacron, but that one doesn't seem to be promising more control at startup either. I've also tried putting the script in /etc/profile.d/. This breaks the system. Using ~/.profile appears not straightforward either for that matter, with reportedly inconsistent behavior. Listing bash /path/to/script.sh in startup application preferences, too, is ineffective. So do I really need to create a systemd service just for this? It seems like such a complicated ordeal for just changing the bloody keyboard layout..
I'm in Belgium (french part) and I cannot find the proper keyboard layout in Settings > Region and Languages > Input Sources.  the closest I found is the french (AZERTY) one but for the symbols such as ! and _ it's not the same keys...  what can I do to solve it ?  Thank you.
For me the distinction between sites is purely topical. I get that there's a right and a wrong place to ask questions, but I regularly ask questions across a number of sites. They all log me in (in a weird sort of way), and now there's the global inbox.  I've read that there's a feed  and that there's a  but neither of these are what I want.  What I'd like is to have an RSS feed from my global inbox, i.e. to include notification of updates to my public questions, answers, comments. Is this possible? Why wave theory cannot explain photoelectric effect and provides evidence for particle nature of light? We have some new hardware in our office which runs its own customized Linux OS.   How do I go about figuring which distro it's based on? All Stack Exchange data dumps Code block is not properly formatted when placed immediately after a list item Received W-2 but was never paid I just now received a W-2 from a company that I worked for 3 days as a contractor. I had to leave country for 2 months due to a family emergency. Since the employment duration was very short, I was not paid. I was told that they don't want to charge the client because 3 days is not enough contribution.  Since I had to leave country the same day, I did not argue with them and told it's okay if they feel right.  Now I have a W-2 from them saying they have paid me about $1500. I contacted them but I have not received any reply yet.  I just want to be prepared. What can I do here? LINQ to Entities does not recognize the method 'System.String Format(System.String, System.Object, System.Object)' What was Dumbledore's original wand made of? I am on SharePoint 2013 and do not have access to Designer, as a preface.  I am trying to create a list view that filters items by whether or not they were added in the last hour.  I had done this earlier, only with items that were added in the current week, by creating two columns, 'Week Start' and 'Week End', and filtering by Created falling between those two.  Simple enough.  However, filtering list views does not allow for complex functions, nor does the [Today] function recognize time, causing an issue.  Is there any workaround for this?  Thanks. I'm currently going through notes on a physics course and I'm having trouble understanding the difference between a tensor, a vector, and a matrix. I know that a vector is a kind of tensor and that a matrix is also a form of tensor, but what I'm having trouble understanding is how they differ, and how a vector is related to a matrix. String.split() *not* on regular expression? I am getting FATAL_ERROR|System.QueryException: List has no rows for assignment to SObject. I know that it is because it is not returning any rows in the SOQL query but what I want is that if it returns any row, it should update ALO field on contact object, if it is null then ALO field should be set to null.  Here is my code:  ziptoLOD = [SELECT Id, Name, LOD__c             FROM Zip_3_to_LOD__c             WHERE Name =: contact.Extract_Zipcode__c ];  Zip_3_to_LOD__c ziptoLOD2 = (ziptoLOD != null) ? ziptoLOD : null;  if (ziptoLOD2 == null) {     contact.ALO__c = ' ';    } else {     System.debug(System.LoggingLevel.ERROR, 'Zip to LOD' + ziptoLOD2);     contact.ALO__c = ziptoLOD2.LOD__c; }   My code gets stuck at the SOQL query and gives me the list has no rows error. Conditional Rendering inside Visualforce pages How do I show that the sum $(a+\frac12)^n+(b+\frac12)^n$ is an integer for only finitely many $n$? How can I work with file uploads during a Webdriver test? This is a canonical question, intended to provide a comprehensive answer to many related questions  During the course of a Webdriver test, I want to upload files. However, this opens a native file picker, which Webdriver doesn't seem to support interacting with. How do I interact with it? Which commit has this blob? Given the hash of a blob, is there a way to get a list of commits that have this blob in their tree? Let $(a_k)$ be a sequence of real numbers and let $b_k=\frac{a_1+a_2+\dots a_k}{k}$ for each $k\in \mathbb{N}$.  Prove that if $(a_k)$ converges to $\alpha\in \mathbb{R}$, then the sequence $(b_k)$ also converges to $\alpha$.  My answer: Let $\epsilon &gt; 0$. Since ($a_k$) converges to $\alpha$, then there exists a $N_{\epsilon1}\in\mathbb{N}$ such that $|a_k - \alpha | &lt; \frac{\epsilon}{2}$ for all $k \geq N_{\epsilon1}$. Notice that $\frac{a_1+...+a_n - n\alpha}{k}$ converges to $0$ as $k$ approaches infinity. Thus, there exists $N_{\epsilon2}\in\mathbb{N}$ such that $|\frac{a_1+...+a_n - n\alpha}{k}|&lt;\frac{\epsilon}{2}$ for all $k&gt;N_{\epsilon2}$. Now, let $N= $max$ (N_{\epsilon1},N_{\epsilon2})$. Then for any $k&gt;N$ we get,  $$\begin{array}{rcll} |b_k-\alpha| &amp;=&amp; |b_k - \alpha*1|&amp;\\ &amp;=&amp; |\frac{a_1+...+a_k}{k} - \frac{k\alpha}{k}|&amp;\\ &amp;=&amp; |\frac{a_1+...+a_n}{k} + \frac{[a(n+1)+...+a_k]}{k} - \frac{(k-n)\alpha}{k} - \frac{n\alpha}{k}|&amp; \text{(notice that $N_{\epsilon1}\leq N&lt;k$)}\\ &amp;=&amp; |\frac{a_1+...+a_n - n\alpha}{k} + \frac{[a(n+1)+...+a_k - (k-n)\alpha]}{k}|&amp;\\ &amp;=&amp; |\frac{a_1+...+a_n - n\alpha}{k} + \frac{[(a(n+1) -\alpha) + ... + (a_k - \alpha)]}{k}|&amp;\\ &amp;=&amp; |\frac{a_1+...+a_n - n\alpha}{k} + \frac{(a(n+1) -\alpha)}{k} + ... + \frac{(a_k - \alpha)}{k}|&amp;\\ &amp;\leq&amp; |\frac{a_1+...+a_n - n\alpha}{k}| + |\frac{(a(n+1) - \alpha)}{k}| + ... + |\frac{(a_k - \alpha)}{k}|&amp; \text{(by the triangle inequality)}\\ &amp;=&amp;|\frac{a_1+...+a_n - n\alpha}{k}| + \frac{|(n+1) - \alpha|}{k} + ... + \frac{|a_k - \alpha|}{k}&amp;\\ &amp;&lt;&amp; \frac{\epsilon}{2} + [\frac{\epsilon}{2}/k + ... + \frac{\epsilon}{2}/k]&amp; \\ &amp;=&amp; \frac{\epsilon}{2} + \frac{\epsilon}{2}*\frac{(k-n)}{k}&amp;\\ &amp;&lt;&amp; \frac{\epsilon}{2} + \frac{\epsilon}{2}&amp; \text{(since $k-n&lt;k$)}\\ &amp;=&amp; \epsilon&amp; \end{array}$$ And since we found such an $N$ for arbitrary $\alpha$, then $(b_k)$ converges to $\alpha$ by definition.  I'm not sure i kept all my variables straightened out. How does this look and if you have a better idea let me know! So the vending machine tore my $5 in pieces. What now? The vending machine swallowed half of my $5 bill, and the other half remained in my hand. Can I get my $5 back, or is it all lost forever? How can you prove that a function has no closed form integral? In the past, I've come across statements  along the lines of &quot;function $f(x)$ has no closed form integral&quot;, which I assume means that there is no combination of the operations:  addition/subtraction multiplication/division raising to powers and roots trigonometric functions exponential functions logarithmic functions  which when differentiated gives the function $f(x)$. I've heard this said about the function $f(x) = x^x$, for example. What sort of techniques are used to prove statements like this? What is this branch of mathematics called?  Merged with &quot;&quot; by : Sometimes we are told that some functions like $\dfrac{\sin(x)}{x}$ don't have an indefinite integral, or that it can't be expressed in term of other simple functions. I wonder how we can prove that kind of assertion? Find files that a user can write, efficiently with minimal process creation I am root. I would like to know whether a non-root user has write access to some files - thousands of them. How to do it efficiently while avoiding process creation?