To install Linucast, use the one-line installer:
curl -fsSL https://raw.githubusercontent.com/Adelkazzaz/Linucast/main/install/one_line_install.sh | bashOr manually:
git clone https://github.com/Adelkazzaz/Linucast.git
cd Linucast
./install/setup.shProblem: After installation, you see multiple Linucast icons in your applications menu.
Solution: Run the desktop icon fix script:
cd Linucast
./install/fix_desktop_icon.shThis script will:
- Remove all duplicate desktop entries
- Create a single, clean desktop entry named "Linucast"
- Update the applications menu
Problem: Linucast stops working or crashes after running for a few minutes.
Solution: The latest version includes several stability improvements:
- Automatic camera recovery: If the camera connection is lost, Linucast will attempt to reconnect
- Memory management: Periodic memory cleanup prevents memory leaks
- Error handling: Better error handling prevents crashes from temporary issues
- Health monitoring: Regular camera health checks ensure stable operation
If you're still experiencing issues:
-
Update to the latest version:
cd Linucast git pull origin main ./install/build_cpp.sh -
Check system resources:
# Monitor CPU and memory usage htop # Check available cameras ls /dev/video* # Check virtual camera status v4l2-ctl --list-devices
-
Run with debug logging:
cd python_core python linucast_simple.py --help -
Check logs:
tail -f logs/linucast.log
To completely remove Linucast from your system:
cd Linucast
./install/uninstall.shThe uninstall script will:
- Remove all desktop shortcuts and launcher scripts
- Remove the application directory (with confirmation)
- Clean up V4L2 loopback configuration (optional)
- Remove temporary files
If the automatic uninstaller doesn't work, you can manually remove:
-
Desktop entries:
rm -f ~/.local/share/applications/linucast*.desktop rm -f ~/Desktop/linucast*.desktop sudo rm -f /usr/share/applications/linucast*.desktop
-
Launcher scripts:
rm -f ~/.local/bin/linucast sudo rm -f /usr/local/bin/linucast sudo rm -f /usr/bin/linucast -
Application directory:
rm -rf ~/Linucast # or wherever you installed it
-
V4L2 loopback (optional):
sudo modprobe -r v4l2loopback sudo rm -f /etc/modprobe.d/v4l2loopback.conf sudo sed -i '/v4l2loopback/d' /etc/modules
- No camera found: Check
ls /dev/video*and try different camera indices - Permission denied: Run with
sudoor add user tovideogroup - Camera in use: Close other applications using the camera
- Virtual camera not appearing: Ensure v4l2loopback is loaded:
lsmod | grep v4l2loopback - Black screen in apps: Check that Linucast is running and processing video
- High CPU usage: Lower the FPS or resolution in settings
- Lag or stuttering: Close other resource-intensive applications
- Memory leaks: Restart Linucast periodically (the app now includes automatic memory management)
- Icon not appearing: Run
./install/fix_desktop_icon.sh - Wrong icon or name: Remove all desktop files and recreate with the fix script
- Multiple entries: Use the desktop icon fix script to clean up
- Check the troubleshooting guide
- Look at known issues
- Create a new issue with:
- Your Linux distribution and version
- Error messages or logs
- Steps to reproduce the problem
- Output of
python tools/test_setup.py