summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-01-21 23:07:18 -0600
committerCraig Jennings <c@cjennings.net>2026-01-21 23:07:18 -0600
commit0259230d62eb733b8d55b3d85e91a7d53434d973 (patch)
tree32254990759f333d741e14d169680798234de4e2
parent40e43c925453efc294a0ac9b37e92c64e8e54b4b (diff)
fix(archsetup): run update-desktop-database after stow
Register custom .desktop files in desktop database after stow links them into place.
-rwxr-xr-xarchsetup4
-rw-r--r--todo.org8
2 files changed, 10 insertions, 2 deletions
diff --git a/archsetup b/archsetup
index 8cb5db6..23d91be 100755
--- a/archsetup
+++ b/archsetup
@@ -656,6 +656,10 @@ user_customizations() {
(cd "$dotfiles_dir" && stow --target="/home/$username" --no-folding --adopt system \
>> "$logfile" 2>&1 ) || error "error" "$action" "$?"
+ action="updating desktop database" && display "task" "$action"
+ (sudo -u "$username" update-desktop-database "/home/$username/.local/share/applications" \
+ >> "$logfile" 2>&1 ) || error "error" "$action" "$?"
+
action="restoring dotfile versions" && display "task" "$action"
(cd "$dotfiles_dir" && git config --global --add safe.directory "$user_archsetup_dir" && \
git restore . >> "$logfile" 2>&1 ) || error "error" "$action" "$?"
diff --git a/todo.org b/todo.org
index 29ef591..e013ad1 100644
--- a/todo.org
+++ b/todo.org
@@ -194,7 +194,9 @@ High priority actions:
- Remove or make optional: anki (hangs 98 min), tageditor (hangs on qt5-webengine)
- Investigate repository/build issues for failing packages
-*** TODO [#B] Resolve all 8 failed packages from last run
+*** DONE [#B] Resolve all 8 failed packages from last run
+CLOSED: [2025-11-13 Wed]
+All sub-items resolved - packages either fixed or removed from archsetup.
**** DONE [#B] adwaita-color-schemes (CMake compatibility issue)
CLOSED: [2025-11-13 Wed]
REMOVED from archsetup - package removed due to CMake build issues
@@ -306,10 +308,12 @@ Exploring Warp/Packet/Warpinator for file transfers with Christine (Linux Mint u
Starting with Warpinator - needs testing and integration into archsetup
RESOLVED: warpinator added to archsetup (line 1562: aur_install warpinator)
-*** TODO [#B] Install desktop files using proper utility
+*** DONE [#B] Install desktop files using proper utility
+CLOSED: [2026-01-21 Wed]
Some packages expect desktop files installed with ~desktop-file-install --dir=$HOME/.local/share/applications~/app.desktop~
Ensure picked up with ~update-desktop-database ~/.local.share/applications~
Prevents friction from packages that don't recognize improperly installed desktop files
+RESOLVED: Added update-desktop-database call after stow to register the 9 .desktop files in dotfiles
*** DONE [#B] Add Proton Mail Bridge to archsetup
CLOSED: [2026-01-21 Wed]