How do I restore default file system hierarchy
I think I duplicated my Desktop folder , Without tweak hiding icons on desktop I cant seem to keep them from showing
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Ubuntu Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Jim Hutchinson
- Solved:
- Last query:
- Last reply:
Revision history for this message
|
#1 |
Please tell us some about the directory name you have copied...
So we can help you step by step
Thank you
Revision history for this message
|
#2 |
My home folder was coming up in the file browser path /home/guy but the contents of Desktop was being displayed and I lost the guy folder in the side pane. So the side pane was showing (Desktop,File system,Trash then after the break Videos,
noob boob move
Appreciate your help very much
Revision history for this message
|
#3 |
Please confirm is short have you done this:
copied the /home/guy/Desktop into /home/guy/
Thank you
Revision history for this message
|
#4 |
Thats is what Im not sure about
At the cmd prompt [guy@ubuntu-
Then when I cd to /home/guy/Desktop I get the contents of Desktop
So I get no file or dir when I try /home/guy/
Thanks
Revision history for this message
|
#5 |
if so is all ok...
i quite don't understand your issue...
Thank you
Revision history for this message
|
#6 |
So by default without ubuntu tweak installed the gutsy desktop comes up clean
Now when I log in if I leave tweak with its default settings all of my desktop folders contents show on the desktop
which was not the case before I messed this up. Also any flash drives or cd/dvd's inserted would show up on the desktop as mounted volumes and now that is not the case.
Sorry but I am confused
Tell me if Im having a senior moment
Thanks
Revision history for this message
|
#7 |
Open a terminal and please type:
cd
ls
copy and paste result here
then type:
cd Desktop
ls
copy and paste result here
Thank you
Revision history for this message
|
#8 |
[guy@ubuntu-
[guy@ubuntu-
Desktop
[guy@ubuntu-
[guy@ubuntu-
brasero.bin mac80211-10.0.4.tgz
brasero.toc mac80211-
Documents Music
Examples out.pnm
hplip out.ps
hplip-2.8.10.run PDF
iwlwifi-1.2.25 Photos
iwlwifi-1.2.25.tgz Pictures
iwlwifi-
iwlwifi-
iwlwifi-
iwlwifi-
iwlwifi-
key Videos
mac80211-10.0.4
[guy@ubuntu-
Revision history for this message
|
#9 |
ok now i understand... open a terminal and type:
cd
cd Desktop
mv * $HOME/Desktop/.
Hope this helps
Revision history for this message
|
#10 |
[guy@ubuntu-
mv: `brasero.bin' and `/home/
mv: `brasero.toc' and `/home/
mv: `Documents' and `/home/
mv: `Examples' and `/home/
mv: `hplip' and `/home/
mv: `hplip-2.8.10.run' and `/home/
mv: `iwlwifi-1.2.25' and `/home/
mv: `iwlwifi-
mv: `iwlwifi-
mv: `iwlwifi-
mv: `iwlwifi-
mv: `iwlwifi-
mv: `iwlwifi-
mv: `key' and `/home/
mv: `mac80211-10.0.4' and `/home/
mv: `mac80211-
mv: `mac80211-
mv: `Music' and `/home/
mv: `out.pnm' and `/home/
mv: `out.ps' and `/home/
mv: `PDF' and `/home/
mv: `Photos' and `/home/
mv: `Pictures' and `/home/
mv: `Public' and `/home/
mv: `qnext' and `/home/
mv: `recipes' and `/home/
mv: `Templates' and `/home/
mv: `Unsaved Document 1' and `/home/
mv: `Videos' and `/home/
I copied and pasted your suggestion and the above is what I got
Is that that the solution
I am new at this so I don't remember the orig. config.
but I do remember that I never had to use ubuntu tweak to hide desktop icons and when I would insert a flash drive it would show up on the desktop which now it doesn't
Thank you so much for your research I really appreciate it
Revision history for this message
|
#11 |
I don't know much about ubuntu tweak, but in general I would say such programs are probably not needed and may cause more issues then they solve. After looking at the site, this seems like a simple program that just makes it easier to find some of the "tweaks". However, not being a coder I can't say if it's done well or not. It looks like a new project so things could be a bit buggy still. My personal feeling on programs like this is that they make it TOO easy for people to change things and then don't really learn what they are doing and what the ramifications are. New users don't really need to tweak their system. It's set up to be very usable. And advanced users know how to do this without such a program. Furthermore, you become an advanced user by doing these things on your own.
Anyway, I know that doesn't really help you now but a little food for thought.
As for your issue, it looks like most things got moved into a folder called Desktop that was inside the original Desktop folder that happens to be just all the stuff on your "desktop". When you ran Marcobra's command you just moved everything to the same folder which doesn't do anything. You need to move everything up one level if I understand the issue (and I'm not sure I do). To be honest, it might be easier to do it visually with the file browser. Just open it and open the folder that has the stuff you want to move and copy (or cut) and paste it to the folder where you want it (by the way, folders in Linux are called directories but I was trying to be more clear). That won't have any effect on hidden files/folders unless you "show" them with crtl-h.
One more caution, it seems everyone sooner or later comes up with a better way to do files/folders/
Revision history for this message
|
#12 |
So in other words copy the contents of what is now the desktop folder /home/guy/Desktop to /home/guy?
Just want to make sure that I am following
Thanks for your patience
Revision history for this message
|
#13 |
Maybe. Is /home/guy/Desktop where you have too much stuff that doesn't belong there? If that's where it is then you should see it all on your desktop. If so, yes, just move it back to /home/guy.
Revision history for this message
|
#14 |
Thanks Jim Hutchinson, that solved my question.