Add Terminal desktop shortcut and set xterm as LXQt default
LXQt desktop right-click menu doesn't offer a terminal option. Add an xterm shortcut on the desktop and configure LXQt session to use xterm as the preferred terminal emulator. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -304,9 +304,41 @@ WRAPPER
|
||||
"
|
||||
ok "Google Chrome configured."
|
||||
|
||||
# ─── Configure LXQt default terminal ─────────────────────────────────────────
|
||||
info "Setting xterm as default terminal..."
|
||||
ct_exec "
|
||||
mkdir -p /root/.config/lxqt
|
||||
cat > /root/.config/lxqt/session.conf << 'CONF'
|
||||
[General]
|
||||
__userfile__=true
|
||||
|
||||
[Environment]
|
||||
TERM=xterm-256color
|
||||
|
||||
[Preferred Applications]
|
||||
terminal_emulator=xterm -fa Monospace -fs 12
|
||||
CONF
|
||||
"
|
||||
ok "Default terminal configured."
|
||||
|
||||
# ─── Create desktop shortcuts ────────────────────────────────────────────────
|
||||
info "Creating desktop shortcuts..."
|
||||
|
||||
# Terminal shortcut
|
||||
ct_exec "cat > /root/Desktop/xterm.desktop << 'SHORTCUT'
|
||||
[Desktop Entry]
|
||||
Version=1.0
|
||||
Type=Application
|
||||
Name=Terminal
|
||||
Comment=Open a terminal
|
||||
Exec=xterm -fa Monospace -fs 12
|
||||
Icon=utilities-terminal
|
||||
Terminal=false
|
||||
Categories=System;TerminalEmulator;
|
||||
StartupNotify=true
|
||||
SHORTCUT
|
||||
chmod +x /root/Desktop/xterm.desktop"
|
||||
|
||||
# OpenClaw Onboarding wizard (runs in terminal)
|
||||
ct_exec "cat > /root/Desktop/openclaw-onboard.desktop << 'SHORTCUT'
|
||||
[Desktop Entry]
|
||||
|
||||
Reference in New Issue
Block a user