LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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


Reply
  Search this Thread
Old 10-19-2014, 08:51 PM   #1
jlinkels
LQ Guru
 
Registered: Oct 2003
Location: Bonaire, Leeuwarden
Distribution: Debian /Jessie/Stretch/Sid, Linux Mint DE
Posts: 5,195

Rep: Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043
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
 
Old 10-20-2014, 09:40 AM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,636

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by jlinkels View Post
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.
 
Old 10-20-2014, 12:42 PM   #3
jlinkels
LQ Guru
 
Registered: Oct 2003
Location: Bonaire, Leeuwarden
Distribution: Debian /Jessie/Stretch/Sid, Linux Mint DE
Posts: 5,195

Original Poster
Rep: Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043
Quote:
Originally Posted by TB0ne View Post
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 View Post
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
 
Old 10-23-2014, 06:14 AM   #4
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,629

Rep: Reputation: Disabled
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?
 
Old 10-23-2014, 07:20 AM   #5
jlinkels
LQ Guru
 
Registered: Oct 2003
Location: Bonaire, Leeuwarden
Distribution: Debian /Jessie/Stretch/Sid, Linux Mint DE
Posts: 5,195

Original Poster
Rep: Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043
Quote:
Originally Posted by JZL240I-U View Post
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
 
  


Reply



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] F19 Beta Screensaver and lock settings timl Fedora 2 06-08-2013 05:11 AM
Anyway to lock Firefox settings (under Windows)? Hungry ghost General 2 11-03-2011 11:20 AM
Disable lock session (lock screen) when switch user in KDE 4.x Murz Linux - Desktop 4 12-01-2010 08:28 AM
Screen lock settings: How to restrict changes? ElvisImprsntr Linux - Security 3 09-26-2007 07:01 PM
Mandrake 10.0 Gnome/KDE Taskbar icon settings...are there settings? LiquidRezin Linux - Newbie 2 03-22-2004 09:27 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:04 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration