# brightnessUI
## Introduction
A simple UI to change screen backlight (brightness) for Ubuntu20.
Purpose: An alternative for those computers with system brightness slider not working. This UI changes the backlight by modifying `/sys/class/backlight/xxx/brightness` directly, where `xxx` differs according to your computer.
![img](https://gitee.com/shu-peixuan/brightnessUI/raw/master/pictures/ui.png)
## Install
- ### Method1 (From source)
```bash
git clone https://gitee.com/shu-peixuan/brightnessUI.git
cd brightnessUI/
./install.sh
```
- ### Method2 (From PyPI)
May NOT be updated:
```bash
pip3 install brightnessUI # from PyPI
brightness-ui-install # install desktop and application menu shortcuts
```
To uninstall:
```bash
pip3 uninstall brightnessUI
rm ~/Desktop/brightness-ui.desktop
sudo rm /usr/share/applications/brightness-ui.desktop
```
## Usage
```bash
brightness-ui
```
Or click the desktop icon on the Desktop or Application Menu.
It is needed to allow launching for the desktop icon.
![img](https://gitee.com/shu-peixuan/brightnessUI/raw/master/pictures/allow_lauching.png)
It is recommended to add the ui in the application menu to favorites.
![img](https://gitee.com/shu-peixuan/brightnessUI/raw/master/pictures/add_to_favorites.png)
## Develop
Upload on PyPI:
```bash
sudo apt install twine -y
python3 setup.py sdist bdist_wheel
twine upload dist/*
```
Raw data
{
"_id": null,
"home_page": "https://gitee.com/shu-peixuan/brightnessUI.git",
"name": "brightnessUI",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "A simple UI to tune screen backlight for ubuntu",
"author": "Peixuan Shu",
"author_email": "shupeixuan@qq.com",
"download_url": "https://files.pythonhosted.org/packages/cf/b6/0e86e3b3e65019f70eed5ec19fadad63a9fa2a074bbfc5af04847255356f/brightnessUI-1.2.tar.gz",
"platform": null,
"description": "# brightnessUI\n\n## Introduction\nA simple UI to change screen backlight (brightness) for Ubuntu20.\n\nPurpose: An alternative for those computers with system brightness slider not working. This UI changes the backlight by modifying `/sys/class/backlight/xxx/brightness` directly, where `xxx` differs according to your computer.\n\n![img](https://gitee.com/shu-peixuan/brightnessUI/raw/master/pictures/ui.png)\n\n## Install\n\n- ### Method1 (From source)\n\n\n```bash\ngit clone https://gitee.com/shu-peixuan/brightnessUI.git\ncd brightnessUI/\n./install.sh\n```\n- ### Method2 (From PyPI)\n\nMay NOT be updated:\n\n```bash\npip3 install brightnessUI # from PyPI\nbrightness-ui-install # install desktop and application menu shortcuts\n```\n\nTo uninstall:\n\n```bash\npip3 uninstall brightnessUI\nrm ~/Desktop/brightness-ui.desktop\nsudo rm /usr/share/applications/brightness-ui.desktop\n```\n\n## Usage\n\n```bash\nbrightness-ui\n```\n\nOr click the desktop icon on the Desktop or Application Menu. \n\nIt is needed to allow launching for the desktop icon.\n\n![img](https://gitee.com/shu-peixuan/brightnessUI/raw/master/pictures/allow_lauching.png)\n\nIt is recommended to add the ui in the application menu to favorites.\n\n![img](https://gitee.com/shu-peixuan/brightnessUI/raw/master/pictures/add_to_favorites.png)\n\n## Develop\n\nUpload on PyPI:\n\n```bash\nsudo apt install twine -y\npython3 setup.py sdist bdist_wheel\ntwine upload dist/*\n```\n\n\n",
"bugtrack_url": null,
"license": "BSD",
"summary": "A simple UI to change screen backlight for ubuntu",
"version": "1.2",
"project_urls": {
"Homepage": "https://gitee.com/shu-peixuan/brightnessUI.git"
},
"split_keywords": [
"a",
"simple",
"ui",
"to",
"tune",
"screen",
"backlight",
"for",
"ubuntu"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "a676c63c37cf2b3b4fa39ba78af4c86868b64a862d6342b87321295e7e067370",
"md5": "b31635205b093d8eeb185237c13704ec",
"sha256": "8e9a5bdbd50ee73d380dea76a2944f3b5253497a12e3bd389e6b1431ae15e0c0"
},
"downloads": -1,
"filename": "brightnessUI-1.2-py3-none-any.whl",
"has_sig": false,
"md5_digest": "b31635205b093d8eeb185237c13704ec",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 32496,
"upload_time": "2024-02-15T15:49:44",
"upload_time_iso_8601": "2024-02-15T15:49:44.097466Z",
"url": "https://files.pythonhosted.org/packages/a6/76/c63c37cf2b3b4fa39ba78af4c86868b64a862d6342b87321295e7e067370/brightnessUI-1.2-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "cfb60e86e3b3e65019f70eed5ec19fadad63a9fa2a074bbfc5af04847255356f",
"md5": "c0af277f3771a9fcab4ceea633c41245",
"sha256": "74331cedc4a5417996b3f52152990ec4ad4d7af8854463988ea9bf4731352840"
},
"downloads": -1,
"filename": "brightnessUI-1.2.tar.gz",
"has_sig": false,
"md5_digest": "c0af277f3771a9fcab4ceea633c41245",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 295039,
"upload_time": "2024-02-15T15:49:46",
"upload_time_iso_8601": "2024-02-15T15:49:46.357411Z",
"url": "https://files.pythonhosted.org/packages/cf/b6/0e86e3b3e65019f70eed5ec19fadad63a9fa2a074bbfc5af04847255356f/brightnessUI-1.2.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-02-15 15:49:46",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "brightnessui"
}