-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Michael Reinsch wrote:
> Hi!
>
> On Tue, 18 Feb 2003 21:01:34 +0200
> Buchan Milne <[EMAIL PROTECTED]> wrote:
>
>
>>I guess we could mangle console.perms in the %post and %preun?
>
>
> Hmmm.. adding:
>
> # for tpb
> <console> 0600 /dev/misc/nvram 0600 root
>
> the same way we already modify the /etc/modules.conf is working for me.

Yes, should do fine.

>
>
>>Ideally the user should not need to do this. I just wrote a minimal
>>script in /etc/X11/xinit.d/tpb which works ok:
>>
>>#!/bin/sh
>>
>>[ -x `which tpb` -a -r /dev/nvram ] && tpb -d
>>
>># tpb ends here
>
>
> OK, nice idea... but I would use /usr/bin/tpb instead of `which tpb`
> (avoid possible security problem and faster):
>
> [ -x /usr/bin/tpb -a -r /dev/nvram ] && /usr/bin/tpb -d

Cool.

>
> Well, I already do this "fast user switching" sometimes using gdm's
> feature to login several times. The switching is done by switching the
> console.

So do I, but at present anyone who does should know how to kill tpb and
restart it ;-). But it would be nice if someone cleaned up the whole
thing so normal users could use it, and make provision for these kinds
of changes.

>
>>>OSDFONT
>>>-adobe-helvetica-bold-r-normal-*-*-140-*-*-p-*-iso8859-15
>>
>>Maybe 240 would be too big at lower res, but IMHO 140 is way too small
>>to be easily noticed at 1024*768.
>
> I'm running at 1024x768 :) - but 180 is also OK.

Are there any thinkpads that cannot handle 1024x768 that would use this?
 It might be safe to do 240, but I will test at 800x600.

>
>
>>>OSDHORIZONTAL 0
>>>OSDPOS        bottom
>>
>>but I prefer middle, but either will do, most important is to get it
>>working out-the-box ...
>
>
> yes... it doesn't really matter to me, as long as I can change it...
>

Middle will ensure it is easily visible no matter how big the taskbar is ...

>
> Yes, I simply dropped it into Mandrake's incoming.
>
>
>>Otherwise, if you are happy with these changes I will commit to
>>contrib tomorrow with whatever else I can get working.
>
>
> Yes, looks nice.

OK, will you upload to incoming? If not, mail me your spec and I will
update.

>
>
>>Any comment on APM? I think it would be useful, and it seems fine on
>>my 600X in 9.0.
>
> It's also working on my T20 - but maybe it is better to turn it off by
> default to avoid possible problems?

IMHO it would be a nice feature out-the-box if it worked reliably on
many machines, and did not cause problems on others?

>
>>I assume the APM events will still be accessible via nvram?
>
> The config says, tpb uses /proc/apm to determine those values...
>
>
>>Or does this thing need ACPI support?
>
> I'm currently not running ACPI.
>

I meant, will someone have to add acpi support to tpb for it to work if
the machine is running with acpi? Well, I have not experimented with
acpi yet, apm works fine.

- --
|--------------Another happy Mandrake Club member--------------|
Buchan Milne                Mechanical Engineer, Network Manager
Cellphone * Work            +27 82 472 2231 * +27 21 8828820x121
Stellenbosch Automotive Engineering         http://www.cae.co.za
GPG Key                   http://ranger.dnsalias.com/bgmilne.asc
1024D/60D204A7 2919 E232 5610 A038 87B1 72D6 AC92 BA50 60D2 04A7
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQE+UppNrJK6UGDSBKcRAsL9AJ9ISCMypYPQ3Z6DH5iaoGisXFF4hgCgkEvM
ci2YJS3zYkWt7FHetXSImsc=
=KBuy
-----END PGP SIGNATURE-----


Reply via email to