LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 11-28-2006, 07:47 AM   #1
NDR008
Member
 
Registered: Nov 2006
Location: (Bristol or Coventry) (UK) or Malta
Distribution: openSUSE 11.0
Posts: 173

Rep: Reputation: 30
changing settings in KDE Preferences


When you change settings in the KDE control panel, when you press 'Apply' besides saving the new configurations in the respective config file, what other functions are performed.

I made a script that edits the proxy settings in the KDE control panel, but the problem is these new settings don't come into action, but obviously if i open the control panel, the settings are changed as desired. But they would not be in action, hence i am assuming the apply button does more than save the settings in the config file.
 
Old 11-28-2006, 09:17 AM   #2
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,908

Rep: Reputation: 356Reputation: 356Reputation: 356Reputation: 356
I think I can explain the concept, if not the specifics. I'll use an example from the bash shell to illustrate.

Suppose you make changes to ~/.bashrc, a new prompt, or command alias. The changes are in the file when you save it, but the changes don't go into effect until one of four things happens:
a) log out, then log in
b) restart the X windows server
c) reboot (unnecessary, but is one way of doing it)
d) run the command 'source ~/.bashrc' (or '. ~/.bashrc')

Sourcing .bashrc reloads the bash environment, which contains the changes you have made.

Something similar is happening in Kde. You change the preferences via script, but they don't go into effect until you reload the environment. In Kde, pressing the 'Apply' button has the same effect as d) above, and reloads the Kde environment so that the changes go into effect.

Last edited by bigrigdriver; 11-28-2006 at 09:18 AM.
 
Old 11-28-2006, 09:47 AM   #3
NDR008
Member
 
Registered: Nov 2006
Location: (Bristol or Coventry) (UK) or Malta
Distribution: openSUSE 11.0
Posts: 173

Original Poster
Rep: Reputation: 30
yeah, i figured so far, but thanks for explaining it constructively, how can I found out what kde is doing when you press 'apply' ?
 
  


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
Settings and Preferences labyrinth RFI Linux - Newbie 1 08-04-2006 02:05 PM
Changing QT settings without KDE oneandoneis2 Linux - Software 1 10-18-2005 06:24 AM
changing windows settings in KDE,GNOME corbis_demon Linux - Software 1 08-07-2004 03:38 PM
changing nautilus preferences DonMiner Fedora 1 07-03-2004 04:51 PM
Changing default kde settings mr_mandrill Slackware 2 06-09-2004 07:58 AM

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

All times are GMT -5. The time now is 12:23 AM.

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