Forum Discussion

James_B's avatar
James_B
Icon for Contributor rankContributor
1 month ago

Quartus Dark Theme on Linux - Solution

I have a solution for setting up a dark theme for Quartus Prime 25 on Linux (Mint) and setup a Github repo. The program modifies the stylesheet using a Rust program. 

https://github.com/saturn77/quartus-dark-linux

This repo allows running Altera Quartus on Linux with a dark theme, providing a modern look while being easy on the eyes for Linux users. There are some dark stylesheets for Windows, but those simply will not work on Linux.

Quartus's argument parser intercepts -stylesheet before Qt can process it on Linux. This project uses a small Rust LD_PRELOAD library to hook QApplication::exec() and inject the stylesheet directly via Qt's setStyleSheet() API.

Tested with Quartus Prime Pro 25.3.1 (Qt 6.5.7) on Linux Mint 22.3 Cinnamon.

 

 

 

3 Replies

  • Have added a GUI that launches Quartus and sets the theme; also allows for changing the font size of platform designer / Qsys so that it is more readable on Linux. The idea is that this will support multiple launches of Quartus (Pro for Agilex5, Lite for Cyclone10, for example).  The GUI is run from a binary that one can easily build / install with Rust from the repository mentioned above. 

  • Thank you so much for sharing this solution! 

    Really appreciate you taking the time to package it neatly and make it available to everyone.

    Has anyone else here tried this solution on their Linux setup? Would be great to hear if it works across other distros as well.
    Thanks again for contributing this to the community!

    Regards,
    Richard Tan

    • James_B's avatar
      James_B
      Icon for Contributor rankContributor

      There is also a small section in the script that increases the font for platform designer to make it more readable on high density displays. Overall I have not tested on regular Ubuntu but I would expect the script to work on Ubuntu / Debian related distros.