Ubuntu :: Lost All Desktop Content Using Terminal?
Apr 22, 2010
I just tried to install a game for Linux using some commands in the terminal and suddently all of the content of my desktop disappeared. I can't find any documents that was there using the search option.. Here are the command I used. the content was moved elsewhere and not deleted...!
mkdir -p ~/.Games/TripleA
cd ~/Desktop
unzip triplea_0_9_0_2_all_platforms.zip
cd triplea_0_9_0_2
mv * ~/.Games/TripleA
Linux-goers. I did some research on this, but I am still fairly new to Linux. In Ubuntu 10.10 (Maverick), I accidentally overwrote my "/bin/bash" file. Dude, using "sudo" with a small typo can work disasters. Bash is now broken in the Terminal (gnome-terminal). Terminal itself still works fine, technically, but bash is still hosed/broken. Here is what I did to try to fix it: Booted from Ubuntu 10.10 live CD. Mounted my Ubuntu partition and manually copied the good/fresh "bash" file onto my hard drive. Verified copy was successful. Didn't help, as you see. Reinstalled "gnome-terminal" using synaptic package manager. Tried to reinstall bash via synaptic, it failed with error, "E: /var/cache/apt/archives/bash_4.1-2ubuntu4_i386.deb: subprocess new pre-removal script returned error exit status 2"
In Terminal, all basic commands work as far as I can tell. ("ls", "pwd", navigation, etc.) Here are some problems:My "username@computername" does not display in the prompt; only the $ sign. Bash keyboard shortcuts such as uparrow and tab do not work. Instead, each inserts a key code. I can't even move the cursor left/right. Aliases (a function of bash and .bashrc) are broken, of course. My sanity level decreases when I use Terminal now. For what it's worth, even with "sudo" I get a "permission denied" error when trying to run Google Chrome! I read something about a ".bashrc" file being a possible problem, but I don't know how to make it work, or the file's proper locations in Ubuntu 10.10. Is there something I can do with a "make" or "apt-get install" command or something?? Could this simply be a permissions problem? Is the link to "/bin/bash", "/bin/sh", or a ".bashrc" file broken? Guide me, oh Linux gurus.
P.S. I always wondered what exactly bash was and how it was different from the basic terminal. LoL, this is an excellent way to demonstrate the difference, and I WANT IT BACK!
I'm wondering how you can post web content on your desktop like you can in windows. Like to have your XBL gamercard on your desktop sort of thing. But what I want it for mainly is to put the countdown to 10.10 on there.
Wish a script which would delete cache content and remove additional files which have been downloaded via the internet and saved voluntarily by the user and files any thing other than those used by the OS in linux.Need a command which could make the execution of the above script possible before the shut down command is passed.
I decided to install Karmic on an old desktop system with the intent of using it as a backup system for my data. Having installed this as a fresh install I again followed the earlier advice only to find that when I attempted to connect to the BBC I was asked to load flash. This happened no matter which station I attempted to listen or view.
As far as I can see everything has been installed exactly as on my laptop and therefore should naturally work as before. The only difference is the laptop is using 64 bit and the desktop 32. Since I now see that the desktop is also capable of 64 bit processing should installing the 64 bit Karmic help?
Using sysinfo does not give too much information. I am told that the CPU is an AMD Athlon 64x2 Dual Core processor 4400+, 1000.000 MHz & L2 cache 512. The graphic card is shown as VGA Compatible Controller and the Sound Card as a multimedia Audio Controller.
I am at a loss why I am being asked for flash on the desktop and not being able to have the same benefits as I have on my laptop running the same OS.
want to sync 2 folders, one on a desktop and the other on my server. My objective is to keep the desktop folder always updated with the content of the server folder. If I get this working, I can do the same with the rest of my desktop and laptop users. When online they can run a script with rsync and update data. Is it possible to get 2 way sync?
serious problem here: am running centos 5.4 gnome (updated to the latest updates automatically offered). worked fine till yesterday. now on startup logged in as my normal user, the desktop is empty...!! i get a desktop background, an the bottom and top bars (top with �pplications places, system'an some icons and day and time) no folders/items !! (there were many in it).
opening a terminal and looking in the home directory of the logged in user, the Desktop directory is present, and contents files/folders, so nothing has vanished really.. how do i get back my desktop?? (btw: logged in as root gives an empty desktop too, same as above)
I installed Gnome desktop environment recently then ;I' ve lost KDE desktop effects settings. I just can see Compiz Configirator. I cant configure effects independently. There is same settings in gnome and kde. And also I cant change windows appearence.
I was dragging and dropping content from a folder onto the user desktop folder when suddenly instead of the packed Desktop Folder I got the Home folder with the few normal files that were in it AND one file called Desktop.
(actually, the file name was "Escritorio" and it was a PDF file, and in $HOME/.config/ the file user-dirs.dirs was changed to say XDG_DESKTOP_DIR="$HOME/" instead of XDG_DESKTOP_DIR="$HOME/Escritorio")
I've searched around but only found how to recreate a folder calles "Desktop" (or "Escritorio") and have it act like such, but not how to eventually recover the original "Desktop" folder AND ALL ITS CONTENTS (quite a lot!)
Is there any way to get the content back?
Fedora is 64bit Fedora 14 Gnome is 2.32 Nautilus is 2.32.2.1
in morning when i login into root..in desktop a window box seen. "Network Authentication" box.it prompt me to enter PASSWORD FOR Administrator@<WINDOW DOMAIN SERVER> and in red color a warning message is written as " your credential has been expired. in tab written "Renew Ticket" "cancel"... i entered password and clicked on Renew Ticket.. after that iam not getting mycomputer and other content of desktop...i cant go inside file server...in gnome cgi..
now how could i get into mycomputer..through gnome
Have recently tried to start ubuntu with kubuntu-desktop, but as I reboot my computer kubuntu only shows the terminal after the login and I cant get my desktop back.
I am using find to search for .tgz files modified more than 7 days ago and delete them.find /directory/ -iname backup*.tgz -daystart -mtime +7 -exec rm -rf {} My problem is that find will go through the content of tarball as well and list all content. I want to only search main tarball and delete it if older than 7 days.
how a ubuntu machine can ping another (I can see the ICMP request and response in wireshark) but in the terminal I get 100 % packet lost ? Same with the DNS requests ( I see the query to the DNS and the DNS is giving me the IP of the site) and internet connections at all. this machine is sharing it's internet connection and machines behind it have no problem with the internet. I tried to flush the iptables - same result. This thing occurred after a restart
I upgraded to 11.04. All went well, until I (stupidly) enable the desktop cube. And my launcher dissapeared. How do I get into terminal, and once there how do I dissable compiz? unity --reset?I tried CTRL-ALT-T and that doesn't workCTRL-ALT-F1 brings up a screen that aks me to log in but won't accept my login info.
I had a program print lot of data on the terminal. The terminal scrolled over and now I cannot see all the data. Some of it is lost. How do I get it back ?
If you have the value 100 in File1 and the value 5 in File2, how do you write a script to divide the 100 in File1 by the 5 in File2 in Linux Bash Shell?The operating system I am using is Ubuntu 10 and object is to write a script to accomplish this task.
Im having a lot of trouble getting my t mobile dongle to work. I have looked through most of the other threads about resolving the problem. when I see the answer about typing comands into the terminal I get lost and dont know what to do... I now have ubuntu 10.04 and 11.04 duel boot on laptop (hp nx6325). Cant seem to get it work on either virsion. I have tryed to chance passwords as other threads have sugested.
Am now trying (and failing) with this thread http://ubuntuforums.org/showthread.php?t=1147685 I have downloaded the mode switch and extracted it to the desktop. In the above thread it say "3) Open the Terminal, and go to the location of the decompressed file and execute"
I've been running 10.04 since September on my new MSi i3 notebook and about two weeks ago I noticed that when I login after system boot, propagation of icons on my desktop and the content of my Panel have become slower and slower.If I logout and login again the propagations are not slow.
I have been having difficulties with my HDD for a while, that said every now n then I'll had to put my ubuntu cd and do fsck periodically. But today things didn't went so well, after I did it when I logged in everything I had on my desktop was lost not, sure if more things were lost haven't check yet. But so far everything is good.
My laptop has Ubuntu 10.04 LTS running in a virtual machine. Just couple hours ago my computer ran out of batteries. When restarted it and started virtual machine and Ubuntu, 90% of stuff ithat was in my desktop is gone!!!
They are not on desktop and if I browse desktop with nautilus, the files are not there. They are not in the recent documents either.
I was working on something important in 11.2 and did a "zypper up" in the terminal in the background. I wasn't paying that much attention to it, I believe it was an update to 11.3. After returning to the computer after about one hour the windows were behaving strangely and the machine wasn't very responsive. I decided to reboot. Now at login I have neither mouse nor keyboard. I have switched the keyboard to PS2 model, no difference. If someone could help me with booting to run level 3 from the grub menu perhaps I could change some settings there to make everything work. I really regret doing the update. It would be very important for me to be able to get back in to machine with spending as little time as possible on this. Could I reverse the update? This machine is very important for me and my family for their daily communication, but currently I have very little time to fix this. My quick fix was to install Kubuntu 10.10 so I could resume working, but I would really need to get back in to 11.2.
I upgrade my Kubuntu to 10.04 LTS (Lucid Lynx) and I lost taskbar. Besides, I can't right-click on desktop. In fact I can, but nothing happens. Is that some Plasma problem? I red that Kicker is replaced by some Plasma feature. Could it be because of Conky (some desktop layouts)? I tried to prevent it, but I can't. I killed all Conky instances, and removed it from .kde/Autostart, but it still runs on every start-up.
I am Using Natty, the 64 bit edition and I noticed it was running slow. I chaked and one of my memories died on me and I am left with just 512 MB of memory. Since it will be a few days to buy a new memory I wanted to run the system on the lowest possible eyecandy, so I went to compiz configurator and sily me, I deactivated the Ubuntu one bar thinking i wold get the old bar theme, but what happend is that i have no bars whatsoever, just a clean desktop. I cannot open any programs at all like that. I am wrintg this from one of the user accounts, but the account i messed up is the adminitrator, so i need to get it up and running soon.
i was trying to change a few setting in Ubuntu and i pressed something and lost everything on my desktop....no taskbar, icons, no power button in the top corner, no nothing
Working with an old desktop that had been running 8.04 Update failed so I installed from a LiveCD. Dual boot with XP. System runs great off of the CD. After installation of 10.04 and a restart, the system worked well. Tried lots of stuff off the Gnome menus. Restarted and booted XP. That worked too.
On my next restart I selected Ubuntu from the grub menu and the system gave me the sign in requester. I signed in but the desktop never appeared. All I got was the background and a mouse pointer.
Right clicking the mouse brings up a 7 item menu that includes items for creating a folder, creating a file, ....., choose a new background. The menu works. If I click create a file an icon for a new file appears on the screen. Clicking on the icon brings up a window running gedit. Choosing the new background item brings up a window with candidate new backgrounds. I have no idea how to get the gnome desktop back. The sign in screen has a bar at the bottom that shows Gnome is the default session setting. Booting into XP continues to work.
I've tried changing the GRUB_CMDLINE_LINUX_DEFAULT= line in the /etc/default/grub to add nomodeset. That didn't help.
Code: Select allCalculating upgrade... The following packages were automatically installed and are no longer required: x11-apps x11-session-utils xinit Use 'apt-get autoremove' to remove them. Done
but it says something to the effect that task-cinnamon-desktop has been moved out of incoming, and that it's unable to install since I have held broken packages.
I can logto another account on my machine and it's there in the panel with the other widgets. Go back to my regular user account and its gone. How do I add it back? I have tried using "add widgets from the panel but I do not find it there .
I have checked quite a few post without coming up with an answerIhave Lucid 32bit release installed with compiz visual effects normal.I have lost the mounted drive icons from the desktop as well as the ability to save to the desktop or a right click menu on the desktop. Any file saved to the desktop folder does not appear on the desktop.I have reinstalled compiz, the nvidia driver and tried all manner of settings but just can't crack this one
under gnome (OS: ubuntu lucid 10.04) i installed KGet and it was working fine with no problems or ( extra PKGs installation ) ... then i wanted to try KDE desktop so i installed kubuntu-desktop , after that gnome windows and message alerts have been transformed to KDE form even if i was logged with gnome ...
I uninstalled kubuntu-desktop using instructions provided here : [url] but then i lost kget .... now when i try to install it again , synaptic iforms me that i have to install a lot of extra packages as well .. what is the shortest way to install and run KDE program on my gnome desktop properly .. ?