Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
|
10-19-2014, 08:51 PM
|
#1
|
LQ Guru
Registered: Oct 2003
Location: Bonaire, Leeuwarden
Distribution: Debian /Jessie/Stretch/Sid, Linux Mint DE
Posts: 5,195
|
Lock down KDE settings
I just prepared a laptop for my wife running KDE 4 on Debian Wheezy. Sometimes she inadvertently changes settings in her desktop environment. And complains that she cannot find the shortcut/applicaton/clock or that her sound doesn't work.
So I just want to lock down her KDE settings exactly as I have it configured. No, she doesn't have to change anything ever. Applications like Firefox should retain their history though, so making .kde readonly is not the solutions.
I know KDE offers a "kiosk mode". However it seems that locking down a complete environment involves the editing of 398 files, adding [$i] on the first line.
That is a little too much for a making a simple configuration immutable just for her. Any suggestions how to do that easier? Isn't their some kind of master file in KDE which controls all immutabilities?
jlinkels
|
|
|
10-20-2014, 09:40 AM
|
#2
|
LQ Guru
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 27,192
|
Quote:
Originally Posted by jlinkels
I just prepared a laptop for my wife running KDE 4 on Debian Wheezy. Sometimes she inadvertently changes settings in her desktop environment. And complains that she cannot find the shortcut/applicaton/clock or that her sound doesn't work.
So I just want to lock down her KDE settings exactly as I have it configured. No, she doesn't have to change anything ever. Applications like Firefox should retain their history though, so making .kde readonly is not the solutions.
I know KDE offers a "kiosk mode". However it seems that locking down a complete environment involves the editing of 398 files, adding [$i] on the first line.
That is a little too much for a making a simple configuration immutable just for her. Any suggestions how to do that easier? Isn't their some kind of master file in KDE which controls all immutabilities?
|
Hmm...perhaps making the .kde4 directory 400 (chmod -R 400)? Should make it read-only, which would prevent modification of the configs, but not sure how that would affect applications that may need to write temporary info to those files/directories. Never tried anything like this, to be honest.
You could always get a 'working' config, and copy the entire .kde4 directory elsewhere, and just overwrite whatever is there when she logs in. But any new apps she loads up will get their configs blown away, unless you copy THAT config over...lather, rinse, repeat.
|
|
|
10-20-2014, 12:42 PM
|
#3
|
LQ Guru
Registered: Oct 2003
Location: Bonaire, Leeuwarden
Distribution: Debian /Jessie/Stretch/Sid, Linux Mint DE
Posts: 5,195
Original Poster
|
Quote:
Originally Posted by TB0ne
Hmm...perhaps making the .kde4 directory 400 (chmod -R 400)? Should make it read-only, which would prevent modification of the configs, but not sure how that would affect applications that may need to write temporary info to those files/directories. Never tried anything like this, to be honest.
|
I tried this before and it does not work very well. Shame on me but I forgot what exactly the problems are. It was about 4 years ago. But I remember it was not satisfactory.
Quote:
Originally Posted by TB0ne
You could always get a 'working' config, and copy the entire .kde4 directory elsewhere, and just overwrite whatever is there when she logs in. But any new apps she loads up will get their configs blown away, unless you copy THAT config over...lather, rinse, repeat.
|
Yes, I did this before. I don't about applications that she installs. She has to ask me anyway. The drawback with this option is when I change a configuration I usually forget to update that "golden" image. But in general it works. And some scripting should make it easier to maintain the image.
But thanks for the answer, I now have more confidence I don't overlook something obvious.
jlinkels
|
|
|
10-23-2014, 06:14 AM
|
#4
|
Senior Member
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,637
Rep:
|
I don't quite understand. There ist that little golden cashew-nut like symbol. Click on it and you can lock your widgets. Doesn't that do the trick?
|
|
|
10-23-2014, 07:20 AM
|
#5
|
LQ Guru
Registered: Oct 2003
Location: Bonaire, Leeuwarden
Distribution: Debian /Jessie/Stretch/Sid, Linux Mint DE
Posts: 5,195
Original Poster
|
Quote:
Originally Posted by JZL240I-U
I don't quite understand. There ist that little golden cashew-nut like symbol. Click on it and you can lock your widgets. Doesn't that do the trick?
|
First you can unlock it as easily and second there are a gazillion other settings which are not locked with the cashew. And believe it or not, my wife (or my genius little son) have managed to unlock the panels and change settings which I am not able to get back.
jlinkels
|
|
|
All times are GMT -5. The time now is 10:21 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|