I'm a fairly new user with ubuntu. But What's the best/easiest way to get wine to work. It never seems to work for me.  thanks
I am looking for a step by step instruction to guide me in the ways of installing, configuring and debugging many of the issues new users have when dealing with Wine in Ubuntu.  What is the recommended way of installing Wine, some of the key issues that it has and how to solve them?  If I have a specific problem with an App in Wine, how do I go about solving it? What are the recommended steps to ensure that I can fix a problem related to an app I wish to use?
Bash auto_completion with Xubuntu and xrdp from windows I'm using Xubuntu and connecting over RemoteDesktop with Windows 7.  Everything works fine, but the auto_completion in my bash doesn't work. I checked the .bashrc file in my home directory and also the /etc/bash.bashrc.  I uncommend the lines below in my local bashrc configuration and also in bash.bashrc, but nothing changes.  if ! shopt -oq posix; then   if [ -f /usr/share/bash-completion/bash_completion ]; then     . /usr/share/bash-completion/bash_completion   elif [ -f /etc/bash_completion ]; then     . /etc/bash_completion   fi fi Does C# optimize the concatenation of string literals? For instance, does the compiler know to translate  string s = "test " + "this " + "function";   to  string s = "test this function";   and thus avoid the performance hit with the string concatenation? How do you create a dropdownlist from an enum in ASP.NET MVC? Proof that the One-Dimensional Simple Harmonic Oscillator is Non-Degenerate? It is well know that $SO(n)$ is connected and $O(n)$ has two connected components: $O^+(n)=\{A\in O(n):\det A=+1\}$ and $O^-(n)=\{A\in O(n):\det A=-1\}$.   In what book can I find this property? The equivalent electric field of a magnetic field When do we not put a comma before "because"? In what situation do you put a comma before "because"?   And, when do you not put a comma before "because"?   I've always assumed that you put a comma, because the clause introduced by "because" will always be independent, because it cannot stand on its own, because it wouldn't make sense on its own.   Is this the case? Could you think of an example where it doesn't take a comma? Javascript custom button stopped working, Synchronous XMLHttpRequest is deprecated We have a custom javascript button on the quotes object in our org that has been working for several months that someone has noticed today is not working.    I'm not sure if there was an update that broke it or what day exactly it stopped working.  I'm hoping someone has an idea of where I can even begin to look.   Here's the code:   javascript:location.href= 'mailto:emailaddress@ourdomain.com?SUBJECT='+ escape("{!Quote.Name}")+' - '+ escape("{!Quote.Contact_s_Account__c}") + '&amp;BODY=Please convert ' + escape(location.href)+ ' into a proposal and send it to the email address on the quote.  Thanks!';   Using developer tools in chrome, I see this error after I click the javascript button:   presence: onFailure in event parser ={"status":-5,"statusText":""}page load happens value=true           umps1w4.salesforce.com/umps/UMPSWidget_184/js/dist/umps-min.js?cflag=184.36:14 presence: onFailure in event parser ={"status":-5,"statusText":""}page load happens value=true   I changed my code to something simple:   javascript:location.href= 'mailto:emailaddress@ourdomain.com?SUBJECT='hello'    and got this error in the developer tools in chrome:   Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user's experience. For more help, check http://xhr.spec.whatwg.org/.   This lead me to the conclusion that I'm having XSS issues.  I do remember a SF update not too long about about protecting against XSS issues.  I guess I'll have to figure out a different way to implement this functionality. Was drafting an email and my senior wanted to type "Planting saplings is our way of saying we care for our Nature". I felt that's wrong English. Shouldn't it be "we care for Nature"? (it makes it a bit impersonal to remove the 'our', but if 'our nature' isn't right, can the cuteness factor of mentioning 'our nature' be preserved?. Which is correct?) How does the Doctor know how old he is? I've often wondered, how does the Doctor know how old he is? He not only travels through time, but also through space, and visits planets where days can be shorter or longer than 24 hours. How does he 'keep score'?  Also, does he count his age in Earth years or Gallifrey years? They might be completely different in length. Does That's very sweet of you  in the US sound like That's very sweef you? the of is only speak f and link with swee Can anyone provide me with (or point me to) real life gravitational lensing data that I can plug in to the first equation on this page (the standard lensing equation):   together with the luminous mass and distance to the galaxy(s).  I've looked for papers online and have not found any simple data that can be readily plugged in to the equation (I am not familiar with the details of how exactly the lensing is measured and have gotten lost in the mountains of data in the papers).  Thanks tput: No value for $TERM and no -T specified I am trying to run a bash script I have via cron, and I am getting the following error at the beginning of the execution:  tput: No value for $TERM and no -T specified   Here is what is in my crontab:  0 8 * * 1-5 cd /var/www/inv/ &amp;&amp; /var/www/inv/unitTest run all 2&gt;&amp;1| mail -r "user@example.com" -s "Daily Inventory Unit Test Results" user@example.com Filter bibliography by author? I would like to create a template for a publication list that can then be used by several people. The idea is that there is one bib-file which contains all of the publications. Peer-reviewed entries are marked with the keyword = pr. Then there is the master-file of the type scriptreport in which everyone can integrate their chapter-file in order to merge the publication lists of everybody into one file. The chapter file is the core of everything and should be reusable. It should filter out the entries for the respective author from the bib file and print them out in two lists (peer-reviewed and non-peer-reviewed). My problem is that I don't really know how to filter by author in this case. Here are the rough codes of the two files: Master: \documentclass[a4paper]{scrreprt}  \usepackage{biblatex}  \title{Publication list}  \addbibresource{sample.bib}  \begin{document}     \maketitle          \tableofcontents     \newpage          \include{Researcher}     \newpage \end{document}  chapter: \chapter*{Researcher} \addcontentsline{toc}{chapter}{Researcher}          \nocite{*}     \printbibliography[keyword={pr}, title={Peer-reviewed}]          \nocite{*}     \printbibliography[notkeyword={pr}, title={Non-peer-reviewed}] Digging in deeper to Javascript Remoting and I'm a bit confused.  The  starts off by showing how to set up everything and uses code like the following:  function getRemoteAccount() {     var accountName = document.getElementById('acctSearch').value;      // This remoting call will use the page's timeout value     Visualforce.remoting.Manager.invokeAction(         '{!$RemoteAction.AccountRemoter.getAccount}',         accountName,          handleResult     ); }   However, I've also seen examples where Visualforce.remoting.Manager.invokeAction is never called.  They end up looking something like the following:  function getText() {   var text = "";   JSRemotingBasicsController.doGetText(     function(result, event) {       // do something here     }   ); }   I'm wondering what is the point to using Visualforce.remoting.Manager.invokeAction when you can just reference the RemoteAction directly like the second example?  Is there something I'm missing?  Is there a time where the second example doesn't work? Redirect all requests to HTTPS, except for one subdirectory I'm trying to move from self-signed certificates to Let's Encrypt certificates on my nginx webserver.  Currently, I redirect all requests to http/80 to https/443, which uses a self signed certificate I created a while ago.  Now - from what I understand Let's Encrypt makes a request to port 80 (as I am using the webroot option of certbot). These requests are redirected, which renders the certificate generation unsuccessful.  I tried to achieve this with the following server block, listening at port 80:  server {         listen  80;              server_name     sub.domain.tld;         server_tokens   off;           location /.well-known {                 root /var/www/letsencrypt;         }          location / {                 return 301 https://$host$request_uri;         } }   But requests to /.well-known are redirected to https/443 anyways.  How can I redirect all requests from http/80 to https/443, except the requests to /.well-known/? Redirect stdout over ssh I would like to run  something &gt; file   on a remote system through ssh, but if I run  ssh host something &gt; file   the redirection is executed locally as ssh etc &gt; file  I've tried it with ' or '' or dd or with a pipe | instead, but I can't get it to work. How can this be done? Delete data using 2 DialogForm How can I install Visual Studio? How can I install Visual Studio?    I'd prefer to use it in Wine or PlayOnLinux if possible. Difference between $ and # in Linux environment