Linux - DesktopThis forum is for the discussion of all Linux Software used in a desktop context.
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.
Usually usermod takes care about modifying permissions in an automatic way. It's the first step to do a clean user name change.
This is what was suggested here:
'where you have to chown -R the home directory to the new username'
chown -R user:group directory
Will assign the directory ownership for user, group.
I guess you can do this with your wm right click (but needs then to be connected as root..)
Then, you would have to probably rename as you did /home/user -> /home/newuser
And then when you login as new user and it works but still some apps kept old links, it's a case by case study, KDE, gnome are maybe different.
How can you compare with window where you get 2 OS suites in the last 5 years, which have both the same window manager (and that you cannot change).
Also you're not supposed to change username everyday. This is an administrative task, not like playing a divx or something; needs a bit of care.
I would have created a new one (adduser or useradd), moved the data and remove the old one.
Actually, now that I think about it more, its probably not a permission problem since you say that the link in the "Places" toolbar thingy is incorrect.
I've rebooted in Ubuntu to take a look at things and there doesn't seem to be an easy way to fix this... You can edit applications and system menu, but not the places menu. If these links don't get renamed during a user name change, then this is a serious problem...
Anyone know how to fix this?
PS: If you want to compare Windows to Ubuntu (or linux in general), then compare the price tags as well. If you want to you use linux, then you're going to have to put in a bit of work, you cheap !@#$.
Im thinking this is due to permissions. When you create a new user name in Linux it assumes its a diffrent person so files don't belong to the new user. You could have just copied over all the files from the old home directory into your new one. Also there are several configuration files that get put into your home directory for software that you normally don't see because they are hidden. These files you would not want to move to the new user. Saying its easy to this this sort of thing in windows is actually incorrect unless of course your talking about windows 98 or something. Windows xp uses the same sort of security and trying to do something like this in there would cause the same issues unless of course all your users have admin access a thing that makes having permissions pointless.
Anyone who has had a remote user profile deleted on a domain system and then recovered it knows that windows can actually be harder to do what you are trying to do.
example - when I open a file from a program, it is automatically redirected to the 1st user name documents folder showing this error:
This is probably due to you having the same invisible configuration files in that directory.
From what I can understand you probably just need to update some of your links that point to the non existent directory. Need to look for broken links.
Of course Linux is not Windows. Windows is user-friendlier, for now. Linux might be free, but it still is finacially supported by many companies.
But talking about what matters, gonna try the 'change back to first user, add user, change files do the newer and delete the old' thing, thank you very much. I thought of it before reading that suggestion, but this way I confirm that it's a good try to fix my mess-up.
I tried to do it, but now I got the $home/.dmrc and 644 error.
I changed the username to the first (john) and then I had to turn off the computer forcibly by holding the power button for 5 seconds, because only the new username was recognized. Now, either having the username folder named as the first user or the new, I can't login to Ubuntu. I'ts stupid. It seems that commanding username changes in Ubuntu produces different results everytime.
See? This is why I hate Linux, even if I'm still trying to 'migrate spiritually' to it from Windows...
I would be glad that you helped me, cause if you don't, I'll have to reinstall Ubuntu...
See? This is why I hate Linux, even if I'm still trying to 'migrate spiritually' to it from Windows...(
I thought you wanted to stick to "talking about what matters".
This along with your claim that Linux is "supported by many companies" might very well be taken as an insult to those who spend a lot of their personal time trying to develop and improve Linux, and who may otherwise be inclined to help you.
If you want the spiritual experience of being free from Windows, then get a Mac. The marketing/branding folks at the Apple corporation have such an experience already packaged and ready for your enjoyment.
"I thought you wanted to stick to "talking about what matters"."
I wrote that in a different post. But, anyway, it matters what I think about Linux. If I get enough sick of it, then I'll take Windows (pirated, by the way).
"This along with your claim that Linux is "supported by many companies" might very well be taken as an insult to those who spend a lot of their personal time trying to develop and improve Linux, and who may otherwise be inclined to help you."
No, it can't. You're just proving my point that Linux should be better by now, having both many companies supporting it and many people working for it for free.
Mac is not free. And the freeness of Linux is the only thing that attaches me to Linux, for now; since the user experience doesn't.