{"id":16168523,"url":"https://github.com/alex-spataru/hidpi-fixer","last_synced_at":"2025-03-16T10:30:46.261Z","repository":{"id":42233604,"uuid":"142362289","full_name":"alex-spataru/HiDPI-Fixer","owner":"alex-spataru","description":"Qt app that automates fractional scaling configuration on X11 desktops","archived":false,"fork":false,"pushed_at":"2024-03-15T17:47:58.000Z","size":617,"stargazers_count":144,"open_issues_count":0,"forks_count":7,"subscribers_count":8,"default_branch":"master","last_synced_at":"2025-03-16T01:11:27.377Z","etag":null,"topics":["gnome","hidpi","linux","qt","x11"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/alex-spataru.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2018-07-25T23:03:51.000Z","updated_at":"2025-03-06T06:59:05.000Z","dependencies_parsed_at":"2024-03-15T18:48:49.218Z","dependency_job_id":"fe7329eb-59cd-4604-b368-32903df4cc40","html_url":"https://github.com/alex-spataru/HiDPI-Fixer","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alex-spataru%2FHiDPI-Fixer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alex-spataru%2FHiDPI-Fixer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alex-spataru%2FHiDPI-Fixer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alex-spataru%2FHiDPI-Fixer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alex-spataru","download_url":"https://codeload.github.com/alex-spataru/HiDPI-Fixer/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243858399,"owners_count":20359253,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["gnome","hidpi","linux","qt","x11"],"created_at":"2024-10-10T03:12:02.131Z","updated_at":"2025-03-16T10:30:45.988Z","avatar_url":"https://github.com/alex-spataru.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# HiDPI Fixer\n\n\u003ca href=\"#\"\u003e\n    \u003cimg width=\"192px\" height=\"192px\" src=\"https://upload.wikimedia.org/wikipedia/commons/a/ab/X11.png\" align=\"right\" /\u003e\n\u003c/a\u003e\n\n[![Deploy](https://github.com/alex-spataru/HiDPI-Fixer/actions/workflows/Build.yml/badge.svg)](https://github.com/alex-spataru/HiDPI-Fixer/actions/workflows/Build.yml)\n[![Github All Releases](https://img.shields.io/github/downloads/alex-spataru/HiDPI-Fixer/total.svg)](https://github.com/alex-spataru/HiDPI-Fixer/releases/)\n\nThis application allows you to create a script that accomplishes the following tasks:\n- Allow fractional scaling of your display and its components in X11.\n- The end result looks nicer and is way less buggy than using Wayland.\n- The generated script is configured to run every time you log in.\n- You can also instruct the application to modify the `~/.profile` file to scale Qt-based apps, use with caution.\n- Tested on GNOME, Deepin Desktop and KDE (you need to manually set the scaling factor to 200% in Deepin and KDE).\n\n## Screenshot\n**Note:** sorry for the screenshot taken under Wayland. I haven't really used this tool lately, but I felt the need of updating this repo after 2 years...\n\n\u003cimg width=\"100%\" src=\"etc/screenshot.png\"/\u003e\n\n## Installing/running\n\nYou can [download](https://github.com/alex-spataru/HiDPI-Fixer/releases/latest) the latest release as an AppImage, no installation required!\nAfter your download finishes, open a terminal and type the following commands:\n\n    cd Downloads                    # Go to directory where you have downloaded/saved HiDPI-Fixer\n    chmod +x HiDPI_Fixer*.AppImage  # Make HiDPI-Fixer.AppImage executable\n    ./HiDPI_Fixer*.AppImage         # Run HiDPI-Fixer\n    \n### Uninstalling\n\nTo remove all the scripts and startup launchers generated by HiDPI Fixer, open a terminal and type the following:\n\n    cd Downloads                         # Or the location in which you have saved HiDPI-Fixer AppImage\n    ./HiDPI_Fixer*.AppImage --uninstall  # Run uninstall command (if you are lazy, just type -u)\n    \nThis command will do the following:\n- Remove the `~/.hidpi-fixer` directory and all its contents\n- Remove all the startup applications with the name pattern as `HiDPI-Fixer_*.desktop` in the `~/.config/autostart` directory.\n\nAll directories and files that HiDPI Fixer removes will be listed in the terminal output.\n\n## How does it work?\n\nThis application uses a combination of GNOME's `scaling-factor` setting and `xrandr` commands. Basically, the application calculates the necessary resolution to obtain the desired scaling factor and registers a new resolution with `xrandr`. These commands are saved into a `*.sh` file for every display that you have and are configured to run at startup. \n\nHiDPI-Fixer also works with DEs other than GNOME, however, you will need to manually set the scaling factor to 200% in the control center application of your desktop environment.\n\n## TODOs/Ideas\n\n- [x] Allow users to choose between creating a custom resolution or using `xrandr \n--scale`, to avoid `BAT MATCH` errors\n- [ ] Integrate [`run_scaled`](https://github.com/kaueraal/run_scaled/) to HiDPI-Fixer, by creating custom `*.desktop` files in `./local/share/applications` to fix apps that refuse to do any scaling at all.\n- [ ] Instead of generating a startup script, allow users to apply the changes system wide.\n\nContributions and less-ugly fixes are welcome :octocat:\n\n## Tips\n\n- Some applications such as WPS Office ignore completely the system's DPI setting (and thus cannot do any scaling at all). Given that `HiDPI-Fixer` creates a very large resolution, it may be almost impossible to use these fixed-DPI applications. If you rely on those applications, you can run them with [`run_scaled`](https://github.com/kaueraal/run_scaled/), resulting in an usable, albeit blurry per-application experience. But at least your desktop and HiDPI-friendly apps will look decent :+1:.\n- In some cases, `xrandr` will not let you to use resolutions larger than your screen's native resolution, which results in the rather-cryptic `BAD MATCH` error. If you have any idea how to fix this, please contact me or make a PR.\n\n## License\n\nThis project is released under the MIT license, for more info, click [here](LICENSE.md).\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falex-spataru%2Fhidpi-fixer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falex-spataru%2Fhidpi-fixer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falex-spataru%2Fhidpi-fixer/lists"}