How to add a program that is not installed via APT/dpkg to launcher? I installed Android Development Tools (you just download it and run the executable file inside a folder). I want to pin the ADT to the launcher, but I don't know how to do that. I tried to drag the executable file, but it didn't work. I also tried to click "Lock to the launcher"(on the right click when it's running), but it also didn't work. Any ideas?  Edit1: If I create shortcut like in the . Can I install normal eclipse and set it in a way it's the same like ADT downloaded from android.com? I tried that as well, but some features are missing.  Edit2: When I try to run it, what I get is an error message saying There was an error launching the application  Edit3: This is what I typed  Desktop Entry] Name=Eclipse Type=Application Exec='/home/dusan/adt-bundle-linux-x86_64-20140321/eclipse/eclipse' Terminal=false Icon='/home/dusan/adt-bundle-linux-x86_64-20140321/eclipse/icon.xpm' Comment=Eclipse NoDisplay=false Categories=Development;IDE Name[en]=Eclipse.desktop   Edit4: Eclipse launched successfuly.  Edit5: I also tried without apostrophes, but I get the same error message as in Edit2.
How can I edit/create new launcher items in Unity by hand? Will Unity allow making custom launcher icons from .desktop files or via menu editing system? (Right now the launcher doesn't give the option to "keep in launcher" on all programs.  For some programs I use, I have to make custom launchers or .desktop files.  For instance, daily blender builds are generally just folders with an executable.  In basic Gnome or KDE, I can make a new menu entry with the menu editing system. Then, I can also add it to Docky either from the menu or by dragging a .desktop file to it. Unity launcher doesn't support drag and drop, so thats not a bug or anything, but when I open a .desktop file, it has unpredictable results. Most time it will not have "keep in launcher". Sometime it will have a pinnable item without the .desktop's icon, and if I pin the item to the launcher, it will not call upon the program again after closing it. I've also gotten it to just work with a .desktop file for celtx.
Is there is any reason to make the permissions on an overridden C++ virtual function different from the base class?  Is there any danger in doing so?  For example:  class base {     public:         virtual int foo(double) = 0; }  class child : public base {     private:         virtual int foo(double); }   The  says that it is a bad idea, but doesn't say why.  I have seen this idiom in some code and I believe that the author was attempting to make the class final, based on an assumption that it is not possible to override a private member function.  However,  shows an example of overriding private functions.  Of course  recommends against doing so.  My concrete questions:   Is there any technical problem with using a different permission for virtual methods in derived classes vs base class? Is there any legitimate reason to do so? R: loading a table with number as the column heading all were wrongly added a X, how to solve it? Do I need an airport transit visa through Switzerland if I have no Schengen visa? Am traveling from Cairo to Moscow via Swiss Air What is the value of $1^i$? $\,$ Pre-declare all private/local variables? Continuity $\Rightarrow$ Intermediate Value Property. Why is the opposite not true?    It seems to me like they are equal definitions in a way.    Can you give me a counter-example?    Thanks What does "may they rot there" mean? How to move from screen 1 to screen 3 by moving cursor to the left and vice versa? If I have to move the mouse from the left screen all the way to the right screen, the distance is quite big.   Is there a way to virtually connect the sides of the screen as if they were arranged in a circle? I could then move from the left screen to the right screen, by simply moving the cursor to the left. How do you clone a Git repository into a specific folder? Executing the command git clone git@github.com:whatever creates a directory in my current folder named whatever, and drops the contents of the Git repository into that folder:  /httpdocs/whatever/public   My problem is that I need the contents of the Git repository cloned into my current directory so that they appear in the proper location for the web server:  /httpdocs/public   I know how to move the files after I've cloned the repository, but this seems to break Git, and I'd like to be able to update just by calling git pull. How can I do this? In a raster layer's Style Properties, I can choose pseudocolor render type, and choose a color ramp and classify the raster.      However, when I click the 'Apply' button, or click 'OK', the visualization of the raster never changes.  I was able to output a 'colorized' version of the same raster using GRASS plugin.  I also reinstalled QGIS 2.8, and was able to adjust and see a raster stylings using the steps I outlined above.  So, can anyone confirm this as an issue, or confirm that there's a mistake somewhere in my process?  I should note that I'm on a Mac, 10.10.4, and I'm using the QGIS provided by , 2.10.1-1 .  Update 1: Here's a screenshot of the rest of my settings.      I have Grayscale set to off in the Style setting.  Also, I don't believe grayscale/color-blind Preview is available on the Mac version of QGIS.  They're does't appear to be the option where it , in the Menu Bar under View / Preview / Photocopy (grayscale) etc.  Either way-- I added a shapefile to show color.  Update 2: I've experimented with setting color interpolation to discrete, linear, and exact, but still am not able stylize using Singleband pseudocolor.  I've also confirmed that the 'Render' box on the the main map view is checked.  Also, I am able to adjust Color Rendering settings, like Hue, Blending Mode, etc., and see the results when clicking 'Apply' or 'OK'.  Update 3: As other Mac users are confirming this, I think it may be a bug. I've created a bug report at the official . Spacing changes when using unicode-math range feature. Why? 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. I have a Canon 7D, which has a crop factor of 1.6x.  When using a Canon EF-S lens I get the focal length stated on the lens, when using a Canon EF lens I get the focal length times 1.6 when used on the APS-C body. At least that's what I thought.  I just compared two lenses:   Canon EF-S 15-85mm f3.5-5.6 Canon EF 70-200mm f4   .  The top photo is shot with the 15-85, the bottom photo with the 70-200 - both lenses are set to 70mm. Now why do they look the same?  I thought I would get 112-320mm (70mm*1.6 crop factor). What did I misunderstand about the crop factor calculation? Lightroom also displays the photos as having "70mm" and not 112mm. Seeking administrative boundaries for various countries? After learning about the  datasets I've working with the following layers, from the USA data   Country boundaries State boundaries County boundaries City boundaries ZipCode/Postcode boundaries   What I am trying to find is the equivalent (where appropriate) of the same data for various countries.  Is there any free administrative boundaries available as shapefiles for other countries? $|G|>2$ implies $G$ has non trivial automorphism How to get images to planes objects to receive shadow? Detect Chrome extension first run / update Limit $\frac{x^2y}{x^4+y^2}$ is found using polar coordinates but it is not supposed to exist. Linked server returned message "Query timeout expired." We have two separate SQL Servers. On one server we have a data warehouse (DWH), on the other we have sales information database.  Now on the DWH server there is an ETL job that collects the information from the sales server. The job runs daily after midnight. The DWH collects the information via linked server from the sales database.  Now, the most time the ETL job runs without any problems. But sometimes it fails because of query timeout. We have found out, that there is a specific pattern: The failure happens every 11th day. So on the 11th day the ETL job fails to collect information.   The following error occurs:     SQLNCLI11 for linked server “my linked server” returned message “Query timeout expired.”   Note: The job fails usually 10 minutes after start.  We have searched everything and could not found out what this issue causes. Also we know that the amount of data is every time, almost the same. Also there is no any scheduled job that runs all 11 days or something.  The remote query timeout on the linked server is set to 0.  Our next step will be, to turn off the antivirus programm on the sales server, to check if this causes the problem.  Does anyone have any clue or idea, where i can search further to find the problem? Keep box-shadow direction consistent while rotating I'm seeing an odd character like a very flat U, where there should be a space, with the listings package. See example below. Does anyone have any idea why this is happening, or how to get rid or work around it?  \documentclass{standalone} \usepackage{underscore} \usepackage{listings} \usepackage[usenames,dvipsnames, rgb, svgnames, x11names]{xcolor} % Text layout \topmargin 0.0cm \oddsidemargin 0.5cm \evensidemargin 0.5cm \textwidth 16cm \textheight 21cm  \lstnewenvironment{cmd}[1][]{%   \lstset{language=sh, backgroundcolor=\color{LightSteelBlue1}, #1}} {}  \begin{document} \begin{cmd}[caption=Configuration file section including filters] [affy6] [...]     [[hapmap]]     phenofiles = "data/Hapmap6.0/Pheno/hapmappheno_909.csv",     genofile = "/data/snppy/Hapmap6.0/Geno/birdseed-v2.calls.txt"     anno_filter = "chromosome = 5"     idlink_filter = "studyid = 'CEU'"     some_other_stuff = "foo = bar" \end{cmd} \end{document}