I am running Ubuntu 16.04 in a VirtualBox on Microsoft Surface Pro (2017). Unfortunately that keyboard doesn't have a right control key, but just a menu key on the right. That's why I want to swap the menu key for right control key.  I tried to edit /usr/share/X11/xkb/symbols/altwin by changing this   // Menu is mapped to the Menu key. partial modifier_keys xkb_symbols "menu" {     key  { [ Menu ] }; };   to that   // Menu is mapped to the Menu key. partial modifier_keys xkb_symbols "menu" {     key  { [ Control_R ] }; };   and then logged in again, but unfortunately it does not work.  How is this done correctly?
I've tried to read and understand this:   As a test, since my layout is "Polish, programmer" in the /usr/share/X11/xkb/symbols/pl file I played with remapping the 'q' character to 'x', and it worked just fine.  But what I want, is to remap LWIN (Left Super) to Left Control.   So I tried this: I started editing /usr/share/X11/xkb/symbols/pc file, assuming this is the 'root' of all the other files. Commented out this line:  //key &lt;LWIN&gt; {  [ Super_L       ]   };   and added this one:  key &lt;LWIN&gt; {    [ Control_L     ]   };   and rebooted PC, with no success. I.e. LWIN + C, doesn't copy selected text in text editors to clipboard, instead it just produces the 'c' letter. In the terminal instead of stopping current programm it also just produces the 'c' letter.  Here is my config file:   When I try the xev command and then press the Left Control Key, I see this:  KeyPress event, serial 40, synthetic NO, window 0x5a00001,     root 0x7e, subw 0x0, time 1053321, (374,-259), root:(374,545),     state 0x0, keycode 133 (keysym 0xffe3, Control_L), same_screen YES,     XKeysymToKeycode returns keycode: 37     XLookupString gives 0 bytes:      XmbLookupString gives 0 bytes:      XFilterEvent returns: False  KeyRelease event, serial 40, synthetic NO, window 0x5a00001,     root 0x7e, subw 0x0, time 1053425, (374,-259), root:(374,545),     state 0x0, keycode 133 (keysym 0xffe3, Control_L), same_screen YES,     XKeysymToKeycode returns keycode: 37     XLookupString gives 0 bytes:      XFilterEvent returns: False   BTW. Ask ubuntu suggests me two links to similar questions, but they are old, and suggest using xmodmap, and afaik it's no longer correct answer on Ubuntu >= 16.04 (Xenial) and this is precisely the version I have.  BTW2. I would really like to avoid using apps like Xbindkeys, considering there is a built in solution, which I guess I almost understand, and already spent some time on trying to understand it.
What is error code 495 on Google Play and the YouTube app? "Facebook" could not be downloaded due to an error. (495)   How do I solve this error? How can I reinstall GRUB to the EFI partition? Logging individual application network usage in Windows 7 There are many answers here detailing programs that will monitor and log internet usage for a pc, but I need that usage to be logged and broken down, detailing which applications consumed that data.  I've noted there are several that give a real-time feed of each application's data usage (NetLimiter, Win7 Resource Monitor), but I can't find one that will log such data.  Anyone know of one?  Need to track down which program is using up a friend's bandwidth! A command-line or batch cmd to concatenate multiple files I have 50 text files in one directory.  Is there a Windows command-line method to concatenate those files into a single file?  I am using .  I don't want to type the name of all files. There is a way to add custom split normal use Python API? I can't find a way to achieve custom split normal effect. I want to use python (mesh normal/hard edge or soft edge) data collected from Maya then write to Blender mesh.    How to do it using the following Python API and how?  bpy.data.meshes[objName].normals_split_custom_set_from_vertices  bmesh module Currently, the number of "votes cast" excludes votes on deleted content. Once something gets deleted that you voted on, that vote vanishes from your stats. This of course happens frequently especially with down-votes - if you're a good voter, stuff you downvote often ends up getting deleted.  Seeing as the idea behind the public display of total votes you've cast is to encourage voting, is this really fair?   Also, doesn't it distort greatly all voting stats, especially when looking at candidates for moderator elections and such? What is the difference between data mining, statistics, machine learning and AI?  Would it be accurate to say that they are 4 fields attempting to solve very similar problems but with different approaches? What exactly do they have in common and where do they differ? If there is some kind of hierarchy between them, what would it be?  Similar questions have been asked previously but I still don't get it: How to make a table from two lists? counting number of specific string in each row Record screen, microphone and web camera in Ubuntu 17.10 (Wayland Session) Virtualbox Windows 10 Guest installation is freezing up in 14.04 I've installed VirtualBox using the Software Centre and I'm running a system on Ubuntu 14.04 with 8gb RAM, 64-bit dual core processor.  I want to run Windows 10, I've tried both 64 and 32 bit versions, in virtualbox. However, every time I start up windows 10 it gets to the point where the dots go round in a circle, then it freezes up and crashes back to the virtualbox manager. The only information it gives me is that the virtual machine was aborted.  I've changed the settings around a lot and nothing is working.  Any help would be appreciated.  Oh, and I've run Windows 10 technical preview on this machine before, a while ago  Thanks for any help in advance. Help with math symbols in BibTeX I am writing a PhD thesis using LaTeX. Every thing is going fine, but I have problem with the output of the mathematical symbols in the references lists. I copy one example from the Pdf file to make it clear for you. You can see that the fraction remains the same.      [1] Mezzacapo, F. and Cirac, J. I. (2010) Ground-state properties of   the spin-\frac{1}{2} antiferromagnetic Heisenberg model on the   triangular lattice: a variational study based on entangled-plaquette   states. New. J. Phys., 12,   103039.   You can see below the all the packages I use:  \documentclass[12pt,PhD,twoside,a4paper]{GB_muthesis}%[10pt,PhD, singlespace] \usepackage[pdftex]{graphicx} \usepackage[bookmarks=true,colorlinks=true,linkcolor=blue, urlcolor=blue,citecolor=blue]{hyperref} \usepackage[numbers,comma, sort&amp;compress]{natbib} \usepackage{amsmath} \usepackage{amssymb} \usepackage{mathtools} \usepackage{rotating} %\usepackage{GE_manthesis} \usepackage{GB_thesis} \usepackage{bm} \usepackage{fmtcount} \usepackage{setspace} \usepackage{chapterbib} \usepackage{subfigure}% allow subfigures \usepackage{amsfonts} \usepackage{url, enumitem} \usepackage{lscape} \usepackage{notoccite}%This package is for ingnoring the citation in the caption of the figures and tables. \begin{document} Is a visa to Poland required for a Russian spouse of a Polish citizen? I am a holder of a Russian passport and my husband is a Polish citizen. We both live and work in the UK. I have received my family member of EEA national card, good for 5 years. We would like to travel to Poland together. On the website of the Polish embassy it clearly states that if we are traveling together, I do not require a visa, however in the embassy they were sure that I do need a visa. Could anyone please clarify? I'm having some difficulty understanding how to interpret variable importance output from the Random Forest package. Mean decrease in accuracy is usually described as "the decrease in model accuracy from permuting the values in each feature".   Is this a statement about the feature as a whole or about specific values within the feature? In either case, is the Mean Decrease in Accuracy the number or proportion of observations that are incorrectly classified by removing the feature (or values from the feature) in question from the model?   Say we have the following model:  require(randomForest) data(iris) set.seed(1) dat &lt;- iris dat$Species &lt;- factor(ifelse(dat$Species=='virginica','virginica','other')) model.rf &lt;- randomForest(Species~., dat, ntree=25, importance=TRUE, nodesize=5) model.rf varImpPlot(model.rf)     Call:  randomForest(formula = Species ~ ., data = dat, ntree = 25,  proximity = TRUE, importance = TRUE, nodesize = 5)  Type of random forest: classification Number of trees: 25 No. of variables tried at each split: 2          OOB estimate of  error rate: 3.33% Confusion matrix:           other virginica class.error other        97         3        0.03 virginica     2        48        0.04     In this model, the OOB rate is rather low (around 5%). Yet, the Mean Decrease in Accuracy for the predictor (Petal.Length) with the highest value in this measure is only around 8.   Does this mean that removing Petal.Length from the model would only result in an additional misclassification of 8 or so observations on average?   How could the Mean Decrease in Accuracy for Petal.Length be so low, given that it's the highest in this measure, and thus the other variables have even lower values on this measure? Show $\sum\limits_{n=0}^{\infty}{2n \choose n}x^n=(1-4x)^{-1/2}$ How to "inverse match" with regex? Is there a term for an issue or activity that occurs only until the moment that you ask someone else to watch? Is there a term for the coincidence that occurs when an issue ONLY occurs until the moment that you ask someone else to watch or help you resolve it?    For example, having an issue with software until you try to show someone, then it stops being problematic.  Or an issue with the computer/phone that resolves as soon as a help ticket is put in.    The final example is when you have a problem with your car (funny noise, etc) - you hesitate taking it in for weeks because you know it will disappear as soon as the mechanic drives it...then it does.    This is different than a , where the action of applying a debugger, for example, changes the behavior of the activity being watched.  It's also different from a 'works on my machine' scenario, where only the original user has the problem.   What is it called when a problem resolves itself just by the mention of it?  Jinxing the issue? :)  I see this every day supporting my software product -- the users are experienced and are not making mistakes at one time then doing something different when I watch.  The problems also truly resolve (coincidentally) as soon as they ask for help - they do not reoccur.  I guess it's a case of synchronicity? When should com­pound words be writ­ten as one word, with hy­phens, or with spaces? On which Canary island is it possible to sleep on the beach? We are planning a two-night trip to the Canary Islands. The cheapest options include Lanzarote and Las Palmas for flights. Travel dates are last week of November, so I guess weather should be okay. I have never been to these islands. I'd like to sleep on the beach in a tent or mattresses. Is that possible, safety, legality, and weather? It would also be nice to know how populated with tourists the islands are. Do continuous linear functions between Banach spaces extend?