Re: Gentoo on Vaios
Jack Coates <[email protected]>
| Newsgroups | gmane.linux.hardware.sony |
|---|---|
| Organization | Monkeynoodle.Org |
| Message-ID | <[email protected]> |
On Mon, 2003-07-21 at 11:11, Tom Payne wrote:
> Dear All,
>
> I'm a Gentoo developer and a Vaio user.
>
> I'm thinking of putting together a virtual sony-vaio ebuild. This would have
> the effect that
> emerge sony-vaio
> would emerge packages considered useful for Vaio users. It would do this by
> simply depending on them.
>
> Here's my preliminary list of packages:
>
> net-dialup/hsflinmodem
> sys-apps/acpid
> app-misc/sonypid
> app-misc/spicctrl
> app-misc/tpconfig
> sys-apps/usbd
> sys-apps/hotplug
> app-admin/gkrellm
> x11-plugins/gkacpi
> x11-plugins/gkrellm-vaiobright
> net-wireless/gkrellmwireless
>
> Anything I've forgotten?
> Anything I should add?
>
> Cheers,
>
> Tom
rsjog is crucial for me. i810switch is handy too.
Also, there are those who don't use gkrellm for whatever reason, but use
wmacpi, kacpi, &c to keep an eye on status.
Finally, the delete key and power button are awfully close to each
other. Something like this would be handy in a pre-built distro:
[jack@chupacabra jack]$ cat /usr/local/sbin/halt-dialog
#!/bin/sh
export DISPLAY=":0.0"
RESULTS=`Xdialog --screen-center --default-no --yesno "The system is
about to shut down, do you want to continue?" 10 50`
EXIT_CODE=$?
case $EXIT_CODE in
0) /sbin/halt
;;
1) exit
;;
255) exit
;;
esac
I've been working on a similar one for the Fn keys -- here's my Fn-F7
for instance (still needs detection of current state):
[jack@chupacabra jack]$ cat /usr/local/sbin/i810-dialog
#!/bin/sh
export DISPLAY=":0.0"
Xdialog --screen-center --separator " " --checklist "i810switch control"
18 50 0 "lcd on" "LCD on?" ON "lcd off" "LCD off?" OFF "crt on" "CRT
on?" OFF "crt off" "CRT off?" OFF 2> /tmp/checklist.tmp.$$
EXIT_CODE=$?
CHOICE=`cat /tmp/checklist.tmp.$$`
rm -f /tmp/checklist.tmp.$$
case $EXIT_CODE in
0) i810switch $CHOICE
;;
1) exit
;;
255) exit
;;
esac
--
Jack Coates
Monkeynoodle: A Scientific Venture...