Web lists-archives.com

Re: Default proxy settings

CLOSE Dave posted on Fri, 07 Apr 2017 14:31:11 -0700 as excerpted:

> I know how to change the system proxy settings for an individual user.
> But I need to learn how to set them for all users, even users who
> haven't yet logged in to a box and don't yet have a home directory.
> There must be a configuration file somewhere where KDE stores these
> values. Online searches haven't found anything useful, just detailed
> instructions for what I already know. Perhaps I haven't yet found a good
> set of search terms...

This is a general answer applicable to most kde ecosystem configuration 
settings, not specifically to proxy settings, but it's likely to suffice.

Generally, kde system or application configuration settings can be stored 
in two (or more) parallel places, the system/distro location, and the 
user location.  (More would split the distro and local-system level 
locations, with user normally overriding local-system, overriding general 
distro or kde shipped defaults, except for locked-down settings, of 
course, see the documentation listed below.)

I believe most distros install the distro/system level config under 
a /usr/share default, but that's configurable via XDG_* variables 
(frameworks5, KDE_* vars in kde4), which as mentioned allow stacking as 
many configuration levels and their precedence, as necessary.

Generally what I'd do and what should be easiest for most admins, is to 
configure it for a sample user, then take the resulting config file from 
their home config, edit it if necessary, and drop it in the system 
location as appropriate.

See the kde sysdamin's guide, here:


In particular, you'll likely want to read or at least skim all three 
pages under filesystem, plus the environmental vars page under desktop 
session.  Of course if you're like me, you'll end up reading much more 
than that just because it's interesting how it all fits together, but 
that should pretty well cover this case and others like it.

Duncan - List replies preferred.   No HTML msgs.
"Every nonfree program has a lord, a master --
and if you use the program, he is your master."  Richard Stallman