LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices

Reply
 
LinkBack Search this Thread
Old 09-16-2006, 12:34 AM   #1
TemplaraPheonix
LQ Newbie
 
Registered: May 2004
Location: Middletown CT
Distribution: Debian Etch (Testing)
Posts: 28

Rep: Reputation: 15
Set KDE defaults for new users without copying .kde


I would like a way to set KDE defaults for new users. Is there an easy way to do this? I know I can copy .kde from a dummy user I preconfigured, maybe even script that into the new user process, but I'd prefer to have a set of files somewhere that KDE pulls for new users. Can this be done without recompiling KDE? I know various distros (Slackware, SUSE) have different defaults than the Debian default (which I think are the bare KDE defaults) but of course they alter the source. I'd tend to shy aware from having to recompile KDE everytime something is updated (and probably have to change my patches as well) as I tend to keep KDE rather up to date. If anyone knows a way to do this, i.e. there is an defaults.conf like file somewhere in the /etc/kde3 structure it would be most appreciated.
 
Old 09-16-2006, 04:45 AM   #2
reddazz
Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 73
You can put your default configuration files in /etc/skel and they will be copied to a new users home directory.
 
Old 09-16-2006, 08:22 PM   #3
TemplaraPheonix
LQ Newbie
 
Registered: May 2004
Location: Middletown CT
Distribution: Debian Etch (Testing)
Posts: 28

Original Poster
Rep: Reputation: 15
Thanks, that solves a good deal of my problem. However, it doesn't address users blowing out their .kde directories. I now know that what I want to adjust is the Kpersonalizer (the intial KDE config wizard) defaults. Any clues on how to set them? I think it has to do with kpersonalizerrc, but I can't seem to find any good documentation for that.
 
Old 09-16-2006, 08:34 PM   #4
reddazz
Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 73
The best people to ask your questions are the KDE developers. You can join their mailing list or chat with them via IRC (details are vailable on kde.org).

By the way after reading your initial post again, I just wanted to let you know that most distros don't actually alter the KDE source in order to have specific default settings and you do not need to recompile KDE. All they do is tinker with various config settings and then put the files in /etc/skel/.kde. If a user were to mess up their .kde and you wanted to return it to the default all you would do is copy the right config file from /etc/skel/.kde and place it in their ~/.kde directory.
 
Old 09-16-2006, 08:48 PM   #5
homey
Senior Member
 
Registered: Oct 2003
Posts: 3,057

Rep: Reputation: 56
Quote:
However, it doesn't address users blowing out their .kde directories.
Do you mean that the user's desktop icons will reappear at next boot even if they have removed them?

If so, Berry Linux uses a script called
/etc/X11/xinit/xinitrc.d/xdesktop.sh to do that.
 
Old 09-21-2006, 01:50 AM   #6
TemplaraPheonix
LQ Newbie
 
Registered: May 2004
Location: Middletown CT
Distribution: Debian Etch (Testing)
Posts: 28

Original Poster
Rep: Reputation: 15
I don't have the icon issue, sorry. I just wanted to be able to tell people to rm -fr ~/.kde* and get a nice new default set of KDE settings from the wizard if they had issues.

However, I realized it was easier to just tell them to copy the new user .kde from /etc/skel to their home and chown than to reconfigure Kpersonalizer to give them new defaults as it isn't documented at all and apparently after talking on the KDE forums something which is undergoing lots of work so I'd have a lot of issues finding which settings apply to my version. Basically its not worth it to bug actual KDE devs (the only way to get the info.) for just that.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
KDE Defaults to Konquror carlosinfl Linux - Software 1 03-14-2006 03:13 PM
Program defaults in KDE lunarcloud_88 Linux - Newbie 1 08-16-2005 02:02 AM
KDE reset itself to defaults...why? glenn69 Linux - Newbie 0 08-10-2004 09:15 PM
copying kde configuration for 2 users OR 2 users on 1 x session for vnc blackphiber Linux - General 0 02-26-2004 08:57 PM
Gnome/KDE defaults granny Linux - General 3 02-26-2004 12:16 AM


All times are GMT -5. The time now is 02:00 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration