Xkill on open directory

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP








up vote
1
down vote

favorite












I accidentally ran xkill on my documents directory. Can I get the directory back or is it gone forever?



I am told the directory no longer exists.










share|improve this question

























    up vote
    1
    down vote

    favorite












    I accidentally ran xkill on my documents directory. Can I get the directory back or is it gone forever?



    I am told the directory no longer exists.










    share|improve this question























      up vote
      1
      down vote

      favorite









      up vote
      1
      down vote

      favorite











      I accidentally ran xkill on my documents directory. Can I get the directory back or is it gone forever?



      I am told the directory no longer exists.










      share|improve this question













      I accidentally ran xkill on my documents directory. Can I get the directory back or is it gone forever?



      I am told the directory no longer exists.







      xkill






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Apr 13 at 19:29









      Larry

      114




      114




















          1 Answer
          1






          active

          oldest

          votes

















          up vote
          4
          down vote



          accepted










          xkill typically wouldn't delete files -- it only terminates a process. You may have ran xkill on your file manager window, which would have terminated the file manager (you can always start it again, this is temporary) but it would not have deleted any files.



          Just to clarify, a file manager is a program that lets you view your files, often graphically (as opposed to doing it in the terminal with cd, ls, etc.). Terminating the file manager with xkill would be similar to clicking the "X" button on the top of Windows Explorer (on Windows) or Finder (on Mac) for example -- it doesn't actually delete your files.



          I'm assuming that you ran xkill on your file manager because it doesn't make sense to say that you ran xkill on a directory or file -- it can only operate on a process like a file manager. If you meant something else, please clarify and I'll try to help.






          share|improve this answer




















          • hi, yes I ran xkill on my file manager which was open on that particular directory. How do I get the directory back? I get the following error: error opening location: Error when getting information for file '/home/../Documents': No such file or directory
            – Larry
            Apr 13 at 19:39






          • 1




            OK. Is it possible you accidentally drag and dropped or renamed your Documents directory into the trash or into another folder? It's unlikely that xkill deleted the folder by itself. I would look all over your /home/<username>/ folder, and your Trash folder to see if you moved Documents. If you still can't find it, what version of Ubuntu are you using? And you are running as a normal user and not root, right?
            – Harry
            Apr 13 at 19:51






          • 1




            Also, was there any ongoing copy / move operation going on while you ran xkill? If you were actively in the middle of copying a file while the program was killed that might have caused a problem. If you want to try to find your documents folder in a more advanced way, running find ~ -name Documents in your terminal should show if there's any folder named exactly "Documents" in your home folder, so e.g. if you dragged it to ~/Videos/Documents then this command would find that.
            – Harry
            Apr 13 at 19:54






          • 1




            I ran find . -name Documents and it seems that the folder ended up in trash after xkill somehow....problem solved. thanks for your help
            – Larry
            Apr 13 at 19:56






          • 1




            Thanks! You might have accidentally pressed the Delete key or something while you were trying to get rid of the xkill cursor, which would have moved the folder to the trash. This was my first answer ever on askubuntu so I'm glad to have helped!
            – Harry
            Apr 13 at 19:59










          Your Answer







          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "89"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          convertImagesToLinks: true,
          noModals: false,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );













           

          draft saved


          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1024768%2fxkill-on-open-directory%23new-answer', 'question_page');

          );

          Post as a guest






























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes








          up vote
          4
          down vote



          accepted










          xkill typically wouldn't delete files -- it only terminates a process. You may have ran xkill on your file manager window, which would have terminated the file manager (you can always start it again, this is temporary) but it would not have deleted any files.



          Just to clarify, a file manager is a program that lets you view your files, often graphically (as opposed to doing it in the terminal with cd, ls, etc.). Terminating the file manager with xkill would be similar to clicking the "X" button on the top of Windows Explorer (on Windows) or Finder (on Mac) for example -- it doesn't actually delete your files.



          I'm assuming that you ran xkill on your file manager because it doesn't make sense to say that you ran xkill on a directory or file -- it can only operate on a process like a file manager. If you meant something else, please clarify and I'll try to help.






          share|improve this answer




















          • hi, yes I ran xkill on my file manager which was open on that particular directory. How do I get the directory back? I get the following error: error opening location: Error when getting information for file '/home/../Documents': No such file or directory
            – Larry
            Apr 13 at 19:39






          • 1




            OK. Is it possible you accidentally drag and dropped or renamed your Documents directory into the trash or into another folder? It's unlikely that xkill deleted the folder by itself. I would look all over your /home/<username>/ folder, and your Trash folder to see if you moved Documents. If you still can't find it, what version of Ubuntu are you using? And you are running as a normal user and not root, right?
            – Harry
            Apr 13 at 19:51






          • 1




            Also, was there any ongoing copy / move operation going on while you ran xkill? If you were actively in the middle of copying a file while the program was killed that might have caused a problem. If you want to try to find your documents folder in a more advanced way, running find ~ -name Documents in your terminal should show if there's any folder named exactly "Documents" in your home folder, so e.g. if you dragged it to ~/Videos/Documents then this command would find that.
            – Harry
            Apr 13 at 19:54






          • 1




            I ran find . -name Documents and it seems that the folder ended up in trash after xkill somehow....problem solved. thanks for your help
            – Larry
            Apr 13 at 19:56






          • 1




            Thanks! You might have accidentally pressed the Delete key or something while you were trying to get rid of the xkill cursor, which would have moved the folder to the trash. This was my first answer ever on askubuntu so I'm glad to have helped!
            – Harry
            Apr 13 at 19:59














          up vote
          4
          down vote



          accepted










          xkill typically wouldn't delete files -- it only terminates a process. You may have ran xkill on your file manager window, which would have terminated the file manager (you can always start it again, this is temporary) but it would not have deleted any files.



          Just to clarify, a file manager is a program that lets you view your files, often graphically (as opposed to doing it in the terminal with cd, ls, etc.). Terminating the file manager with xkill would be similar to clicking the "X" button on the top of Windows Explorer (on Windows) or Finder (on Mac) for example -- it doesn't actually delete your files.



          I'm assuming that you ran xkill on your file manager because it doesn't make sense to say that you ran xkill on a directory or file -- it can only operate on a process like a file manager. If you meant something else, please clarify and I'll try to help.






          share|improve this answer




















          • hi, yes I ran xkill on my file manager which was open on that particular directory. How do I get the directory back? I get the following error: error opening location: Error when getting information for file '/home/../Documents': No such file or directory
            – Larry
            Apr 13 at 19:39






          • 1




            OK. Is it possible you accidentally drag and dropped or renamed your Documents directory into the trash or into another folder? It's unlikely that xkill deleted the folder by itself. I would look all over your /home/<username>/ folder, and your Trash folder to see if you moved Documents. If you still can't find it, what version of Ubuntu are you using? And you are running as a normal user and not root, right?
            – Harry
            Apr 13 at 19:51






          • 1




            Also, was there any ongoing copy / move operation going on while you ran xkill? If you were actively in the middle of copying a file while the program was killed that might have caused a problem. If you want to try to find your documents folder in a more advanced way, running find ~ -name Documents in your terminal should show if there's any folder named exactly "Documents" in your home folder, so e.g. if you dragged it to ~/Videos/Documents then this command would find that.
            – Harry
            Apr 13 at 19:54






          • 1




            I ran find . -name Documents and it seems that the folder ended up in trash after xkill somehow....problem solved. thanks for your help
            – Larry
            Apr 13 at 19:56






          • 1




            Thanks! You might have accidentally pressed the Delete key or something while you were trying to get rid of the xkill cursor, which would have moved the folder to the trash. This was my first answer ever on askubuntu so I'm glad to have helped!
            – Harry
            Apr 13 at 19:59












          up vote
          4
          down vote



          accepted







          up vote
          4
          down vote



          accepted






          xkill typically wouldn't delete files -- it only terminates a process. You may have ran xkill on your file manager window, which would have terminated the file manager (you can always start it again, this is temporary) but it would not have deleted any files.



          Just to clarify, a file manager is a program that lets you view your files, often graphically (as opposed to doing it in the terminal with cd, ls, etc.). Terminating the file manager with xkill would be similar to clicking the "X" button on the top of Windows Explorer (on Windows) or Finder (on Mac) for example -- it doesn't actually delete your files.



          I'm assuming that you ran xkill on your file manager because it doesn't make sense to say that you ran xkill on a directory or file -- it can only operate on a process like a file manager. If you meant something else, please clarify and I'll try to help.






          share|improve this answer












          xkill typically wouldn't delete files -- it only terminates a process. You may have ran xkill on your file manager window, which would have terminated the file manager (you can always start it again, this is temporary) but it would not have deleted any files.



          Just to clarify, a file manager is a program that lets you view your files, often graphically (as opposed to doing it in the terminal with cd, ls, etc.). Terminating the file manager with xkill would be similar to clicking the "X" button on the top of Windows Explorer (on Windows) or Finder (on Mac) for example -- it doesn't actually delete your files.



          I'm assuming that you ran xkill on your file manager because it doesn't make sense to say that you ran xkill on a directory or file -- it can only operate on a process like a file manager. If you meant something else, please clarify and I'll try to help.







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Apr 13 at 19:33









          Harry

          25515




          25515











          • hi, yes I ran xkill on my file manager which was open on that particular directory. How do I get the directory back? I get the following error: error opening location: Error when getting information for file '/home/../Documents': No such file or directory
            – Larry
            Apr 13 at 19:39






          • 1




            OK. Is it possible you accidentally drag and dropped or renamed your Documents directory into the trash or into another folder? It's unlikely that xkill deleted the folder by itself. I would look all over your /home/<username>/ folder, and your Trash folder to see if you moved Documents. If you still can't find it, what version of Ubuntu are you using? And you are running as a normal user and not root, right?
            – Harry
            Apr 13 at 19:51






          • 1




            Also, was there any ongoing copy / move operation going on while you ran xkill? If you were actively in the middle of copying a file while the program was killed that might have caused a problem. If you want to try to find your documents folder in a more advanced way, running find ~ -name Documents in your terminal should show if there's any folder named exactly "Documents" in your home folder, so e.g. if you dragged it to ~/Videos/Documents then this command would find that.
            – Harry
            Apr 13 at 19:54






          • 1




            I ran find . -name Documents and it seems that the folder ended up in trash after xkill somehow....problem solved. thanks for your help
            – Larry
            Apr 13 at 19:56






          • 1




            Thanks! You might have accidentally pressed the Delete key or something while you were trying to get rid of the xkill cursor, which would have moved the folder to the trash. This was my first answer ever on askubuntu so I'm glad to have helped!
            – Harry
            Apr 13 at 19:59
















          • hi, yes I ran xkill on my file manager which was open on that particular directory. How do I get the directory back? I get the following error: error opening location: Error when getting information for file '/home/../Documents': No such file or directory
            – Larry
            Apr 13 at 19:39






          • 1




            OK. Is it possible you accidentally drag and dropped or renamed your Documents directory into the trash or into another folder? It's unlikely that xkill deleted the folder by itself. I would look all over your /home/<username>/ folder, and your Trash folder to see if you moved Documents. If you still can't find it, what version of Ubuntu are you using? And you are running as a normal user and not root, right?
            – Harry
            Apr 13 at 19:51






          • 1




            Also, was there any ongoing copy / move operation going on while you ran xkill? If you were actively in the middle of copying a file while the program was killed that might have caused a problem. If you want to try to find your documents folder in a more advanced way, running find ~ -name Documents in your terminal should show if there's any folder named exactly "Documents" in your home folder, so e.g. if you dragged it to ~/Videos/Documents then this command would find that.
            – Harry
            Apr 13 at 19:54






          • 1




            I ran find . -name Documents and it seems that the folder ended up in trash after xkill somehow....problem solved. thanks for your help
            – Larry
            Apr 13 at 19:56






          • 1




            Thanks! You might have accidentally pressed the Delete key or something while you were trying to get rid of the xkill cursor, which would have moved the folder to the trash. This was my first answer ever on askubuntu so I'm glad to have helped!
            – Harry
            Apr 13 at 19:59















          hi, yes I ran xkill on my file manager which was open on that particular directory. How do I get the directory back? I get the following error: error opening location: Error when getting information for file '/home/../Documents': No such file or directory
          – Larry
          Apr 13 at 19:39




          hi, yes I ran xkill on my file manager which was open on that particular directory. How do I get the directory back? I get the following error: error opening location: Error when getting information for file '/home/../Documents': No such file or directory
          – Larry
          Apr 13 at 19:39




          1




          1




          OK. Is it possible you accidentally drag and dropped or renamed your Documents directory into the trash or into another folder? It's unlikely that xkill deleted the folder by itself. I would look all over your /home/<username>/ folder, and your Trash folder to see if you moved Documents. If you still can't find it, what version of Ubuntu are you using? And you are running as a normal user and not root, right?
          – Harry
          Apr 13 at 19:51




          OK. Is it possible you accidentally drag and dropped or renamed your Documents directory into the trash or into another folder? It's unlikely that xkill deleted the folder by itself. I would look all over your /home/<username>/ folder, and your Trash folder to see if you moved Documents. If you still can't find it, what version of Ubuntu are you using? And you are running as a normal user and not root, right?
          – Harry
          Apr 13 at 19:51




          1




          1




          Also, was there any ongoing copy / move operation going on while you ran xkill? If you were actively in the middle of copying a file while the program was killed that might have caused a problem. If you want to try to find your documents folder in a more advanced way, running find ~ -name Documents in your terminal should show if there's any folder named exactly "Documents" in your home folder, so e.g. if you dragged it to ~/Videos/Documents then this command would find that.
          – Harry
          Apr 13 at 19:54




          Also, was there any ongoing copy / move operation going on while you ran xkill? If you were actively in the middle of copying a file while the program was killed that might have caused a problem. If you want to try to find your documents folder in a more advanced way, running find ~ -name Documents in your terminal should show if there's any folder named exactly "Documents" in your home folder, so e.g. if you dragged it to ~/Videos/Documents then this command would find that.
          – Harry
          Apr 13 at 19:54




          1




          1




          I ran find . -name Documents and it seems that the folder ended up in trash after xkill somehow....problem solved. thanks for your help
          – Larry
          Apr 13 at 19:56




          I ran find . -name Documents and it seems that the folder ended up in trash after xkill somehow....problem solved. thanks for your help
          – Larry
          Apr 13 at 19:56




          1




          1




          Thanks! You might have accidentally pressed the Delete key or something while you were trying to get rid of the xkill cursor, which would have moved the folder to the trash. This was my first answer ever on askubuntu so I'm glad to have helped!
          – Harry
          Apr 13 at 19:59




          Thanks! You might have accidentally pressed the Delete key or something while you were trying to get rid of the xkill cursor, which would have moved the folder to the trash. This was my first answer ever on askubuntu so I'm glad to have helped!
          – Harry
          Apr 13 at 19:59

















           

          draft saved


          draft discarded















































           


          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1024768%2fxkill-on-open-directory%23new-answer', 'question_page');

          );

          Post as a guest













































































          Popular posts from this blog

          pylint3 and pip3 broken

          Missing snmpget and snmpwalk

          How to enroll fingerprints to Ubuntu 17.10 with VFS491