Linux - DesktopThis forum is for the discussion of all Linux Software used in a desktop context.
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.
I want to customize the Ubuntu desktop so that when a new user logs in, everything is set and customized how I want it to be (not how it comes by default). Such as Wallpaper, placement of icons, gnome applets, etc.
Is there a way to do this?
I know if I take my customized Home folder and place it into another profile's Home folder, I get all the settings. So where does Ubuntu pull the initial user profile settings from? Maybe I can edit them and achieve my goal.
Well if anyone has any insight, please let me know. Thanks.
Settings for various Linux applications that are specific for a certain user are stored in hidden files and directories in the home folder. Hidden files are nothing more than filenames that begin with a period. The main one that you're looking for is ".gnome2". To copy it, open a terminal window, and type the following:
Code:
ls -a
This should list all the files (including hidden ones) in your home directory. Now, copy .gnome2, replacing 'otherUser' with the username that you want to copy it to:
Code:
sudo cp -R .gnome2 /home/otherUser/
Enter your password, and it should copy. Repeat this for any other users, and any other configuration files/folders that you need (refer back to the output of ls if you're unsure).
I wanted to do it automatically when a new user logs into the system for the first time. So where would the original .gnome2 file be located at where it pulls the default settings from that all users get? I think that's the one I want to edit if at all possible.
Thanks. I looked in /etc/skel and their doesn't seem to be anything there pertaining to gnome settings. I tried the "locate /.gnome2/ | less -S" command and it only turned up .gnome2 files located in Home directories. I also did a search of "/" that didn't turn up anything.
Any other ideas? It has to be getting these settings from somewhere.
Ok, it seems if I copy the files to /etc/skel then the new profile gets the settings. The .gnome2 file doesn't seem to do much. Not sure what exact files I need to place in there.
in your home directory and you'll see all the "hidden" directories - or use ctrl+h on Nautilus. There are a lot of them, but if you start going trough them there probably aren't many that are gnome-related; see them trough, or simply try one-by-one how they work (copy them one by one to the skeleton directory and make a fresh login with new user -- if it doesn't work, "clear" the settings and re-try with another directory).
It's not a wonder if you need several directories, because typically (I think) one app stores it's own settings to one directory, so even under Gnome it could be there are more than one directory that you want to get all the settings.
Maybe even quicker way would be, now that I think about it, to create a fresh new user with a home directory that is completely empty; then log in as that user, modify the desktop, log out and then see what files were created into the dot-directories under home. And copy them -- all or part of them -- to the skeleton directory.
Maybe even quicker way would be, now that I think about it, to create a fresh new user with a home directory that is completely empty; then log in as that user, modify the desktop, log out and then see what files were created into the dot-directories under home. And copy them -- all or part of them -- to the skeleton directory.
I was going to do some trial and error, but that sounds way better.
Where does Ubuntu get the Documents, Music, Pictures, Public, and Videos folders when a new user logs in? And where does it pull the System Menu in gnome from. I found I could customize the Applications Menu by copying .config/menus but this doesn't seem to have an effect on the System menu. And why do Admins have more things in the System menu than regular users.... well I know WHY they have more things, but technically why do they.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.