aze Posted December 14, 2002 Report Share Posted December 14, 2002 I deleted some folers of my /home/myfolder and now I cant see my desktop icons and cant run nautilus. :D LoL How do I restore gnome desktop? :( Quote Link to comment Share on other sites More sharing options...
Guest anon Posted December 14, 2002 Report Share Posted December 14, 2002 You can open the gnome apps menu, find the program you want, click on the app and hold the mouse button down, then drag onto desktop to create shortcut. There are other ways as well. Another way, depending on how much you have lost, is to just create a new user, then delete old user. Quote Link to comment Share on other sites More sharing options...
aze Posted December 14, 2002 Author Report Share Posted December 14, 2002 thank you! I'll try recreate de user but if delete the user his folder name will be deleted? Quote Link to comment Share on other sites More sharing options...
Guest anon Posted December 14, 2002 Report Share Posted December 14, 2002 If you decide to create a new user then after you have done that, as root (su) move what you want into the new users directory BEFORE deleting the old user Quote Link to comment Share on other sites More sharing options...
aze Posted December 14, 2002 Author Report Share Posted December 14, 2002 Ok! How do I create a new user using console? Quote Link to comment Share on other sites More sharing options...
aze Posted December 14, 2002 Author Report Share Posted December 14, 2002 I tried to use Userdrake But it said that i cannot create the new user because there is a group with the same name name (even I deleted that user). thank you! Quote Link to comment Share on other sites More sharing options...
aze Posted December 14, 2002 Author Report Share Posted December 14, 2002 I know How to fix it: The newbie way: format partitions and re-install mdk :( I just re-installed mandrake last night. :D See you guys. 8) Quote Link to comment Share on other sites More sharing options...
MottS Posted December 14, 2002 Report Share Posted December 14, 2002 -To remove a user using a console: userdel -r username [root@localhost gd]# userdel -r test -To add a user using a console (2 steps) Step 1 -> Add a user : adduser username Step 2 -> Give a password to the user : passwd username [root@localhost gd]# adduser test [root@localhost gd]# passwd test Changing password for user test. New UNIX password: Retype new UNIX password: passwd: all authentication tokens updated successfully. Hope this help MOttS Quote Link to comment Share on other sites More sharing options...
bvc Posted December 14, 2002 Report Share Posted December 14, 2002 man adduser Can't you just rename (mv) your user dir and reboot (or restart X)? The worst that could happen would be that you'd have to login as root and rename (mv) it back? as root mv /home/your_name /home/your_new_name Quote Link to comment Share on other sites More sharing options...
Cannonfodder Posted December 15, 2002 Report Share Posted December 15, 2002 All you had to do was.. 0. Log in as root. 1. Delete the user. 2. Locate the group named after the user and delete that as well. 3. Delete the user's folder. 4. Create the user You can use userdrake for the entire process. Deleting your entire system was not the way to go... (unless you had other reasons on your mind :) ) Quote Link to comment Share on other sites More sharing options...
aze Posted December 15, 2002 Author Report Share Posted December 15, 2002 Thank you! next time if it happen I'll do this! Quote Link to comment Share on other sites More sharing options...
theYinYeti Posted December 16, 2002 Report Share Posted December 16, 2002 If you do something bad with your gnome-desktop, and you want to re-initialize your gnome config from the start, without deleting the whole user, just do that in a terminal window: cd $HOME rm -rf .gnome* Yves. Quote Link to comment Share on other sites More sharing options...
aze Posted December 16, 2002 Author Report Share Posted December 16, 2002 thank you! Was something like that I was looking for! Thank you guys! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.