-
Notifications
You must be signed in to change notification settings - Fork 33
Troubleshooting
vestingz edited this page Feb 9, 2018
·
2 revisions
If cache scanning fails with an error such as:
UnicodeDecodeError: 'ascii' codec can't decode byte 0xb4 in position 1: ordinal not in range(128)
You can workaround this by converting your pathnames to UTF-8 format using the following command
convmv -f windows-1252 -t utf8 -r ~ --notest
This sets file and foldernames to utf8 recursively from the given directory (~ in the above command)
Credit: trqx
Create a file in /usr/share/libalpm/hooks/<FILENAME>.hook with this content:
[Trigger]
Type = Package
Operation = Install
Operation = Remove
Target = *
[Action]
Description = Rebuilds Cache of dmenu-extended after package installation or removal
When = PostTransaction
Exec = /usr/bin/sudo -u <FILL_IN_YOUR_USERNAME> /usr/bin/dmenu_extended_cache_build
Depends = dmenu-extended-git