Re: Printing with Konqueror. Small font size
- To: debian-kde@lists.debian.org
- Subject: Re: Printing with Konqueror. Small font size
- From: Matej Cepl <cepl@surfbest.net>
- Date: Tue, 29 Mar 2005 08:42:56 -0500
- Message-id: <[🔎] 1237314.fKAxqbxfB8@blahoslav.ceplovi.cz>
- References: <200502041346.27533.lepalom@wol.es> <200502091123.03240.lepalom@wol.es> <36u9n4F54h2mrU1@individual.net> <200502091249.33305.lepalom@wol.es> <36uisaF583mbcU1@individual.net> <1877584.8pFotafOHS@blahoslav.ceplovi.cz> <36vk15F56n88qU1@individual.net> <1590405.czVQLgB3W5@blahoslav.ceplovi.cz> <374rctF57ej6lU1@individual.net> <2255436.hKJvzImOmP@blahoslav.ceplovi.cz> <[🔎] 3arcleF6ccneiU1@individual.net>
Cousin Stanley wrote:
> But maybe for a multi-user environment,
> a temporary fix in a central location
> instead of a single fix to each of many
> users $home might actually be preferable
> and less hassle in the long run ????
Even then I wouldn't mess with /usr/share/*/*.css, but rather either I would
this file to /etc/skel (for new users -- they can modify it later), or if
you need centralized stylesheet, then I would put stylesheet file somewhere
in /etc (/etc/kde3/local? or maybe /usr/local/share/<something>
or /usr/local/kde???) and then run (as root):
for user in /home/*; do
echo '@import {/etc/kde3/konqueror/konqueror.css}' > \
$user/.kde/konqueror.css
sed -e "s/UserStyleSheet=.*$/UserStyleSheet=\$user/.kde/konqueror.css' \
$user/.kde/share/config/konquerorrc
chown echo ${user:6} $user/.kde/share/config/konquerorrc \
$user/.kde/konqueror.css
done
(or maybe put the user's CSS file into ~/.kde/share/apps/konqueror, it
doesn't matter, but it seems cleaner). Be aware, that this is totally
untested, and probably will screw up all configurations for all users.
Matej
--
Matej Cepl, http://www.ceplovi.cz/matej
GPG Finger: 89EF 4BC6 288A BF43 1BAB 25C3 E09F EF25 D964 84AC
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488
The politician attempts to remedy the evil by increasing the very
thing that caused the evil in the first place: legal plunder.
-- Frederick Bastiat
Reply to: