I searched a lot to find information about why I can't open .desktop files from nautilus but in  vain. Well I could open .desktop in Ubuntu 20.04 but in Groovy Gorilla, No I can't. I tried changing preferences but none came to any help either. And When I choose to be asked whether to open or edit in preferences then a dialog box does crop up and I click Run it just vanishes and nothing happens. But I can run these files from desktop well because this isn't part of nautilus I guess. I know it's not that important but though when I remember I could do that in previous version I can't help but try this to make possible. So any help here? And as a side note, I saw lots of videos which they even have icons in .desktop files(might be 19.10 or so).
After installing the latest Ubuntu I find that the icons in the applications folder (viz. /usr/share/applications), when opened in the Files application (Nautilus), come up as a blank page with a gear in the middle. If I try to open them I get a read only text box.
How to install Android Studio on Ubuntu? Can't install experimental modules Evaluate the infinite product $$\lim_{ n\rightarrow\infty }\prod_{k=2}^{n}\left ( 1-\frac{1}{k^2} \right ).$$  I can't see anything in this limit , so help me please. Provide two arguments to one option using getopts In below code when I give option r then getopts requires one arguments:  while getopts ":hr::l:" opt; do     case $opt in         r ) echo "Run Numbers - argument = $OPTARG " ;;         l ) echo "Latency range - argument = $OPTARG" ;;         h ) helptext             graceful_exit ;;         * ) usage             clean_up             exit 1     esac done   But I need to pass two arguments after -r option, instead of one. Is there an easy way to do this? I recently upgraded Windows 7 to Windows 10. The biggest issue I have now is that the Windows Search service no longer works, making the Start menu mostly unusable.  If I go to Indexing Options in the control panel I see that Indexing is not running and the list of paths to index is empty.  Going to advanced options, the current index path is empty, and the new path is empty too. This is true even if I try to use the "New Index" button.  Using the troubleshooter won't help since the service doesn't start. If I try to manually start the "Windows Search" service, I get the error  "Error 3: Unable to find specified path" (this is the rough translation, the original message is in my language).  What can I do to find out which path/file is missing ? I tried to check with Process Monitor, but the only file (beside system libraries) the SearchIndexer.exe try to access seem to be c:\ProgramData\Microsoft\Search\Data\Application (everytime the service is started the whole folder c:\ProgramData\Microsoft\Search is deleted and recreated) and C:\Windows\System32\config\systemprofile (which exists).  Edit: all available updates are installed, and issuing      SFC /scannow   Doesn't reveal any issue Error when creating data with special characters and numbers My code will not project and store the feature layer in the scratch.gdb. "ERROR 999999 ... The table name is invalid. The table was not found. [17_5330_51961Lake]"  The interpreter doesn't like "-" characters or beginning or ending in a number. Does anyone know of a work around?  import arcpy import os  mxd = arcpy.mapping.MapDocument("Current") mxdpath = mxd.filePath (filepath, filename) = os.path.split(mxdpath) MCP_Path = str(filepath)  srl = os.path.join(MCP_Path, r"CoordinateSystems\NAD 1983 UTM Zone 17N.prj")  WBYLID = "17-5330-51961"  WBYLIDlabel = WBYLID.replace("-","_")  LakeOut = os.path.join(MCP_Path + "\OutputData\Scratch.gdb", WBYLIDlabel + "Lake") arcpy.Project_management(fl, LakeOut, srl) Is it normal to get hundreds of break-in attempts per day? I just checked my server's /var/log/auth.log and found that I'm getting over 500 failed password/break-in attempt notifications per day! My site is small, and its URL is obscure. Is this normal? Should I be taking any measures? I'm attempting to modify the Table of Contents in my document. Currently, chapter one in my document is listed as   1   Introduction   What I would like to see is  Chapter 1   Introduction   Seems like an easy enough thing to ask for, but can't seem to find a good way to do this. Any feedback would be most appreciative. Why mass terms are forbidden? I would like to clarify my understanding on why mass terms in Lagrangians of gauge theories are forbidden.  It's often repeated that particle masses are forbidden by electroweak symmetry because it is a chiral theory. I want to make a distinction between fermionic masses and gauge boson masses.   Looking through the transformations of gauge boson mass terms, it seems that these are in fact always forbidden by their respective gauge symmetry. Is this correct? (So if there was no SU(2) symmetry, the photon and gluon would still need to be massless?)  In which case, the electroweak symmetry is actually responsible for forbidding all other mass terms (i.e. weak boson masses and fermion masses) due to the usual chiral arguments. Is this correct? How to set a command block with a command inside using the setblock command What do we call someone who's in between -a friend and an enemy! He's a friend of mine   The message is clear. He's my friend. He wishes all good for me and helps me whenever I need one.      He's an enemy of mine   The message is clear again. He's my enemy. He wishes all bad for me and never helps me whenever I need!     He's ...... of mine!   The message is clear. He's neither friend nor enemy. He's in between. At times, he may help me but then I cannot always rely on him. He's not a friend of mine.   Other times, he does really bad to me but maybe, there was no any other go for him. He's not an enemy of mine! :) I bought my kids a PC and installed 12.04 (Unity) on it.  The bottom line is, I want my children to use the computer unsupervised while I have confidence they cannot access anything inappropriate.  What I have looked at:  I was looking at Scrubit a tool which allows me configure my wifi router to block content and this solution would also protect my other PC and mobile devices.  This may be overkill as I just want the solution to work on one PC.    I also did some Google searches and came across the application called .  My experience of OSS is that the best solutions frequently never appear first on a Google search list and in this case I need to trust the methods therefore my question is very specific.   I want to leverage your knowledge and experience to understand What is the best way to restrict adult content on 12.04 LTS as this is important to me.  It maybe a combination of things so please don't answer this question "try this or that", then give me some PPA unless you can share your experience of how good it is and of course if there are any constraints. Install Nvidia driver instead of nouveau I've installed Ubuntu 14.04 and I'm experiencing a fuzzy/blurry screen and bad support for multiple screens.  I realized that Ubuntu installs nouveau as default, but I need to install nvidia drivers, so I tried this:   sudo apt-add-repository ppa:ubuntu-x-swat/x-updates apt-get update apt-get install nvidia-current apt-get upgrade       Now that nvidia is installed, you need to blacklist the nouveau driver   so it don’t pop out when you will reboot. Create or edit the following   file:  nano /etc/modprobe.d/blacklist-nouveau.conf       …and add these lines at the end:  blacklist nouveau blacklist lbm-nouveau options nouveau modeset=0 alias nouveau off alias lbm-nouveau off    I checked via the software &amp; updates if nvidia driver got installed successfully, and it says the driver installed is nvidia 304.117  I then tried to run:  lshw -c video | grep 'configuration'   and the result is that the driver is still nouveau:  configuration: driver=nouveau latency=0   So how do I install and use the nvidia drivers? Why does gulp.src not like being passed an array of complete paths to files? Why is it disadvantageous in graduate admissions to have a higher degree? indicates that holders of a master’s degree are held to higher standards when it comes to graduate admissions. The stated requirements for some graduate programs () also outright exclude applicants with doctoral degrees. These seem to be saying that holding a higher degree prior to application is a disadvantage (a fatal one in the case of a PhD). This also applies to private universities: Stanford  (at least in computer science); .  I don't understand why:   If there are two applicants, Alice and Bob, who have achieved largely similar things, it seems logical that both should have a roughly equal chance of being admitted. However, based on JeffE's answer, if Alice has a Masters degree while Bob does not, it's Bob that gets admitted instead of Alice. JeffE's answer even indicates that if Alice has achieved slightly more than Bob, it's still Bob that gets admitted.  If graduate admissions is looking for students that are capable of succeeding in its program, then Alice should be more likely to succeed than Bob since she's already had some experience of graduate study. This should be even more the case if Alice already has a PhD – if she can do it once, she should be able to do it again.    JeffE's answer indicates that since Alice has had more opportunities than Bob, she should also be held to higher standard. However it should also be true that Alice has already achieved what Bob has yet to and in fact might not be able to achieve. Further, JeffE's answer seems to be saying that Alice should do the academic equivalent of financial engineering and pass her graduate-level courses &amp; thesis without getting a master’s degree even if she qualifies for it, which sounds silly.  As for applicants with PhD degrees, my first guess would be that this is because , and the university is acting in the applicant's best interests. However if this is the case, then this is effectively telling the applicant "I know what you want better than you do", which also sounds silly. UC Berkeley's requirements also seem to be saying that if someone with a CV worthy of a tenured position were to apply for a PhD student position, the university will say "no" even though it's clearly better in their best interests (in terms of research output) to say "yes".   Presumably I'm misunderstanding something because if this behavior were irrational, it would already have been changed. What am I missing?  EDIT: I wonder if things are different in programs where the student is involved in research directly without spending time on coursework? I want to give a client access to my server, but I want to limit those users to their home directories. I will bind-mount in any files I want them to be able to see.  I've created a user called bob and added him to a new group called sftponly. They have a home directory at /home/bob. I've changed their shell to /bin/false to stop SSH logins. Here is their /etc/passwd line:  bob:x:1001:1002::/home/bob:/bin/false   I've also changed the /etc/ssh/sshd_config to include the following:  Match Group sftponly         ChrootDirectory /home/%u         ForceCommand internal-sftp         AllowTcpForwarding no   When I try to log in as them, here's what I see   $ sftp bob@server bob@server's password:  Write failed: Broken pipe Couldn't read packet: Connection reset by peer   If I comment out the ChrootDirectory line I can SFTP in but then they have free rein over the server. I have found that ChrootDirectory /home works, but it still gives them access to any home directory. I have explicitly tried ChrootDirectory /home/bob but that doesn't work either.  What am I doing wrong? How can I limit bob to /home/bob/?  ----EDIT-----  Okay so I just had a look at /var/log/auth.log and saw this:  May  9 14:45:48 nj sshd[5074]: pam_unix(sshd:session): session opened for user bob by (uid=0) May  9 14:45:48 nj sshd[5091]: fatal: bad ownership or modes for chroot directory component "/home/bob/" May  9 14:45:48 nj sshd[5074]: pam_unix(sshd:session): session closed for user bob   I'm not entirely sure what's going on there,  but it suggests something is wrong with the user directory. Here is the ls -h /home output:  drwxr-xr-x 26 oli      oli      4096 2012-01-19 17:19 oli drwxr-xr-x  3 bob      bob      4096 2012-05-09 14:11 bob Activate Field Service Lightning feature in a Salesforce DX scratch org? I am struggling to figure out how to -- or if it's even possible to -- create a DX scratch org with the "Field Service Lightning" (FSL) feature installed. Based on the feature list  I'm guessing the answer is no and I'll just have to wait. But I'm not sure I'm interpreting that source correctly or missing something entirely since I'm just wrapping my head around DX.   Background: we have a production org with FSL installed and active, along with it's accompanying managed packages. I can create sandboxes from it and do development using standard Metadata API tools, but I was hoping to start a new project using DX. But I'm stuck configuring a scratch org with the proper features. I'm an Egyptian citizen, who holds Schengen visa and stay permit in Italy. Can I go to UK for some days with my stay permit and Schengen visa? How to install the OS with a new Hard drive? What are 'return' pins? On a VGA connector, there are numerous 'ground' pins. Three of these are Red return, Green return and Blue return; But why does each color component have its own ground pin?