CTKArch · Forums
You are not logged in. Please Register or Login.  |  Search
Posted: Mar 17, 2011 9:32:43 am
Cereal-Killer
icon



Hi,
there's a little problem: at startup, the wallpaper is updated with Feh (option no-icon) but not with Pcmanfm (option icons).
the command in ~/.config/openbox/autostart.sh:
BASH Code:
(imgfond="$(find ~/Fonds -type f |sort -R |tail -1)";feh --bg-scale $imgfond;sed -i "s|^wallpaper=.*$|wallpaper=$imgfond|" ~/.config/pcmanfm/default/pcmanfm.conf) &

stop with this error:
PHP Code:
feh WARNING: the config is now read from .config/feh/themes, please update your path!

and sed isn't executed.
probably Feh was updated with pacman -Su (actual version 1.11.2.1).

to fix this:
BASH Code:
$ mkdir ~/.config/feh && cp /usr/share/doc/feh/examples/* ~/.config/feh/

that's all, the wallpaper will be updated at next reboot...
-------------------
Salut,
il y a un petit problème: au démarrage, le fond d'écran est mis à jour avec Feh (option "désactiver les icones du bureau") mais pas avec Pcmanfm (option "activer les icones du bureau").
la commande dans ~/.config/openbox/autostart.sh:
BASH Code:
(imgfond="$(find ~/Fonds -type f |sort -R |tail -1)";feh --bg-scale $imgfond;sed -i "s|^wallpaper=.*$|wallpaper=$imgfond|" ~/.config/pcmanfm/default/pcmanfm.conf) &

s'arrête avec cette erreur:
PHP Code:
feh WARNING: the config is now read from .config/feh/themes, please update your path!

et Sed n'est pas lancé.
c'est probablement dû à une mise à jour de Feh avec Pacman -Su (version actuelle 1.11.2.1).

pour réparer:
BASH Code:
$ mkdir ~/.config/feh && cp /usr/share/doc/feh/examples/* ~/.config/feh/

c'est tout, le fond d'écran sera remplacé au prochain démarrage...

PS: Calimero, j'espère que c'est la bonne section pour poster ça, bien que ce ne soit pas un bug de CtkArch...

edit: flute! j'ai oublié de mettre "(fixed)" dans le titre...
à ce sujet, j'ai avancé sur myUPB, mais je cherche à faire ça sous forme de mod, pour pas toucher au code de base...
Posted: Mar 18, 2011 12:03:47 am
Calimero
icon



It's not a bug, the config of feh was created when you started using it.
The liveCD doesn't have any problem, because it has no config for feh included.

That's a… feh update inconvenience.
Powered by myUPB v2.2.7  ·   Creative Commons License PHP Outburst