-
-
Notifications
You must be signed in to change notification settings - Fork 58
Fix xmonad desktop session and branding #809
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
4c013ae
f064d82
9185afc
84e7876
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| #!/bin/sh | ||
| feh --bg-scale /usr/share/backgrounds/armbian/armbian03-Dre0x-Minum-dark-3840x2160.jpg & | ||
| xmobar & | ||
| nm-applet & | ||
| dunst & | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -427,18 +427,21 @@ function module_desktop_packages() { | |
| ) | ||
| ;; | ||
| "${de[11]}") | ||
| # xmonad - Haskell tiling window manager | ||
| # xmonad - tiling WM via gnome-session-flashback | ||
| packages+=( | ||
| "xmonad" | ||
| "gnome-session-flashback" | ||
| "xmobar" | ||
| "lightdm" | ||
| "slick-greeter" | ||
| "xserver-xorg" | ||
| "xterm" | ||
| "xinit" | ||
| "dbus-x11" | ||
| "dmenu" | ||
| "dmz-cursor-theme" | ||
| "dunst" | ||
| "feh" | ||
| "fonts-ubuntu" | ||
| "lm-sensors" | ||
|
Comment on lines
+430
to
445
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🧩 Analysis chain🏁 Script executed: #!/bin/bash
set -euo pipefail
debian_releases=(bookworm trixie)
ubuntu_releases=(noble plucky)
pkgs=(gnome-session-flashback xinit dmz-cursor-theme fonts-ubuntu)
check_url() {
local url="$1"
if curl -fsI "$url" >/dev/null; then
echo "OK $url"
else
echo "MISS $url"
fi
}
for rel in "${debian_releases[@]}"; do
for pkg in "${pkgs[@]}"; do
check_url "https://packages.debian.org/${rel}/${pkg}"
done
done
for rel in "${ubuntu_releases[@]}"; do
for pkg in "${pkgs[@]}"; do
check_url "https://packages.ubuntu.com/${rel}/${pkg}"
done
doneRepository: armbian/configng Length of output: 943 🏁 Script executed: # Check what releases are declared as supported in the module
grep -n "plucky\|noble\|trixie\|bookworm" tools/modules/system/module_desktop_packages.sh | head -20Repository: armbian/configng Length of output: 232 🏁 Script executed: # View the full xmonad section and surrounding context to understand the configuration
sed -n '420,460p' tools/modules/system/module_desktop_packages.shRepository: armbian/configng Length of output: 689 🏁 Script executed: # Search for any conditional logic based on releases in the file
grep -n "RELEASE\|release\|ubuntu\|debian" tools/modules/system/module_desktop_packages.sh | grep -i "plucky\|noble" | head -10Repository: armbian/configng Length of output: 129 Ubuntu plucky missing The module declares Ubuntu plucky as a supported release (line 6), but the xmonad desktop environment requires Either:
🤖 Prompt for AI Agents |
||
| "network-manager-gnome" | ||
| "pavucontrol" | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Scope this startup script to xmonad sessions only.
Because this file is copied globally via
tools/modules/system/module_desktop.sh(Line 40-42), Lines 2-5 will run in non-xmonad sessions too. That can spawn unwanted processes and errors outside the intended desktop.Proposed fix
📝 Committable suggestion
🤖 Prompt for AI Agents