LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-22-2017, 07:41 AM   #1
gillsman
Member
 
Registered: Mar 2014
Location: UK
Distribution: Mint 18.3
Posts: 192

Rep: Reputation: 35
Missing System folder


Hi all,
I was trying to find a way of creating a desktop shortcut to my Downloads folder (which I wasn’t fully successful with) & somehow I managed to completely delete my Download folder complete with contents (thankfully not much)
It was not in the recycle bin, now when I open the main system folder & click the download link in the left hand pane it says "Could not find "/home/name/Desktop/Downloads"
I had hoped that a reboot might recreate the folder but it didn't so now I don't know how to get the folder back, I'm not too worried about the original content.
Any idea's much appreciated, I really don't want to have to reinstall the system from scratch as I have obviously tweak stuff to my liking which would take ages to do again.
Thanks all.
 
Old 01-22-2017, 08:41 AM   #2
grail
LQ Guru
 
Registered: Sep 2009
Location: Perth
Distribution: Manjaro
Posts: 10,007

Rep: Reputation: 3191Reputation: 3191Reputation: 3191Reputation: 3191Reputation: 3191Reputation: 3191Reputation: 3191Reputation: 3191Reputation: 3191Reputation: 3191Reputation: 3191
If you do the following at the command prompt:
Code:
$ ls -l /home/name/Desktop/Downloads
That should tell you where it was pointing to. You can then either recreate that directory or point it to a new one with:
Code:
$ ln -sfv /path/to/new_or_old/directory /home/name/Desktop/Downloads
 
Old 01-22-2017, 08:50 AM   #3
gillsman
Member
 
Registered: Mar 2014
Location: UK
Distribution: Mint 18.3
Posts: 192

Original Poster
Rep: Reputation: 35
Thank you, unfortunately the first command resulted in "No such file or directory" the second did nothing.
 
Old 01-22-2017, 09:18 AM   #4
Rickkkk
Senior Member
 
Registered: Dec 2014
Location: Montreal, Quebec and Dartmouth, Nova Scotia CANADA
Distribution: Arch, AntiX, ArtiX
Posts: 1,364

Rep: Reputation: 511Reputation: 511Reputation: 511Reputation: 511Reputation: 511Reputation: 511
Hi Gillsman - just recreate the directory.

The "Downloads" and other directories ("Documents" etc. ..) are created at install by some distros as a courtesy more than anything else. I don't consider them "system" directories. I am a bit surprised that "Downloads" was under "Desktop", mind you ... They are usually both under a user's home directory in distros that create them. ... Nevertheless ... :

$ cd /home/yourname/Desktop
$ mkdir Downloads

... shouldn't be more complicated than that. Thereafter, anything pointing to that directory will once again be happy :-)

Cheers,

Last edited by Rickkkk; 01-22-2017 at 09:21 AM.
 
Old 01-22-2017, 09:24 AM   #5
beachboy2
Senior Member
 
Registered: Jan 2007
Location: Wild West Wales, UK
Distribution: Linux Mint 21 MATE, EndeavourOS, antiX, MX Linux
Posts: 3,972
Blog Entries: 32

Rep: Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465
gillsman,

Open a Terminal:

Code:
ls -l /home/gillsman/Downloads
Anything reported?

On your Desktop you will have a folder called “gillsman’s Home”.

Open it and double-check that the “Downloads” folder does not exist in the Home folder.

Right click inside the Home folder, click on “Create Folder” and give it the name “Downloads2”.

Quote:
click the download link in the left hand pane
I assume that you previously had a Link to Downloads on your Desktop previously.

If you wish to have a Downloads2 link on your Desktop, right click on the Downloads2 folder in Home and then click on “Make Link”.

“Link to Downloads2” folder will appear.
Drag and drop this folder to your Desktop.
 
Old 01-22-2017, 12:40 PM   #6
gillsman
Member
 
Registered: Mar 2014
Location: UK
Distribution: Mint 18.3
Posts: 192

Original Poster
Rep: Reputation: 35
Cheers Guys, I created a new Downloads folder in my home directory, that seems to be ok, only thing is I have lost the link in the left hand pane of the files folder but I can live with that.
Cheers to all that helped.
 
Old 01-22-2017, 03:23 PM   #7
Rickkkk
Senior Member
 
Registered: Dec 2014
Location: Montreal, Quebec and Dartmouth, Nova Scotia CANADA
Distribution: Arch, AntiX, ArtiX
Posts: 1,364

Rep: Reputation: 511Reputation: 511Reputation: 511Reputation: 511Reputation: 511Reputation: 511
Glad all is good. For the "link" you said you've lost, sounds like what is called a "bookmark" in the file manager I use (PCManFM in LXDE). There's probably a simple function for creating bookmarks (or whatever your DE/File Manager calls them) to restore your link.

Cheers :-)
 
Old 01-22-2017, 03:25 PM   #8
gillsman
Member
 
Registered: Mar 2014
Location: UK
Distribution: Mint 18.3
Posts: 192

Original Poster
Rep: Reputation: 35
Thanks again. That's what make using Linux a pleasure, always someone in the community able to help.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
build file or folder missing in modules folder rich13348 Linux - Software 1 04-14-2009 01:57 PM
Discs option missing from system folder Jen Fraggle Ubuntu 4 01-23-2007 04:03 PM
Missing /boot folder and others.... leapingfrog Linux - General 7 05-03-2005 05:17 AM
missing a folder? Doug.Gentry Linux - General 4 01-29-2005 03:20 PM
missing folder thebblack Linux - General 2 12-02-2004 05:52 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:17 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration