I'd like to write bash script that starts certain application on startup. I would like to have for example Firefox opened in first workspace, Slack on second, spotify on third. I know how to start these applications, but don't know how to place them in specific workspace. Is it possible in Ubuntu 17 with GNOME?
Is it possible to set start-up applications to initialize in certain workspaces? I'd like to not have to manually distribute my start-up applications across my numerous workspaces every time I boot up my machine. I'm running Ubuntu 12.04 .  Any Help ?
Why many abstract nouns get an indefinite article while it's taught that abstract nouns shouldn't get it? I am a dual Australian/British citizen with an expired emergency Aussie passport and a valid UK passport. What are my chances for an Aussie visit? I was going to have to miss my brother's wedding on Jan 4th but he bought me a flight today. But my Aussie passport is expired and was only an emergency passport to begin with. I'm born and bred Aussie, just been away for ten years. I'm hoping to arrive on UK passport, show the expired Aussie one and the wedding invite and my return ticket for two weeks later and hope they understand.   What are my chances? Also planning on going to the Aussie embassy on Monday to see what they say but want to know my chances of just entering on a UK passport. Using Chrome's Element Inspector in Print Preview Mode? I'm trying to install Anbox in my new Ubuntu 16.04 using instructions from  . It seemed to work, but I got no icon in my dash, so I suspect that the installation is not complete. With Synaptic  Package Manager I can see that anbox-common &amp; anbox-modules-dkms are installed, but I have no icon in my dash, so I tried running   sudo snap install --edge --devmode anbox   and got this error:  error: cannot install "anbox": Get    https://search.apps.ubuntu.com/api/v1/snaps/details/core?channel=stable&amp;fields=anon_download_url%2Carchitecture%2Cchannel%2Cdownload_sha3_384%2Csummary%2Cdescription%2Cdeltas%2Cbinary_filesize%2Cdownload_url%2Cepoch%2Cicon_url%2Clast_updated%2Cpackage_name%2Cprices%2Cpublisher%2Cratings_average%2Crevision%2Cscreenshot_urls%2Csnap_id%2Csupport_url%2Ccontact%2Ctitle%2Ccontent%2Cversion%2Corigin%2Cdeveloper_id%2Cprivate%2Cconfinement%2Cchannel_maps_list:    dial tcp: lookup search.apps.ubuntu.com on [::1]:53: read udp    [::1]:54255-&gt;[::1]:53: read: connection refused   What am I doing wrong? Why was the connection refused? According to the instructions, it seems this is the correct command to install it.  ps: I'm not that familiar with Linux, I'm more of a Windows guy, trying to learn Linux. Unable to upgrade Windows 10 edition from Home to Pro I have a Lenovo laptop which upgraded from Windows 8.1 Home to Windows 10 Home.  I have a (legitimate) Windows 10 Pro key which I ran through the "Change Product Key" wizard.  After a reboot I get an error which states "We couldn't upgrade your edition" and asks me to try again or seek help from my system administrator (me!) or Microsoft.  There is nothing in the event logs except Info entries in the Setup log stating it failed to change the installed state to Pro Edition with a hex error code (I don't have access to the laptop right now, I will update later with the full log details)  Googling the hex error code led me to a Windows 7 KB Article regarding Windows Update failure due to locked files. The article stepped through using MSCONFIG to perform a clean boot which I did, but still got the error.  Any pointers on how to upgrade this laptop? Or will I have to get the sledgehammer out and do a clean install? Defining coordinate reference system with rotation in GeoServer? I am using GeoServer and have a layer in EPSG:900913 ("Google Mercator").  I need to "rotate" the map around certain point (say, 1500000, 7000000) by certain degree (say, 30 degrees clockwise). How could I define such a coordinate system based on EPSG:900913?  GeoServer's  does not work for my purposes as I need to tile the map later on.  As far as I understand this, my only option is to define an own coordinate system. For GeoServer I'd need to . The configuration seems to be straightforward, but I have a difficulty defining my rotated CRS in .  I am wondering how to apply a rotation around certain point onto a CRS like Google Mercator:  PROJCS["WGS84 / Google Mercator",    GEOGCS["WGS 84",      DATUM["World Geodetic System 1984",        SPHEROID["WGS 84", 6378137.0, 298.257223563, AUTHORITY["EPSG","7030"]],        AUTHORITY["EPSG","6326"]],      PRIMEM["Greenwich", 0.0, AUTHORITY["EPSG","8901"]],      UNIT["degree", 0.017453292519943295],      AXIS["Longitude", EAST],      AXIS["Latitude", NORTH],      AUTHORITY["EPSG","4326"]],    PROJECTION["Mercator_1SP"],    PARAMETER["semi_minor", 6378137.0],    PARAMETER["latitude_of_origin", 0.0],    PARAMETER["central_meridian", 0.0],    PARAMETER["scale_factor", 1.0],    PARAMETER["false_easting", 0.0],    PARAMETER["false_northing", 0.0],    UNIT["m", 1.0],    AXIS["x", EAST],    AXIS["y", NORTH],    AUTHORITY["EPSG","900913"]]   My questions, specifically:   How to write a WKT which transform an existing CRS? My guess would be that I need a new PROJCS wrapping an existing one and adding a PROJECTION clause. How would I found out the projection id (like Mercator_1SP above) and the required parameters (the PARAMETER clauses)? Can I "reference" EPSG:900913 in CRS WKT instead of copy-pasting the whole PROJCS clause? Homeomorphism that maps given points to given points How do I fix the left mouse opening the menu instead of breaking blocks? How to solve the diffencial equation for power series $(1+x²)y'' - 6xy=0$ in $x_{0}=0$ I have tried for the power series but when suppose the solution is $y(x)=\sum _{n=0}^\infty a_nx^n$ appeared sums dependents of $a_n$,  $a_{n+2}$ and $a_{n-1}$ and this is not possible. Automatic field should take the required entry Delete all but top n from database table in SQL What's the best way to delete all rows from a table in sql but to keep n number of rows on the top? ꕺ (U+A57A Vai Syllable Kpoo) is allowed in character names as the last character I believe this should be changed so ꕺ can not be the last character of a name at minimum. This could be a bug in my opinion because it provides confusion with diamond mods.  Although other symbols are blocked from what I understand but this does technically look different.  I have changed my name to such to demonstrate the confusion at least temporarily.  They say imitation is the greatest form of flattery so maybe this should be accepted because to anyone who is familiar with SO I doubt this would cause an issue. Prove that $\sqrt{n} \le \sum_{k=1}^n \frac{1}{\sqrt{k}} \le 2 \sqrt{n} - 1$ is true for $n \in \mathbb{N}^{\ge 1}$ I'm trying to solve  proposed by the department of mathematics of Oxford University. I don't know how to give a valid proof for the third one which says the following:     Prove that for $n \in \mathbb{N}^{\ge 1}$: $$ \sqrt{n} \le  \sum_{k=1}^n \frac{1}{\sqrt{k}} \le 2 \sqrt{n} - 1 $$   My first approach has been to convert the summation into a function in terms of $n$ so that I could find the maximum and minimum values in the interval. However, there doesn't seem to be an easy way to express the summation as a function. Thanks in advance! drupal 7 + services 3 - inserting nodes with select fields I'm using Drupal 7 + Services 3 to create nodes with POST and JSON. Everything works fine, except field types of select - entity reference select or plain text.  The entity reference uses the autocomplete widget, while the text select is a plain radio button.  This is the format I'm using:  "field_urgency": {     "und": [  {  "value": 1    }   ] } What is postselection in quantum computing? A quantum computer can efficiently solve problems lying in the complexity class . I have seen a claim the one can (potentially, because we don't know whether BQP is a proper subset or equal to PP) increase the efficiency of a quantum computer by applying postselection and that the class of efficiently solvable problems becomes now postBQP = .  What does postselection mean here? Automate Fixed Width Page, length > some minimum length, but only as long as needed I am trying to automate the solution proposed by egreg to  by hooking into \begin{document} and \end{document}.  So, egreg's solution works fine:  \documentclass{article} \def\MinimumPaperHeight{12cm} \usepackage{geometry} \geometry{paperwidth=\MinimumPaperHeight,paperheight=\maxdimen,margin=1cm} \usepackage{lipsum}  \begin{document} \setbox0=\vbox{ \lipsum[1-6] } \dimen0=\dp0 \pdfpageheight=\dimexpr\ht0+2cm\relax \ifdim\pdfpageheight&lt;\MinimumPaperHeight \pdfpageheight=\MinimumPaperHeight \fi \unvbox0\kern-\dimen0 \end{document}   But can't seem to get this to work:  \documentclass{article} \def\MinimumPaperHeight{12cm} \usepackage{geometry} \geometry{paperwidth=\MinimumPaperHeight,paperheight=\maxdimen,margin=1cm} \usepackage{lipsum} \usepackage{environ}  \NewEnviron{MyBox}{     \setbox0=\vbox{\BODY}% }{%     \dimen0=\dp0%     \pdfpageheight=\dimexpr\ht0+2cm\relax%     \ifdim\pdfpageheight&lt;\MinimumPaperHeight \pdfpageheight=\MinimumPaperHeight \fi%     \unvbox0\kern-\dimen0% }  \AtBeginDocument{\begin{MyBox}} \AtEndDocument{\end{MyBox}}  \begin{document} \lipsum[1-6] \end{document}   Hooking into \AtBeginDocument is per this solution on . Is it possible to make signing up gracefully fail over to logging in if the SE OpenID account exists? For most OpenID options, it doesn't much matter if you pick the "Sign up" versus the "Log in" tab on the sign in page.  Whether you have an account on the site or not, it just does the right thing. Not so if you are using the Stack Exchange OpenID service:    (Bonus bug: the reCAPTCHA box is a bit too wide for the expanded "Sign up using Stack Exchange" container.)  Since we already have collected an email and password (well, two copies of the password), could we not check to see if they match and automagically log the user into their SE OpenID?  If not, the error needs to be reworded somehow to explain that while the email might have been used to create a Stack Exchange OpenID, that doesn't mean they can't log in with that OpenID to create an account.  Counterintuitively, they need to use the  even if they've never had an account there before.  The  link adds to the confusion since it sends an email that leads off with:     Someone requested an account recovery on The Workplace Stack Exchange for jericson@stackexchange.com, but we don't have an account on this site that matches this email address.   (For people with accounts on other sites and/or Stack Exchange OpenIDs, this paragraph is followed by other instructions that would probably work if followed. By that time I imagine many users are at wit's end.)  To simplify: If a user already has a Stack Exchange OpenID (likely because they have an account on another site) they should be able to use the  to sign up for an account or there should be clear instructions on what to do next if they fail. Insert a full page image How can I insert a full page image?  No blank space left in the page.  Bonus:  How can I add some text over the image? Why does my Mac's list of "Open with" applications start listing the apps twice and sometimes three times? Can Xdebug be triggered by Drush commands? I'm running into an issue with my Features modules and installation profile when installing the site with drush si. There are a number of probably related issues in the Features issue queue, but none with good solutions. The interesting part (mentioned in some of the issues) is that it works fine when installing the site through the browser, but fails when installing with drush si.  I have an idea of what's wrong, but need to confirm it. The only way I can think of confirming it is to step through the code with a debugger (Xdebug is what I have set up). So, is it possible to trigger Xdebug from a command run with Drush? Specifically, can I get Xdebug to kick in when I run drush si?