From daf9cb4f96459e809517d991213102346cbecdd5 Mon Sep 17 00:00:00 2001 From: nmemmert <67961292+nmemmert@users.noreply.github.com> Date: Mon, 31 Aug 2026 13:29:45 -0400 Subject: [PATCH] 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 --- iso/profile/packages.x86_64 | 3 +++ launcher/src/launcher.c | 14 +++++--------- wm/src/menu.c | 31 +++++++++++++++---------------- 3 files changed, 23 insertions(+), 25 deletions(-) diff --git a/iso/profile/packages.x86_64 b/iso/profile/packages.x86_64 index 87dd6a2..5af4fcb 100644 --- a/iso/profile/packages.x86_64 +++ b/iso/profile/packages.x86_64 @@ -36,6 +36,9 @@ feh picom xterm libnotify +pcmanfm +mousepad +arandr # Audio alsa-utils diff --git a/launcher/src/launcher.c b/launcher/src/launcher.c index 425712e..c0338a3 100644 --- a/launcher/src/launcher.c +++ b/launcher/src/launcher.c @@ -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); diff --git a/wm/src/menu.c b/wm/src/menu.c index f73555b..852b7ac 100644 --- a/wm/src/menu.c +++ b/wm/src/menu.c @@ -6,22 +6,21 @@ static const MenuItem MENU_ITEMS[] = { { "App Launcher", "orionlauncher &" }, - { "Terminal", "alacritty &" }, - { "File Manager", "rigel &" }, - { "Text Editor", "quill &" }, - { "──────────────────", NULL }, - { "Web Browser", "firefox &" }, - { "System Monitor", "alacritty -T 'System Monitor' -e htop &" }, - { "Volume Control", "pavucontrol &" }, - { "System Settings", "nebula &" }, - { "Software Updates", "orionpkg &" }, - { "Display Settings", "arandr &" }, - { "──────────────────", NULL }, - { "Change Wallpaper", "orionwallpaper --reset &" }, - { "Install OrionOS", "alacritty -e bash -c 'sudo orioninstall-gui 2>/dev/null || sudo orioninstall; exec bash' &" }, - { "──────────────────", NULL }, - { "Restart OrionWM", "pkill orionwm; sleep 0.2; orionwm &" }, - { "Quit OrionOS", "pkill orionwm" }, + { "Terminal", "xterm &" }, + { "File Manager", "pcmanfm &" }, + { "Text Editor", "mousepad &" }, + { "──────────────────", NULL }, + { "Web Browser", "firefox &" }, + { "System Monitor", "xterm -T 'System Monitor' -e htop &" }, + { "Volume Control", "pavucontrol &" }, + { "Software Updates", "orionpkg &" }, + { "Display Settings", "arandr &" }, + { "──────────────────", NULL }, + { "Change Wallpaper", "orionwallpaper --reset &" }, + { "Install OrionOS", "xterm -e bash -c 'orioninstall; exec bash' &" }, + { "──────────────────", NULL }, + { "Restart OrionWM", "pkill orionwm; sleep 0.2; orionwm &" }, + { "Quit OrionOS", "pkill orionwm" }, }; #define MENU_COUNT ((int)(sizeof(MENU_ITEMS) / sizeof(MENU_ITEMS[0])))