Skip to content

Feature: Root mode, root terminal and fuller KDE service menus - #104

Merged
MemerGamer merged 3 commits into
mainfrom
linux/cx-smroot
Oct 6, 2026
Merged

MemerGamer merged 3 commits into
mainfrom
linux/cx-smroot

Conversation

@MemerGamer

Copy link
Copy Markdown
Owner
  • KDE service menus: skip only shell-requiring actions (not whole files), strip & mnemonics, honour MIME lists in ServiceTypes, fixtures from real distro menus.
  • New "Open in terminal as root" (run0 → sudo → pkexec, auth inside the terminal).
  • Root mode: normal launches show only the root terminal action; files --root / "Open in Root Mode" desktop action shows the helper-based root actions with an indicator; running the app as root hides elevation actions and uses root's own HOME/XDG dirs.

Written by GPT-6.1-sol (Codex); Claude review pending.

🤖 Generated with Claude Code

https://claude.ai/code/session_01LeKXJc3DnK3PzAqwgA72NY

MemerGamer and others added 3 commits October 6, 2026 11:43
Skip only shell-requiring service-menu actions instead of whole files, strip
submenu mnemonics, honour MIME lists in ServiceTypes, and add a localized
'Open in terminal as root' action (run0, sudo, then pkexec).

Co-Authored-By: GPT-6.1-sol (OpenAI Codex) <noreply@openai.com>
Claude-Session: https://claude.ai/code/session_01LeKXJc3DnK3PzAqwgA72NY
Normal launches offer only 'Open in terminal as root'. 'files --root' (and the
'Open in Root Mode' desktop action) opens a separate root-mode window with the
helper-based root actions and a visible indicator. Running the whole app as
root hides elevation actions and uses root's own HOME/XDG directories.

Co-Authored-By: GPT-6.1-sol (OpenAI Codex) <noreply@openai.com>
Claude-Session: https://claude.ai/code/session_01LeKXJc3DnK3PzAqwgA72NY
Sanitize PATH, XDG_*_DIRS and TERMINAL at euid 0, resolve root terminal tools
from trusted system dirs, replace the Ghostty special case with a generic
single-target --option=%x rule, and keep root mode out of portable builds.

Co-Authored-By: GPT-6.1-sol (OpenAI Codex) <noreply@openai.com>
Reviewed-by: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LeKXJc3DnK3PzAqwgA72NY
@MemerGamer
MemerGamer merged commit 044ed68 into main Oct 6, 2026
2 checks passed
@MemerGamer
MemerGamer deleted the linux/cx-smroot branch October 6, 2026 09:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant