Fix menu/launcher to use installed apps; add pcmanfm, mousepad, arandr

Menu and launcher fallback pointed to alacritty/firefox/rigel/quill
which are not in the live ISO. Switch to xterm (already installed),
pcmanfm and mousepad (now added to packages). Also add arandr for
display settings.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
nmemmertandClaude Sonnet 4.6 committed 2026-08-31 13:29:45 -04:00
1 parent 1fa8f212b1
commit daf9cb4f96
3 files changed
+23 -25

No files matched your search

+5 -9
View File
@@ -174,15 +174,11 @@ static void load_apps(void) {
/* fallback if no .desktop files (dev environment, macOS, etc.) */
if (NAPP == 0) {
static const struct { const char *n, *c, *cat; } FB[] = {
{ "Firefox", "firefox &", "Internet" },
{ "Terminal", "alacritty &", "System" },
{ "Files", "thunar &", "System" },
{ "Text Editor", "mousepad &", "System" },
{ "Media", "mpv --player-operation-mode=pseudo-gui &", "Media" },
{ "Images", "viewnior &", "Media" },
{ "PDF Viewer", "evince &", "Office" },
{ "Display", "arandr &", "Settings" },
{ "Audio", "pavucontrol &", "Settings" },
{ "Terminal", "xterm &", "System" },
{ "Files", "pcmanfm &", "System" },
{ "Text Editor", "mousepad &", "System" },
{ "System Mon", "xterm -e htop &", "System" },
{ "Display", "arandr &", "Settings" },
};
for (int i = 0; i < (int)(sizeof(FB)/sizeof(FB[0])); i++) {
snprintf(APPS[i].name, 64, "%s", FB[i].n);