In Ubuntu 13.10, I want to change my suspend timer to go to sleep after 3 hours, but in System Settings I can not do that. I'm wondering is there any way to set it?  I've already tried the instructions in this question:
I run Mythtv on some Ubuntu 11.10 based machines.  In the power settings, I can choose from a list of time periods from 5 minutes up to 1 hour for the the machine to suspend when inactive.  I would like to set the suspend to occur at a longer interval, like 2 hours or 4.  Previously with Gnome, I would think that I could go into the gconf editor and find the key there, I am not sure with Unity where to override a setting like this.  Any suggestions?
Xubuntu live usb persistence - how to? I'm using Xubuntu 13.04 from live usb.  I know that in order to be able to keep files/settings/etc after restart, USB live disk should be created with some storage reserved. However since I got this USB from a friend who created installation, I don't know if he reserved any space, and so my questions are:   How can I find out amount of space reserved (if any)? If no space is reserved, can I manually chose USB/HDD location to store my settings in order to be able to boot into them the next time I log on?   I'm currently running a very long session and it would help me if I could somehow be able to store my settings (firefox, apt-gets, xrandr screen conf. ... ) to not have to do it again after I reboot.  Thanks,  IR I have the following diagram:  \documentclass{article} \usepackage{amsmath,amsfonts,graphicx} \usepackage{algpseudocode} \usepackage{tikz, nth} \usetikzlibrary{arrows.meta,decorations,decorations.pathreplacing,calc,bending,positioning, chains}  \begin{document} \begin{tikzpicture}[scale=0.6]         \draw[thick,]  (0,8) -- (0,0) node[left] {0};         \draw[thick,]  (0,0) -- (8,0) node[right] {8};         \draw[thick,]  (8,8) -- (8,0) node[left] {};         \draw[thick,]  (8,8) -- (0,8) node[left] {8};          \draw[thick,]  (4,0) -- (4,8) node[left] {};          \fill (1, 4) circle[radius=2.5pt] node[below]{$A$};         \fill (2, 6) circle[radius=2.5pt] node[below]{$B$};         \fill (3, 2) circle[radius=2.5pt] node[below]{$C$};         \fill (4, 8) circle[radius=2.5pt] node[below]{$D$};         \fill (7, 3) circle[radius=2.5pt] node[below]{$E$};         \fill (6, 1) circle[radius=2.5pt] node[below]{$F$};         \fill (5, 7) circle[radius=2.5pt] node[below]{$G$};         \fill (3, 8) circle[radius=2.5pt] node[below]{$H$}; \end{tikzpicture} \end{document}   How can I position the caption of the node $D$ both below and left, so that the line doesn't obscure the caption? Want to switch from software development to testing domain Prove that matrix can be square of matrix with real entries Prove that matrix   \begin{bmatrix}1&amp;0&amp;0\\0&amp;-1&amp;0\\0&amp;0&amp;-1\end{bmatrix}  can be square of matrix with all real entries.  I have found one such matrix to be   \begin{bmatrix}1&amp;0&amp;0\\0&amp;1&amp;-1\\0&amp;2&amp;-1\end{bmatrix} but is there an elegant way to do it without any trial and error? $$I(\alpha)=\int_0^1 \frac{x^\alpha-1}{\ln x}dx.$$  As the title says, if someone could solve this without using the differentiation under the integral sign technique, I would be very grateful. Using continuous color band for raster legend in QGIS composer legend? I'm looking for a way to insert continuous colour legend for a raster layer.  I managed to create discrete symbols with values along the bar, but I would like to have a continuous bar with some values on the bar, similar to the old plugin "One-Band Raster", that it doesn't work with the QGIS version higher than 1.7  I tried to set in properties->style, where I selected the  Render Type "Singleband pseudocolor" and see the "generate new color ramp" box.  I tried both "Continuous" or "Equal interval". However, in the Composer the legend always is displayed with discrete symbols.  Is there any way that can make QGIS Composer to display a nice continuous band for a raster layer? Could the granting lag for each badge be added to the FAQ? Implementing a PIVOT query Oracle: Inserting into table error - either duplicate column name or invalid datatype I'm trying to insert data from an external table. INSERT /*+ ignore_row_on_dupkey_index ( consruct ( construct_id ) ) */ INTO construct        (construct_id,       n_term ,       enz_name,       c_term,       cpp,       mutations,       mw_kda) SELECT *     FROM EXTERNAL ((       construct_id NUMBER(10),       n_term VARCHAR2 (50),       enz_name VARCHAR2 (50),       c_term VARCHAR2 (50),       cpp VARCHAR2 (50),       mutations VARCHAR2 (50),       mw_kda NUMBER (7,3))      TYPE ORACLE_LOADER     DEFAULT DIRECTORY data_to_input     ACCESS PARAMETERS (         RECORDS DELIMITED BY NEWLINE         SKIP 1         BADFILE bad_files:'badflie_insert_into_construct_from_construct.bad'         FIELDS TERMINATED BY ',' OPTIONALLY ENCLOSED BY '&quot;'         MISSING FIELD VALUES ARE NULL          )      LOCATION ('CONSTRUCT.CSV')     REJECT LIMIT UNLIMITED) ext          WHERE NOT EXISTS (         SELECT * FROM construct c         WHERE c.n_term = ext.n_term         AND c.enz_name = ext.enz_name         AND c.c_term = ext.c_term         AND c.cpp = ext.cpp         AND c.mutations = ext.mutations     );  But now i get this error: Error at Command Line : 171 Column : 7 Error report - SQL Error: ORA-00957: duplicate column name 00957. 00000 -  &quot;duplicate column name&quot;  Line 171 is the last line of this part INSERT /*+ ignore_row_on_dupkey_index ( consruct ( construct_id ) ) */ INTO construct        (construct_id,       n_term ,       enz_name,       c_term,       cpp,       mutations,       mw_kda)  Which is clearly not a duplicate column. If I do: INSERT /*+ ignore_row_on_dupkey_index ( consruct ( construct_id ) ) */ INTO construct      (construct_id,      n_term,      enz_name,      c_term,      cpp,      mutations,      mw_kda) SELECT *     FROM EXTERNAL ((       ext.construct_id NUMBER (10),       ext.n_term VARCHAR2 (50),       ext.enz_name VARCHAR2 (50),       ext.c_term VARCHAR2 (50),       ext.cpp VARCHAR2 (50),       ext.mutations VARCHAR2 (50),       ext.mw_kda NUMBER (7,3))      TYPE ORACLE_LOADER     DEFAULT DIRECTORY data_to_input     ACCESS PARAMETERS (         RECORDS DELIMITED BY NEWLINE         SKIP 1         BADFILE bad_files:'badflie_insert_into_construct_from_construct.bad'         FIELDS TERMINATED BY ',' OPTIONALLY ENCLOSED BY '&quot;'         MISSING FIELD VALUES ARE NULL          )      LOCATION ('CONSTRUCT.CSV')     REJECT LIMIT UNLIMITED) ext          WHERE NOT EXISTS (         SELECT * FROM construct c         WHERE c.n_term = ext.n_term         AND c.enz_name = ext.enz_name         AND c.c_term = ext.c_term         AND c.cpp = ext.cpp         AND c.mutations = ext.mutations     );  I get Error at Command Line : 174 Column : 10 Error report - SQL Error: ORA-00902: invalid datatype 00902. 00000 -  &quot;invalid datatype&quot;  Line 171 is ext.construct_id NUMBER (10), Is it a goal if, during kicks from the penalty mark, the ball goes outside the penalty area and then into the goal? Is there a BNF grammar of the TeX language? I'm looking for a BNF grammar of the TeX language, does it exist?  EDIT  For those of us who are not computer scientists, a BNF grammar is one kind of formal description of a CFG: .  For those who don't know their Chomsky, a CFG is a , which means (very roughly) that substitutions can be made independently of their use context. Fantasy book where a young prince becomes a mage Are code questions without an attempt now on topic How do you run a Python script as a service in Windows? Matching a space in regex I need to match a space character in a PHP regular expression. Anyone got any ideas?  I mean like "gavin schulz", the space in between the two words. I am using a regular expression to make sure that I only allow letters, number and a space. But I'm not sure how to find the space. This is what I have right now:  $newtag = preg_replace("/[^a-zA-Z0-9s|]/", "", $tag); How do I find the right size of filters for a lens? Let's stop displaying a user's accept rate Yu Yuphoria bricked after installing custom recovery and boot file My YU YUPHORIA got bricked while I was working with it. I want to install custom ROM into it for that I am installing custom recovery and boot file but the file that is found on Internet was not working and that's why I am stuck with company logo. I can't go into recovery mod, neither it boot, and USB debugging mode is turned off. I tried to install fresh ROM from fastboot but after installing every driver properly command prompt is showing "waiting for the device". Please sugest some way to get rid of this problem. Prove : $$ \text{If } \; x-\lfloor x \rfloor + \frac{1}{x} - \left\lfloor \frac{1}{x} \right\rfloor = 1 \text{, then } x \text{ is irrational.}$$  I think the way to go here is to falsely assume that $x$ is rational, thus having $x=\frac mn$ with $m,n$ integers and go with that, we also know that $x$ with the celling belongs to the integers and that $\frac 1x$ with the celling gotta be a $0$. Still can't prove it. Thank in advance ! How to use siunitx and tabularx together? I'm using the tabular features of siunitx (for what it is worth: v1.3 since I'm on TexLive 2009) to align numbers in tables, eg.  \begin{tabular}{ p{1.5cm} S S S } bla &amp; 1.23 &amp; 4.5 &amp; 67.89 \tabularnewline \end{tabular}   and that works perfectly fine.  Now I would like to have this table span a specific width, or rather to have several tables to have the same width. For this I would normally use tabularx  \begin{tabularx}{\textwidth}{ p{1.5cm} X X X } bla &amp; 1.23 &amp; 4.5 &amp; 67.89 \tabularnewline \end{tabular}   Now, is there a way to combine the two? To have the number formatting and alignment features of siunitx inside an automatically resizing table?