I'm using 18.04.3 I read previous answers but the GUI seems different than previous answers as previous answers talk about older version.  I don't want screensaver and auto lock. My system automatically locks itself after few minutes of inactivity and also there's a screensaver. I want to disable this.
I want that my monitor turns off when I am inactive for a while, but I do not want that I am prompted for a password when I revoke my pc. In Ubuntu 16.04 it was possible to disable the lock but still enable the screensaver as explained .  In Ubuntu 18.04 I entered the following in terminal:  dconf-editor   and disabled ubuntu-lock-on-suspend:    However, since I made this change, my monitor never suspends anymore. I tried restart but it didn't help.  Any ideas how I can disable lock but still enable suspend mode?
Identify this YA book series about dragons, acid blood, and dangerously cold nights Logical or operator not behaving as expected Where can I find a complete reference for the $PS1 variable? The default PS1 variable on my machine (Kubuntu 13.10) is this:  \[\e]0;\u@\h: \w\a\]${debian_chroot:+($debian_chroot)}\u@\h:\w\$   I'm looking for a reference for how the $PS1 variable works that, at a minimum, allows me to understand the above PS1 variable. outline object effect How can I achieve an outline effect similar to the ones found in League of Legends or Diablo III?      Is it done using a shader? How? I would prefer answers that are not tied up to any particular engine but one that I can adapt to whatever engine I'm working on. Have there been any recent attempts to falsify the  hypothesis alternative to the Doppler shift explanation for the red shift, or is it simply ignored like the pilot wave quantum mechanical hypothesis alternative to the Copenhagen hypothesis of quantum mechanics has been? What new evidence would it take to get the tired light hypothesis for the red shift reexamined as the recent fluid dynamics oil drop experiments have done for the pilot wave hypothesis of quantum mechanics? I learned thermodynamics and the basics of statistical mechanics but I'd like to sit through a good advanced book/books. Mainly I just want it to be thorough and to include all the math. And of course, it's always good to give as much intuition about the material.  Some things I'd be happy if it includes (but again, it mostly just needs to be a clear book even if it doesn't contain these) are:   As much justifications for the postulates if possible, I'm very interested in reading more about how Liouville's theorem connects to the postulates. Have examples of calculating partition functions, hopefully not just the partition function for the ideal gas. Each spell has it's own casting time, e.g.  takes 1 full round and  takes a swift action.   On the other hand,      Drinking a potion or using an oil is a standard action    as      In many ways, they behave like spells in potion form, and as such their effects can be dispelled by effects like dispel magic using the alchemist's level as the caster level. Unlike potions, though, extracts can have powerful effects and duplicate spells that a potion normally could not.   So how long does consuming an extract take? I'm inclined to believe that it takes just as long as the spell does to cast (e.g. a full round to Enlarge Person, only a swift for Burst of Speed) but I'd love to know if this is ever clarified in the rules or a FAQ that I've missed. Systemd backed tmpfs | How to specify /tmp size manually I mount /tmp on tmpfs using:  sudo systemctl enable tmp.mount sudo systemctl start tmp.mount   But this way /tmp takes up all the free RAM:  $ df -h /tmp Filesystem      Size  Used Avail Use% Mounted on tmpfs           3.9G   12K  3.9G   1% /tmp $   How do I tell systemd tmp.mount to use only 1G? I know I can alternatively not use systemd and manually add an entry to /etc/fstab and specify the size there. But I don't want to do that. I want to use systemd backed tmpfs. Is there a way to get reverse numbering on the enumerate environment? To build a list of publications, I wish to show the most recent on top of the list, while keeping the numbering similar. This can be achieved manually by doing something like:  \begin{enumerate} \item[42] pub num 42 \item[41] pub num 41 \item[...] \item[1] pub num 1 \end{enumerate}   but is there a more principled approach? How are self-replicating mines supposed to work? $\int_0^{\infty} f(x)dx$ converges and $\lim_{x\rightarrow \infty} f(x)$ exists, then $\lim_{x\rightarrow \infty} f(x)=0$? Bash is not finding a program even though it's on my path I have a program on my path.  The program runs when executed with a full path specified.  But the program cannot be found when I run it with just its name.    Essentially, I want to understand how the below output is possible, and how to fix it so that my program can actually be found without a full path specified:  root:/usr/local/bin# ./siege **************************************************** siege: could not open /usr/local/bin/etc/siegerc run 'siege.config' to generate a new .siegerc file **************************************************** root:/usr/local/bin# echo $PATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games root:/usr/local/bin# siege bash: /usr/bin/siege: No such file or directory root:/usr/local/bin# wtf!?!?   I'm on Ubuntu 12.04 using bash.  Also please note the warning output from siege is not relevant for the purposes of this question, as I am only interested in whether or not the program can be found and invoked. Converting string of 1s and 0s into binary value I'm trying to convert an incoming sting of 1s and 0s from stdin into their respective binary values (where a string such as "11110111" would be converted to 0xF7). This seems pretty trivial but I don't want to reinvent the wheel so I'm wondering if there's anything in the C/C++ standard libs that can already perform such an operation? After upgrading to Ubuntu 17.10 I noticed some of my screencasting applications are not working, for example screencasting tools like SimpleScreenRecorder and vokoscreen. ()  Also I noticed features like screenshot from GIMP is not working properly, producing blank screenshots (). Shutter too is producing glitchy screenshots ().  Screen-sharing option on Skype is also not working ().  The issue occurs sometimes on later Ubuntu releases too.  Why is this happening and how do I fix this? How can I convert from hex to base64? Can anyone recommend a straightforward way/tool to convert hex to base64?  I'm using Linux and OS X. How do I lock a file in Perl? What is the best way to create a lock on a file in Perl?  Is it best to flock on the file or to create a lock file to place a lock on and check for a lock on the lock file? Django: How can I protect against concurrent modification of database entries How can one prove that $\lim_{n \to \infty}a^{1/n}=1$ for every $a>0$? Prove that $\lim_{n \to \infty} a^{\frac{1}{n}} = 1$ if $a &gt;0$.  In my textbook, we are given a suggestion to let $a^{\frac{1}{n}} = (1+h_n)$ and then show that the $h_n$ term goes to zero using a Theorem that states the following conditions:  $\lim_{n \to \infty} = \infty,$ if $a &gt;1, 1,$ if $a = 1,$ and 0, if $\vert a \vert &lt; 1$. I apologize for not formatting the above cases appropriately; I could not figure out how to use a giant left brace to group them altogether.  If I rewrite it as $a^{n^{-1}}$, then I thought that this might help, but I don't think the Binomial Theorem would then apply since the exponent is negative. Furthermore, the problem is only concerned with the positive, real $n$-th roots. I am quite stuck on this problem and any suggestions or advice would be greatly appreciated.   I am using the textbook Introduction to Analysis by Arthur Mattuck. Torque relationship to speed in a DC motor I have a conceptual doubt about torque-speed relation in a DC motors. It's probably a gap in my thinking but I'm posting this question anyway.  Torque and speed in a DC motor are said to be inversely proportional. But doesn't an increase in torque result in increase in Angular Acceleration and consequently, angular speed?  I know that back EMF/counter-EMF is responsible for the inverse relation but it seems counter intuitive to me. What happens to the angular acceleration, angular speed when the torque is increased and where does all that work go? jQuery: Javascript throws Error "The operation is insecure" when setting value