[CentOS] make /home/user without all the maps
Dear All, I would like to make a whole lot of homedirs without Documents, Downloads , like it was in CentOs5. I know I have to adapt something in /etc/skel but cannot find out how to do it. Anyone can give me a hand with this? greetings , J. -- IT-medewerker Opensource Software is the future. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] make /home/user without all the maps
On 26.09.2012 11:30, Johan Vermeulen wrote: Dear All, I would like to make a whole lot of homedirs without Documents, Downloads , like it was in CentOs5. I know I have to adapt something in /etc/skel but cannot find out how to do it. Anyone can give me a hand with this? greetings , J. Hello Johan, Those directories are not from /etc/skel, I believe Gnome creates them, however I do no know how atm. Only issuing a useradd command will not create those directories. -- Sent from the Delta quadrant using Borg technology! Nux! www.nux.ro ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] make /home/user without all the maps
On Wed, 2012-09-26 at 12:13 +0100, Nux! wrote: On 26.09.2012 11:30, Johan Vermeulen wrote: Dear All, I would like to make a whole lot of homedirs without Documents, Downloads , like it was in CentOs5. I know I have to adapt something in /etc/skel but cannot find out how to do it. Anyone can give me a hand with this? greetings , J. Hello Johan, Those directories are not from /etc/skel, I believe Gnome creates them, however I do no know how atm. Only issuing a useradd command will not create those directories. Maybe yum remove xdg-user-dirs-gtk John ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] make /home/user without all the maps
On Wed, 26 Sep 2012, John Austin wrote: To: centos@centos.org From: John Austin j...@jaa.org.uk Subject: Re: [CentOS] make /home/user without all the maps On Wed, 2012-09-26 at 12:13 +0100, Nux! wrote: On 26.09.2012 11:30, Johan Vermeulen wrote: Dear All, I would like to make a whole lot of homedirs without Documents, Downloads , like it was in CentOs5. I know I have to adapt something in /etc/skel but cannot find out how to do it. Anyone can give me a hand with this? Take a look at this: IIRC the answer to your question may be in this guide: Advanced Bash-Scripting Guide An in-depth exploration of the art of shell scripting by Mendel Cooper http://tldp.org/LDP/abs/html/ But I cannot point you to the particular location in that documentation. HTH (sort of;) Keith --- Websites: http://www.karsites.net http://www.php-debuggers.net http://www.raised-from-the-dead.org.uk All email addresses are challenge-response protected with TMDA [http://tmda.net] --- ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] make /home/user without all the maps
On 26.09.2012 12:25, John Austin wrote: Maybe yum remove xdg-user-dirs-gtk Good find! This has lead me to: /etc/xdg/user-dirs.conf /etc/xdg/user-dirs.defaults Johan, that's what you need to customise. -- Sent from the Delta quadrant using Borg technology! Nux! www.nux.ro ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] make /home/user without all the maps
On Wed, Sep 26, 2012 at 01:06:27PM +0100, Keith Roberts wrote: On Wed, 26 Sep 2012, John Austin wrote: To: centos@centos.org From: John Austin j...@jaa.org.uk Subject: Re: [CentOS] make /home/user without all the maps On Wed, 2012-09-26 at 12:13 +0100, Nux! wrote: On 26.09.2012 11:30, Johan Vermeulen wrote: Dear All, I would like to make a whole lot of homedirs without Documents, Downloads , like it was in CentOs5. I know I have to adapt something in /etc/skel but cannot find out how to do it. Anyone can give me a hand with this? I'm looking in /etc/skel, and I see a .gnome directory--as I don't have Gnome installed, it seems to be empty on my machine. So, perhaps moving that somewhere temporarily might handle those files--they sound like Desktop files, possibly Gnome related. (A guess on my part, as, when I tried creating a test user on my system, there was no Downloads directory. I do seem to remember either firefox or Chrome creating that directory at some point when I downloaded a file--it may have even been something like the directory does not exist should I create it and me clicking OK. -- Scott Robbins PGP keyID EB3467D6 ( 1B48 077D 66F6 9DB0 FDC2 A409 FA54 EB34 67D6 ) gpg --keyserver pgp.mit.edu --recv-keys EB3467D6 Angel: Donuts? Wesley: Developed a sweet fang, have you? ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] make /home/user without all the maps SOLVED
this works! commented out all the entry's in /etc/xdg/user-dirs.defaults. Thanks for all the answers, now I don't have to explain to 50 users they have to delete all those folders - or at least not use them. greetings , J Op 26-09-12 14:16, Nux! schreef: On 26.09.2012 12:25, John Austin wrote: Maybe yum remove xdg-user-dirs-gtk Good find! This has lead me to: /etc/xdg/user-dirs.conf /etc/xdg/user-dirs.defaults Johan, that's what you need to customise. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] make /home/user without all the maps SOLVED
On 26.09.2012 13:38, Johan Vermeulen wrote: this works! commented out all the entry's in /etc/xdg/user-dirs.defaults. Thanks for all the answers, now I don't have to explain to 50 users they have to delete all those folders - or at least not use them. greetings , J Johan, Be advised that Gnome desktop relies on those directories to be present, e.g. Firefox downloads go by default in ~/Downloads; there may be some other issues with not having them. Maybe bigger issues than having to explain to your users. :) -- Sent from the Delta quadrant using Borg technology! Nux! www.nux.ro ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] make /home/user without all the maps SOLVED
hmmm. good point. The users on the server I'm configuring now will serve as guinea piggs :-) But indeed, I have to sent them a mail about changing the Firefox default download directory. greetings, J. Op 26-09-12 14:35, Nux! schreef: On 26.09.2012 13:38, Johan Vermeulen wrote: this works! commented out all the entry's in /etc/xdg/user-dirs.defaults. Thanks for all the answers, now I don't have to explain to 50 users they have to delete all those folders - or at least not use them. greetings , J Johan, Be advised that Gnome desktop relies on those directories to be present, e.g. Firefox downloads go by default in ~/Downloads; there may be some other issues with not having them. Maybe bigger issues than having to explain to your users. :) ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos