FedoraThis forum is for the discussion of the Fedora Project.
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.
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.
Am running FC5 with KDE. When I set up a user I have been using the menu editor under each user to set each one up the same. Then the user can do what they want after that. Takes me quite a while to pick icons and make directories and change things around how I like it, even using the menu editor.
Is there an easier way where I can just copy a users menu setup to another user to save me this hassle. With all the same little icons and all that stuff.
Been putting off setting up another two users because I am getting to lazy to set each users menu up the same as everyone elses.
Distribution: Distribution: RHEL 5 with Pieces of this and that.
Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700
Rep:
Never done this but copy the file /home/username/.config/menus/applications-kmenuedit.menu to the new user and see if that works. You will need to change ownership and groupship to he new user.
If you haven't created the other users yet, that's good!
Just set up the first user desktop and apps the way you want it.
Then, copy those settings to /etc/skel . That is where new users get their settings from.
For example: My first user is fred
Code:
as root user ...
rm -rf /etc/skel
mkdir /etc/skel
rsync -av --exclude='.thunderbird' /home/fred/ /etc/skel
If you are nervous about it, you can make a backup of /etc/skel first.
Distribution: Distribution: RHEL 5 with Pieces of this and that.
Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700
Rep:
Never looked into the /etc/skel directory let alone what it was for. Well make a note of that. Learn something everyday even after 8 years of Linux. Thanks homey.
You're welcome Brian!
I was afraid that method was just blowing smoke as nobody seems interested. Then, I noticed that Knoppix uses a similar method in the 45xsession file.
Anyway, it works for me and I use it to cut down on setup time for all my systems. You can even rsync the first user settings over to other machines.
Man that command worked primo. Just added a couple more --excludes to the command and ran it. Added users with , adduser newuser, Set each new persons password with "passwd newuser" command. Logged out then into each user and it was exactly like the first user. Changed login photo for each person, set each persons email up, deleted some desktop icons they did not need and that was that. That was a huge timesaver and made adding new users enjoyable and very easy.
Thanks heaps for that valuable piece of info.
Gimmee (I don't want anything. thats just my nickname)
for example all users would have the KDE Welcome screen showing Fred. Where is this name stored in the /Home directory so I can set it to correctly show each user who is logging in. Getting a bit of stick about it from the family but otherwise still one of the best commands I have learnt.
Did you create the users with the command: adduser ?
Just to clarify, I only use the rsync command once to set the /etc/skel directory. Then, anytime I use the adduser command, the new user gets it's desktop settings from the /etc/skel.
It set up the kde environment exactly like the first user but also added the first user name in KDE Welcome screen. So every user has WELCOME gimmee even though they are going into their own logon.
Sure it is in the .kde somewhere but cant see it yet.
As root user, In kde Control Center/Login Manager/Convenience tab,
do you have Preselect User set to your original user?
That might be something for you to look at. If so, try none
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.