For anyone still having the same problem as @andreip, I found that by following the Arch Locale instructions on generating a locale worked for me, as I had some incorrectly generated locales. After re-generating the correct locales, the problem was solved
Search Criteria
Package Details: slimbookbattery 4.0.9beta-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/slimbookbattery.git (read-only, click to copy) |
---|---|
Package Base: | slimbookbattery |
Description: | Battery optimization application for portable devices. |
Upstream URL: | https://github.com/slimbook/slimbookbattery |
Licenses: | GPL-3.0-or-later |
Submitter: | tioguda |
Maintainer: | yochananmarqos (Slimbook) |
Last Packager: | yochananmarqos |
Votes: | 19 |
Popularity: | 0.160994 |
First Submitted: | 2019-06-05 13:43 (UTC) |
Last Updated: | 2024-05-14 22:22 (UTC) |
Dependencies (17)
- cron (scron-gitAUR, vixie-cronAUR, busybox-crondAUR, mcronAUR, dcronAUR, dcron-gitAUR, cronie-selinuxAUR, systemd-cron-next-gitAUR, systemd-cronAUR, cronie, fcron)
- dmidecode (dmidecode-gitAUR)
- gtk3 (gtk3-no_deadkeys_underlineAUR, gtk3-classicAUR, gtk3-classic-xfceAUR, gtk3-patched-filechooser-icon-viewAUR)
- libayatana-appindicator
- libnotify (libnotify-gitAUR)
- polkit (polkit-gitAUR, polkit-consolekitAUR)
- python-dbus
- python-gobject (python-gobject-gitAUR)
- python-pillow (python-pillow-gitAUR)
- python-setuptools
- tlp (tlp-gitAUR, tlp-ppd-gitAUR)
- tlp-rdw (tlp-rdw-gitAUR)
- vte3 (vte3-gitAUR, vte3-notificationAUR)
- xorg-xdpyinfo
- nvidia-prime (optional) – for hybrid graphics switching
- slimbookamdcontrollerAUR (optional) – Synchronize battery mode with CPU TDP mode
- slimbookintelcontrollerAUR (optional) – Synchronize battery mode with CPU TDP mode
Required by (0)
Sources (1)
WrathOfVlad commented on 2021-08-30 16:46 (UTC)
yochananmarqos commented on 2020-07-12 15:11 (UTC)
For those with NVIDIA hybrid graphics, let me know if nvidia-prime
works instead of arch-prime-git
.
aberkoke commented on 2020-06-04 20:28 (UTC)
It does not work anymore on my computer (using Manjaro). It gives the following error. Does anyone know anything about?
(base) [slimbook@slimbook-PROX14 ~]$ slimbookbattery
Traceback (most recent call last):
File "/usr/share/slimbookbattery/slimbookbattery", line 5, in <module>
ModuleNotFoundError: No module named 'gi'
rplanchuelo commented on 2020-05-15 17:45 (UTC)
New version: 3.95beta https://launchpad.net/~slimbook/+archive/ubuntu/slimbook/
andreip commented on 2020-01-01 13:37 (UTC)
Exported all my LC_* variables in ~/.profile and it works. Found no other way, locale.conf was generated and contained the variables. Thank you!
yochananmarqos commented on 2019-12-25 16:11 (UTC)
@ciferkey: The source won't be available until after the beta phase according to their GitHub README. I just looked at /usr/share/slimbookbattery/slimbookbattery
.
ciferkey commented on 2019-12-25 00:23 (UTC)
@yochananmarqo thanks for taking the package over!
Where did you find the source for the project so you could inspect the error? I wanted to do so myself but couldn't find it.
@andreip I had generated my locale but did not create /etc/locale.conf. Once I set that up and restarted it was able to run.
tioguda commented on 2019-12-24 23:10 (UTC)
I don't use the program, so I'll be abandoning it so that someone who can test it will adopt it.
Greetings.
yochananmarqos commented on 2019-12-24 23:07 (UTC)
@ciferkey @adreip: I can't reproduce that error. Maybe I have something installed you two don't that need to be added to the dependencies.
Line 29 has something to do with getting the locale. It's looking for either "en", "es", "it" or "gl". If your locale is set to something else, it should default to "en". Is your locale something other than the above?
ciferkey commented on 2019-12-24 22:48 (UTC) (edited on 2019-12-24 22:48 (UTC) by ciferkey)
Similar to andreip I am getting the error:
Traceback (most recent call last):
File "/usr/share/slimbookbattery/slimbookbattery", line 29, in <module>
AttributeError: 'NoneType' object has no attribute 'find'
Pinned Comments