Troubleshooting
Common issues and their solutions, organized by tool.
Build Issues
gcc: error: gtk4 not found
GTK4 development headers are missing (needed for linux_control_center and gtk_dsl_demo). Install them:
sudo apt install libgtk-4-dev
pkg-config --libs gtk4 fails
Ensure pkg-config is installed and GTK4 .pc files are on the path:
sudo apt install pkg-config libgtk-4-dev
pkg-config --modversion gtk4
Permission denied when running build scripts
Make the build scripts executable:
chmod +x build_*.sh
Cursor Spotlight
Spotlight window doesn't appear
Check X11 composite extension is enabled. Spotlight requires compositing for transparency:
# Verify compositing
xdpyinfo | grep Composite
# If missing, ensure a compositor is running (picom, compton, xcompmgr)
picom --daemon
Spotlight appears but no transparency
Your compositor may not support ARGB visuals. Try:
# Start with explicit 32-bit visual
./build/bin/cursor_spotlight --visual 32
# Or check picom configuration
picom --backend glx --daemon
Spotlight flickers or has wrong position
Multi-monitor setups may cause offset issues. Specify the target display:
./build/bin/cursor_spotlight --display :0 --screen 0
Gromit-MPX
F6 does nothing / Gromit not responding
Gromit-MPX may not be running. Start it first:
gromit-mpx --key F6 --undo-key F5 &
# Then press F6 to toggle drawing mode
If it's running but unresponsive, check for zombie processes:
pkill -f gromit-mpx
gromit-mpx --key F6 --undo-key F5 &
Drawing strokes are invisible
This usually means the compositor isn't providing transparency. Solutions:
- Ensure a compositor is running (
picom,xcompmgr) - Check Gromit's tool config:
~/.config/gromit-mpx.cfg
Custom Gromit profile not loading
Run the installer script to set up the Antsand Gromit profile:
./install_gromit_profile.sh
gromit-mpx -q >/dev/null 2>&1 || true
gromit-mpx --key F6 --undo-key F5 >/dev/null 2>&1 &
This copies the custom tool definitions to ~/.config/gromit-mpx.cfg.
Shift drag does not switch to expected shape
Verify the profile is installed and Gromit was restarted after installation:
./install_gromit_profile.sh
gromit-mpx -q >/dev/null 2>&1 || true
gromit-mpx --key F6 --undo-key F5 >/dev/null 2>&1 &
Expected compat mappings include: Shift marker, Ctrl arrow pen, Alt red pen, Button2 fine pen, Button3 eraser.
If your Gromit build supports advanced tools, force the advanced profile with:
GROMIT_PROFILE_MODE=advanced ./install_gromit_profile.sh.
Gromit-MPX does not provide a text tool.
Presenter Dash
"xdotool: command not found"
sudo apt install xdotool
Segments draw in wrong position
The anchor point may be stale. Reset and re-anchor:
./presenter_dash.sh reset
./presenter_dash.sh anchor
Control Center
Night Light toggle has no effect
Ensure redshift is installed:
sudo apt install redshift
# Test manually
redshift -O 3500 # warm
redshift -x # reset
Window appears but tabs are empty
GTK theme may be missing. Install a complete theme package:
sudo apt install adwaita-icon-theme-full gnome-themes-extra
Screenshot tools/icons missing or top style rows look clipped
Usually an old binary is being launched. Rebuild + install the GTK4 binary, then restart it:
cd ~/Workspace/LinuxUtilities
./build_linux_control_center.sh --install
pkill -f linux_control_center || true
~/Programs/bin/linux_control_center ~/Workspace/LinuxUtilities
Current launcher scripts prefer ~/Workspace/LinuxUtilities/build/bin/linux_control_center first and fall back to ~/Programs/bin/linux_control_center, so rebuilding from the repo should take effect immediately even before reinstalling.
Check what command resolves first:
which linux_control_center
ls -l ~/Programs/bin/linux_control_center \
~/Workspace/LinuxUtilities/build/bin/linux_control_center
If visibility state is stuck from old layout settings, reset the UI state file:
mv ~/.config/linuxutilities/control_center_gtk4.ini \
~/.config/linuxutilities/control_center_gtk4.ini.bak.$(date +%s)
Styles panel is hidden
In the Screenshots tab, click Show Styles. If the button state is incorrect, reset config:
sed -i 's/^styles_visible=.*/styles_visible=true/' \
~/.config/linuxutilities/control_center_gtk4.ini
Bluetooth mic mode sounds like phone quality / \"dial-up\" audio
This is expected Bluetooth profile behavior:
A2DP: high-quality playback, no headset micHFP/HSP: headset mic enabled, lower playback quality
Use LinuxUtilities helpers to switch quickly:
cd ~/Workspace/LinuxUtilities
make audio-status
make audio-bt-mic
make audio-bt-music
If you want HDMI output while using BT mic mode:
pactl list short sinks
AUDIO_OUTPUT_SINK=<hdmi_sink_name> make audio-bt-mic
Bluetooth headset is connected, but audio is silent
This usually means the Bluetooth link survived, but PipeWire/WirePlumber lost the bluez_output.* sink after an OOM, restart, or stale transport. Use the recovery helper:
cd ~/Workspace/LinuxUtilities
make audio-bt-recover
GUI path: open linux_control_center and use Audio -> Recover BT Audio, or Bluetooth Center -> Headset -> Recover Silent BT Audio.
The helper restarts the user audio services, reconnects the headset, restores the A2DP playback profile, and moves active app streams back to the Bluetooth sink.
If you need to target a specific headset:
BT_DEVICE=<MAC> make audio-bt-recover
# or
BT_CARD=<bluez_card...> make audio-bt-recover
AwesomeWM
Config fails to load / black screen after restart
- Switch to TTY: Ctrl+Alt+F2
- Check the error:
awesome -k -c ~/.config/awesome/rc.lua - If you deploy from this repo, reinstall the full config tree:
cd ~/Workspace/LinuxUtilities && make awesome-user-update - If you need to roll back manually, restore both
rc.luaand the matchinglinuxutils/backup directory. - Return to GUI: Ctrl+Alt+F7
- Reload:
awesome-client 'awesome.restart()'
Hotkeys conflict with other applications
Check for conflicts in AwesomeWM's help popup (Mod4+s). Common conflicts:
- F6 / F11 — some browsers use these for address bar / fullscreen
- Solution: use the keys only when Gromit is active, or remap in
rc.lua
I want to see nearby Wi-Fi networks, but I do not see a separate nmtui window
nmtui is a terminal UI, not a standalone GTK dialog. In this setup it opens inside your default terminal emulator.
- Middle click the network widget in the top bar.
- Or use
Desktop right click -> LinuxUtilities -> network -> Wi-Fi picker (nmtui). - For a raw scan only, use
Desktop right click -> LinuxUtilities -> network -> Wi-Fi scan (nmcli).
If nothing opens, confirm the required tools exist:
command -v nmtui-connect
command -v x-terminal-emulator
rescue-windows.sh not working
The script uses wmctrl. Install it:
sudo apt install wmctrl
GTK DSL
Parser error: "unknown widget type"
Check spelling of the widget type. Valid types: box, grid, label, button, switch, scale, entry, image.
Widget doesn't appear in window
Every widget (except root) needs a parent property pointing to a valid id:
# Wrong — no parent
label text="Hello"
# Right
label parent=root text="Hello"
General
How to check all dependencies at once
# Quick dependency check
for cmd in gcc pkg-config gromit-mpx xdotool redshift picom wmctrl awesome; do
printf "%-15s" "$cmd"
if command -v "$cmd" >/dev/null 2>&1; then
echo "✓ $(command -v $cmd)"
else
echo "✗ NOT FOUND"
fi
done
How to report a bug
Include the following in your report:
uname -a
awesome --version
pkg-config --modversion gtk4
echo $XDG_SESSION_TYPE