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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
01-22-2017, 07:41 AM
|
#1
|
Member
Registered: Mar 2014
Location: UK
Distribution: Mint 18.3
Posts: 192
Rep: 
|
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.
|
|
|
01-22-2017, 08:41 AM
|
#2
|
LQ Guru
Registered: Sep 2009
Location: Perth
Distribution: Arch
Posts: 10,037
|
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
|
|
|
01-22-2017, 08:50 AM
|
#3
|
Member
Registered: Mar 2014
Location: UK
Distribution: Mint 18.3
Posts: 192
Original Poster
Rep: 
|
Thank you, unfortunately the first command resulted in "No such file or directory" the second did nothing.
|
|
|
01-22-2017, 09:18 AM
|
#4
|
Senior Member
Registered: Dec 2014
Location: Montreal, Quebec and Dartmouth, Nova Scotia CANADA
Distribution: Arch, AntiX, ArtiX
Posts: 1,364
|
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.
|
|
|
01-22-2017, 09:24 AM
|
#5
|
Senior Member
Registered: Jan 2007
Location: Wild West Wales, UK
Distribution: Linux Mint 22 MATE, Peppermint OS-Devuan, EndeavourOS, antiX
Posts: 4,360
|
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.
|
|
|
01-22-2017, 12:40 PM
|
#6
|
Member
Registered: Mar 2014
Location: UK
Distribution: Mint 18.3
Posts: 192
Original Poster
Rep: 
|
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.
|
|
|
01-22-2017, 03:23 PM
|
#7
|
Senior Member
Registered: Dec 2014
Location: Montreal, Quebec and Dartmouth, Nova Scotia CANADA
Distribution: Arch, AntiX, ArtiX
Posts: 1,364
|
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 :-)
|
|
|
01-22-2017, 03:25 PM
|
#8
|
Member
Registered: Mar 2014
Location: UK
Distribution: Mint 18.3
Posts: 192
Original Poster
Rep: 
|
Thanks again. That's what make using Linux a pleasure, always someone in the community able to help.
|
|
|
All times are GMT -5. The time now is 02:13 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|