I'm trying to follow the solution in  to disable extra touchpad device so that  syndaemon will work to disable the touchpad while typing so I won't keep having a jumping cursor (very hard to type right now)!  Having trouble following the instructions, not familiar with Ubuntu that much. I enter the following:   sudo gedit /usr/share/X11/xorg.conf.d/51-synaptics-quirks.conf   That opens the text file.  I then paste the following:  # Disable generic Synaptics device, as we're using # "DLL0704:01 06CB:76AE Touchpad" # Having multiple touchpad devices running confuses syndaemon Section "InputClass"     Identifier "SynPS/2 Synaptics TouchPad"     MatchProduct "SynPS/2 Synaptics TouchPad"     MatchIsTouchpad "on"     MatchOS "Linux"     MatchDevicePath "/dev/input/event*"     Option "Ignore" "on" EndSection   Then click save and get the following errors:  ** (gedit:6473): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-spell-language not supported  ** (gedit:6473): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-encoding not supported  ** (gedit:6473): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-position not supported   So not able to fully complete this solution.  Let me know if you can help so I can perhaps make this new Dell Inspiron 15 7579 usable (trying both 17.04 on thumb drive and 16.04 LTS on external hard drive).
I have upgraded 14.04 to 16.04 . Now I am trying to open the gedit from terminal by passing the command:    sudo gedit /some/where/file.txt   but it is throwing an error stating that:    (gedit:2090): Gtk-WARNING : Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown:   The name org.gnome.SessionManager was not provided by any .service files**   However, it is opening the file. When I try to save any modification then it is showing this error after saving the file:    (gedit:2090): WARNING : Set document metadata failed: Setting attribute metadata::gedit-position not supported   I am not getting why this is happening in 16.04 only; it was not on 14.04.
What is $i^i$ and $(i^i)^i$ What is $i^i$ and $(i^i)^i$. I fond some answers  but is there a clearer explanation of this? Maybe something help me to understand. Is there a hook that runs after a user logs in? I am writing a plugin that fetches some extended user info from a remote service and I need it to execute its function each time a user logs in.  Is there a hook that gets fired after login that I can add an action to? How can we extract specific files from a large tar.gz file? I found  but, when I tried the mentioned command there, I got the error:  $ tar --extract --file={test.tar.gz} {extract11} tar: {test.tar.gz}: Cannot open: No such file or directory tar: Error is not recoverable: exiting now   How do I then extract a file from tar.gz? Which application does the vi command open? When you type vi in the terminal, the following output is shown  ~                             VIM - Vi IMproved                                 ~                                                                              ~                               version 7.3.547                                  ~                           by Bram Moolenaar et al.                             ~           Modified by pkg-vim-maintainers@lists.alioth.debian.org              ~                 Vim is open source and freely distributable                    ~                                                                                ~                        Help poor children in Uganda!                                                                                So according to this, vi must be launching VIm. But when you type  vim it gives  aditya@aditya-desktop:~$ vim The program 'vim' can be found in the following packages:  * vim  * vim-gnome  * vim-tiny  * vim-athena  * vim-gtk  * vim-nox Try: sudo apt-get install &lt;selected package&gt;   This shows that vim is not installed. Notably man vi and man vim launch the same man pages.  So what does the vi command actually launch? How to enter the Default Keyring password via the command line? Is there a way to enter the default keyring password using the command line?   For instance:  You have a remote setup of Ubuntu 10.10 thats set to auto login. You don't want to remove  the keyring password.  All right the system boots up and logs in automatically, then asks for the keyring password now at this point you can create ssh connections but you can't remote desktop.   What can you do to enter the keyring password at this point?  Also, to better clarify, this is from a remote connection using the command line. Difference between "right of=" and "right=of" in PGF/TikZ In the PGF/TikZ manual, sometimes I see the option right of=somenode instead of right=of somenode. They look very similar, but the effects are different.  The distance between nodes positioned with the latter option is boundary-to-boundary, as stated in the manual. However, with the first option, it seems that the distance is shorter. I couldn't find any explanation of the first option in the manual.  My question is: what is the difference between the two options? Is there any explanation in the manual that I missed? CodeIgniter Anchor error: URL not found on this server Git for beginners: The definitive practical guide Ok, after seeing , I have decided to skip to the end and go with .  So what I need is a beginner's practical guide to Git.  "Beginner" being defined as someone who knows how to handle their compiler, understands to some level what a  is, and has touched source control without understanding it very well.  "Practical" being defined as this person doesn't want to get into great detail regarding what Git is doing in the background, and doesn't even care (or know) that it's distributed.  Your answers might hint at the possibilities, but try to aim for the beginner that wants to keep a 'main' repository on a 'server' which is backed up and secure, and treat their local repository as merely a 'client' resource.  So:  Installation/Setup    How do you set up Git?  Try to cover Linux, Windows, Mac, think 'client/server' mindset.         Working with the code          How do you handle binary files (visio docs, for instance, or compiler environments)? How do you merge files changed at the "same time"?    Tagging, branching, releases, baselines    How do you pull a particular 'release'?   How do you resolve conflicts and complete the merge? How do you merge parts of one branch into another branch?        Other   Describe and link to a good GUI, IDE plugin, etc. that makes Git a non-command line resource, but please list its limitations as well as its good.    - Cross platform, included with Git  - Cross platform history viewer, included with Git  - Mac OS X  - Mac OS X history viewer  - Cross platform, commercial, beta  - console GUI for Linux  - GUI for Windows, Linux  - package for Windows, includes friendly GUI  Any other common tasks a beginner should know?     How do I work effectively with a subversion repository set as my source control source?   Other Git beginner's references                 Delving into Git     (and )    I will go through the entries from time to time and 'tidy' them up so they have a consistent look/feel and it's easy to scan the list - feel free to follow a simple "header - brief explanation - list of instructions - gotchas and extra info" template.  I'll also link to the entries from the bullet list above so it's easy to find them later. It's really hard to get started on Stack Overflow I have been on Stack Overflow for some time.  It is an AMAZING resource and don't know if I would've got through the past 18 months without it.  I love it!  Problem is that I have "1" reputation.  All of my questions have already been asked and answered.  My "new user restrictions" mean: - I can't vote up answers that were helpful. - I can't comment on answers.  I sometimes have a question to ask one of the users that answered someone else's question but I can't.  This is hard!  How do I get a break?  Do I have to troll for a couple of days/weeks/months to answer enough questions in the hope someone votes some of them up just so I can do some basic functions?  Perhaps the number of site visits and length of membership could count for something? Per the kernel documentation:  This control is used to define how aggressive the kernel will swap memory pages.  Higher values will increase aggressiveness, lower values decrease the amount of swap.   However this is kind of vague. I'm trying to figure out exactly what the parameter ultimately controls. I know it adjusts how aggressively the kernel tries to swap out pages, but what decision making process in the kernel code does it affect?  Does it adjust how long ago a page must have been accessed before the kernel swaps it out? If so what does the default value of 60 represent? And how much is changed by a increment/decrement of 1 (a formula would be nice)? Or does it swap out pages based on their access frequency? Or something else? A high school Olympiad problem Handle null value using Guava MapMaker/CacheBuilder When is it better to use String.Format vs string concatenation? What are the differences between executing shell scripts using "source file.sh", "./file.sh", "sh file.sh", ". ./file.sh"? Have a look at the code:  #!/bin/bash read -p "Eneter 1 for UID and 2 for LOGNAME" choice if [ $choice -eq 1 ] then         read -p "Enter UID:  " uid         logname=`cat /etc/passwd | grep $uid | cut -f1 -d:` else         read -p "Enter Logname:  " logname fi not=`ps -au$logname | grep -c bash` echo  "The number of terminals opened by $logname are $not"   This code is used to find out the number of terminals opened by a user on the same PC. Now there are two users logged on, say x and y. I am currently logged in as y and there are 3 terminals open in user x. If I execute this code in y using different ways as mentioned above the results are :  $ ./file.sh The number of terminals opened by x are 3  $ bash file.sh The number of terminals opened by x are 5  $ sh file.sh The number of terminals opened by x are 3  $ source file.sh The number of terminals opened by x are 4  $ . ./file.sh The number of terminals opened by x are 4   Note: I passed 1 and uid 1000 to all these executables.  Now can you please explain the differences among all these? 30" monitor has black border around desktop I have been using a 24" monitor with my macbook pro early 2011 connected via a mini display port to DVI adaptor.  I recently received an HP Z30i 30" monitor.  When I connect to it with an mini display port to display port adaptor, although it displays at the monitors native 2560x1600 resolution, the mac is scaling the desktop display down so as to leave a 1cm or so black border around the desktop.  The mac reports using a resolution of 2560x1600 and the display reports this also.   This makes the display blurry as single pixels become sub pixels.   The display looks like the same effect as having "under scan" turned on when using an HDMI cable at 1080p.  I thought that maybe there was a hardware or display problem, but when I boot off a previous system partition from a different hard-drive using the same OS (10.8.5) release, the monitor set up works perfectly.  This proves the OS release, display and the hardware, so I'm thinking that there must be a preferences problem with my current setup.  Perhaps the under scan setting is somehow being applied to this display when it's not using HDMI?  I've tried deleting /Library/Preferences/com.apple.windowserver.plist, ~/Library/Preferences/ByHost/com.apple.windowserver.HostNumber.plist and rebooting but no results.   The scaling is applied before the login screen and logging in as a different user has the same problem.  Any ideas?  It's driving me nuts, I've got this nice 30" screen and I can't use it! Socket Tester all indicators light up I used the above GFCI/RCD (up to 250v) socket tester on the 240v black and red live wire of the US split phase ac power system. When I connect the ground, all indicator lights (3 red) got on indicating "Live/Grd Reverse, Missing GRD" although it is connected properly.  What is inside the socket tester? Does it have a live and neutral leg such that it should only be used for ac system with polarity? How about if you use it on the red and black 240v phase to phase? Why would all the indicators light become on (3 red lights)?  The following is the specs of it:  Specifications: Brand Name: HABOTEST Color: Black Material: Flame Retardant ABS Plug Type: US Voltage: 48V-250V 45-65Hz RCD Test: >30mA (EU/UK Plug) RCD Working Voltage: 220V±20V GFCI Test: >5mA (US Plug) GFCI Working Voltage: 110V±20V Voltage Measurement: 48V~250V / 45~65Hz    Accuracy: ±(2.0%+2) Working Environment: 0°C ~ 40°C, 20% ~75%RH Storage Environment: -10°C ~ 50°C, 20% ~80%RH Safety Rating: EN61010-1,-2-030, EN61326-1,CAT II 300V Item Size: 62 * 65 * 55mm / 2.4 * 2.6 * 2.2in Item Weight: UK 64g/2.3oz, EU 59g/2.1oz, US 53g / 1.9oz Package Size: 7.5 * 7.4 * 7.3cm / 3.0 * 2.9 * 2.9in Package Weight: UK 90g/3.2oz, EU 86g/3.0oz, US 79g / 2.8oz I can't update my system because it freezes while installing a third-party update (zramswap-enabler)! Sometimes I get the following message in Update manager:  Could not initialize the package information An unresolvable problem occurred while initializing the package information. Please report this bug against the 'update-manager' package and include the following error message: E:The package zramswap-enabler needs to be reinstalled, but I can't find an archive for it.  I tried to remove the zramswap-enabler, but it's impossible because I get the following message: dpkg: error processing zramswap-enabler (--remove):  Package is in a very bad inconsistent state - you should  reinstall it before attempting a removal. Errors were encountered while processing:  zramswap-enabler E: Sub-process /usr/bin/dpkg returned an error code (1)  Actually I would really reinstall that package, but it is unable to do it! If I remove this third-party PPA then the system is warning me about a very very serious problem. So why can I not install/reinstall/remove/update this package and why freezes the updater if I try to update? I found many related questions on this site but I am still not sure about the rules. How can I decide if I need a visa to transit? Schengen members as of May 2021 are as follows:  Austria Belgium Czech Republic Denmark (excluding Greenland and the Faroe Islands - but an open border with the Schengen Area is maintained) Estonia Finland France (excluding overseas departments and collectivities) Germany Greece Hungary Iceland Italy Latvia Liechtenstein Lithuania Luxembourg Malta Netherlands (excluding Aruba, Curaçao, Sint Maarten and the Caribbean Netherlands) Norway (excluding Svalbard) Poland Portugal Slovakia Slovenia Spain (except Ceuta and Melilla) Sweden Switzerland onKeyUp not firing for ESC in IE How do you plot time on the X axis in excel? I need to plot the decay of my phone's battery against time over night. My starting time is 23:17:47 and my ending one is 07:05:49. I don't have any issue in changing the time format in the current one, selecting an XY chart and plotting time on the X axis.   The problem arises because Excel doesn't start the X axis at 23:17:47, but instead at 00:00:00, so my first value is drawn from the end of the graph and the goes back at the beginning when time values are over 00:00:00.   In other words, how do I set up the min time value to 23:17:47 and the max to 07:05:49 in excel?