{"id":17240006,"url":"https://github.com/s-n-g/scale-viber","last_synced_at":"2025-07-14T06:03:05.710Z","repository":{"id":54518134,"uuid":"338620322","full_name":"s-n-g/scale-viber","owner":"s-n-g","description":"A method to scale Viber's GUI under Linux and Windows","archived":false,"fork":false,"pushed_at":"2022-10-05T14:55:06.000Z","size":87,"stargazers_count":6,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-14T03:13:39.106Z","etag":null,"topics":["viber","viber-font-size","viber-scale"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/s-n-g.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-02-13T16:45:21.000Z","updated_at":"2024-03-01T12:34:44.000Z","dependencies_parsed_at":"2023-01-19T08:00:43.629Z","dependency_job_id":null,"html_url":"https://github.com/s-n-g/scale-viber","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/s-n-g/scale-viber","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/s-n-g%2Fscale-viber","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/s-n-g%2Fscale-viber/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/s-n-g%2Fscale-viber/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/s-n-g%2Fscale-viber/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/s-n-g","download_url":"https://codeload.github.com/s-n-g/scale-viber/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/s-n-g%2Fscale-viber/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265248663,"owners_count":23734283,"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":["viber","viber-font-size","viber-scale"],"created_at":"2024-10-15T05:50:24.559Z","updated_at":"2025-07-14T06:03:05.689Z","avatar_url":"https://github.com/s-n-g.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# scale-viber\nA method to scale Viber's GUI under Linux and Windows\n\n## Introduction\n\nIf you are like me, using [Viber](https://www.viber.com/) to communicate with friends and colleagues, you may find it hard sometimes to read those tiny tiny letters it displays. In my case, it's because of my age :wink:, your case may be that you are on a high-DPI device, or whatever.\n\nThe thing is that [Viber](https://www.viber.com/) lacks the feature of adjusting its font size.\n\nNow, under **Linux** it's common knowledge that you can \"fix\" this using a parameter. But then you have to keep doing it with every installation, every update even.\n\nOn **Windows**, I have never tried... I just took it for granted that I will have to keep torturing myself trying to read what people are writing to me :cry:.\n\nWhile playing with it, me and a friend, the other day, we discovered that the same method can be used on **Windows** as on **Linux** to \"fix\" this problem.\n\nSo this repo is the result our efforts.\n\nTry it, and use it if you find it useful and it works for you... Hey, whatever works!\n\n\n### Linux\n\nOn **Linux** you can just use the script named ```scale-viber```, which  will edit Viber's Desktop file and adjust the scaling\n\n\n```\n$ scale-viber -h\n\nUtility to scale Viber GUI under Linux\n(C) Spiros Georgaras \u003csng@hellug.gr\u003e, 2021\n\nUsage: scale-viber [OPTIONS] [Scale Factor]\n\nOptions are:\n    -d  DESK\n        Location of Viber's Desktop file\n        Default: /usr/share/applications/viber.desktop\n    -p  PATH\n        Path of Viber's executable\n        Default: /opt/viber/Viber\n    -s  [SCRIPT PATH]\n        Create a bash script to execute Viber.\n        If [SCRIPT PATH] is not specified, use the default one.\n        Default: /usr/local/bin/Viver\n    -r  Restore Original Viber's Desktop file\n    -h  Print this help and exit\n\nIf [Scale Factor] is not specified, 1.2 is used\n\n```\n\n### Windows\n\nOn **Windows** you can use the BATCH file called ```ScaleViber.bat```, which will set the scaling parameter and execute Viber.\n\nThe default scaling factor is set to 1.2, which will probably be ok for most of the cases.\n\nIf you need to change it, just **edit** the BATCH file and **change the value on line 2** to the desired one.\n\nSo, you can just download the [BATCH file](https://raw.githubusercontent.com/s-n-g/scale-viber/master/ScaleViber.bat) straight on your Desktop and use it to start Viber by double-clicking on it.\n\nI would recomend though, to save the BATCH file in Viber's folder and then create a shortcut on the Desktop. This way you can change the icon, etc.\n\n#### Scaling all QT applications\n\nIf you want to have all QT applications scaling the same way, you can just create a new \"**User Environment Variable**\", name is \"**QT_SCREEN_SCALE_FACTORS**\" and give it the value of the scaling factor that works for you.\n\nYou can easily find instructions on the internet on how to do that, so I will not go into it.\n\nIf you do, though, you will end up with something like this:\n\n![QT_SCREEN_SCALE_FACTORS.jpg](QT_SCREEN_SCALE_FACTORS.jpg?raw=True \"\")\n\nThe nice thing about adding a \"User Environment Variable\" on **Windows 10**, is that you don't even have to log-off or restart for the change to take effect.\n\nIf you are still using **Window 7**, you will have to add a \"**System Environment Variable**\" and restart to see the result.\n\n## Aknowledgment\n\nI would like to thak my friend and colleague John for helping, testing and chatting about this issue.\n\nSo, that's all.\n\nEnjoy!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fs-n-g%2Fscale-viber","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fs-n-g%2Fscale-viber","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fs-n-g%2Fscale-viber/lists"}