Packet Tracer 9 on KDE Plasma 6 (Wayland) had two issues:
- NetAcad login not working (xdg-open inherits broken environment from AppImage, causing browser launch failure)
- UI rendering bug in editor (white-on-white text / unreadable labels in topology canvas)
System:
- CachyOS Linux
- KDE Plasma 6.7.0 (Wayland)
- KDE Frameworks 6.27.0
- Qt 6.11.1
- Kernel 7.0.12-cachyos
- Intel i7-1355U / Intel Iris Xe
Fix:
Login issue was resolved by wrapping xdg-open to sanitize LD_LIBRARY_PATH. UI issue was resolved by forcing GNOME desktop detection and Qt Quick Basic controls style.
Working wrapper:
#!/usr/bin/env bash
TMPDIR=$(mktemp -d)
cat > "$TMPDIR/xdg-open" <<'EOF'
#!/bin/bash
unset LD_LIBRARY_PATH
exec /usr/bin/xdg-open "$@"
EOF
chmod +x "$TMPDIR/xdg-open"
export XDG_CURRENT_DESKTOP=GNOME
export XDG_SESSION_DESKTOP=gnome
export QT_QPA_PLATFORM=xcb
export QT_QUICK_CONTROLS_STYLE=Basic
unset KDE_SESSION_VERSION
PATH="$TMPDIR:$PATH" exec /usr/lib/packettracer/packettracer.AppImage --no-sandbox "$@"
Notes:
- QT_* styling variables alone were insufficient on Plasma 6 / Wayland
- GNOME spoofing is required for correct palette selection in Packet Tracer 9 UI
- Both issues appear to be caused by Packet Tracer’s internal environment/theme detection logic rather than KDE configuration
Pinned Comments
runnytu commented on 2025-10-18 13:00 (UTC)
After install version 9.0.0, you should execute from console: "./usr/lib/packettracer/packettracer.AppImage" in order to accept the license and install the desktop files.
runnytu commented on 2020-01-04 16:58 (UTC) (edited on 2020-01-04 16:59 (UTC) by runnytu)
To install all versions of packettracer except 7.2.2, follow this guidelines: 1. Download the snapshot from this AUR. 2. Tar -zxf the packettracer.tar.gz snapshot (it creates the dir packettracer/ with the PKGBUILD on it). 3. Download the latest packettracer tarball from your Netacad account and copy it into the packettracer/ dir. 4. Create the package with the command makepkg (it creates a packettracer.pkg.tar.xz). 5. Install the package with either makepkg -i or sudo pacman -U packettracer.pkg.tar.xz.
Packettracer 7.2.2 are auto installable via run file, download it from netacad webpage and run it, you don't need this package.