adi1090x / battery-wallpaper

Simple bash script to set wallpaper according to battery percentage with charging animations.
GNU General Public License v3.0
391 stars 22 forks source link

tput: No value for $TERM and no -T specified #17

Closed ptrj closed 1 year ago

ptrj commented 3 years ago

Hi,

can you help me how to fix it this one please

Feb 04 13:06:56 nb bwall.desktop[2179]: [*] Using style : pixel_city
Feb 04 13:06:56 nb bwall.desktop[292562]: tput: No value for $TERM and no -T specified
[me@nb ~]$ echo $TERM
xterm-256color

Thanks

ptrj commented 3 years ago

I forgot to mention that I have GNOME and I start the bwall from

$HOME/.config/autostart/bwall.desktop
ptrj commented 3 years ago

so far I have "fixed" it by adding TERM env to the .desktop file

[Desktop Entry]
Name=Battery Wallpaper
Comment=Set desktop background according to battery percentage, with charging animation.
Exec=env TERM=xterm-256color /usr/bin/bwall -s pixel_city &
Type=Application
Icon=wallpaper
Categories=Accessories;

I suppose there may be a better option ;-)

adi1090x commented 1 year ago

Cool.