You are not logged in.
Hi,
I've just released the first version of Eee Applet. It is a systray applet that can be used to control and display the information obtained from the asus_acpi and eeepc-linux modules if they are loaded:
- activate/deactivate the camera,
- activate/deactivate the card reader,
- activate/deactivate the wlan,
- change the fan speed,
- change the CPU clock (overclock),
- display the temperature,
- display the brightness,
- display the fan speed.
This applet can also be used to catch the hotkeys and emit X keyboard events instead. For instance, pressing the volume hotkeys generates the XF86AudioMute, XF86AudioLowerVolume and XF86AudioRaiseVolume keycodes. GNOME and KDE can then display the state of the volume themselves without using asus_osd. This functionality is however disabled by default. To enable it, you must define the /apps/eee-applet/hotkeys key in GConf and set it to TRUE and define the keys with xmodmap.
The applet is available on sourceforge: http://sourceforge.net/projects/eee-applet
Last edited by billl (2008-03-08 3:33:05 pm)
Offline
Nice! ![]()
So this should work on most distributions as long as asus_acpi.ko is loaded, right? What's the eeepc-applet kernel module? I don't think I've ever seen that one. Do you mean kiwidrew's eee.ko? (this one: http://forum.eeeuser.com/viewtopic.php?id=9797 )
Last edited by mkrishnan (2008-03-08 3:25:40 pm)
Offline
mkrishnan wrote:
So this should work on most distributions as long as asus_acpi.ko is loaded, right?
Yes
mkrishnan wrote:
What's the eeepc-applet kernel module? I don't think I've ever seen that one. Do you mean kiwidrew's eee.ko? (this one: http://forum.eeeuser.com/viewtopic.php?id=9797 )
And yes
Offline
I tried installing the eee-applet-0.1 and got stucked with
the configure command. The output is
[shengchieh@dragonsoft eee-applet-0.1]$ ./configure checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether to enable maintainer-specific portions of Makefiles... no checking for style of include used by make... GNU checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking dependency style of gcc... gcc3 checking for intltool >= 0.35.0... 0.35.5 found checking for perl... /usr/bin/perl checking for XML::Parser... ok checking for iconv... /usr/bin/iconv checking for msgfmt... msgfmt checking for msgmerge... msgmerge checking for xgettext... xgettext checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.19... yes checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking for a sed that does not truncate output... /bin/sed checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for /usr/bin/ld option to reload object files... -r checking for BSD-compatible nm... /usr/bin/nm -B checking whether ln -s works... yes checking how to recognize dependent libraries... pass_all checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking for g++... no checking for c++... no checking for gpp... no checking for aCC... no checking for CC... no checking for cxx... no checking for cc++... no checking for cl.exe... no checking for FCC... no checking for KCC... no checking for RCC... no checking for xlC_r... no checking for xlC... no checking whether we are using the GNU C++ compiler... no checking whether g++ accepts -g... no checking dependency style of g++... none checking for g77... no checking for xlf... no checking for f77... no checking for frt... no checking for pgf77... no checking for cf77... no checking for fort77... no checking for fl32... no checking for af77... no checking for xlf90... no checking for f90... no checking for pgf90... no checking for pghpf... no checking for epcf90... no checking for gfortran... no checking for g95... no checking for xlf95... no checking for f95... no checking for fort... no checking for ifort... no checking for ifc... no checking for efc... no checking for pgf95... no checking for lf95... no checking for ftn... no checking whether we are using the GNU Fortran 77 compiler... no checking whether accepts -g... no checking the maximum length of command line arguments... 98304 checking command to parse /usr/bin/nm -B output from gcc object... ok checking for objdir... .libs checking for ar... ar checking for ranlib... ranlib checking for strip... strip checking for correct ltmain.sh version... yes checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC checking if gcc PIC flag -fPIC works... yes checking if gcc static flag -static works... no checking if gcc supports -c -o file.o... yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes configure: creating libtool appending configuration tag "CXX" to libtool appending configuration tag "F77" to libtool checking for GTK... configure: error: Package requirements (gtk+-2.0 >= 2.10.0) were not met: No package 'gtk+-2.0' found Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. Alternatively, you may set the environment variables GTK_CFLAGS and GTK_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details.
I opened up synaptic, did a search for gtk, and noted I have
gtk+2.0. There is no gtk+-2.0. Are gtk+2.0 and gtk+-2.0 the
same thing? If so, how do I compile? If not, then what?
Also, will installing anything else (like g++) helps? [Fyi,
I'm running MiniMe 2008, which is PCLinuxOS trimmed to a
bare minimum - so I have nothing except a few applicaions.]
Thank in advanced for any help.
Sheng-Chieh
Offline
I got this error in Xandros:
checking for GTK... configure: error: The pkg-config script could not be found or is too old. Make sure it is in your PATH or set the PKG_CONFIG environment variable to the full path to pkg-config. Alternatively, you may set the environment variables GTK_CFLAGS and GTK_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details.
Offline
@shengchieh: You should install the libgtk2.0-dev, libgconf2-dev and libgksu2-dev packages.
@theSuperman: You should install the pkg-config package.
Offline
When trying to overclock, I only get a flickering screen. I suppose the applet writes somethin wrong to /proc/eee/fsb.
There is a typo: it should be "card reader". I would appreciate an option to remove the "enable card reader" option, too, since I have my eeeXubuntu running of the SDHC and I don't want to accidentally remove my root partition while running.
Last edited by MrMage (2008-03-12 7:24:24 am)
Offline
MrMage wrote:
When trying to overclock, I only get a flickering screen. I suppose the applet writes somethin wrong to /proc/eee/fsb.
I'll have a look at this.
MrMage wrote:
There is a typo: it should be "card reader". I would appreciate an option to remove the "enable card reader" option, too, since I have my eeeXubuntu running of the SDHC and I don't want to accidentally remove my root partition while running.
Next version will have a preferences dialog in which I'll add this option (amongst other).
Offline
billl wrote:
@shengchieh: You should install the libgtk2.0-dev, libgconf2-dev and libgksu2-dev packages.
@theSuperman: You should install the pkg-config package.
I installed the pkg-config package, however now I get the same error as shenchieh got. So I went and installed the libgtk2.0-dev package, however I get this error:
Reading package lists... Done Building dependency tree... Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. Since you only requested a single operation it is extremely likely that the package is simply not installable and a bug report against that package should be filed. The following information may help to resolve the situation: The following packages have unmet dependencies: openoffice.org-l10n-zh-cn: Conflicts: openoffice.org-core (>= 2.0.4.dfsg.2.1) but 1:2.3.1-2~bpo40+1+eeepc1 is to be installed openoffice.org-l10n-zh-tw: Conflicts: openoffice.org-core (>= 2.0.4.dfsg.2.1) but 1:2.3.1-2~bpo40+1+eeepc1 is to be installed E: Broken packages
I have seen this error before trying to install another lib package in the past...
Offline
I don't know, but I suspect a problem in the repository.
Offline
This seems like it could be a great little application. I managed to install on eeeXubuntu and it was working yesterday
However, now the overclock function does nothing - checking /proc/eee/fsb shows no change. There is no problem with the other bits apart from those mentioned previously.
Offline
I've already found the problem; I think I'll release 0.2 sunday.
Offline
great
looking forward to it! I wonder how easy it is for you to put some sort of fan throttling option as your program is reading fan speed and temperature. So the user would set a desired temp and the program would switch off/on the fan when certain range (setpoint +/- some range). However I guess this might be a bit dangerous (eg if the applet crashes) so there would need to be some sort of backup like handing over the fan control to the bios on exit. keep up the good work its appreciated!
Offline
very very nice!!
Offline
Hi,
I'm running eeexubuntu.
The configure step went fine, but the make step fails:
make all-recursive
make[1]: Entering directory `/home/mauce/Desktop/eee-applet-0.2'
Making all in data
make[2]: Entering directory `/home/mauce/Desktop/eee-applet-0.2/data'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/mauce/Desktop/eee-applet-0.2/data'
Making all in po
make[2]: Entering directory `/home/mauce/Desktop/eee-applet-0.2/po'
file=`echo fr | sed 's,.*/,,'`.gmo \
&& rm -f $file && -o $file fr.po
/bin/sh: -o: not found
make[2]: *** [fr.gmo] Error 127
make[2]: Leaving directory `/home/mauce/Desktop/eee-applet-0.2/po'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/mauce/Desktop/eee-applet-0.2'
make: *** [all] Error 2any ideas?
Offline
Just Install gettext and re ./configure && make
at least i did it on my eeeXubuntu and works fine ![]()
Offline
This is what i get... =/
checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... no checking for mawk... mawk checking whether make sets $(MAKE)... yes checking whether to enable maintainer-specific portions of Makefiles... no checking for style of include used by make... GNU checking for gcc... gcc checking for C compiler default output file name... configure: error: C compiler cannot create executables See `config.log' for more details. erik@erik-eeepc:~/eee-applet-0.2$ make make: *** No targets specified and no makefile found. Stop.
I´m not a linux expert, so help is appriciated! ![]()
Offline
tried to install and go the following...what is missing?
sudo ./configure
[sudo] password for legendtofski:
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name...
configure: error: C compiler cannot create executables
See `config.log' for more details.
legendtofski@linuxbitch:~/eee-applet-0.2$
Offline
I've recompiled it under eeexubuntu 8.04 and all went fine.
However, once installed I notice that allthough the options to change the fanspeed and cpuspeed are available, the effect of changing the settings is nothing. Nothing happens.
Any ideas?
Offline
You can configure eee-applet with --enable-maintainer-mode and copy paste here the output (either in the terminal or in ~/.xsession-error).
Offline
billl wrote:
You can configure eee-applet with --enable-maintainer-mode and copy paste here the output (either in the terminal or in ~/.xsession-error).
Ok,
.xsession-error stays empty, but when I start it from the commandline I see the following error:
** (eee-applet:19688): WARNING **: couldn't communicate with gnome keyring daemon via dbus: Message did not receive a reply (timeout by message bus)
That explains why it keeps me asking for the administrative password.
I checked dbus and is was running, I even restarted it but still with no results.
Please advice how to proceed from here.
Offline
You should install gnome-keyring.
Offline
billl wrote:
You should install gnome-keyring.
That's already installed.
Offline
Shlomo_Glickstein wrote:
tried to install and go the following...what is missing?
sudo ./configure
[sudo] password for legendtofski:
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name...
configure: error: C compiler cannot create executables
See `config.log' for more details.
legendtofski@linuxbitch:~/eee-applet-0.2$
Could someone please help me with this problem listed in the output above, sorry I am not good with Linux..what exactly am I missing for it not to work?
Offline
Unfortunately that is quite a general error message, and can be caused by a number of things - check the config.log as it says to see if it sheds more light on the matter.
Though the lines:
checking for gawk... no
checking whether to enable maintainer-specific portions of Makefiles... no
may have something to with it.
Though mawk could be used as a fallback for gawk, and maintainer etc may not be required, so they are not definitive.
Offline