I’m using Clear Linux on a very underpowered laptop. I was curious if it would speed this computer up and it did so considerably. Of course I am using xfce4 because GNOME makes this thing very slow. It looks like there is no battery indicator on xfce by default (why???) and all my attempts to add it have failed. With apt it would be easy, but it doesn’t seem that swupd has a solution for this yet. And building it from source myself also requires things I can’t install without apt, at least I don’t know how. Any guidance is appreciated!
Buy a more powerful computer seems to be the only legit solution.
Can you describe the dependency issues that you ran into whilst attempting to build it form source?
Yikes. Perhaps you’d like to buy me a new computer? Anyway, the reason this distro is exciting to me is, as I stated before, what it does for older hardware. Just meeting a few hiccups with the different package management system.
For simplicity, I cloned from: https://github.com/xfce-mirror/xfce4-battery-plugin
Ran sudo ./autorun.sh and got
Preparing package directory /home/costarica/Downloads/xfce4-battery-plugin... Creating /home/costarica/Downloads/xfce4-battery-plugin/aclocal.m4... Running glib-gettextize --force --copy... Copying file po/Makefile.in.in Please add the files codeset.m4 gettext.m4 glibc21.m4 iconv.m4 isc-posix.m4 lcmessage.m4 progtest.m4 from the /usr/share/aclocal directory to your autoconf macro directory or directly to your aclocal.m4 file. You will also need config.guess and config.sub, which you can get from ftp://ftp.gnu.org/pub/gnu/config/. Running intltoolize --automake --copy --force Patching file 'po/Makefile.in.in' Running libtoolize --force --copy... libtoolize: putting auxiliary files in '.'. libtoolize: copying file './ltmain.sh' libtoolize: You should add the contents of the following files to 'aclocal.m4': libtoolize: '/usr/share/aclocal/libtool.m4' libtoolize: '/usr/share/aclocal/ltoptions.m4' libtoolize: '/usr/share/aclocal/ltsugar.m4' libtoolize: '/usr/share/aclocal/ltversion.m4' libtoolize: '/usr/share/aclocal/lt~obsolete.m4' libtoolize: Consider adding 'AC_CONFIG_MACRO_DIRS([m4])' to configure.ac, libtoolize: and rerunning libtoolize and aclocal. libtoolize: Consider adding '-I m4' to ACLOCAL_AMFLAGS in Makefile.am. Running aclocal -I /usr/share/xfce4/dev-tools/m4macros -I /usr/share/xfce4/dev-tools/m4macros... /usr/share/xfce4/dev-tools/m4macros/xdt-i18n.m4:44: warning: macro 'AM_GLIB_GNU_GETTEXT' not found in library Running autoheader... Running automake --force-missing --add-missing --copy --gnu... configure.ac:44: installing './compile' configure.ac:31: installing './config.guess' configure.ac:31: installing './config.sub' configure.ac:36: installing './install-sh' configure.ac:36: installing './missing' Makefile.am: installing './INSTALL' panel-plugin/Makefile.am:1: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') panel-plugin/Makefile.am: installing './depcomp' Running autoconf... configure:12822: error: possibly undefined macro: AM_GLIB_GNU_GETTEXT If this token and others are legitimate, please use m4_pattern_allow. See the Autoconf documentation.
Because we’re not targeting end-user consumer hardware as primary target. We’re spending our time making stuff for typical servers and workstations work, most importantly…
However, I’ve added the battery plugin to the xfce4 bundle. So in a few days you’ll be able to add it to your existing panels using the panel configuration menu.