A minimal Debian install with twm-kiosk and a few custom config files
should do it. Maybe Reconstructor for the build? I've never used it,
but it sounds good - anyone got an opinion?
What I dont know is how hardware controls could be added to a
Chromeless-based ui ... You might have to mod the code of firefox
itself or get into dbus communication? Anyone more learned than me
that could recommend a way to do it?
(btw sorry if any of my points have already been brought up, I haven't
caught up with the wiki or anything as yet ...)
Do you know what API they use to call python or
whatever from JavaScript, or if it's in-house?
On 06/08/11 11:42, Jono wrote:
> Cool, a direct interface to C should make things more straightforward.
> I see the ubuntu sound menu at least is c, and I assume that a c-based
> networking indicator of some kind exists.
By the looks of indicator-sound it's function is not only to control the
sound card but also the applications using the sound card. I think this
is overkill for what we need, so I'd suggest using something much
lighter, like xfce4-mixer as the basis instead of indicator-sound.
Network wise, NetworkManager comes with a CLI client that could provide
a reasonable base to work from.
- --
Thanks,
Sam
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAk49LzMACgkQHLRhmt89eyJbLACeN+g+VBYGY6FC8+/8Dq/1IqD8
tFoAnjmKbSvKA2Oly9OIhnNMkDWNTheS
=mJzD
-----END PGP SIGNATURE-----
On 07/08/11 05:14, Jono wrote:
> Yeah, I didn't think of xfce's mixer. I've just been looking at the
> volume control code from both indicator-sound and another simpler
> volume icon (Ubuntu uses PulseAudio as a server, I'm not sure what the
> backend is and whether we need PA on top?)
>
It would probably be ALSA for the backend. I suggested xfce4-mixer as
its simpler and uses gstreamer to control the volume; gstreamer can talk
straight to ALSA, thus cutting out PA entirely.
> As I said, I don't know much about shared libraries so I'm wondering:
> Can shared libraries have the notion of state (if you have a function
> which sets up a global variable and call it from a .so, will the
> global variable be available in future calls of different functions
> from that file)? And if they do, are there tradeoffs of using global
> variables that would be significant for Webian/Chromeless?
>
I'm not sure. Generally though, global variables are a Bad Idea (TM).
I'm also not sure why you would need global variables, could you
elaborate a bit please?
> I wonder whether it would be better to have just a shared library or a
> daemon with a dbus interface that connects to a shared library or
> whether Chromeless itself can communicate using dbus (or could be
> modded to).
I think that using dbus maybe a good way to go, especially as a lot of
stuff (NetworkManager, firewalld, systemd, upower, etc) use dbus for
control. We could add a simple jsctypes wrapper around dbus-send and
send dbus stanzas directly from the shell.
- --
Thanks,
Sam
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAk4+Wu0ACgkQHLRhmt89eyL5xACeM8MADTqpIu5mz0/IfFt6NM9S
hFkAnRrqeGx053eLPEmOLFBWkVDBJODp
=dSNL
-----END PGP SIGNATURE-----
I suggested xfce4-mixer asits simpler and uses gstreamer to control the volume; gstreamer can talk
straight to ALSA, thus cutting out PA entirely.
I think that using dbus maybe a good way to go, especially as a lot of
stuff (NetworkManager, firewalld, systemd, upower, etc) use dbus for
control. We could add a simple jsctypes wrapper around dbus-send and
send dbus stanzas directly from the shell.